[ClusterLabs] different start/stop order

Stefan Krueger Shadow_7 at gmx.net
Wed Nov 1 04:44:01 EDT 2017


Hello Ken,

thanks for you help, at the moment it looks like this (its not final):
crm(live)# conf sho
node 1084815873: zfs-serv1
node 1084815874: zfs-serv2
primitive HA_IP-Serv1 IPaddr2 \
        params ip=172.16.101.70 cidr_netmask=16 \
        op monitor interval=20 timeout=30 on-fail=restart nic=bond0 \
        meta target-role=Started
primitive HA_IP-Serv2 IPaddr2 \
        params ip=172.16.101.74 cidr_netmask=16 \
        op monitor interval=10s nic=bond0
primitive nc_storage ZFS \
        params pool=nc_storage importargs="-d /dev/disk/by-partlabel/"
primitive nfs-serv1 systemd:nfs-server
primitive nfs-serv2 systemd:nfs-server
group compl_zfs-serv2 nfs-serv2 HA_IP-Serv2
location cli-prefer-HA_IP-Serv1 HA_IP-Serv1 role=Started inf: zfs-serv1
location cli-prefer-HA_IP-Serv2 compl_zfs-serv2 role=Started inf: zfs-serv2
location cli-prefer-compl_zfs-serv1 nc_storage role=Started inf: zfs-serv1
location cli-prefer-nc_storage nc_storage role=Started inf: zfs-serv1
colocation compl_zfs-serv1 +inf: HA_IP-Serv1 nc_storage nfs-serv1
order start_serv1 nfs-serv1:start nc_storage:start HA_IP-Serv1:start symmetrical=false
order stop_serv1 HA_IP-Serv1:stop nfs-serv1:stop nc_storage:stop symmetrical=false
property cib-bootstrap-options: \
        have-watchdog=false \
        dc-version=1.1.16-94ff4df \
        cluster-infrastructure=corosync \
        cluster-name=debian \
        no-quorum-policy=ignore \
        default-resource-stickiness=100 \
        stonith-enabled=false \
        last-lrm-refresh=1507890181

is that ok? the manual failover looks good.

best regards




More information about the Users mailing list