This is an old revision of the document!


Installation on Debian 8 Jessie

  1. install necessary packages:
    apt-get install cman clvm gfs2-utils gfs2-cluster multipath-tools 
  2. in case you are using iscsi attached quorum disk - install iscsi:
    apt-get install open-iscsi
  3. install fencing-agents either via apt or from git (better):
    apt-get install fence-agents

    or the newest version from git

    • in case you are using Netio 230A copy its agent from netio-fencing to /usr/sbin/fence_netio_230A
  4. disable waiting for quorum device:
    echo "CMAN_QUORUM_TIMEOUT=0" >> /etc/default/cman
  5. edit /etc/lvm/lmv.conf, set:
    mirror_logs_require_separate_pvs = 1
    locking_type = 3

Adding node to the cluster

  1. add node to the /etc/hosts for all nodes in cluster e.g.:
    127.0.0.1       localhost
    127.0.1.1       zemi.starlab.cz zemi
     
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
     
    10.0.0.23 semi.starlab.cz
    10.0.0.120 demi.starlab.cz
    10.0.0.130 lemmy.starlab.cz
    10.0.0.140 zemi.starlab.cz
 
linux/cluster/install.1449841767.txt.gz · Last modified: 2015/12/11 14:49 by vondra