Skip Headers
Oracle® VM Manager User's Guide
Release 2.2

Part Number E15441-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

3 Managing Server Pools

A server pool is logically an autonomous region that contains one or more physical servers. It presents a unified view of the storage in which the virtual machines reside.

Before creating a server pool, make sure you have:

This Chapter describes how to manage server pools and includes the following sections:

Note:

Functions described in this Chapter are only available to users who are granted the Manager or Administrator role.

3.1 Designing a Server Pool

This section guides you through the ways of designing a server pool to meet your requirements.

Before creating a server pool, you need to consider how many physical Oracle VM Servers are to be included in the server pool, and what function(s) each physical Oracle VM Server is to perform. The more guest virtual machines you run in the server pool, the more resources these guest virtual machines will consume, and so the more physical Oracle VM Servers may be required to provide sufficient resources for the server pool.

A server pool is scalable. If you find a server pool does not have sufficient resources, such as CPU or memory, to run the virtual machines, you can expand the server pool by adding more Virtual Machine Servers.

There are three typical server pool configurations:

Separate Configuration

In a separate configuration, one single Oracle VM Server functions as a Server Pool Master, one or more Oracle VM Servers function as Utility Server, and one or more Oracle VM Servers function as Virtual Machine Servers.

This configuration is recommended when there area large number of virtual machines running on the Oracle VM Servers, or when applications on the virtual machines consume most of the hardware resources. This configuration makes sure that the performance of the hosted virtual machines is not impacted by any significant management activity handled by the Server Pool Master or Utility Servers.

Figure 3-1 Separate Configuration

Description of Figure 3-1 follows
Description of "Figure 3-1 Separate Configuration"

All-in-One Configuration

In the all-in-one configuration, a single Oracle VM Server acts as the Server Pool Master, the Utility Server, and the Virtual Machine Server at the same time.

This configuration is recommended when there are only a few virtual machines running. In this case, the hardware resources of the Oracle VM Server are sufficient to support the virtual machines and the management activity handled by the Server Pool Master and Utility Server.

Figure 3-2 All-in-One Configuration

Description of Figure 3-2 follows
Description of "Figure 3-2 All-in-One Configuration"

Two-in-One Configuration

In the two-in-one configuration, the Server Pool Master function, and the Utility Server function are grouped together on the same Oracle VM Server, while the Virtual Machine Server function is implemented separately on different Oracle VM Servers.

This configuration serves well for a scenario where the server pool resource consumption is moderate. Since Virtual Machine Servers potentially require a great deal more hardware resources than Server Pool Masters and Utility Servers, you can typically deploy both the Server Pool Master and Utility Server on the same Oracle VM Server.

Figure 3-3 Two-in-One Configuration

Description of Figure 3-3 follows
Description of "Figure 3-3 Two-in-One Configuration"

3.2 Creating a Server Pool

A server pool consists of at least one Server Pool Master, one Utility Server, and one Virtual Machine Server. See Section 3.1, "Designing a Server Pool". You can add multiple Oracle VM Servers to a server pool.

