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
linux:cluster:install [2015/12/11 15:49]
vondra [Adding node to the cluster]
linux:cluster:install [2015/12/11 17:59] (current)
vondra [Installation on Debian 8 Jessie]
Line 1: Line 1:
 ====== Installation on Debian 8 Jessie ====== ====== Installation on Debian 8 Jessie ======
   - install necessary packages:<​code bash>   - install necessary packages:<​code bash>
-apt-get install cman clvm gfs2-utils gfs2-cluster multipath-tools xmlstarlet</​code>​+apt-get install cman clvm gfs2-utils gfs2-cluster multipath-tools xmlstarlet ​ntp</​code>​
   - in case you are using iscsi attached quorum disk - install iscsi:<​code bash>   - in case you are using iscsi attached quorum disk - install iscsi:<​code bash>
 apt-get install open-iscsi</​code>​ apt-get install open-iscsi</​code>​
   - install fencing-agents either via apt or from git (better):<​code bash>   - install fencing-agents either via apt or from git (better):<​code bash>
 apt-get install fence-agents</​code>​or [[linux:​netio-fencing | the newest version from git]] apt-get install fence-agents</​code>​or [[linux:​netio-fencing | the newest version from git]]
-    * in case you are using Netio 230A copy its agent from [[linux:​netio-fencing]] to /​usr/​sbin/​fence_netio_230A+    * in case you are using Netio 230A copy its agent from [[linux:​netio-fencing#​netio_230a_agent]] to /​usr/​sbin/​fence_netio_230A
   - disable waiting for quorum device:<​code bash>​echo "​CMAN_QUORUM_TIMEOUT=0"​ >> /​etc/​default/​cman</​code>​   - disable waiting for quorum device:<​code bash>​echo "​CMAN_QUORUM_TIMEOUT=0"​ >> /​etc/​default/​cman</​code>​
   - edit /​etc/​lvm/​lmv.conf,​ set:<​code bash>   - edit /​etc/​lvm/​lmv.conf,​ set:<​code bash>
Line 34: Line 34:
 systemctl disable gfs2-cluster.service</​code>​ systemctl disable gfs2-cluster.service</​code>​
   - (optional) if is qourum disk connected via iscsi set it conect automatically   - (optional) if is qourum disk connected via iscsi set it conect automatically
 +  - if using gfs2 filesystem add journal for it:<code bash>​gfs2_jadd -j Number MountPoint</​code>​
   - run <code bash>​cluster_bin/​start_cluster.sh</​code>​   - run <code bash>​cluster_bin/​start_cluster.sh</​code>​
 
linux/cluster/install.1449845390.txt.gz · Last modified: 2015/12/11 15:49 by vondra