1 頁 (共 1 頁)

ubuntu install clvm

發表於 : 2014-08-20, 06:33
tony
安裝需要的套件

apt-get install system-config-cluster cman clvm

執行 system-config-cluster 加上叢集節點,產生 cluster.conf 設定檔(讓cman啟動)。

啟動 cman : service cman start

修變設定 lvm.conf : locking_type = 3
或是執行 lvmconf –enabledcluster 指令

建立 DRBD 裝置(primary-primary mode)
建立新的 VG for cluster 或是 修改現有的 VG for cluster
new: vgcreate -c y -n vg-cluster /dev/drbd-device
modify: vgchange -c y exist-vg

啟動 clvm: service clvm start