HA Test and Recovery


Single-MN Maintenance

Active MN Maintenance

In a dual-MN HA scenario, assume that MN1 is the active MN and MN2 is the standby MN.

If the administrator needs to temporarily shut down MN1 for maintenance, follow these steps:

  1. Switch MN1 to the standby MN.

    On MN1, run the zsha2 demote command. Then, MN1 is switched to the standby MN online, and MN2 becomes the active MN after obtaining a VIP.

  2. Stop MN1.
    • If MN1 is not added to ZStack Cloud as a compute node, follow these steps:
      1. Run the zsha2 stop-node command on MN1 to stop the zsha2 service.
      2. Shut down MN1.
      3. Maintain MN1 after shutdown.
    • If MN1 is reused as a compute node and added to ZStack Cloud, follow these steps:
      1. Run the zsha2 stop-node command on MN1 to stop the zsha2 service.
      2. Put MN1 into maintenance mode.
      3. Shut down MN1.
      4. Maintain MN1 after shutdown.
  3. Start MN1.
    1. After powering on MN1, start the server manually or through IPMI.
    2. Wait for MN1 to start and successfully boot the operating system.
    3. On MN1, run the zsha2 start-node command to start the zsha2 service.
    4. On MN1, run the zsha2 status command to check whether the zsha2 service is running properly.
    5. On MN1, run the zstack-ctl status command to check whether the MN service and the UI are running properly.

Standby MN Maintenance

In a dual-MN HA scenario, assume that MN1 is the active MN and MN2 is the standby MN.

If the administrator needs to temporarily shut down MN2 for maintenance, follow these steps:
  1. Stop MN2.
    • If MN2 is not added to ZStack Cloud as a compute node, follow these steps:
      1. On MN2, run the zsha2 stop-node command to stop the zsha2 service.
      2. Shut down MN2.
      3. Maintain MN2 after shutdown.
    • If MN2 is reused as a compute node and added to ZStack Cloud, follow these steps:
      1. On MN2, run the zsha2 stop-node command to stop the zsha2 service.
      2. Put MN2 into the maintenance mode.
      3. Shut down MN2.
      4. Maintain MN2 after shutdown.
  2. Start MN2.
    1. After powering on MN2, start the server manually or through IPMI.
    2. Wait for MN2 to start and successfully boot the operating system.
    3. On MN2, run the zsha2 start-node command to start services related to zsha2.
    4. On MN2, run the zsha2 status command to check whether the zsha2 service is running properly.
    5. On MN2, run the zstack-ctl status command to check whether the MN service and the UI are running properly.

Dual-MN Maintenance

In a dual-MN HA scenario, assume that MN1 is the active MN and MN2 is the standby MN.

If the administrator needs to temporarily shut down these two MNs for maintenance, follow these steps:
  1. On each MN, run the zsha2 stop-node command to stop the zsha2 service.
  2. Shut down each MN.
  3. Maintain each MN after shutdown.
  4. After powering on each MN, start the server manually or through IPMI.
  5. Wait for each MN to start and successfully boot the operating system.
  6. On each MN, run the zsha2 start-node command to start the zsha2 service.
  7. On each MN, run the zsha2 status command to check whether the zsha2 service is running properly.
  8. On each MN, run the zstack-ctl status command to check whether the MN services and the UI are running properly.




Download

Already filled the basic info? Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.

Email Us

contact@zstack.io
ZStack certification training consulting
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for choosing ZStack products and services.

Back to Top