This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== SUSE 12 HA ===== On both nodes: <code> echo softdog > /etc/modules-load.d/watchdog.conf systemctl restart systemd-modules-load lsmod | egrep "(wd|dog)" </code> On one node: <code> sbd -d /dev/sdb create sbd -d /dev/sdb watch sbd -d /dev/sdb message ha2 test systemctl stop sbd </code> Modify /etc/sysconfig/sbd: <code> SBD_DEVICE="/dev/sdb" SBD_OPTS="-W" </code> On first node: <code> ha-cluster-init --name hacluster </code> On second node: <code> ha-cluster-join </code> Check HAWK2 https://192.168.122.10:7630/ Add resources: <code> crm configure primitive vip ocf:heartbeat:IPaddr \ params ip=192.168.122.30 op monitor interval=60s commit primitive clvmd ocf:heartbeat:clvm \ op stop interval=0 timeout=100 \ op start interval=0 timeout=90 \ op monitor interval=90 timeout=90 primitive dlm ocf:pacemaker:controld \ op start timeout="90" \ op stop timeout="100" \ op monitor interval="60" timeout="60" primitive sbd_stonith stonith:external/sbd \ params pcmk_delay_max=30 group storage dlm clvmd clone cluster-storage storage \ meta interleave="true" ordered=true commit </code> Configure storage: <code> pvcreate /dev/sda vgcreate -cy vgcluster /dev/sda lvcreate -n opt-ibm -L1G vgcluster lvcreate -n opt-mqm -L1G vgcluster lvcreate -n var-mqm -L1G vgcluster lvcreate -n var-mqsi -L1G vgcluster mkfs.xfs /dev/vgcluster/var-mqsi mkfs.xfs /dev/vgcluster/var-mqm mkfs.xfs /dev/vgcluster/opt-ibm mkfs.xfs /dev/vgcluster/opt-mqm </code> Configure storage on cluster: <code> crm configure primitive vgcluster LVM \ params volgrpname=vgcluster \ op monitor timeout=30 interval=10 \ op_params interval=10 primitive opt-ibm ocf:heartbeat:Filesystem \ params device="/dev/vgcluster/opt-ibm" directory="/opt/IBM" fstype="xfs" \ op monitor interval="20" timeout="40" \ op start timeout="60" op stop timeout="60" primitive opt-mqm ocf:heartbeat:Filesystem \ params device="/dev/vgcluster/opt-mqm" directory="/opt/mqm" fstype="xfs" \ op monitor interval="20" timeout="40" \ op start timeout="60" op stop timeout="60" primitive var-mqm ocf:heartbeat:Filesystem \ params device="/dev/vgcluster/var-mqm" directory="/ha/mqm" fstype="xfs" \ op monitor interval="20" timeout="40" \ op start timeout="60" op stop timeout="60" primitive var-mqsi ocf:heartbeat:Filesystem \ params device="/dev/vgcluster/var-mqsi" directory="/ha/mqsi" fstype="xfs" \ op monitor interval="20" timeout="40" \ op start timeout="60" op stop timeout="60" group cluster-app vip vgcluster opt-ibm opt-mqm var-mqm var-mqsi commit </code> ==== Considerations for zVM ==== * https://www.ibm.com/downloads/cas/2Q3XBRPQ * https://www.ibm.com/support/knowledgecenter/en/SSB27U_6.4.0/com.ibm.zvm.v640.hcpb7/linkcmd.htm