Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux:clvm [2015/10/30 12:10]
vondra [Installation (Debian Jessie)]
linux:clvm [2015/11/06 16:01]
vondra [Adding/deleting node from cluster]
Line 1: Line 1:
 ====== Cluster LVM ====== ====== Cluster LVM ======
 +sources:
 +
 +[[https://​www.suse.com/​documentation/​sle_ha/​book_sleha/​data/​sec_ha_clvm_config.html]]
 +
 +[[https://​access.redhat.com/​documentation/​en-US/​Red_Hat_Enterprise_Linux/​6/​html/​Cluster_Administration/​s1-admin-manage-nodes-delete-add-cli-CA.html]]
 +
 +[[https://​www.ibm.com/​developerworks/​community/​blogs/​mhhaque/​resource/​RHCS_IBM_POWER.pdf?​lang=zh]]
 ===== Installation (Debian Jessie) ===== ===== Installation (Debian Jessie) =====
   - install necessary packages:<​code bash>   - install necessary packages:<​code bash>
Line 52: Line 59:
 service stop clvm service stop clvm
 service stop cman</​code>​ service stop cman</​code>​
 +  - install cman clvm on new node(s) - don't forget to setup the /​etc/​lvm/​lvm.conf file
 +  - attach SANs on new node(s)
   - edit the /​etc/​cluster/​cluster.conf and increase serial:<​code xml>   - edit the /​etc/​cluster/​cluster.conf and increase serial:<​code xml>
 <cluster name="​mycluster"​ config_version="​2">​ <cluster name="​mycluster"​ config_version="​2">​
Line 73: Line 82:
    </​rm>​    </​rm>​
 </​cluster></​code>​ </​cluster></​code>​
 +  - distribute the file to ALL nodes in cluster and issue following command from any node:<​code bash>​cman_tool version -r -S</​code>​
 +  - to use previously created volumes those must be activated on new node:<​code bash>
 +lvchange -a y /​dev/​guma_cerna/​testovaci_lv</​code>​
 +===== Removing node from the cluster =====
 +  - <code bash>​service cman stop leave</​code>​
 +
 
linux/clvm.txt · Last modified: 2015/11/06 16:02 by vondra