Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Full network shutdown steps 6 years 8 months ago #1374

  • Mauritz
  • Mauritz's Avatar Topic Author
  • Offline
  • Posts: 43
What is the steps in doing a complete network shutdown (for maintenance). Based on your documentation regarding maintenance, I believe it's the following:

1. Shutdown running vm's
2. Disable HA
3. Put both host in iscsi manual mode
4. shutdown slave first
5. shutdown master
--- perform maintenance
6. start master
7. start slave
8. disable manual mode
9. re-enable HA

Correct?

Please Log in or Create an account to join the conversation.

Full network shutdown steps 6 years 8 months ago #1375

Close but not quite. Your procedure would have VMs starting up again as soon as you shut them down since HA is still enabled. This is my procedure for working on various machines:

Maintenance (reboot servers):
1. Disable HA: ha-cfg status
2. Manual mode on both: iscsi-cfg manual-mode-enable
3. Migrate all VMs to slave
4. Demote master: iscsi-cfg become-secondary
5. Promote slave: iscsi-cfg become-primary
6. Work on master (maintenance, reboot, etc)

7. Rejoin master host to pool
8. Migrage all VMs to master
9. Demote slave: iscsi-cfg become-secondary
10. Promote master: iscsi-cfg become-primary
11. Work on slave (maintenance, reboot, etc.)
12. Rejoin slave host to pool
13. Exit manual mode on both: iscsi-cfg manual-mode-disable
14. Enable HA for pool: ha-cfg status

Please Log in or Create an account to join the conversation.

Full network shutdown steps 6 years 8 months ago #1376

  • Mauritz
  • Mauritz's Avatar Topic Author
  • Offline
  • Posts: 43
In our particular case we'll need to power down both hosts entirely (we're switching cabinets) - My biggest concern is obviously making sure that the hosts isn't fenced off or cannot boot up accordingly again so want to make sure I have the order of shutdown / reboot correct or if this even matters? Would HAL automatically make a rebooted slave server master after boot?

Please Log in or Create an account to join the conversation.

Full network shutdown steps 6 years 8 months ago #1377

Disable HA, then shut down the VMs, then shut down the slave first, then the master. Then turn the master on first, then the slave. No manual mode necessary for your scenario.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1