Closed ab-mohamed closed 3 years ago
This should be fixed in https://github.com/SUSE/sapnwbootstrap-formula/pull/88
realted to of #712
Thanks, @yeoldegrove, for the quick update.
How can I use the mentioned fix in my deployment? I am using the master
brunch and ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:/ha-clustering:/sap-deployments:/v7/"
repo.
Best regards, Ab
@ab-mohamed sapnwbootstrap-formula-0.6.7+git.1630666671.a8b69d3
was just released in "https://download.opensuse.org/repositories/network:/ha-clustering:/sap-deployments:/v7/"
.
Please have a look if this resolves you issue.
@yeoldegrove, Thank you for your release which fixes this issue.
You can close this issue. :)
Best regards, Ab
Used cloud platform GCP
Used SLES4SAP version SLES15SP2 for SAP Applications
Used client machine OS Google Cloud Shell
Expected behavior vs observed behavior The Expected behavior - A successful failover means that:
default-netweaver01
to the second node,default-netweaver02
.default-netweaver02
to the first node,default-netweaver01
.Observed behavior: After the failover is completed, the ASCS service moved back to the first node,
default-netweaver01
VM.How to reproduce
Clone the
master
brunch.Configure the Terraform variables file.
Execute
terraform init
andterraform apply --auto-approve
commandsThe deployment has been completed successfully and the cluster status shows that:
ASCS
service is working ondefault-netweaver01
VM.ERS
service is working ondefualt-netweaver02
VM. Here is the initial cluster status:**Node List:
Inactive Resources:
Migration Summary:
Failed Resource Actions:
primitive rsc_sap_HA1_ASCS00 SAPInstance \ operations $id=rsc_sap_HA1_ASCS00-operations \ op monitor interval=11 timeout=60 \ op_params on-fail=restart \ params InstanceName=HA1_ASCS00_sapha1as START_PROFILE="/sapmnt/HA1/profile/HA1_ASCS00_sapha1as" AUTOMATIC_RECOVER=false \ meta resource-stickiness=5000 failure-timeout=60 migration-threshold=1 priority=10 primitive rsc_sap_HA1_ERS10 SAPInstance \ operations $id=rsc_sap_HA1_ERS10-operations \ op monitor interval=11 timeout=60 \ op_params on-fail=restart \ params InstanceName=HA1_ERS10_sapha1er START_PROFILE="/sapmnt/HA1/profile/HA1_ERS10_sapha1er" AUTOMATIC_RECOVER=false IS_ERS=true \ meta priority=1000
default-netweaver01:~ # crm resource move rsc_sap_HA1_ASCS00 force INFO: Move constraint created for rsc_sap_HA1_ASCS00
default-netweaver01:~ # crm_mon -rnf1 Cluster Summary:
Node List:
Inactive Resources:
Migration Summary:
Failed Resource Actions:
I noticed that
rsc_exporter_HA1_ASCS00
andrsc_exporter_HA1_ERS10
RAs are stopped now.Clear the
ASCS
RA:The
ASCS
service moves back to the first node,default-netweaver01
:Node List:
Inactive Resources:
Migration Summary:
Failed Resource Actions:
pacemaker
andcorosync
services:Node List:
Inactive Resources:
Migration Summary:
Failed Resource Actions:
Best regards, Ab