ha-sync.conf.ex
changeset 30 70e5ecce4769
parent 1 b36b9eee9c41
equal deleted inserted replaced
29:db8f5cef11b5 30:70e5ecce4769
     4 DIR=/boot/ha-config
     4 DIR=/boot/ha-config
     5 
     5 
     6 # The two nodes to be maintained:
     6 # The two nodes to be maintained:
     7 # NODE_A=host-a
     7 # NODE_A=host-a
     8 # NODE_B=host-b
     8 # NODE_B=host-b
       
     9 HOSTNAME=`hostname`
       
    10 NODE=${HOSTNAME#*-}
     9 NODE_A=
    11 NODE_A=
    10 NODE_B=
    12 NODE_B=
    11 
    13 
    12 # Which filesystems to syncronize:
    14 # Which filesystems to syncronize:
    13 # FILESYSTEMS="/ /boot"
    15 # FILESYSTEMS="/ /boot"