8.9. Maintenance Mode

8.9.1. Oracle VM VirtualBox and Microsoft Hyper-V Host Maintenance
8.9.2. Storage Maintenance

On occasion, you might need to off-line a configured host or storage for operations including maintenance, upgrades, and decommissioning. The Maintenance Mode feature allows virtual machines to be cleared from a currently used host or storage and moved to a different host or storage so that normal operations may continue while the initial host or storage is unavailable. This process is also considered a "cold" migration because running virtual machines will be suspended to allow the maintenance process to proceed.

Maintenance mode is available for Oracle VM VirtualBox and Microsoft Hyper-V desktop providers only.

8.9.1. Oracle VM VirtualBox and Microsoft Hyper-V Host Maintenance

The two ways a host can be put in maintenance mode are:

Migrate Desktops or Shutdown and Restart Desktops on Another Host

  • Requires 1 Oracle VM VirtualBox host.

  • Migrate Desktops - Offered only if Oracle VDI thinks there are other compatible hosts. Otherwise, "Shutdown and Restart Desktops" is offered.

  • Desktops are migrated one after the other. A desktop being migrated will be temporarily unavailable for up to a minute.

Suspend Desktops on a Host

  • Always offered.

  • Suspends all desktops on the current host.

  • If a suspended desktop is requested it will be resumed on another VirtualBox host, if available.

Note

A compatible VirtualBox host must have identical, or very similar, CPU models. Attempting to resume a desktop on a different CPU model will often result in a failure. Oracle VDI verifies that hosts have the correct CPU manufacturer. The administrator is responsible for ensuring that the CPU models are compatible.

Desktop providers with a single VirtualBox or Microsoft Hyper-V host will be able to suspend all running desktops associated with the specified host.

Desktop providers with more than one VirtualBox host allow running desktops to be migrated to other enabled hosts. Depending on host compatibility one of two migration options will be available. If Oracle VDI detects other compatible hosts, it will attempt to migrate each desktop by suspending it and resuming it on another host. If no compatible hosts are detected, Oracle VDI will attempt to shutdown and restart the desktops on other hosts. A compatible VirtualBox host must have identical, or very similar, CPU models. Oracle VDI verifies that hosts have the correct CPU manufacturer. The administrator is responsible for ensuring that the CPU models are compatible. Oracle VDI also checks for valid VirtualBox releases.

With Microsoft Hyper-V, the desktops cannot be migrated to another host. They are suspended and will be restarted on the same host. In the event that the disk number associated with a desktop has changed during the host maintenance period (this may happen if the Hyper-V host is rebooted), Oracle VDI must power off the desktop before it can be restarted, causing any suspend data to be lost.

In Oracle VDI Manager:

  1. Select the Desktop Providers category, and click the desktop provider containing the host you would like to suspend.

  2. Select the Host tab, select the host to migrate and click the Maintenance button.

    A pop-up window is displayed with two options depending on host compatibility.

    1. Choose maintenance type.

      • To move the desktops to a different host, select the Migrate Desktops option.

      • To suspend all desktops on the host, select the Suspend Desktops option.

    2. Choose a time for the server to enter maintenance mode or click Now.

    3. Click OK to submit the maintenance mode job.

8.9.2. Storage Maintenance

Oracle VDI provides a mechanism to put one or more storage servers in maintenance mode. Maintenance mode implies that the storage server is disabled and all running desktops are either shut down or suspended. At this point, maintenance can take place on the storage server (reboot or upgrade). No data is moved or deleted from the specified storage server (including desktop hard disk data), but the associated OCFS2 file systems (iSCSI or Sun ZFS storage types) are unmounted from the virtualization hosts. When the storage server is re-enabled, the OCFS2 file systems are remounted on the virtualization hosts, and any desktops suspended during maintenance are resumed.

When placing a Microsoft Hyper-V host or a storage host in maintenance mode, all desktops must be powered off.

In Oracle VDI, you can clear or suspend running desktops on virtualization hosts and storage servers. Maintenance mode allows administrators to perform typical maintenance tasks on servers (rebooting, upgrading) with minimal impact to users.

Oracle VDI Manager Steps

  1. In Oracle VDI Manager, go to Desktop Providers.

  2. Select the desktop provider containing the storage server you would like to suspend.

  3. Go to the Storage tab, select the storage server, and click the Maintenance button.

  4. Choose a time for the server to enter maintenance mode, or click Now.

  5. Click OK to submit the maintenance mode job.

Note

All running desktops associated with a host or storage server can be manually shut down or suspended on the Storage or Host Desktop tab. To access this tab, click the Host or Storage server link.