4 Setting Up Cloud for IaaS

This chapter describes the server, storage and networking infrastructure that needs to be defined for providing Infrastructure as a Service (IaaS) cloud using the Oracle VM technology.

It contains the following sections:

4.1 Getting Started

This section helps you get started with this chapter by providing an overview of the steps involved in setting up the virtualization infrastructure. Consider this section to be a documentation map to understand the sequence of actions you must perform to successfully set up virtualized systems.

Note:

Click here to view a visual demonstration on how to discover OVM servers into the Cloud, configure storage for the Cloud, configure networking, and create server pools and Cloud zones using Oracle Enterprise Manager Cloud Control 12c.

  1. Before you start monitoring and managing virtualization targets, you must register the Oracle VM Manager with Oracle Enterprise Manager. See Registering the Oracle VM Manager for details.

  2. You can then discover one or more Oracle VM Server targets. See Discovering a Virtual Server for details.

  3. Set up the storage infrastructure for the cloud. See Registering Storage Servers for details.

  4. Configure networks and VLAN Groups. See Setting Up Networks for details.

    If you are using Oracle VM Manager 3.3, you must configure the VLAN Interface. See Creating a VLAN Interface for Oracle VM Manager 3.3

  5. Create a virtual server pool. See Creating a Virtual Server Pool for details.

  6. Create a zone by grouping one or more server pools. See Creating a Zone for details.

Figure 4-1 shows the sequence of steps involved in setting up the virtualization infrastructure.

Figure 4-1 Setting Up the Cloud Infrastructure


Virtualization Infrastructure

4.2 Cloud Infrastructure Privileges

This section lists the actions that can be performed on various targets in the Infrastructure Cloud Home page when you:

  • Right click on a target in the left panel.

  • Select a target on the Members region on the parent target home page and then select the Action menu.

  • Select the Target menu of the corresponding Target Home page.

Table 4-1 Infrastructure Cloud

Action Label Multi-select / Single Select Required Target State Privileges Required

Register OVM Manager

Single

 

Add any Target

Setup

Single

 

View on Infrastructure Cloud

Members

Single

 

Operator on Infrastructure Cloud

Table 4-2 OVM Manager

Action Label Multi-select / Single Select Required Target State Privileges Required

Members

Single

 

View On OVM Manager

Edit

Single

 

Operator on OVM Manager

Synchronize

Single

 

Full on OVM Manager

Deregister

Single

 

Full on OVM Manager and all its sub targets

Create Zone

Single

 

Operator on OVM Manager and Add any Target

Create Virtual Server Pool

Single

 

Operator on OVM Manager and Add any Target

Discover Virtual Server

Single

 

Operator on OVM Manager and Add any Target

Manage Unowned Virtual Servers

Single

 

Operator on OVM Manager

Manage Network

Single

 

Operator on OVM Manager

Manage Storage

Single

 

Operator on OVM Manager

Manage Storage Repository

Single

 

Operator on OVM Manager

Manage Yum Repository

Single

 

Full on OVM Manager

Manage NTP Configuration

Single

 

Full on OVM Manager

Table 4-3 Zone

Action Label Multi-select / Single Select Required Target State Privileges Required

Members

Single

 

View On Zone

Edit

Single

 

Operator on Zone

Delete

Single

 

Full on Zone

Delete only from Enterprise Manager

Single

 

Full on Zone

Deploy Assembly

Single

 

Operator on Zone and Add any Target

Deploy Template

Single

 

Operator on Zone and Add any Target

Deploy ISO

Single

 

Operator on Zone and Add any Target

Deploy PXE

Single

 

Operator on Zone and Add any Target

Import Virtual Machine

Single

 

Operator on Zone and Add any Target

Table 4-4 Virtual Server Pool

Action Label Multi-select / Single Select Required Target State Privileges Required

Members

Single

 

View On Virtual Server Pool

Edit

Single

 

Operator on Virtual Server Pool

Delete

Single

 

Full on Virtual Server Pool

Delete only from Enterprise Manager

Single

 

Full on Virtual Server Pool

Manage DRS / DPM Policies

Single

 

Operator on Virtual Server Pool

Deploy Assembly

Single

 

Operator on Virtual Server Pool and Add any Target

Deploy Template

Single

 

Operator on Virtual Server Pool and Add any Target

Deploy ISO

Single

 

Operator on Virtual Server Pool and Add any Target

Deploy PXE

Single

 

Operator on Virtual Server Pool and Add any Target

Import Virtual Machine

Single

 

Operator on Zone and Add any Target

Table 4-5 Virtual Server

Action Label Multi-select / Single Select Required Target State Privileges Required

Edit

Single

Up

Operator on Virtual Server

Deregister

Single

 

Full on Virtual Server

Delete only from Enterprise Manager

Single

 

Full on Virtual Server

Start Maintenance

Multiple

Up

Operator on Virtual Server

Stop Maintenance

Multiple

Blackout

Operator on Virtual Server

Upgrade

Multiple

 

Full on Virtual Server

Start

Multiple

Down

Operator on Virtual Server

Stop

Multiple

Up

Operator on Virtual Server

Restart

Multiple

Up

Operator on Virtual Server

Rediscover Virtual Server

Single

 

Full on Virtual Server

Deploy Assembly

Single

 

Operator on Virtual Server and Add any Target

Deploy Template

Single

 

Operator on Virtual Server and Add any Target

Deploy ISO

Single

 

Operator on Virtual Server and Add any Target

Deploy PXE

Single

 

Operator on Virtual Server and Add any Target

Import Virtual Machine

Single

 

Operator on Zone and Add any Target

Members

Multi-select / Single Select:Single

 

View on Virtual Server

Table 4-6 Guest VM

Action Label Multi-select / Single Select Required Target State Privileges Required

Edit

Single

 

Operator on Guest VM

Delete

Multiple

Down, Metric Error

Full on Guest VM

Delete only from Enterprise Manager

Multiple

 

Full on Guest VM

Migrate

Multiple

Up, Down

Operator on Guest VM

Move

Single

Down

Operator on Guest VM

Clone

Single

Up, Down

Operator on Guest VM

Save as Template

Single

Down

Operator on Guest VM

Start

Multiple

Down

Operator on Guest VM

Stop

Multiple

Up

Operator on Guest VM

Restart

Multiple

Up

Operator on Guest VM

Kill

Multiple

Up

Operator on Guest VM

Stop and Start

Multiple

Up

Operator on Guest VM

Suspend

Multiple

Up

Operator on Guest VM

Resume

Multiple

 

Operator on Guest VM

Launch VNC Console

Single

 

Operator on Guest VM

Table 4-7 Assembly

Action Label Multi-select / Single Select Required Target State Privileges Required

Start

Single

 

Operator on Assembly

Stop

Single

 

Operator on Assembly

Delete

Single

 

Operator on Assembly

Scale Up

Single

 

Operator on Assembly

Scale Down

Single

 

Operator on Assembly

Add Nodes

Single

 

Operator on Assembly

Table 4-8 Tier

Action Label Multi-select / Single Select Required Target State Privileges Required

Start

Single

 

Operator on Tier

Stop

Single

 

Operator on Tier

Scale Up

Single

 

Operator on Tier

Scale Down

Single

 

Operator on Tier

4.3 Registering the Oracle VM Manager

The Oracle VM Manager provides the user interface that allows you to create and manage zones, virtual server pools, virtual servers, and guest virtual machines. Before you use the Oracle VM Manager to manage virtualization targets in Enterprise Manager, you must register an existing installation of the Oracle VM Manager.

Note:

  • The Oracle VM Manager that you register with Enterprise Manager must be at least version 3.0.2 or higher.

  • The Oracle VM Manager must be associated with only one Enterprise Manager installation.

  • As a best practice, it is recommended that the Management Agent and the Oracle VM Manager are present on the same physical machine.

  • If you are registering Oracle VM Manager 3.3 or later, you must ensure that the Enterprise Manager for Oracle Virtualization (Oracle Virtualization) plugin 13.1.1.0 or a later version has been deployed on the Oracle Management Service and the Management Agent.

Prerequisites

  • If you are registering Oracle VM Manager 3.1.1 through 3.3, before you update the Oracle VM Manager URL, you must have configured tcps as described in Configure Secure TCP (TCPS) for Oracle VM Manager (Doc ID 1456338.1).

  • You must have imported the Oracle VM Manager certificate to the Agent keystore by following these steps:

    • Login as a root user and export the OVM Manager certificate <JAVA_HOME>/bin/keytool -keystore <OVM_MANAGER_HOME>/ovmmCoreTcps.ks -exportcert -alias ovmm -file <file_loc_for_certificate>

    • Login as an EM Agent install user and import the OVM Manager certificate <AGENT_INSTANCE_HOME>/bin/emctl secure add_trust_cert_to_jks -trust_certs_loc <file_loc_for_certificate> -alias <alias_name>

      If the certificate is being imported for multiple Oracle VM Managers, you can specify multiple alias names.

  • If you are registering Oracle VM Manager 3.3, in addition to importing the Oracle VM Manager certificate, you must export the Oracle VM Manager WebLogic certificate and import the certificate to the Agent Keystore. See Importing the Oracle VM Manager WebLogic Certificate for details.

