Erinevus lehekülje "Proxmox VE 3.x" redaktsioonide vahel
7. rida: | 7. rida: | ||
===Cluster=== | ===Cluster=== | ||
− | + | # pvecm add 10.40.0.61 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
node jagaja already defined | node jagaja already defined | ||
copy corosync auth key | copy corosync auth key | ||
41. rida: | 33. rida: | ||
successfully added node 'jagaja' to cluster. | successfully added node 'jagaja' to cluster. | ||
+ | ASIDE: If you mess up your Proxmox config, there is no obvious nor documented way of resetting the cluster config back to default on 2.0 like there was on 1.x. Here's how you do it, but be warned that as this really does mean "reset to default" this will delete all your VMs (though not their hard drive images) and you'll have to reconfigure your VMs: | ||
− | + | service cman stop | |
+ | service pve-cluster stop | ||
+ | rm /etc/cluster/cluster.conf | ||
+ | rm /var/lib/pve-cluster/* | ||
+ | service pve-cluster start | ||
+ | service cman start | ||
===Ubuntus java paikaseadmine=== | ===Ubuntus java paikaseadmine=== |
Redaktsioon: 8. mai 2012, kell 21:07
TODO
Võrreldes varasema versiooniga on kasutajaliides põhjalikult ümber kirjutatud-disainitud.
Cluster
- pvecm add 10.40.0.61
node jagaja already defined copy corosync auth key stopping pve-cluster service Stopping pve cluster filesystem: pve-cluster. backup old database Starting pve cluster filesystem : pve-cluster. Starting cluster:
Checking if cluster has been disabled at boot... [ OK ] Checking Network Manager... [ OK ] Global setup... [ OK ] Loading kernel modules... [ OK ] Mounting configfs... [ OK ] Starting cman... [ OK ] Waiting for quorum... [ OK ] Starting fenced... [ OK ] Starting dlm_controld... [ OK ] Unfencing self... [ OK ]
waiting for quorum...OK generating node certificates merge known_hosts file restart services Restarting PVE Daemon: pvedaemon. Restarting web server: apache2 ... waiting . successfully added node 'jagaja' to cluster.
ASIDE: If you mess up your Proxmox config, there is no obvious nor documented way of resetting the cluster config back to default on 2.0 like there was on 1.x. Here's how you do it, but be warned that as this really does mean "reset to default" this will delete all your VMs (though not their hard drive images) and you'll have to reconfigure your VMs:
service cman stop service pve-cluster stop rm /etc/cluster/cluster.conf rm /var/lib/pve-cluster/* service pve-cluster start service cman start
Ubuntus java paikaseadmine
How to switch Firefox Java plugin to Sun Java on Ubuntu Linux
Open Synaptic and go to Settings -> Repositories -> Other Software and activate the Canonical partner repo. Now close Synaptic, fire up a terminal and run the following commands in order, selecting Sun Java (java-6-sun) where appropriate:
sudo apt-get update sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-plugin sudo update-alternatives --config java
The tricky part is: even when you have Sun's Java runtime installed, Firefox will still default to the open source IcedTea plugin, unless you tell it not to. Run the following command and select Sun's Java web browser plugin:
sudo update-alternatives --config mozilla-javaplugin.so