My PROXMOX cluster nodes:
As only two members are joined to cluster, following message will show you for any action you want to perform (Create VM, delete node, add another node, etc):
SSH to Master and change weigth (To have quorum :P )
BONUS: Remove a NODE from GUI, delete/move the whole directory /etc/pve/nodes/
GUI is clean, without "Quipu" :D
root@ayllu:~# pvecm nodes
Node Sts Inc Joined Name
1 M 64 2013-02-05 11:24:15 ayllu
2 X 0 quipu
As only two members are joined to cluster, following message will show you for any action you want to perform (Create VM, delete node, add another node, etc):
root@ayllu:~# pvecm delnode quipu
cluster not ready - no quorum?
SSH to Master and change weigth (To have quorum :P )
root@ayllu:~# pvecm expected 1
Now remove node from Cluster and try to add another node into Cluster like this:
On Master:
root@ayllu:~# pvecm delnode quipu
On brand new Node:
root@apu:~# pvecm add 172.16.30.4
root@172.16.30.4's password:
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 ] Tuning DLM kernel config... [ OK ] Unfencing self... [ OK ]waiting for quorum...OKgenerating node certificatesmerge known_hosts filerestart servicesRestarting PVE Daemon: pvedaemon.Restarting web server: apache2 ... waiting .
successfully added node 'apu' to cluster.
Check changes in MASTER:
root@ayllu:~# pvecm nodes
Node Sts Inc Joined Name
1 M 64 2013-02-05 11:24:15 ayllu
2 M 68 2013-02-06 07:36:29 apu
Suerte con la virtualizacion!
BONUS: Remove a NODE from GUI, delete/move the whole directory /etc/pve/nodes/
root@ayllu:/etc/pve/nodes# pwd
/etc/pve/nodes
root@ayllu:/etc/pve/nodes# ls -l
total 0
drwxr-x--- 2 root www-data 0 Feb 6 07:36 apu
drwxr-x--- 2 root www-data 0 Aug 19 20:44 ayllu
drwxr-x--- 2 root www-data 0 Aug 19 20:06 mycluster
drwxr-x--- 2 root www-data 0 Jan 28 12:03 quipu <--x font="">--x>
root@ayllu:/etc/pve/nodes# mv quipu/ /home/trash
GUI is clean, without "Quipu" :D
genius.
ReplyDelete