8

Unfortunately I may have to power-cycle my storage array.

In the context of using KVM with libvirt managing the Virtual Machines where i need to power-cycle the storage array, is it possible or even advisable to :

  1. pause the VM's
  2. flush and turn off multipath
  3. log out of iSCSI sessions
  4. update and power-cycle storage array.

then follow the reverse course of

  1. re-establish iISCSI sessions
  2. restore multipathing
  3. resume VM's

Any advice is welcome.

janos erdelyi
  • 225
  • 1
  • 4

2 Answers2

7

I would recommend powering everything down when you power cycle the array. That way you are completely sure that everything is flushed correctly.

The additional outage time sucks, but when it comes to downing the storage array I don't screw around with shortcuts.

mrdenny
  • 27,074
  • 4
  • 40
  • 68
3

Pause means migrating the VM into a file, and then reloading it from that file. You need to make sure the file is on the local storage and not on the SAN. And before pausing, I'd also try and quiesce the VM, the the application you are using allows it.

dyasny
  • 18,482
  • 6
  • 48
  • 63