Difference between revisions of "Proxmox 2.2: Membuat Cluster Cloud"

From OnnoWiki
Jump to navigation Jump to search
 
Line 54: Line 54:
  
 
* Delete semua VM yang ada di mesin proxmox yang akan jadi node.
 
* Delete semua VM yang ada di mesin proxmox yang akan jadi node.
* ssh & masuk ke node lainnya, lakukan
+
* ssh & masuk ke node lainnya (misalnya 10.10.18.88), lakukan
  
 
  pvecm add 10.10.16.88
 
  pvecm add 10.10.16.88
 +
 +
Jika node utama 10.10.16.80, maka lakukan
 +
 +
pvecm add 10.10.16.80
  
 
Akan keluar
 
Akan keluar
Line 98: Line 102:
 
     1  M      4  2013-01-20 08:27:03  node00
 
     1  M      4  2013-01-20 08:27:03  node00
 
     2  M      8  2013-01-20 08:30:21  node01
 
     2  M      8  2013-01-20 08:30:21  node01
 
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 12:55, 26 February 2013

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 (misalnya 10.10.18.88), lakukan
pvecm add 10.10.16.88

Jika node utama 10.10.16.80, maka lakukan

pvecm add 10.10.16.80

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

Pranala Menarik

Proxmox 2.0

Proxmox 2.2