Stop ERS on the secondary node
Description – stop ERS on the secondary node using
sapcontrol
.
Run node – secondary node where ERS is running.
Run steps
hahost02:ha1adm ~> sapcontrol -nr 10 -function Stop 12.05.2021 03:08:41 Stop OK hahost02:ha1adm ~> sapcontrol -nr 10 -function GetProcessList 12.05.2021 03:09:13 GetProcessList OK name, description, dispstatus, textstatus, starttime, elapsedtime, pid enq_replicator, Enqueue Replicator 2, GRAY, Stopped, , , 8126
Expected result – the cluster should stop performing all activities.
[root@hahost02 ~]# pcs status Cluster name: rhelha Stack: corosync Current DC: hahost02 (version 1.1.19-8.el7_6.5-c3c624ea3d) - partition with quorum Last updated: Wed May 12 03:10:29 2021 Last change: Wed May 12 03:08:58 2021 by ha1adm via crm_resource on hahost02 2 nodes configured 7 resources configured (1 DISABLED) Online: [ hahost01 hahost02 ] Full list of resources: clusterfence (stonith:fence_aws): Started hahost02 Resource Group: rsc_ASCS00_group rsc_fs_ascs00 (ocf::heartbeat:Filesystem): Started hahost01 rsc_vip_ascs00 (ocf::heartbeat:aws-vpc-move-ip): Started hahost01 rsc_ascs00 (ocf::heartbeat:SAPInstance): Started hahost01 Resource Group: rsc_ERS10_group rsc_fs_ers10 (ocf::heartbeat:Filesystem): Started hahost02 rsc_vip_ers10 (ocf::heartbeat:aws-vpc-move-ip): Started hahost02 rsc_ers10 (ocf::heartbeat:SAPInstance): Stopped (disabled) Daemon Status: corosync: active/enabled pacemaker: active/enabled pcsd: active/enabled
Recovery procedure – start ERS with
sapcontrol
.