Changes between Version 7 and Version 8 of Documentation/Logs/PacemakerGFS2


Ignore:
Timestamp:
May 15, 2015 2:29:49 PM (10 years ago)
Author:
Andrii Salnikov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Logs/PacemakerGFS2

    v7 v8  
    2727}}}
    2828
    29 Additional config for /opt, etc.
     29Clustered IP for a-nodes for load balancing and failover:
    3030{{{
    3131pcs resource create a-nodes-IP ocf:heartbeat:IPaddr2 ip=10.25.240.250 cidr_netmask=32 op monitor interval=10s
     
    3636pcs resource update a-nodes-IP-clone resource-stickiness=-1
    3737}}}
     38
     39DRBD device for /opt
     40{{{
     41yum -y install drbd-pacemaker drbd-udev
     42cat <<END > /etc/drbd.d/a-nodes-opt.conf
     43resource drbdopt {
     44  protocol C;
     45  meta-disk internal;
     46  device /dev/drbd1;
     47  syncer {
     48    verify-alg sha1;
     49  }
     50  net {
     51    allow-two-primaries;
     52  }
     53  on a1.cluster.univ.kiev.ua {
     54    disk "/dev/disk/by-path/pci-0000:04:02.0-scsi-0:0:3:0";
     55    address 10.25.240.251:7789;
     56  }
     57  on a2.cluster.univ.kiev.ua {
     58    disk "/dev/disk/by-path/pci-0000:04:02.0-scsi-0:0:3:0";
     59    address 10.25.240.252:7789;
     60  }
     61}
     62END
     63
     64drbdadm create-md drbdopt
     65modprobe drbd
     66drbdadm up drbdopt
     67drbdadm primary --force drbdopt
     68cat /proc/drbd
     69}}}
     70
    3871Status check commands in addition to {{{pcs status}}}:
    3972{{{