To create a server pool:

  1. On the Server Pools page, click Create Pool. The Create Server Pool page is displayed.

    Figure 3-4 Adding Servers to a Server Pool

    Description of Figure 3-4 follows
    Description of "Figure 3-4 Adding Servers to a Server Pool"

  2. Enter the Oracle VM Server information and add the Oracle VM Server to the server pool.

    Note:

    If you have registered a physical server to Oracle VM Manager, you cannot register it again, as this may result in duplicate host names or IP addresses.
    • Server Pool Name: The name of the server pool.

      A server pool name must consist of alphanumeric characters, and must not contain spaces or special characters, except the underscore (_) or hyphen (-) characters. The maximum length of a server pool name is 200 characters.

    • Server Pool Virtual IP: The virtual IP address of the server pool. This IP address is used as the IP address for the Server Pool Master and will persist over any reassignments of the Server Pool Master due to HA fail over.

    • High Availability Mode: Select whether to enable HA with the check box. To use HA, you must enable HA in the server pool, and on each virtual machine. For information about HA, see Section 3.5, "Enabling High Availability (HA)". For more information on how to set up HA prerequisites, see the Oracle VM Server User's Guide.

    Enter the following information on the Oracle VM Server in the Server Details box:

    • Server Host/IP: The host name, or IP address of the Oracle VM Server, for example:

      192.168.2.20

      or

      hostname.example.com

    • Server Name: A name for the Oracle VM Server. This must be unique.

      An Oracle VM Server name must consist of alphanumeric characters, and must not contain spaces or special characters, except the underscore (_) or hyphen (-) characters. The maximum name length is 200 characters.

    • Server Agent Password: The password to access Oracle VM Agent installed on the Oracle VM Server.

      Note:

      If you want to use the Server Pool Master fail over feature, all the Oracle VM Agent passwords for the Oracle VM Servers in the server pool must be identical.
    • Server Type: Select the checkbox for each role the Oracle VM Server should perform in the server pool:

      • Server Pool Master

      • Utility Server

      • Virtual Machine Server

      If you select Utility Server, you must enter the Oracle VM Server login credentials in the Utility Server Username and Utility Server Password fields. The user must have read/write privileges for the /OVS folder.

    • Location: The location of the Oracle VM Server. For example, Server Room 1.

    • Description: A description of the Oracle VM Server.

    To test the connection to the Oracle VM Server click Test Connection. If the information is incorrect, or the Oracle VM Server is not available, you cannot add it to the server pool.

    When you have entered the information about the Oracle VM Server, click Add. The Oracle VM Server is added to the server pool and listed in the table at the bottom of the screen. You can select it, and then edit it or delete it with the Edit and Delete buttons.

    To add more Oracle VM Servers to the server pool, enter the parameters for each Oracle VM Server, and click Add.

    After adding the Oracle VM Server(s), click Next.

  3. On the User Information page, select the users from the Non-Administration User Information table for which you want to grant access to the server pool. Users with the Administrator role are automatically granted access to the server pool.

    Figure 3-5 Adding Users to a Server Pool

    Description of Figure 3-5 follows
    Description of "Figure 3-5 Adding Users to a Server Pool"

    To add new users, see Section 7.2.1, "Creating a User". To change a user role, see Section 7.2.4, "Changing a Role".

    After adding users, click Next to proceed to the next page.

  4. On the Confirmation page, confirm the information you have entered for the server pool. Click Confirm to create the server pool.

The Server Pools page is displayed and the new server pool is listed in the Server Pools table.

3.3 Searching For a Server Pool

To search for a server pool:

  1. Click the Show Search link.

  2. Enter the server pool name in the Server Pool Name field. Use % as a wildcard. All available server pools are displayed if you leave the Server Pool Name field empty.

  3. Select the server pool status in the Status drop down. The server pool status reflects the status of the Server Pool Master.

    • Active: The server pool is available.

    • Inactive: The server pool is not available.

    • Creating: The server pool is being created.

    • Configuration Error: There are various versions of Oracle VM Server in the server pool. This may occur after an upgrade of Oracle VM Manager if the versions of the Oracle VM Servers in the server pool are mixed, or lower than that of Oracle VM Manager.

    • Error: The cluster set up failed when creating the server pool.

      Check the server pool log to view error logs. To view the server pool log, see Section 7.4, "Viewing Logs".

      Delete the server pool, fix the problem described in the error log, and create the server pool.

  4. Click Search. The search results are displayed in the Server Pools table.

3.4 Editing a Server Pool

You can change the server pool name, check HA infrastructure and enable or disable HA. You can also edit the servers in a server pool, view the logs, and add or remove users.

Figure 3-6 Editing Server Pool Page Links

Description of Figure 3-6 follows
Description of "Figure 3-6 Editing Server Pool Page Links"

3.4.1 Editing Server Pool

To edit a server pool:

  1. Select the server pool in the Server Pools table and click Edit. The Edit Server Pool page is displayed.

    Figure 3-7 Editing a Server Pool

    Description of Figure 3-7 follows
    Description of "Figure 3-7 Editing a Server Pool"

  2. Edit the server pool options:

    • Server Pool Name: The name of the server pool.

      A server pool name must consist of alphanumeric characters, and must not contain spaces or special characters, except the underscore (_) or hyphen (-) characters. The maximum length of a server pool name is 200 characters.

    • High Availability Infrastructure: Click Check to check the HA configuration is correct for the server pool.

    • Enable High Availability: Set whether to enable HA.

    • Server Pool Virtual IP: The IP address to dynamically assign to the Server Pool Master in for the server pool.

    Click OK or Apply to save your changes.

3.4.2 Editing Server Pool Servers

To edit the servers in a server pool, click the Servers link in the Server Pools table. For more information, refer to Chapter 4, "Managing Servers".

3.4.3 Editing Server Pool Users