To register the Oracle VM Manager, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.

  2. From the Infrastructure Cloud menu, select Register OVM Manager. The Add Oracle VM Manager page appears.

  3. Enter the target name for the Oracle VM Manager instance to be registered.

  4. Select the Management Agent to monitor and manage the Oracle VM Manager instance to be registered. It is recommended that the Management Agent (with Enterprise Manager for Oracle Virtualization plug-in (listed as Oracle Virtualization in Self Update) is present on the same machine where the Oracle VM Manager instance is running.

  5. Enter the Oracle VM Manager URL. Refer to Note 1456338.1 (Configure Secure TCP (TCPS) for Oracle VM Manager) for details on configuring Oracle VM Manager for tcps access. The URL must be in one of the following formats:

    - tcp://localhost:<port>. Example: tcp://localhost:54321 (If the Oracle VM Manager version is 3.1.1 or greater, you can specify only the tcps URL.)

    - tcps://<hostname:<port>. Example: tcps://server.domain:54322

  6. Enter the Oracle VM Manager's Console URL. This is the URL to enable the VNC Console for the Guest VMs. For example, https://ovmmgr.example.com:7002/ovm/console

  7. The URL must be in the following format:

    https://<hostname>:<port>

    Note:

    If you are registering Oracle VM Manager 3.3, this URL is used to connect to the Oracle VM Manager.

  8. By default, data from Oracle VM Manager is automatically synchronized with Enterprise Manager at fixed intervals of time. If you do not wish to enable this option, you must disable the Automatic Synchronization checkbox and manually synchronize the data. For more details on the automatic and manual synchronization options, see Synchronizing the Oracle VM Manager Targets for details.

  9. Enter the administrator user name and password to connect to the Oracle VM Manager URL provided in Step C. If you want to use separate credentials for managing Oracle VM Manager, check the Use Administration Credentials check box. If these credentials are not specified, the monitoring credentials are used by default.

  10. Click Submit to register the Oracle VM Manager. You can now use the Oracle VM Manager to monitor and manage the virtualization targets in Enterprise Manager.

Registering Oracle VM Manager 3.4.X

Prerequisites

You must export the Oracle VM Manager WebLogic certificate and import the certificate to the Agent Keystore. See Importing the Oracle VM Manager WebLogic Certificate for details.

To register Oracle VM Manager 3.4.x, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.

  2. From the Infrastructure Cloud menu, select Register OVM Manager. The Add Oracle VM Manager page appears.

  3. Enter the target name for the Oracle VM Manager instance to be registered.

  4. Select the Management Agent to monitor and manage the Oracle VM Manager instance to be registered. It is recommended that the Management Agent (with Enterprise Manager for Oracle Virtualization plug-in (listed as Oracle Virtualization in Self Update) is present on the same machine where the Oracle VM Manager instance is running.

  5. Enter the Oracle VM Manager URL.

    The URL must be in one of the following formats:

    - tcp://localhost:<port>. Example: tcp://localhost:54321

    - tcps://<hostname:<port> (As tcps specification is not required for Oracle VM Manager 3.4.x, enter a dummy URL such as tcps://here.)

    Enter the Oracle VM Manager's Console URL. This is the URL to enable the VNC Console for the Guest VMs. For example, https://ovmmgr.example.com:7002/ovm/console

    The URL must be in the following format:

    https://<hostname>:<port>

  6. By default, data from Oracle VM Manager is automatically synchronized with Enterprise Manager at fixed intervals of time. If you do not wish to enable this option, you must disable the Automatic Synchronization checkbox and manually synchronize the data. For more details on the automatic and manual synchronization options, see Synchronizing the Oracle VM Manager Targets for details.

  7. Enter the administrator user name and password to connect to the Oracle VM Manager URL provided in Step C. If you want to use separate credentials for managing Oracle VM Manager, check the Use Administration Credentials check box. If these credentials are not specified, the monitoring credentials are used by default.

  8. Click Submit to register the Oracle VM Manager. You can now use the Oracle VM Manager to monitor and manage the virtualization targets in Enterprise Manager.

4.3.1 Port Requirements for Oracle VM Manager Setup

The ports required for the Web browser connection to Oracle VM Manager are 7002 and 15901. TCP 7002 is used by the Oracle VM Servers to connect to Oracle VM Manager. Oracle VM Manager, in turn, connects to the Oracle VM Servers through port 8899 for Oracle VM Agent communication, and port 6900 and up for secure VNC tunneling to virtual machines (one port per VM). Ports 7900 and up are used to allow Oracle VM Manager to open secure serial console tunnels to virtual machines (one port per VM) on the Oracle VM Servers. The Oracle VM Command Line Interface connects to Oracle VM Manager on port 10000. TCP ports 54321 and 54322 must be enabled for remote API access to the Oracle VM Manager core. Follow the guidelines of in the diagram below:

Figure 4-2 Oracle VM Manager Firewall Configuration

Oracle VM Manager Firewall Configuration

4.3.2 Updating the Oracle VM Manager URL

If you had Oracle VM Manager 3.0.x registered with Enterprise Manager previously and had upgraded it to higher versions 3.1.x or 3.2.1, you must update the Oracle VM Manager URL.

If you are upgrading to version 3.3, you must also import the WebLogic certificate. See Importing the Oracle VM Manager WebLogic Certificate for details.

Prerequisites

  • Before you update the Oracle VM Manager URL, you must have configured tcps as described in Note 1490283.1.

  • You must have imported the Oracle VM Manager certificate to the Agent keystore by following these steps:

    • Login as a root user and export the OVM Manager certificate <JAVA_HOME>/bin/keytool -keystore <OVM_MANAGER_HOME>/ovmmCoreTcps.ks -exportcert -alias ovmm -file <file_loc_for_certificate>

    • Login as an EM Agent user and import the OVM Manager certificate <AGENT_INSTANCE_HOME>/bin/emctl secure add_trust_cert_to_jks -trust_certs_loc <file_loc_for_certificate> -alias <alias_name>

To update the Oracle VM Manager URL, follow these steps:

  1. Right click on the OVM Manager target that is to be upgraded and select Edit.
  2. Enter a tcps based (tcps://hostname:port) URL in the Oracle VM Manager field.
    It is recommended that you use the tcps based URL. But if the Management Agent is running on the same host on which Oracle VM Manager has been installed, you can use the tcp based URL (tcp://localhost:54321.)

    Note:

    For Oracle VM Manager versions 3.4 and above, tcps is not used. But a dummy value such as tcps:// must be entered for the registration to be successful.

4.3.2.1 Importing the Oracle VM Manager WebLogic Certificate

Note:

This step is required for Oracle VM Manager versions 3.3 and 3.4

Oracle VM Manager version 3.3 or later contains an internal Certificate Authority (CA) that is used to perform certificate-based authentication and to sign the SSL certificate that is used for the web-based user interface. Certificates are generated automatically when Oracle VM Manager is installed.

To export the Oracle VM Manager WebLogic certificate, login as the root user and enter the following command:

#/u01/app/oracle/ovm-manager-3/ovm_upgrade/bin/ovmkeytool.sh exportca > <file_loc_for_certificate>

To import the Oracle VM Manager Weblogic certificate to the Agent Keystore, login as EM Agent user enter the following command:

<AGENT_INSTANCE_HOME>/bin/emctl secure add_trust_cert_to_jks -trust_certs_loc <file_loc_for_certificate> -alias <alias_name>

Note:

If you are using a pre-3.4 Oracle VM Manager version, you must delete the first line in the <file_loc_for_certificate>: "libdir is /u01/app/oracle/ovm-manager-3/ovm_upgrade/bin/./../lib"before you can import the OVM Manager certificate.

4.3.3 Discovering and Promoting the Oracle VM Manager (Optional)

Automatic discovery is a process that detects hosts, Oracle VM Managers, and other targets so that they can be monitored and managed by Enterprise Manager. If you know the Oracle VM Manager instances in your environment, see Registering the Oracle VM Manager for details on registering them with Enterprise Manager. Discovery and promotion of Oracle VM Manager should be attempted if you want to scan your networks to discover unknown Oracle VM Manager instances.

To discover an Oracle VM Manager, follow these steps:

  1. Log in to Enterprise Manager as a user with the Super Administrator role.
  2. From the Setup menu, select Add Target, then select Configure Auto Discovery.
  3. In the Network Scan-based Auto Discovery table, click Configure Network Scan Discovery in the Host and Oracle VM Manager row. The Network Discovery page appears. Use this page to search, browse, and create OVM Manager discovery specifications.
  4. Click Create. The Network Scan Discovery: Create page appears.
  5. Enter the Name and Description for the Discovery Specification. Click Add in the Network Scans region to select the Agent that is to be used perform the IP scan. For each Agent, specify the IP ranges for the scan. The following formats are supported: host name, IP address, and IP range. Use space to separate values.
  6. Use the Job Details tab on the Host Discovery Specification Create page to schedule the discovery IP scan, allowing you to start it immediately or at a later specified time. Use the Credentials section to enter preferred credentials for the host. You can choose from Preferred Credentials, Named Credentials, or New Credentials. The discovery IP Scan is run as root. It is required that you set privileged host credentials or named credentials that use Sudo.
  7. You can use the Host Discovery page to check the status of discovery and view newly discovered OVM Managers.
  8. After the target has been discovered, from the Setup menu, select Add Target, then select Auto Discovery Results. Enterprise Manager displays the Auto Discovery Results page where you can review discovered unmanaged targets and promote targets to be managed by Enterprise Manager for monitoring.
  9. On the Network-scanned Targets tab, the target discovery results are displayed in the table at the bottom. Select the OVM Manager target and click Promote. The OVM Manager Registration page is displayed. See Registering the Oracle VM Manager for details.

4.3.4 Upgrading Oracle VM Manager

The instructions to upgrade earlier versions of Enterprise Manager and Oracle VM Manager are covered in the following sections:

4.3.4.1 Upgrading to the 3.3 Release

To upgrade from earlier versions of Enterprise Manager and Oracle VM Manager to Oracle VM Manager 3.3, follow these steps:

  1. Upgrade Oracle Management Service to 12.1.0.4 and deploy the Oracle Virtualization plugin version 12.1.0.7 or higher.
  2. Upgrade Management Agent to 12.1.0.4 and the deploy the Oracle Virtualization plugin 12.1.0.7 or higher.
  3. Blackout the old Oracle VM Manager target.
  4. Upgrade the Oracle VM Manager to 3.3.1. For more information, see the Oracle VM Installation and Upgrade Guide for Release 3.3.
  5. Upgrade the Oracle VM Server to 3.3.1. For more information, see the Oracle VM Installation and Upgrade Guide for Release 3.3.
  6. Import the WebLogic certificate. See Importing the Oracle VM Manager WebLogic Certificate for details.
  7. Change the blackout status of the Oracle VM Manager target.
  8. Add or modify the target property if required. For example, Webservice URL using Edit Oracle VM Manager page.

4.3.4.2 Upgrading to the 3.4 Release

To upgrade from earlier versions of Enterprise Manager and Oracle VM Manager to Oracle VM Manager 3.4, follow these steps:

  1. Upgrade the Oracle Management Service to 13.2.1.0 and deploy the Oracle Virtualization 13.2.1.0 plugin
  2. Upgrade Management Agent to 13.2.1.0 and the deploy the Oracle Virtualization 13.2.1.0 plugin..
  3. Blackout the old Oracle VM Manager target.
  4. Upgrade the Oracle VM Manager to version 3.4. For more information, see the Oracle VM Installation and Upgrade Guide for Release 3.4.
  5. Upgrade the Oracle VM Server from 3.3.x to 3.4. For more information, see the Oracle VM Installation and Upgrade Guide for Release 3.4.
    Note: If you are upgrading the Oracle VM Server from the 3.2.10 version, follow the steps listed in the Oracle VM Installation and Upgrade Guide for Release 3.4.
  6. Import the WebLogic certificate. SeeImporting the Oracle VM Manager WebLogic Certificate for details.
  7. Change the blackout status of the Oracle VM Manager target.
  8. Add or modify the target property if required. For example, Webservice URL using Edit Oracle VM Manager page.

4.3.5 Viewing the Monitoring Configuration (OVM Manager)

To customize or view the monitoring configuration details for the OVM Manager target, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Infrastructure Home.
  2. Click on an OVM Manager target in the left panel.
  3. From the VM Manager menu, select Target Setup, then select Monitoring Configuration. The Monitoring Configuration page for the OVM Manager target appears.

    Figure 4-3 Monitoring Configuration (OVM Manager)


    Monitoring Configuration (OVM Manager)
  4. The following details are displayed:
    • LiveSyncEnabled: Indicates if auto synchronization is enabled between Enterprise Manager and Oracle VM Manager. By default, this is true. If enabled, the data is synchronized every 1 minute.

    • Timeout Settings For Network Configuration of Deployment: The total wait time allowed for network configuration during assembly deployment. The default is 60 minutes.

    • OVM Job Retry Count: The number of attempts that can be made after which the OVM Job should be retired. The default number of attempts is 5.

    • OVM Job Retry Sleep Interval: The interval between two subsequent OVM job retry attempts. The default interval is 5 seconds.

    • Timeout value for short running OVM Job (minutes): The time interval allowed for an OVM job to be completed.

    • OVM Manager Console URL: The URL used to launch VNC consoles for VM.

      Note:

      For Oracle VM Manager 3.3, this URL is used to connect to the Oracle VM Manager.

    • OVM Manager URL: The OVM Manager registration URL used for communication between Enterprise Manager and Oracle VM Manager.

    • Oracle VM Manager Password: The password required to access Oracle VM Manager.

    • Oracle VM UUID: The internal Oracle VM identifier.

    • Oracle VM Manager Username: The username required to access Oracle VM Manager

    • Timeout Settings for Product Configuration of Deployment: The total wait time allowed for product configuration during assembly deployment. The default is 60 minutes.

    • Timeout Value for Checking if SSH Service is Running on a Deployed Virtual Machine: The total wait time allowed to check if the SSH service is running on a Guest VM. This parameter is used as prerequisite for deploying the Management Agent on the Guest VM.

    • SyncDataFetchTime: The time at which the Oracle VM Manager was last synchronized.

    • SyncStatus: The status of the Oracle VM Manager synchronization.

    • Deployed on Exalogic: Indicates whether the Oracle VM Manager is inside an Exalogic rack.

  5. After editing the entries, click OK to return to the previous page.

4.4 Synchronizing the Oracle VM Manager Targets

Enterprise Manager can monitor the OVM Manager and the various virtualization targets registered with the OVM Manager. The targets registered with the OVM Manager must also be monitored targets in Enterprise Manager. If some targets have been created directly in OVM Manager, you can synchronize them in two ways:

4.4.1 Automatically Synchronizing the Oracle VM Manager Targets

You can enable this option when Oracle VM Manager is registered or when you Edit Oracle VM Manager. If the Automatic Synchronization option is enabled, all changes made in Oracle VM Manager are automatically reflected in Enterprise Manager at fixed intervals. The default interval is 1 minute. To change the default interval, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Select an Oracle VM Manager target from the right panel to navigate to the Oracle VM Manager Home page.
  3. From the Target menu, select Monitoring, then select Metrics and Collection Settings.
  4. Click Other Collected Items and then click the Collection Schedule link for the OVM Manager Events Data metric.
  5. Modify the frequency as required, click Continue, then click OK.

    Note:

    If you do not enable automatic synchronization at this time, you can enable it later by following these steps:

    • Navigate to the OVM Manager homepage.

    • From the Target menu, select Target Setup, then select Edit OVM Manager.

    • Select the Automatic Synchronization check box and click Submit.

4.4.2 Manually Synchronizing the Oracle VM Manager Targets

When the Oracle VM Manager is registered, if the Automatic Synchronization option is enabled, for the targets created in Oracle VM Manager, corresponding targets are created in Enterprise Manager. If, this option is not enabled, you can manually synchronize the targets by following these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target from the left panel and select Synchronize.
  3. A confirmation message appears. Click Submit to submit a job to perform synchronization. The targets in Enterprise Manager and OVM Manager are synchronized.
    • Targets that are not present in OVM Manager will be removed.

    • For targets present only in OVM Manager, corresponding targets are created in Enterprise Manager.

    • Configuration collections are refreshed for all other targets.

4.5 Discovering a Virtual Server

A virtual server is a generic term used to describe a physical box which has virtualization software (hypervisor) running on it. A new virtual server can be provisioned by installing the OVM Hypervisor on a bare metal box. Before you add a virtual server to a server pool, it must be discovered.

To discover an Oracle VM Server, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Click on an OVM Manager target from the left panel to navigate to the OVM Manager Home page. From the VM Manager menu, select Discover Virtual Server.

    Figure 4-4 Discover Virtual Servers


    Discover Virtual Servers
  3. Specify the host name or the IP address of the virtual server. You can enter multiple host names or IP addresses on separate lines.
  4. Enter the user name and password of the Oracle VM Agent running on the virtual server to be discovered.
  5. Click Submit to discover the virtual server.

The newly discovered Oracle VM Server contains some basic information about itself, and about any immediate connectivity to a network storage, but it is considered to be in an unconfigured state. After the storage and networking has been configured, the Oracle VM virtual servers are ready to be used as the infrastructure for cloud.

4.6 Rediscovering a Virtual Server

To rediscover a virtual server, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on a Virtual Server target in the left panel and select Rediscover Virtual Server.
  3. A confirmation message appears. Click OK to rediscover the virtual server and discover any new NICs and LUNs that have been added.

4.7 Setting Up Networks

This section discusses creation and use of Oracle VM Networks. You can define a name or an alias for each logical network. When you have created your networks, you connect the physical network ports on Oracle VM Servers to the logical networks. Before you define the logical networks in Enterprise Manager, you have to review your physical network configuration that you intend to use, such as VLAN and subnet usage. Setting up an Oracle VM network involves:

4.7.1 Generating MAC Addresses

Virtual network interfaces (VNICs) are used to carry network traffic to virtual machines. You can generate MAC addresses that can be assigned to VNICs in a virtual machine. Specify a range of MAC addresses that need to be generated.

VLAN Group has been replaced with VLAN Interface and during Vlan interface configuration, it asjs VLAN Segment ID's and then Select Ports of Servers where the Interfaces to be created"

Note:

MAC addresses must be unique across all Oracle VM Managers in the data center.

To create MAC Addresses, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target from the left panel and select Manage Network.
  3. Click the Virtual Network Interface Card Manager tab.
  4. Click Generate. In the Generate MAC Addresses pop-up window, you are prompted to specify an initial MAC address in 3 sets of 3 characters. This is a two-digit number for the Initial MAC Address. Click OK to return to the previous page. You can now use these VNICs while creating virtual machines.

Note:

If you are using 3.4 or later versions of Oracle VM Manager, enter the From and To range in the Dynamic MAC Address field and click Apply Range. This range will then be used to create MAC addresses as needed in future deployments.

4.7.2 Configuring a VLAN Group for Oracle VM Manager 3.2 or Earlier Versions

Note:

Configuring a VLAN Group is an optional feature. If VLANs exist in your physical network, you must follow the steps in this section to use them in the cloud.

VLAN (Virtual Area Network) is a mechanism to virtualize network interfaces across subnets and physical location so that they appear to be on a single confined LAN. This concept is used to isolate (and group) the network traffic across these distributed interface, which enables secure network traffic within such nodes.

You can create multiple virtual LAN (VLANs) on the same NIC port. Each VLAN is an independent logical network operating with other VLANs over the same physical connection. Configuring VLANs involves creating one or more VLAN Groups, each of which contain multiple VLANs segments.

Each VLAN is assigned a distinct VLAN identification. The VLAN ID is used by an attached VLAN switch to segregate traffic among the different VLANs operating on the same link. Once a VLAN is configured, it functions exactly like a separate physical connection. VLANs need to be configured in the physical switches before you use them. To create a VLAN group, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target from the left panel and select Manage Network.
  3. Click the VLAN Groups tab and click Create.
  4. Enter a name and description for the VLAN Group.
  5. Enter one or more VLAN Segments. This is the VLAN ID that is enabled on the switch ports connecting the virtual server to the switch. The valid range is from 1 to 4094.
  6. Click Add to select the ports to be added to the network. Select one or more virtual servers to be added to the network. If you add more than two ports of a virtual server, the first four ports will be bonded. Network bonding refers to the combination of network interfaces on one host for redundancy or increased throughput.

    If your network supports jumbo frames, you must set the Maximum Transfer Unit size in the MTU field. Setting the MTU field, sets the maximum transmission rate, so that larger packets can be sent and received. You can set the MTU to a maximum of 1500 for Ethernet, 9000 for 1GbE, and 64,000 for 10GbE.

    Note:

    The ports that you have selected must have the VLAN Segment IDs enabled.

  7. Click OK to create the VLAN Group.

4.7.3 Creating a VLAN Interface for Oracle VM Manager 3.3

Note:

Configuring a VLAN Interface is an optional feature. If VLANs exist in your physical network, you must follow the steps in this section to use them in the cloud.

VLAN (Virtual Area Network) is a mechanism to virtualize network interfaces across subnets and physical location so that they appear to be on a single confined LAN. This concept is used to isolate (and group) the network traffic across these distributed interface, which enables secure network traffic within such nodes. VLANs are divided into segments that are usually tagged with an ID.

To manage network traffic tagged for different VLAN IDs, a separate VLAN or virtual interface can be created for each VLAN ID. When creating different logical networks in Oracle VM Manager, these VLAN interfaces can be attached to different networks to specify the type of traffic that belongs to a particular VLAN ID.

If your network is configured to support VLANs, you should define interfaces for your different VLAN IDs on each of your servers, so that you are able to define Oracle VM networks that take advantage of VLAN separation.

You can create multiple virtual LAN (VLANs) on the same NIC port. Each VLAN is an independent logical network operating with other VLANs over the same physical connection. Configuring VLANs involves creating one or more VLAN Interfaces, each of which contain multiple VLANs IDs.

Each VLAN is assigned a distinct VLAN identification. The VLAN ID is used by an attached VLAN switch to segregate traffic among the different VLANs operating on the same link. Once a VLAN is configured, it functions exactly like a separate physical connection. VLANs need to be configured in the physical switches before you use them. To create a VLAN Interface, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target from the left panel and select Manage Network.
  3. Click the VLAN Interfaces tab and click Create.
  4. Enter one or more VLAN Segments separated by commas.

    VLANs are divided into segments that are usually tagged with an ID. The ID is enabled on the switch ports connecting the virtual server to the switch. The valid range is from 2 to 4094.

  5. Click Add to select the ports to be added to the network. In the Create VLAN Interfaces: Add Ports page, click the Search icon next to the Select Virtual Server(s) field. Select one or more virtual servers to be added to the network and click Select. The list of ports with the MTU size, MAC Address, and status is displayed. Select the ports to be added and click Continue. If you select more than one port of a virtual server, they will be bonded. Network bonding refers to the combination of network interfaces on one host for redundancy or increased throughput.
  6. The selected ports are displayed. You can modify the following for each port:
    • MTU: If your network supports jumbo frames, you must set the Maximum Transfer Unit size in the MTU field. Setting the MTU field, sets the maximum transmission rate, so that larger packets can be sent and received. You can set the MTU to a maximum of 1500 for Ethernet, 9000 for 1GbE, and 64,000 for 10GbE.

    • Address Type: The network address assignment type can be Static, Dynamic, or None.

    • IP Address: The IP address for the port.

    • Netmask: The netmask for the port.

    • Bonding Mode: Network bonding refers to the combination of network interfaces on one host for redundancy and/or increased throughput. This can be:

      • Active-Backup: There is one NIC active while another NIC is asleep. If the active NIC goes down, another NIC becomes active.

      • Load Balancing: The network traffic is equally balanced over the NICs of the machine and failover is also supported to provide redundancy.

      • Link Aggregation: Aggregated NICs act as one NIC which results in a higher throughput, but also provides failover in the case that a NIC fails.

    Note:

    The ports that you have selected must have the VLAN Segment IDs enabled.

  7. The VLAN Segments with the ports, MTU, Address Type, IP Address, and NetMask are listed in the VLAN Interfaces region. These parameters can be modified if necessary.

    Click the Manage icon to add or delete VLAN Segments and click OK and return to the Create VLAN Interfaces page. Click OK to create the VLAN Interfaces and return to the Network page.

4.7.3.1 Viewing the VLAN Interfaces

To view the VLAN Interfaces that have been added, click the VLAN Interfaces tab on the Network page. The VLAN Interfaces are listed with the following details:

  • Name: The name of the VLAN Interface that is created.

  • Port: The network port on which the VLAN Interface has been assigned.

  • Segment: The VLAN ID assigned to the VLAN Interface.

  • Server: The server where the VLAN Interface is located.

  • Network: The network to which the VLAN Interface is attached.

  • MTU: The MTU value for the VLAN Interface.

  • Address Type: The network address assignment type. This can be Static, Dynamic, or None.

  • IP Address: The IP address allocated to the VLAN Interface.

  • Netmask: The netmask applied to the VLAN Interface.

4.7.3.2 Editing a VLAN Interface

To edit a VLAN Interface, follow these steps:

  1. Select the VLAN Interface you wish to edit from the list of VLAN Interfaces and click Edit.
  2. In the Edit VLAN Interface page, you can edit the MTU setting and the Address Type. If you select Static type, you can specify the IP Address and the Netmask.
  3. Click OK to save the changes and return to the previous page.

4.7.3.3 Deleting a VLAN Interface

To delete a VLAN Interface, follow these steps:

  1. Select the VLAN Interface you wish to delete from the list of VLAN Interfaces and click Delete.
  2. The Delete Confirmation dialog box is displayed. Click OK to delete the VLAN Interface.

4.7.4 Creating Networks

A network is a grouping of Oracle VM virtual server physical NIC ports. This section describes the procedure to create a logical network.

Prerequisites

  • If you choose to associate a network profile with the network, then the network profile must be created before the network is created. A network profile stores the network interface configuration (IP address, subnet mask, host name, DNS servers) that is allocated to network interfaces of newly provisioned virtual machines.

Follow these steps to create a logical network:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target from the left panel and select Manage Network.
  3. Click the Create option in the Networks tab. You are prompted to configure the ports of the VLAN groups. Click Create VLAN Groups to configure VLAN Groups.

    For Oracle VM Manager 3.3, click Create VLAN Interfaces to configure the VLAN interfaces. See Creating a VLAN Interface for Oracle VM Manager 3.3 for details.

    If you want to create the networks without configuring the VLAN groups or interfaces, click Continue Network Creation. In the Create Network: General page, enter the name and description of the network.

    Figure 4-6 Create Network: General


    Create Network: General Page
  4. Specify if you are creating an inter-server or intra-server network. An inter-server network is routable through standard switches. An intra-server network is available within a single server without a route to an external physical network.
  5. Specify the network role by checking one or more check boxes in the Network Roles section.

    Note:

    To deploy a Guest VM, you must have at least one logical network with the Virtual Machine role.

    • Server Management: Manages the physical virtual servers in a server pool, for example, to update the Oracle VM Agent on the different virtual servers.

    • Live Migrate: Carries live migrate traffic. You can migrate virtual machines from one virtual server to another in a server pool, without changing the status of the virtual machine.

    • Cluster Heartbeat: Carries cluster heartbeat traffic.

    • Virtual Machine: Used for the network traffic between the different virtual machines in a server pool. The virtual machine role can either be an Inter-Server (routable through standard switches), or an Intra-Server (without a route to an external physical network). The Virtual Machine role must be unique on the network, which means that this network cannot have other network roles. It is however possible, and very likely, to have multiple networks with the Virtual Machine role in one Oracle VM Manager.

    • Storage: Used for all storage transport in a server pool. It is used by the virtual servers to connect to ethernet-based storage repositories.

  6. Click Next. In the Configure Ports and VLAN Interfaces page, click Add and select a VLAN Interface from the list.

    Figure 4-7 Create Network: Configure Ports and VLAN Interfaces (OVM Manager 3.2)


    Create Network Configuration

  7. After adding the VLAN Segment, click Add the VLAN Interfaces and the ports. Select the ports to be added to network. If you select more than two ports, they will be bonded or aggregated into a single interface. By default, the Bonding Mode is Active Passive but you can change it by selecting one of the following:
    • Active Passive: There is one active NIC. If this one goes down, another NIC becomes active.

    • Link Aggregation: All NICs act as one NIC which results in a higher throughput.

    • Load Balanced: The network traffic is equally balanced over the NICs of the machine.

    If your network supports jumbo frames, you must set the Maximum Transfer Unit size in the MTU field. Setting the MTU field, sets the maximum transmission rate, so that larger packets can be sent and received. You can set the MTU to a maximum of 1500 for Ethernet, 9000 for 1GbE, and 64,000 for 10GbE.

    Note: If you are using Oracle VM Manager 3.3, you will see the following page:

    Figure 4-8 Create Network: Configure Ports and VLAN Interfaces (OVM Manager 3.3)


    Create Network:OVM 3.3
  8. Click Next. The Network Profile and QoS page appears.

    Note:

    Defining the Network Profile and QoS is optional. A network profile stores the network interface configuration (IP address, subnet mask, host name, DNS servers) to be allocated to network interfaces of newly provisioned virtual machines.

    Specify the following:

    • Network Type: You can select Internet Routable, Non Internet Routable, or a predefined set of network types. For more details, see Setting Up the Network Type.

    • Network Profile: A network profile defines a set of IP Addresses, their associated host names (optionally), and common networking attributes for them. See Creating a Network Profile for details.

  9. Review the details entered so far and click Finish to create the network.

4.8 Creating a Network Profile

A network profile is used to automate assignment of IP addresses to guest virtual machines. A network profile is a list of IP address along with host names. It defines a set of IP addresses, their associated host-names, and common networking attributes for them.

To create a network profile, follow these steps:

  1. From the Setup menu, select Provisioning and Patching, then select Network Profile.
  2. Click Create on the Network Profile page.
  3. Enter the following details in the Create Network Profile pop-up window:

    Figure 4-9 Create Network Profile


    Create Network Profile

    • Name: Unique name that identifies the network profile name.

    • Domain Name: Domain for which the profile is being defined. The domain name must not begin with a dot ('.'). For example, you must specify the domain name as us.example.com and not with a dot ('.) in the front like .us.example.com.

    • Netmask: Network mask for the subnet IP. For example: 255.255.240.0

    • Gateway: Gateway for the IP address list.

    • DNS Servers: Name resolution servers.

  4. You can add a list of IP addresses or specify a range. If you select:
    • List: Specify IP addresses with host name and MAC address (optional).

    • Range: Specify a Hostname Pattern. The Start Value is appended to the host names generated. The First IP Address and the Last IP Address defines the range. For example: If the pattern is say hostprod and Start Value is 1, First IP Address is 10.1.1.1 and Last IP Address is 10.1.1.3, the host names will be hostprod1, hostprod2 and hostprod3.

  5. Click OK to save the network profile.

4.9 Registering Storage Servers

You can create external storage elements like storage servers, file systems, and LUNs. An external storage element is created on dedicated storage hardware such as a server configured for NAS offering NFS shares. The server on which the storage element is present must be accessible by the Oracle VM Servers through a fibre channel or ethernet network. You can configure a virtual server pool with multiple such external storage devices.

Figure 4-10 Creating Storage Servers and File Systems


Creating Storage Servers and File Systems

To set up a storage server, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target in the left panel and select Manage Storage. Figure 4-11 appears.

    Figure 4-11 Storage Server


    Storage Server
  3. A list of file servers, storage arrays, and local file servers that have been defined appears.
    • Type: Select the type of storage array that can be defined. A storage array is additional network provided storage that can be specifically used to store virtual disks for virtual machines. A server pool can be configured with .multiple external storage devices. You can define 3 types of storage servers:

      • iSCSI: An iSCSI target configured or discovered on the Oracle VM Server.

      • SAN: A Fiber Channel SAN target configured/discovered on the Oracle VM Server.

      • NFS: An NFS or NAS file system mounted locally.

      Select File Server (NFS) or Storage Array (iSCSI or SAN).

  4. You can register a File Server or a Storage Array by clicking the appropriate link.
  5. Select a storage element and click Discover to start the discovery operation of the file systems available on the server. A confirmation message prompting you to refresh the file system appears. Click OK to refresh the file system and return to the Storage page.
  6. Click on a File Server, Storage Array, or Local File Server link to drill down to the Details page.
  7. Select a storage element and click Validate. A confirmation message prompting you to validate the storage server appears. Click OK to refresh the file system and return to the Storage page.

4.9.1 Registering the File Server

To register a file server, follow these steps:

  1. Click the File Server link on the Storage page. The Register File Server: General page appears.

    Figure 4-12 Register File Server: General


    Register File Server: General Page
  2. Enter the following details:
    • Name: Name by which the storage server is to be identified.

    • Plugin Name: The Oracle VM Manager communicates with the external storage through a set of plug-ins. Generic plug-ins offer a limited set of standard storage operations on virtually all storage hardware, such as discovering and operating on existing storage resources. Vendor-specific plug-ins include a much larger set of operations (snapshot, clone, and so on).

    • Admin Host: Host name of the Administration Server.

    • Admin Username and Password: User name and password for the Administration Server.

    • Access Host: Host name or IP address of the server offering external storage.

    • Uniform Exports: Select this check box to indicate that the NFS exports are uniform. This ensures that all the VM Servers in the server pool will have access to the same exports on the NFS server. If this check box is not selected, the NFS exports can be accessed only by specific servers that are used to refresh the NFS file systems.

  3. Click Next. The Register File Server: Admin and Refresh Servers page appears. Enter the following:
    • Admin Servers: VM Servers that have the required Storage Plugin installed and are responsible for information exchange with the Admin Host of the Storage Server are referred to as Admin Servers. Click Add to add one or more Admin Servers.

    • Refresh Servers: If you have not selected the Uniform Exports checkbox in the Register File Server: General page, click Add to specify the list of Refresh servers that will be used to refresh the NFS file systems.

  4. Click Finish to add the file server. The new server appears in the table. At this point, the Storage Connect plugin has established a link to the storage location. No storage has been mounted yet.
  5. Click Discover to start the discovery operation of the file systems available on the server. When the operation is complete, the available file systems appear in the File Systems tab in the Storage Details page.

4.9.2 Registering the Storage Array

To register a storage array, follow these steps:

  1. Click the Storage Array link on the Storage page. The Register Storage Array: General page appears.

    Figure 4-13 Register Storage Array: General


    Register Storage Array: General
  2. Enter the following details:
    • Name: Name by which the storage server is to be identified.

    • Storage Type: Select the type of storage array that can be defined. A storage array is additional network provided storage that can be specifically used to store virtual disks for virtual machines. You can define 2 types of storage arrays:

      • Fibre Channel Storage Array: A Fiber Channel SAN target configured or discovered on the Oracle VM Server.

      • iSCSI Storage Array: An iSCSI target configured or discovered on the Oracle VM Server.

    • Plugin Name: The Oracle VM Manager communicates with the external storage through a set of plug-ins. Generic plug-ins offer a limited set of standard storage operations on virtually all storage hardware, such as discovering and operating on existing storage resources. Vendor-specific plug-ins include a much larger set of operations (snapshot, clone, and so on).

    • Plugin Private Data: Any vendor-specific storage plug-in data that may be required. This is not available to generic storage.

      Note:

      When registering a vendor-specific storage array, be sure to double-check the information you entered in the plug-in private data field. Once the storage array is registered, this field can no longer be modified. If you need to update the plug-in private data, you must unregister and re-register the storage array.

    • Admin Host: Host name of the Administration Server.

    • Admin Username and Password: User name and password for the Administration Server.

  3. Click Next. The Register Storage Array: Access Information page appears.

    Figure 4-14 Register Storage Array: Access Information


    Register Storage Array: Access Information Page
  4. Enter the following details:
    • Access Host: Host name or IP address of the server offering external storage.

    • Access Port: Port number used to access the storage.

    • Access Username and Password: User name and password for the Access Host.

    • Use Chap (Applies to all Access Hosts): Select this check box to enable Chap authentication.

      Note:

      If you have selected the Storage Type as iSCSI Storage Array and Plugin Name as Oracle Generic SCSI Plugin (1.2.1 or above) in the Register Storage Array: General page, you can add multiple Access Hosts.

  5. Click Next. The Register Storage Array: Admin Servers page appears. Click Add to add one or more Administration Servers on which the storage plug-in has been installed. The Administration Server is responsible for information exchange with the Administration Host of the storage server.
  6. Click Finish to add the storage array. The new server appears in the table. At this point, the Storage Connect plugin has established a link to the storage location. No storage has been mounted yet.
  7. Click Discover to start the discovery operation of the file systems available on the server. When the operation is complete, the available file systems appear in the General tab of the Storage Details page.

4.9.3 File Server Details

Click a File Server link to view the Details page. This page contains the following tabs:

  • General: A list of Administration Servers is displayed. An Administration Server is a virtual server on which the storage plug-in has been installed. You can add an Administration Server or delete an existing one.

    In the Configuration region, the storage server details are displayed. Click Edit to modify details such as Name, Description, and the name of the Access Host which provides the external storage.

    In the Storage QOS Mapping region, map the storage type defined by the Cloud Administrator to the QOS defined by the Storage Server.

  • Refresh Servers: For non-uniform NFS file system exports, you can specify the servers that need to be refreshed. Click Add. The Refresh Servers dialog box is displayed. Click Select Servers, choose one or more servers from the list and click Select. Click OK to refresh the servers.

  • File Systems: A list of file systems is displayed. You can do the following:

    • Select a file system from the list and click Edit. You can modify the name and description of the file system.

    • Select a file system and click Delete. A confirmation message is displayed. Click OK to delete the file system.

    • Select one or more file systems and click Refresh. A confirmation message is displayed. Click OK to refresh the file system.

  • Access Groups: Shows the mapping between Refresh Servers and File Systems (Exports). You can Create, Edit, or Delete an Access Group.

4.9.4 Storage Array Details

Click a Storage Array link to view the Details page. This page has four tabs:

  • General: Provides general information on the storage array. A list of administration servers is displayed in the Administration region. An Administration Server is a virtual server on which the storage plug-in has been installed. You can add an Administration Server or delete an existing one.

    In the Configuration region, the storage server details are displayed. Click Edit to modify the Name and Description.

  • Physical Disks: Displays a list of all the physical disks on the storage array. Depending on the type of storage connector (You can Create, Clone, Edit, Resize (resize or extend the physical disk), Rescan (refreshes the physical disk), Delete, and Create File System (create OCFS2 file system on the physical disk).

    Note:

    The operation allowed depends on the type of storage connect plug-in that has been installed. For example, if the generic storage connect plug-in has been installed, you cannot perform a Create operation on the physical disks.

  • Access Group: Shows the mapping between Storage Initiators and Physical Disks. You can Create, Edit, Present / Unpresent Access Group (Add or Delete physical disk), and Delete access group.

  • Volume Group: Displays the volume group available for this storage server.

4.9.5 Local File Server Details

Click on a Local File Server link to view the Details page. This page contains the following tabs:

  • General: The configuration details of the selected Local File Server including the Administration Host, Plug-in Name, and so on are displayed.

  • File Systems: You can edit or refresh a file system in the list. Select a file system from the list and click Edit. You can modify the name and description of the file system.

    To refresh, select a file system from the list and click Refresh. Select the name of the virtual server and click OK to refresh the file system.

4.10 Creating a Storage Repository

A storage repository is virtual disk space on top of physical storage hardware, made available to the Oracle VM Servers in a server pool or various server pools. It defines where Oracle VM resources may reside. Resources include virtual machines, templates for virtual machine creation, virtual machine assemblies, ISO images, shared virtual disks, and so on.

After you have created the storage server, you can assign these storage resources to the server pools in a zone by creating a storage repository.

To create a storage repository, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target in the left panel and select Manage Storage Repository.

    Figure 4-15 Storage Repository


    Storage Repository
  3. The list of storage repositories that have been defined appears. Click Create to create a storage repository.
  4. In the pop-up window, enter the name of the storage repository.
  5. Click the Search icon in the Disk field to select the Storage Server and File System on which the storage repository is to be created and click OK.

    If you select the NFS File System, you must select the location of the storage server and a virtual server. You can optionally specify the Share Path and a description. The storage repository has now been created and will be displayed in the Storage Repositories page.

4.10.1 Performing Administrative Operations on a Storage Repository

After the storage repository has been created, you can perform a number of management operations on it. The listing of storage repositories depends on the server pool selection. If you select server pools, you see all the storage repositories. If you select an individual server pool, only the storage repositories related to that server pool appear. You can perform the following operations:

  • Edit: Select a repository and click Edit. You can modify the name and description or release the ownership of the repository. Click OK to save the changes.

    Note:

    If you are editing a storage repository that has been created on a physical disk, you can change the server pool with which the storage repository is associated. To change the server pool, in the Edit dialog box, click the Search icon next to the Server Pool field, select a different server pool and click OK.

  • Delete: Select a repository and click Delete. All the contents of the selected repository along with its associations will be deleted.

  • Auto-Refresh: Select this option to enable Auto-Refresh and periodically refresh and update the file system size of all storage repositories. In the dialog box that appears, select the Enable check box and specify the Interval at which the file system size is to be refreshed.

    Note:

    As the Auto-Refresh option locks the repositories, you must use this option when no deployment operations are scheduled.

4.11 Presenting the Storage Repository

After you have created the storage repository, you can propagate it to one or more server pools. When the storage repository is prepared and created, it still must be made available for use by your virtual servers before it can be used. Typically you present the storage repository to all the virtual servers in the server pool.

To present a storage repository to server pool, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target from the left panel and select Manage Storage Repository.
  3. In the Storage Repository page, click on a storage repository from the list. The list of server pools on which the storage repositories have been propagated appears.

    Figure 4-16 Presented Servers


    Presented Servers
  4. Select one or more server pools from the list and click Present. In the Present Servers dialog box, click the Select Servers icon. The list of members appears in the Select Targets dialog box. Expand the Members in this dialog box and check the boxes for zones, pools, or individual virtual servers and click Select to return to the previous dialog box. Click Present to mount the member on the server.

4.12 Importing Assemblies, Templates, and Virtual Disks into the Storage Repository

A storage repository associated with an Oracle VM server stores binary components associated with an Oracle VM servers. The following software components can be stored in the storage repository:

  • Oracle VM Templates

  • Oracle Virtual Assemblies

  • ISOs

  • Virtual Disks

  • VM Files

The Oracle Virtual Assemblies, Oracle VM Templates and ISO images need to be imported into the storage repository before guest virtual machines can be created using them. Follow these steps to import software components into the storage repository:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target in the left panel and select Manage Storage Repository.
  3. Click on a Repository Name link. The Storage Repository Details page shows the list of server pools on which the selected storage repository has been propagated.
  4. Click the Assemblies tab. An assembly can be imported as a single .ova file.

    Figure 4-17 Storage Repository - Assemblies


    Storage Repository: Assemblies
    • Click Import. You can import the assembly from the Software Library or from an external source. If you select:

      • Software Library: The list of assemblies present in the Software Library are displayed. Select the assemblies to be imported and click OK. After the assembly has been imported, a series of templates is created. This option unpacks the contents of the assembly, for example, configuration files, disk images, and so on.

      • External: Specify a external URL from which the assembly is to be imported and click OK. The URL you specify must be accessible from the OVS Host on which the repository is presented.

        Note:

        If the Enterprise Manager upload port is not present in the tinyproxy configuration file, the assembly or template cannot be imported. To resolve this issue, do the following:
        • On the Enterprise Manager node, as Oracle user, enter the following command

          $OMS_HOME/bin/emctl status oms -details

        • From the output, capture the HTTPS upload port from the example below:

          HTTPS Upload Port : 4473

        • On both active and passive PCA management nodes, run the following command:

          Edit /etc/tinyproxy/tinyproxy.conf

        • Add a line as follows in the ConnectPort section:

          ConnectPort 4473

        • Restart the tinyproxy service on both active and passive management nodes as follows:

          service tinyproxy restart

  5. Click on the ISOs tab to import the ISO images. Virtual machines have no access to the physical DVD or CD-ROM drive. You can assign virtual drives to virtual machines by offering .iso files containing the image of a DVD or CD-ROM. These image files can be found in the ISOs tab of the storage repository.
    • Click Import. You can import the ISO image from the Software Library or from an external source. If you select:

      • Software Library: The list of ISO images present in the Software Library are displayed. Select the ISO images to be imported and click OK. Select the ISO image that has been imported and click Assign to assign this template to a server pool.

      • External: Specify a valid external URL from which the ISO image is to be imported and click OK. The URL you specify must be accessible from the OVS Host on which the repository is presented.

    Note:

    Creation Time is not displayed if you are using 3.4 or later versions of Oracle VM Manager.
  6. Click the VM Templates tab. Templates contain the configuration of a single virtual machine. When you create a new virtual machine, you choose to either create it from scratch or from a template. In a storage repository, templates are typically imported as an archive (.tgz, .tar or other). The archive contains a .cfg file with the virtual machine configuration, and at least one .img file which is a virtual disk image.

    Figure 4-18 Storage Repository - VM Templates


    Storage Repository: VM
    • Click Import. You can import the VM Template from the Software Library or from an external source. If you select:

      • Software Library: The list of VM Templates present in the Software Library are displayed. Select the VM Template to be imported and click OK. After the template has been imported, select the template and click Assign to assign this template to a server pool.

      • External: Specify a valid external URL from which the VM template is to be imported and click OK. The URL you specify must be accessible from the OVS Host on which the repository is presented.

    Note:

    Creation Time is not displayed if you are using 3.4 or later versions of Oracle VM Manager.
  7. Click on the Virtual Disks tab.

    Figure 4-19 Storage Repository - Virtual Disks


    Storage Repository: Virtual Disks
    • Click Create and size of virtual disk to be created.

    • Indicate if this is a shared disk by checking the Shared check box.

    • Click Import. You can import the virtual disk from the Software Library or an external source. If you select:

      • Software Library: The list of virtual disks present in the Software Library are displayed. Select the virtual disks to be imported and click OK. Select the virtual disk has been imported, click Assign to assign this template to a server pool.

      • External: Specify a valid external URL from which the virtual disk is to be imported and click OK. The URL you specify must be accessible from the OVS Host on which the repository is presented. If you reference the virtual disk using http:// or ftp:// protocols, you must include user/pw in the reference.

        For example, you must specify the URL as http://user:pw@host/virtualdisk_file_image_file or ftp://user:pw@host/virtual_disk_image_file. If the virtual disk is accessible by way of NFS, you can also specify file:///net/host/virtual_disk_image_file if the OVS is enabled for NFS automount.

  8. Click Return to return to the Storage Repository page.

Note:

Creation Time is not displayed if you are using 3.4 or later versions of Oracle VM Manager.

4.12.1 Creating a Repository Export (Optional)

You can configure the virtual server to enable third party applications to back up the contents of the storage repository.

Prerequisites

  • The Repository Exports feature is available only for storage repositories based on physical disks and at least one server must have been presented to the repository.

  • The virtual server must be configured to provide an NFS share to access the contents of the repository.

  • The virtual server must be in a clustered server pool and have the OCFS2-based storage repository presented to it.

To create a repository export, follow these steps:

  1. Click the Repository Exports tab in the Storage Repository Details page.
  2. Click Create. The Create Repository Export window appears.
  3. Enter a name of the host which is used to mount the contents of the storage repository to the Export Server.
  4. Specify the options to restrict access to the respository. For Linux systems, the default is rw, async, no_root_squash.
  5. Click Add in the Export Server(s) region. Select one or more virtual servers on which the storage repository is to be presented and click Select.
  6. Click OK to submit the job and return to the Storage Repository Details page.

4.13 Using Self Update to Download Oracle VM Templates and Virtual Assemblies

You can download the preconfigured assemblies and templates from the Self Update Console by following these steps:

  1. Log in to Enterprise Manager as a user with the EM_CLOUD_ADMINISTRATOR role.
  2. From the Setup menu, select Extensibility and then select Self Update. The Self Update Console with the list of entity types that can be downloaded appears.
  3. Select the Oracle VM Templates and Oracle Virtual Assemblies folder and click Open. The Oracle VM Templates and Oracle Virtual Assemblies Updates page appears.
  4. Select an update and click Download. The Schedule Download dialog appears.
  5. Specify if the update is to be downloaded immediately or at a later date.
  6. Click Select. An Enterprise Manager job is created to download the update to the Software Library. Enterprise Manager starts downloading the archive from the Oracle Enterprise Manager store. Wait for the download to complete. (When in offline mode the system starts reading from the specified location.) When the download is complete, the status indicates that the update has been downloaded.
  7. Click Apply. A job is submitted to apply the update. The downloaded plug-in is applied and appears on the Oracle VM Templates and Oracle Virtual Assemblies Updates page.

4.14 Creating a Virtual 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 servers will be contained in the server pool, and what functions each physical server will perform. The more virtual machines you will run in the server pool, the more resources these virtual machines will consume, therefore the more physical servers are needed 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 and memory, to run the virtual machines and the applications inside, you can expand the server pool by adding more Oracle virtual servers.

A virtual server pool contains one or more virtual servers and guest virtual machines. A virtual server can belong to one and only one virtual server pool at a time. Guest virtual machines and resources are also associated with the server pools.

Prerequisites

  • A non-clustered virtual server pool can contain a maximum of 64 Oracle VM servers and a clustered virtual server pool can contain a maximum of 32 Oracle VM servers.

  • Virtual servers that can be deployed as the Master Server, the Utility Server, and/or the Guest Virtual Machine. At least one virtual server is required in a server pool.

  • All virtual servers in a server pool should have CPUs in the same CPU family. If they are not in the same CPU family, some operations such as live migration may fail. Though the CPUs should be in the same CPU family, they may have differing configurations, such as different number of cores. Other hardware components on the host computer may also differ, such as the amount of RAM, the number and size of disk drives, and so on.

    Note:

    Although the host computers may have differing configurations, Oracle recommends that all virtual servers in a server pool are identical.

  • A dedicated file system (either a NAS export, or a LUN) to use as the server pool file system is available.

  • IP addresses for the virtual servers must be available. The IP address to be used as the Master Server's virtual IP address must be an unused and available IP address.

  • To create a virtual server pool, you must be logged in as an Administrator with Add Any Target privilege.

  • To delete a virtual server pool, you must have Full privilege on the server pool and appropriate privileges on the virtual servers and guest virtual machines belonging to the virtual server pool.

To create a virtual server pool:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target in the left panel and select Create Virtual Server Pool.

    Figure 4-20 Create Virtual Server Pool


    Create Virtual Server Pools
  3. Enter the server pool information:
    • Virtual 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.

    • Description: A description of the server pool.

    • Keymap: Specify the keyboard type for the guest virtual machines created in this server pool.

    • VM Start Policy: Select the policy to be used to start the virtual machines. You can choose:

      • Start on Best Server: The best server in the server pool is used to start the virtual machine.

      • Start on Current Server: The virtual machine will be started on the same server on which it was created.

    • Secure VM Migrate: Specify whether encrypted migration of virtual machines is to be enabled. If this checkbox is selected, virtual machines are migrated using SSL to protect data during the migration process.

    • Activate Cluster: Select this check box to enable high availability on the server pool.

    • Cluster Timeout: If the Activate Cluster is enabled, you can set the cluster timeout period in seconds. The disk heartbeat and network heartbeat are derived from the cluster timeout value.

    • Type of Pool File System: Select the pool file system to use for the server pool. The pool file system is used to hold the server pool, cluster data, and is also used for the cluster heartbeat.

      The type can either be Network File System or Physical Disk. If you are using a file server for the server pool, select Network File System. If you are using a physical disk on a storage array for the server pool, select the type as Physical Disk.

    • Location: Click the Search icon to search for and select the pool file system. This must be accessible by all virtual servers in the server pool.

    • Virtual IP: An IP address used to locate the Master Server in the server pool. If the Master Server changes to another Oracle VM Server, this IP address is then assigned to the new host.

  4. Click Add in the Virtual Servers section. Select one or more virtual servers from the Search window and click OK.

    Note:

    Before you add a virtual server to the server pool, it must have been discovered. See Discovering a Virtual Server for details.

  5. Click OK to create a virtual server pool.

4.14.1 Editing a Virtual Server Pool

You can edit the configuration information of a virtual server pool, including the description, key map, start policy, and so on. You can also change the master server, which controls the cluster, as well as whether the virtual machines are migrated securely. You cannot change the Virtual IP or the Pool File System used for the server pool. To edit a virtual server pool, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. From the left panel, select the virtual server pool target that you want to edit.
  3. From the VM Server Pool menu, select Target Setup, then select Edit VM Server Pool. The Edit Virtual Server Pool page appears.
  4. You can also edit the following fields:
    • Keymap: The keyboard type for the guest virtual machines created in this server pool.

    • VM Start Policy: The policy to be used to start the virtual machines. You can choose to start on the current server or on the best server.

    • Secure VM Migrate: Indicates whether encrypted migration of virtual machines is to be enabled. If this checkbox is selected, virtual machines are migrated using SSL to protect data during the migration process.

    • Master Server: Indicates the server that is the master of the server pool. You can choose any server in the server pool to become a master. This feature is not available for Oracle VM Manager versions 3.4 and later.

      Note:

      The Master Server feature is not supported in Oracle VM Managers versions 3.4 and higher.
  5. In the Virtual Servers region, you can add or remove virtual servers.
  6. Click Change Agent Password to change the password for the Management Agent running on the Master Server. The modified password will applied to the Management Agents running on all virtual servers in the server pool.

    Note:

    Before you add a virtual server to the server pool, it must have been discovered. See Discovering a Virtual Server for details.

  7. You can Add, Edit, or Delete Anti-Affinity Groups. Anti-affinity groups specify that a group of virtual machines cannot run on the same server. In the Add Anti-Affinity Group window, enter a name for the group and select one or more virtual machines that should be part of this group. The virtual machines that are part of this group cannot run on the same server.
  8. Click OK to apply the changes to the virtual server pool.

4.15 Creating a Zone

A zone is used to group related cloud resources together. Cloud zones can be created based on location, software lifecycle status, for grouping resources according to a cost center or for metering and chargeback purposes. Typically, a zone can cover a department or possibly a small data center. The cloud environment can comprise of one or more zones. Each zone has a set of metrics that show the aggregate utilization of the zone.

Prerequisites

  • To create a zone, you must be logged in as an Administrator with Add Any Target privilege.

  • To remove a zone, you must have Operator / Full privilege on the zone.

Follow these steps to create a zone:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click the OVM Manager target for which the zone is to be created in the left panel and select Create Zone.

    Figure 4-21 Create Zone


    Create Zone
  3. In the Create Zone page, specify the zone name and description.
  4. Indicate if this zone will be used by the self service users by checking the Infrastructure Cloud Self Service Zone check box.
  5. Click Add in the Virtual Server Pool section to add one or more virtual server pools. See Creating a Virtual Server Pool for details. You can add the virtual server pools for which you have the privileges and that are not part of any other zone.
  6. Click OK. The virtual server pools and the storage arrays appears in the newly created zone on the Home page.

4.16 Setting Up the Storage Quality of Service (QoS)

Storage QoS refers to quality of service that is defined at the storage server level. Setting up the storage QoS involves defining various storage properties. Before deploying a guest virtual machine, you can define the storage QoS, map this QoS to a storage server, and specify this QoS while deploying a guest virtual machine.

This involves defining the machine size, network type, and the storage QoS. After you have set up the storage QoS, you can set up the storage servers, network repositories, and storage arrays. This storage QoS can then be used during deployment of guest virtual machines.

To define the storage QoS, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on the Infrastructure Cloud menu in the left panel and select Setup.

    Figure 4-22 Storage Quality of Service


    Storage Quality of Service
  3. Click Create in the Storage Quality of Service page.
  4. In the pop-up window, specify the name and description of the storage QoS and click OK. The newly added storage QOS appears on the Storage Quality of Service page.
  5. Navigate to the OVM Manager Home page and select Storage from the OVM Manager menu.
  6. Click the Storage link under File Servers. In the General tab, scroll down to the Storage QOS Mapping region.
  7. Click Edit. The Storage QOS Mapping window appears. Click Add and select that you had created earlier. The Storage QOS you have added appears in the Storage QOS Mapping table.
  8. To see how this mapping is used when you deploy an assembly, navigate to the Home page of a Zone under the OVM Manager. From the Zone menu, select Deploy, then select Assembly.
  9. In the Deployment Configuration page, click Override in the Disk section and select the Storage QOS you have created. This storage QOS will be used for deploying the assembly.

4.16.1 Setting Up the Network Type

You can define the QoS for network by defining some network types like routable, internet-facing, and so on. After the network QoS has been defined, you can map this to any network that is being created. You can then use this network type while deploying a guest virtual machine.

To define the network QoS, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Select Setup from the Infrastructure Cloud menu.
  3. Click the Network Types link on the Infrastructure Cloud page.

    Figure 4-23 Network Types


    Network Types
  4. Click Create in the Network Types page.
  5. Enter a name and description of the network type and click OK.

4.16.2 Setting Up the Machine Sizes

You can define the machine size that will be available to the SSA users and during deployment. To define the machine size, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on the Infrastructure Cloud menu in the left panel and select Setup.
  3. Click the Machine Sizes link on the Infrastructure Cloud page.
  4. Click Add Machine Size.
  5. Enter the name (internal name of the machine size), description, number of VCPUs, amount of memory and local storage assigned to machines of this size. Click Save to add this machine size.

4.16.3 Configuring the Software Library User

While setting up the storage repository, you can import VM Templates, Assemblies, and other software components into the storage repository. To configure the software library user who has the privileges to perform these tasks, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on the Infrastructure Cloud menu and select Setup.
  3. Click the Software Library User Configuration link on the Infrastructure Cloud page.
  4. Enter the password for the Cloud Software Library user who is allowed to import components from the Software Library. This password must be specified when the user accesses the Software Library and download the required components.

4.16.4 Configuring the Software Library User with External Management Agent

If the Management Agent is running on a remote machine, when importing the virtualization components, you must ensure that:

  • The Software Library user must have Execute command privileges on the remote host.

  • If Named Credentials are required to access the Management Agent on the remote host, the Software Library user must have View privileges while creating the Reference File locations for the Agent Storage Type.

To set up View privileges, follow these steps:

  1. From the Setup menu, select Security, then select Named Credentials.

  2. Select the Named Credentials to be used while creating the Software Library Reference Location of Storage Type: Agent.

  3. Click Add Grant. Select the CLOUD_SWLIB_USER and click Save.

To set up Execute privileges on the remote host, follow these steps:

  1. From the Setup menu, select Security, then select Administrators.
  2. Select the CLOUD_SWLIB_USER and click Edit.
  3. Navigate to the Target Privileges step. In the Target Privileges section, click Add and select the host target on which the Management Agent is running. The host target is added to the table.
  4. Select the host target added in the Step 3 and click the Edit icon in the Manage Privilege Grants column. Select Execute Command in addition to the already existing View option and click Continue.
  5. Click Save to save this configuration.

4.16.5 Defining the Request Purging Policy

All deployment requests can be retained for a certain period and then purged. To specify the number of days for which the requests should be available, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on the Infrastructure Cloud menu and select Setup.
  3. Click the Request Archiving Policy link on the Infrastructure Cloud page.
  4. Select the Enable Archiving check box, specify the Archiving Duration, and click Apply. The requests will be archived for the specified period and will then be purged.

4.17 Patching the Oracle VM Server

Oracle provides a publicly available YUM repository which includes repositories for Oracle VM. These repositories include the full releases of Oracle VM and mirror those releases on the Oracle VM DVDs/ISOs. The Oracle VM Server must be patched to ensure that the latest software updates and enhancements are applied. Patching the Oracle VM Server involves the following:

  • Configuring the YUM Repository

  • Upgrading the Virtual Server

4.17.1 Configuring the YUM Repository

You can configure the YUM repository that is to be used to upgrade the virtual server. The configured YUM repository can be used for to upgrade all discovered virtual servers.

Prerequisites

  • The YUM repository being configured must be present at a http location. You can configure an internal or public YUM repository.

To configure the YUM repository, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on an OVM Manager target in the left panel, then select Manage YUM Repository.
  3. Enter the following details in the YUM Repository page:
    • Name: Name of the YUM repository.

    • YUM Base URL: HURL for the YUM repository.

    • Enable GPG Key: Select this check box if you want to enable the GPG key. The GPG key checks the validity of the YUM repository and packages downloaded from the repository.

    • YUM GPG Key: If the Enable GPG Key field has been checked, specify the YUM GPG Key here.

  4. Click OK. The YUM repository will be configured for the Oracle VM Manager.

4.17.2 Upgrading the Virtual Server

After you have configured the YUM repository, you must upgrade the virtual server to ensure that it has the latest updates. The virtual server being upgraded must be in maintenance mode. To upgrade the virtual server, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Right click on a VM Server in the left panel and select Upgrade.

    Note:

    The Upgrade button is disabled if the Oracle VM Manager version is 3.3.x and the Oracle Virtual Server version is less than 3.3.1.

  3. A confirmation message appears. Click OK to proceed with the upgrade. After the virtual server has been upgraded, the virtual server will be restarted.

4.18 Acknowledging OVM Events

OVM events are generated for all operations performed on a server, server pool, storage, or network. The event can be Informational, Minor, or Critical. When a target is in an error state, a Critical event is generated. Targets with a Critical status cannot be used to perform any operations. The EM_CLOUD_ADMINISTRATOR can acknowledge such events as the associated targets cannot be used. To acknowledge an OVM event, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home.
  2. Click on a VM Server in the left panel to navigate to the VM Server Home page.
  3. From the VM Server menu, select OVM Events. The list of unacknowledged events appears. Select an event from the list and click Acknowledge to acknowledge the event.

4.19 Managing the NTP Configuration

Note:

  • This feature is available only with Oracle VM Manager 3.2.1 or later.

  • The NTP Server to be added must already be configured to provide the NTP service.

Network Time Protocol (NTP) is a networking protocol that enables clock synchronization across all Oracle VM Servers managed by an Oracle VM Manager. By default, when an Oracle VM Server is discovered, it is configured to use the Oracle VM Manager host computer as the NTP time source. You can configure a custom list of NTP servers that will be used to synchronize the clock when an Oracle VM Server is discovered. To create a custom list of NTP servers, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home. The Infrastructure Cloud Home page appears.

    Figure 4-24 NTP Configuration


    NTP Configuration
  2. Right click on an Oracle VM Manager target from the left panel and select Manage NTP Configuration.
  3. To add an NTP server, click Add. In the Add NTP Server dialog box, enter the IP address or hostname of the NTP server in the IP Address/DNS Hostname field and click OK.
  4. To edit an NTP server, select the server in the table and click Edit. In the Edit NTP Server dialog box, you are prompted for the name of the New NTP Server. Enter the IP address or hostname of the new NTP Server and click OK.
  5. To delete an NTP server, select the server in the table and click Delete. A confirmation message is displayed. Click OK to delete the server or Cancel to cancel the operation.
  6. To update the NTP server configuration on all Oracle VM Servers managed by the VM Manager, click Update All Servers. Any previous NTP configuration is overwritten.

    Alternatively, you can save the NTP server configuration that you have added by clicking Save. This option saves the configuration but does not update the Oracle VM Servers. You can push the configuration to the VM Servers at a later date.

    After any changes have been made the NTP server configuration, you must restart the VM Server for the changes to be effective.

Note:

If multiple NTP configurations have been defined, the order in which have they have been defined will be used for clock synchronization.

4.20 Importing Virtual Machines

Note:

This feature is available only with Oracle VM Manager 3.2.1 or later.

You can import a virtual machine into Oracle VM Manager from an external location. The imported virtual machine is placed under the VM Zone, VM Server Pool, or the VM Server you have selected. The virtual machine must be located on an FTP or web server, either as separate files, or compressed into a single archive file (for example, a .tgz or .zip file).

To import a virtual machine, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home. The Infrastructure Cloud Home page appears.
  2. Right click on a VM Zone, VM Server Pool, or a VM Server target from the left panel and select Import Virtual Machine. The Import Virtual Machine: Select Target and Source page appears.
  3. The destination target on which the virtual machine is to be imported and the name of the target is displayed.
  4. Enter the following details:
    • Source: Enter the URL of the archive (tgz or gzip) that is to be imported as a virtual machine. The URL can be in format HTTP, HTTPS, or FTP.

    • Request Name: Enter a name for the virtual machine import request.

  5. Click Next. The Import Virtual Machine: Instance Details page appears.

    Figure 4-25 Import Virtual Machine: instance Details


    Import Virtual Machine: instance Details

  6. Enter the following details:
    • Enable High Availability: If you want to enable high availability for this guest virtual machine, select this checkbox. This option allows the guest virtual machine to be automatically restarted on other virtual servers in the pool in case the virtual server hosting the guest virtual machine fails.

      Note:

      High availability must be enabled both on the virtual server pool and on the guest virtual machine. If it is not enabled on both, high availability is disabled.

    • Start VM After Creation: Specify whether the guest virtual machine should be started automatically after it is created.

    • CPU Scheduling Priority: Specify the priority of a guest virtual machine to access the physical CPUs, while competing with other guest virtual machines on the same virtual server. Higher the priority, higher is the stake of the guest virtual machine in claiming CPU cycles

    • CPU Scheduling Cap (%): Restricts the amount of physical CPU that a guest virtual machine can use. Use this to constrain guest virtual machine resource allocation.

    • Keymap: The keyboard mapping that will be used by the guest virtual machine being cloned.

    • Tags: Specify one or more tags for the virtual machine. These tags are used to logical group the virtual machines and can be used to search for one or more virtual machines that meet a certain criteria.

    • VM Size: The amount of memory to be allocated to the guest virtual machine. The virtual server should have sufficient memory to run the guest virtual machine. Otherwise, the guest virtual machine will be created, but will not be started. The size of the guest virtual machine (memory and CPU values). Select the VM Size which can be Small, Medium, Large, or Custom.

      Note:

      The Root Password, Network, and Storage configuration cannot be modified for an imported virtual machine.

  7. Click Next. In the Import Virtual machine: Schedule page, specify the Start and End Date. The Start Date is the date on which the request is being submitted and the End Date is the date on which the virtual machine is retired. Click Next.
  8. Review the details of the virtual machine being imported and click Submit. From the Enterprise menu, select Job, then select Activity to view the Job Activity page. This page shows the details of the submitted job. You can click on the Name link to view more details.

4.21 Acknowledging the Repository Events

When the file system on the storage repository gets corrupted, a critical event is raised on the storage repository. This page displays all the critical events for the storage repository. To acknowledge repository events, follow these steps:

  1. From the Enterprise menu, select Cloud, then select Oracle VM Infrastructure Home. The Infrastructure Cloud Home page appears. Select an OVM Manager target from the left panel.
  2. From the VM Manager menu, select Administration, then select Storage Repository.
  3. A list of storage repositories that have been defined is displayed. Click on a storage repository name and click the Repository Events tab.
  4. A list of unacknowledged critical events is displayed. Select an event from list and click Acknowledge Events. The file system associated with the acknowledged event cannot be used