9.6. Maintenance Mode

9.6.1. Oracle VDI Hypervisor and Microsoft Hyper-V Host Maintenance
9.6.2. Storage Maintenance

On occasion, you might need to off-line a configured host or storage, 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 VDI and Microsoft Hyper-V desktop providers only.

9.6.1. Oracle VDI Hypervisor 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 the 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 Oracle VM VirtualBox host, if available.

Note

A compatible Oracle VM 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. The 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 Oracle VM 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 Oracle VM 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 Oracle VM 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 Oracle VM VirtualBox releases.

With Microsoft Hyper-V, the desktops cannot not 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 will 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 will appear with two options depending on host compatibility.

    1. Choose maintenance type.

      • If you will be moving the desktops to a different host, select the Migrate Desktops option.

      • If you will be suspending all desktops on the host, select the Suspend Desktops option.

    2. Choose a time for the server to begin entering maintenance or click Now to select the current time.

    3. Click OK to submit the maintenance mode job.

9.6.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 shutdown or suspended. Desktops will be unavailable until the storage server is re-enabled. At this point, maintenance can take place on the storage server (rebooting, upgrading). No data is moved or deleted from the specified storage server (including desktop hard disk data). When the storage server is re-enabled, any desktops suspended as a result of entering maintenance mode will be resumed.

When putting a Hyper-V host or storage into 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 begin entering maintenance, or click Now to select the current time.

  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 by navigating to the Storage or Host Desktop tab. This tab can be accessed by clicking the Host or Storage server hyperlink.