To add or remove users from the server pool:

  1. Click the Users link in the Server Pools table. The Edit User Information for the Server Pool screen is displayed.

  2. Select the users from the Non-Administration User Information table for which you want to grant access to the server pool. Users with the Administrator role are automatically granted access to the server pool. Click Apply.

To add new users, see Section 7.2.1, "Creating a User". To change a user role, see Section 7.2.4, "Changing a Role".

3.5 Enabling High Availability (HA)

You can set up HA in Oracle VM to guarantee the availability of virtual machines if the Virtual Machine Server they are running on fails or restarts. When a Virtual Machine Server is restarted or shut down, the virtual machines running on it are either restarted on, or migrated to, another Virtual Machine Server.

You manage HA with Oracle VM Manager. To implement HA, you must create a cluster of Virtual Machine Servers in a server pool and have them managed by Oracle VM Manager. HA cannot be implemented with Oracle VM Server alone.

To use HA, you must first enable HA on the server pool, then on all virtual machines, as shown in Figure 3-8, "Enabling HA". If you enable HA in the server pool and then for virtual machines, when a Virtual Machine Server is shut down or fails, the virtual machines are migrated or restarted on another available Virtual Machine Server. HA must be enabled for both the server pool and for virtual machines. If HA is not enabled for both, HA is disabled.

If HA is enabled, when you restart, shut down, or delete the Virtual Machine Server in Oracle VM Manager, you are prompted to migrate the running virtual machines to another available Virtual Machine Server. If you do not migrate the running virtual machines, Oracle VM Agent attempts to find an available Virtual Machine Server on which to restart the virtual machines. The Virtual Machine Server is selected using the preferred server setting for the server pool when you create a virtual machine in Oracle VM Manager:

If you do not select a preferred server when creating a virtual machine in Oracle VM Manager, Auto is set as the default.

If there is no preferred Virtual Machine Server or Virtual Machine Server available, the virtual machines shut down (Power Off) and are restarted when a Virtual Machine Server becomes available.

If the Server Pool Master fails, another Oracle VM Server is selected from the server pool to act as the Server Pool Master. The Oracle VM Server chosen to take over the Server Pool Master role is the first Oracle VM Server available to take the lock. To use the Server Pool Master fail over feature, you should make sure the Oracle VM Agent password is identical on all Oracle VM Servers in the server pool.

You can also dynamically change the Oracle VM Server which acts as the Server Pool Master without causing any outages. See Section 3.4.1, "Editing Server Pool".

If the Server Pool Master also performs the Utility Server role, and it fails, the Utility Server role is not moved to another Oracle VM Server. If you want fail over for the Utility Server role, make sure you set up more than one Utility Server in the server pool.

The possible HA scenarios are:

In all the above scenarios, if any virtual machines running on the Virtual Machine Server are not HA-enabled, they are shut down (Powered Off).

Figure 3-9 shows a Virtual Machine Server failing and the virtual machines restarting on other Virtual Machine Servers in the server pool.

Figure 3-9 HA in Effect for a Virtual Machine Server Failure

Description of Figure 3-9 follows
Description of "Figure 3-9 HA in Effect for a Virtual Machine Server Failure"

Figure 3-10 shows a Virtual Machine Server restarting or shutting down and the virtual machines migrating to other Virtual Machine Servers in the server pool.

Figure 3-10 HA in Effect for a Virtual Machine Server Restart or Shut Down

Description of Figure 3-10 follows
Description of "Figure 3-10 HA in Effect for a Virtual Machine Server Restart or Shut Down"

3.6 Deleting a Server Pool

To delete a server pool:

  1. On the Server Pools page, select the server pool you want to delete, and click Delete.

  2. On the Delete Confirmation page, select Remove all the working directories from the server pool if you want to delete all the related directories. If you do not select this option, only the server pool data is removed from the database, while the relevant directories and files of the server pool remain on the server. Select Force Remove to force the removal of the servers if one or more servers are unavailable.

    Caution:

    After you delete all the directories, all the servers and virtual machines on the server pool are then deleted as well. Ensure that the server pool is no longer in use before deleting it.

3.7 Restoring a Server Pool

If the server pool data on the server pool master is damaged, you can restore this data by synchronizing it with the data from the Oracle VM Manager database.

Note:

When you restore a server pool, all the data stored in the server pool master will be deleted, and will be synchronized with the latest information from the Oracle VM Manager database.

To restore a server pool, select it, and click Restore.

3.8 Viewing Server Pool Logs

To view the log information for a server pool, go to the Server Pools page, and click the View Logs link.

The log information includes:

You can search for logs with a specific age in hours or days using the Logged within fields.