Proxmox 2.2: Membuat Cluster Cloud
Pada Master
- ssh dan masuk ke Shell Mesin Proxmox Utama
- Create Cluster misalnya namanya "rainer"
pvecm create rainer
harusnya keluar
Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 52:eb:b8:73:cb:a5:28:b5:7d:a1:53:60:9d:7d:49:e5 root@node00 The key's randomart image is: +--[ RSA 2048]----+ | ..| | .. | | .. o . .E| | .o.o . o | | ..S. . | | .+ o | | ..o.o.. | | . o+=o. | | .oo++ | +-----------------+ Restarting pve cluster filesystem: pve-cluster[dcdb] notice: wrote new cluster config '/etc/cluster /cluster.conf' . 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 ]
- Cek apakah node kita sudah join ke cluster
pvecm nodes
akan keluar
Node Sts Inc Joined Name 1 M 4 2013-01-20 08:27:03 node00
Pada Node Lain
- Delete semua VM yang ada di mesin proxmox yang akan jadi node.
- ssh & masuk ke node lainnya, lakukan
pvecm add 10.10.16.88
Akan keluar
The authenticity of host '10.10.16.88 (10.10.16.88)' can't be established. RSA key fingerprint is 29:22:8b:0f:d4:15:11:0d:0d:8d:7b:07:63:c4:f0:97. Are you sure you want to continue connecting (yes/no)? yes root@10.10.16.88'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...OK generating node certificates merge known_hosts file restart services Restarting PVE Daemon: pvedaemon. Restarting web server: apache2 ... waiting . successfully added node 'node01' to cluster.
Cek di node Master
pvecm nodes
Harusnya keluar
Node Sts Inc Joined Name 1 M 4 2013-01-20 08:27:03 node00 2 M 8 2013-01-20 08:30:21 node01