Got it

A DeployManager Upgrade Failure Triggers an Unexpected Active/Standby Switchover and the Upgrade Fails Again Due to Incorrect Roles of the Nodes to Be

111 0 0 0 0

Problem Symptom

Before the first DeployManager upgrade, node A is the standby FSM node and node B is the active FSM node.

Before the first DeployManager upgrade, an active/standby switchover is triggered and node A becomes the active FSM node. However, the CloudA upgrade fails. During environment recovery, an active/standby switchover is triggered again unexpectedly and node A becomes the standby FSM node. As a result, an error is reported during the second DeployManager upgrade on node A, indicating that the current node is not the active FSM node.

[2020-06-28 11:21] is_active [Line:146][Error] current node ha role is not active.You can upgrade active node only[2020-06-28 11:21] current node ha role is not active,upgrade cloude error[2020-06-28 11:21] DeployManager upgrade result is :1[2020-06-28 11:21] [ERROR]DeployManager upgrade failed![2020-06-28 11:21] The upgrade is failed

1_en-us_image_0258544546.png


Problem Diagnosis

Log in to node A and check the package.log log file. The log file shows that node A is not the active FSM node. On DeviceManager, two times of active/standby switchover are recorded. However, in normal cases, only one switchover will be recorded.


Causes

After the environment is recovered upon a CloudA upgrade failure, an abnormal active/standby switchover is triggered and node A becomes the standby FSM node. Therefore, the second DeployManager upgrade fails because CloudA must be upgraded on the active FSM node.


Solution

  1. Ensure that the DeployManager upgrade environment is normal.

  2. Log in to node B and run the following command to perform an active/standby switchover:

    cd /opt/dfv/oam/oam-u/ha/ha/module/hacom/tools && ./ha_client_tool --cancelforbidswitch --name=upgrade && ./ha_client_tool --switchover --name=upgrade

  3. Check the alarms on DeviceManager. After an active/standby switchover record is generated, try the upgrade again on node A.


Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.