Chapter 5. Connecting the Virtualization Platform

In this chapter, you connect Oracle VDI to the virtualization platform that runs the desktops for users, in this case Oracle VM VirtualBox. To do this, you create a desktop provider in Oracle VDI Manager and then specify the virtualization resources (hosts and storage) you want to use.

Log in to Oracle VDI Manager, and select Desktop Providers in the navigation tree on the left. The All Desktop Providers page is displayed, as shown in Figure 5.1.

Figure 5.1. All Desktop Providers Page

The image shows the All Desktop Providers page. No desktop providers listed in the table.

In the Desktop Providers table, click the New button. The New Desktop Provider wizard is displayed in a new window. Click the Next button to move though the various steps of the wizard. On the Select Desktop Provider Type step, select Oracle VM VirtualBox, as shown in Figure 5.2.

Figure 5.2. Select Desktop Provider Type Step

The image shows the Select Desktop Provider Type step. The Oracle VM VirtualBox option is selected.

On the Specify Hosts step, ensure the Specify New Host option is selected and click Next.

On the Specify New Host step, enter the details of your Oracle VDI host where you installed VirtualBox:

Figure 5.3 shows a completed example.

Figure 5.3. Specify New Host Step

The image shows the Specify New Host step. All the required details for the host have been entered.

Click Next. On the Verify Certificate step, check that the SSH and SSL certificate details are correct and click Next. You are returned to the Specify Hosts step so that you can add more VirtualBox hosts if you want. A message is displayed to confirm that you have added the VirtualBox host. If you add multiple hosts to a desktop provider, Oracle VDI load balances them. As you only want to add a single host, select Select Existing Hosts and click Next, as shown in Figure 5.4.

Figure 5.4. Host Added on the Specify Hosts Step

The image shows the Specify Hosts step. The VirtualBox host you just created is selected.

On the Specify Storages step, ensure the Specify New Storage option is selected and click Next.

On the Specify New Storage step, enter the details of the storage that is used to store the virtual disks of the desktops. As Oracle VDI supports several different types of storage, the details you enter depend on the storage type selected. As you will be using a local file system for storage, select Local Storage from the Storage Type drop-down list. Enter the path to where you want to store the virtual disks in the Path field. Figure 5.5 shows a completed example.

Figure 5.5. Specify New Storage Step

The image shows the Specify New Storage step. The local storage option is selected and the path to the local storage has been entered.

Tip

On Oracle Solaris platforms, if the local storage option is not available. You can use a local ZFS pool instead. Select the Sun ZFS option, and enter the host and pool details.

Click Next. A desktop provider can only have one local storage and local storage cannot be mixed with any of the other supported storage types. For this reason, you cannot add any more storage to the desktop provider. Other storage types can be mixed and can have multiple storage hosts. If you add multiple storage hosts, Oracle VDI load balances the storage hosts. The Define Desktop Provider step is displayed. Enter a name for the desktop provider in the Name field, as shown in Figure 5.6. The name can be anything you like, for example, the location of your VirtualBox hosts.

Figure 5.6. Define Desktop Provider Step

The image shows the Define Desktop Provider step. A name has been entered for the desktop provider.

Click Next. On the Review step, check your configuration and then click Finish to create the desktop provider. The wizard is closed, a message is displayed on the All Desktop Providers page to confirm that the desktop provider has been created, and the new desktop provider is now listed in the Desktop Providers table, as shown in Figure 5.7.

Figure 5.7. Desktop Provider Added

The image shows the All Desktop Providers page. The new desktop provider is listed in the table.

The All Desktop Providers page provides a management overview of the desktop provider, its overall status, the number of desktops, the CPU and memory load, and the storage usage. You can change the configuration of the desktop provider at any time. In the Desktop Providers table, click the desktop provider name in the Name column. The Summary tab is displayed, as shown in Figure 5.8.

Figure 5.8. Desktop Provider Summary Tab

The image shows the Summary tab for a desktop provider. It shows the status of the desktop provider as well as other important information such as the overall memory usage.

From here you can monitor and configure the desktop provider. For example, the Host tab enables you to add and remove VirtualBox hosts, as well as monitor and maintain them. At the top of the page, click Desktop Providers to return to the All Desktop Providers page.

Now that you have connected Oracle VDI to the virtualization platform, the next step is to create the virtual machine that will be used as the template for creating desktops. Chapter 6, Creating a Desktop Template shows you how to do this.