8.2.5. Aducerea Clusterului Online cu CMAN
Primul lucru care trebuie făcut este de a verifica dacă este validă configurația
Configuration validates
Acum porniți CMAN
Starting cluster:
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 ]
Starting gfs_controld... [ OK ]
Unfencing self... [ OK ]
Joining fence domain... [ OK ]
Odată ce ați confirmat că primul nod este fericit online, porniți al doilea nod.
[root@pcmk-2 ~]# service cman start
Starting cluster:
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 ]
Starting gfs_controld... [ OK ]
Unfencing self... [ OK ]
Joining fence domain... [ OK ]
Node Sts Inc Joined Name
1 M 548 2011-09-28 10:52:21 pcmk-1
2 M 548 2011-09-28 10:52:21 pcmk-2
You should now see both nodes online. To begin managing resources, simply start Pacemaker.
Starting Pacemaker Cluster Manager: [ OK ]
and again on the second node, after which point you can use crm_mon as you normally would.
[root@pcmk-2 ~]# service pacemaker start
Starting Pacemaker Cluster Manager: [ OK ]