Changes between Version 7 and Version 8 of Documentation/Logs/PacemakerGFS2
- Timestamp:
- May 15, 2015 2:29:49 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Logs/PacemakerGFS2
v7 v8 27 27 }}} 28 28 29 Additional config for /opt, etc. 29 Clustered IP for a-nodes for load balancing and failover: 30 30 {{{ 31 31 pcs resource create a-nodes-IP ocf:heartbeat:IPaddr2 ip=10.25.240.250 cidr_netmask=32 op monitor interval=10s … … 36 36 pcs resource update a-nodes-IP-clone resource-stickiness=-1 37 37 }}} 38 39 DRBD device for /opt 40 {{{ 41 yum -y install drbd-pacemaker drbd-udev 42 cat <<END > /etc/drbd.d/a-nodes-opt.conf 43 resource 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 } 62 END 63 64 drbdadm create-md drbdopt 65 modprobe drbd 66 drbdadm up drbdopt 67 drbdadm primary --force drbdopt 68 cat /proc/drbd 69 }}} 70 38 71 Status check commands in addition to {{{pcs status}}}: 39 72 {{{