Skip Headers
Oracle® Exalogic Elastic Cloud Administrator's Guide
Release EL X2-2, X3-2, and X4-2

E25258-13
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

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

9 Exalogic vDC Management: Basic Tasks

This chapter discusses how to perform basic tasks related to Exalogic Virtual Data Center (vDC) management using the browser user interface (BUI) of Exalogic Control.

This chapter contains the following topics:

9.1 Administering the Exalogic vDC and Setting Up the Infrastructure

This section contains the following topics:

9.1.1 Logging In as Cloud Admin User

Log in to the Exalogic Control console as the Cloud Admin user. For more information about this user role, see Section 6.4, "Creating the Cloud Admin User".

9.1.2 Examining the Default vDC

Examine the default Virtual Data Center (vDC) in your Exalogic machine by doing the following:

  1. Log in to the Exalogic Control console as the Cloud Admin user.

  2. In the navigation pane on the left, click vDC Management. Under vDCs, click the name of the default vDC in your Exalogic machine. The vDC dashboard is displayed.

    Note:

    An Exalogic machine has one default vDC only.

  3. View the vDC dashboard, which is shown in Figure 9-1.

  4. Examine the networks in the default vDC by clicking the Networks tab. You can view the network configuration and network allocation by clicking Network Configuration and Network Allocation tabs, respectively.

    The Network Configuration page shows the network infrastructure, public external networks, and application-internal (private) networks in the vDC. The Network Allocation page shows the allocation of public IP addresses and virtual networks (vNets) in the vDC.

  5. View the storage information by clicking Storage on the top navigation bar. You can view information about storage infrastructure in the vDC.

  6. Examine the Oracle VM Server pools in the vDC by clicking Server Pools on the top navigation bar.

    Note:

    The server pools are configured in the Exalogic machine by Exalogic Control, by default.

  7. Examine the default vServer types by clicking vServer Types on the top navigation bar. For information about creating new vServer types, see Section 9.1.3, "Creating vServer Types."

  8. Examine incidents in the vDC by clicking the Incidents tab in the top navigation bar. In this tab, you can view both incidents and alerts for the entire vDC.

  9. Examine any current or historical jobs by clicking the Jobs tab on the top navigation bar.

9.1.3 Creating vServer Types

Certain default, system-defined vServer types are available in the Exalogic vDC, as described in Section 7.1.3, "vServer Types.".

Users with the Cloud Admin role can create additional vServer types, as follows:

  1. Log in to the Exalogic Control BUI as the Cloud Admin user.

  2. In the navigation pane on the left, click vDC Management. Under vDCs, click the name of your vDC. The vDC dashboard is displayed.

  3. In Actions pane on the right, click Create vServer Type.

    The Create vServer Type wizard starts.

  4. Enter the name, description, and tags for the new vServer type, as necessary. For example, enter SUPER_LARGE in the Name field.

  5. Click Next.

    The Configure vServer Type screen is displayed.

  6. Specify the memory and number of vCPUs in the Memory Size (GB) and Number of vCPUs fields.

    The maximum memory that you can assign to a vServer Type is the memory size of the largest compute node on the Exalogic machine, minus a small amount that is reserved for system use.

    For example, on a machine that contains only X2-2 nodes, the Create vServer Type wizard shows 95 GB as the maximum selectable memory, but the maximum memory that you should assign is 91 GB. Similarly, on a machine that contains X3-2 nodes, the wizard shows 255 GB as the maximum, but you can create vServer types with memory size up to 246 GB.

    Note:

    When a vServer is created or restarted, if none of the nodes can meet the resource requirements of the vServer, the creation or restart will fail.

  7. After specifying the memory size and number of vCPUs, click Next.

    The Summary screen is displayed.

  8. Review the summary, and click Finish.

  9. Verify the newly created vServer type by clicking the vServer Types tab on the top navigation pane. The newly created vServer type is listed under vServer Types.

9.1.4 Creating External EoIB Networks

As the Exalogic Systems Admin, you can create external EoIB networks to isolate public traffic for different Cloud Accounts in the Exalogic vDC.

Before creating an external EoIB network using Exalogic Control, collect the following information from your network administrator:

  • IP addresses for the new network you are creating

  • VLAN ID for the EoIB fabric for which you want to create a network

The following example procedure describes how to create an external EoIB network in Exalogic Control:

  1. Log in to Oracle Exalogic Control BUI as the ELAdmin user.

  2. In the navigation pane on the left, click Networks. Select the default domain on the navigation pane.

  3. Click Define Network on the Actions pane.

    The Define Network wizard starts.

  4. Enter the following information:

    • In the Network IP (CIDR Format) field, enter an IP address for the network in the Classless Inter-Domain Routing (CIDR) format. For example, enter 206.13.1.48/25.

      Note:

      A CIDR address includes the standard 32-bit IP address, and it indicates how many bits are used for the network prefix. For example, in the CIDR address 206.13.1.48/25, the /25 value indicates that the first 25 bits are used to identify the unique network. The remaining bits are available to identify the specific host.

      Ensure that the network you specify in the Network IP (CIDR Format) field is not used by another EoIB network. Do not attempt to create more than one EoIB network using the same VLAN ID.

    • In the Gateway field, enter the corresponding gateway address. For example, 206.13.1.100.

    • Do not modify the default MTU value, which is 1500.

    • In the Network Name field, enter a name. For example, public_eoib1.

    Click Next.

    The Assign Fabric screen is displayed.

  5. Select the fabric named Exalogic EoIB Fab....

    In the VLAN ID field, enter the VLAN ID for the fabric. Use the VLAN ID provided by your network administrator. If the default VLAN ID for the EoIB fabric is untagged, enter -1.

    Click Next.

    The Specify Managed Address Ranges screen is displayed.

  6. Based on the IP address and subnet you specified in the step 4, specify the range of IP addresses that may be used by vServers.

    Click + to specify an address range and any exclusions. Define the IP address that your network administrator has provided to you. For example, enter 206.13.01.125 in the From IP Address field.

    Note:

    You can change the ranges even after the network is created.

    After specifying the range and exclusions, click Next.

    The Specify Static Routes screen is displayed. Do not enter or change any values.

    Click Next.

    The Specify Network Services screen is displayed.

  7. If you want to access vServers associated with this network from outside the Exalogic rack using their host names, do the following:

    1. In the DNS Domain Name field, enter the domain name of the DNS server.

    2. In the DNS Servers field, enter a DNS server. If you want to add multiple DNS servers, click the plus (+) button.

    Note:

    Do not enter or change any other values.

    Click Next.

    The Summary screen is displayed.

  8. Review the summary, and click Finish.

    After the network is created, the new external EoIB network, such as public_eoib1, is listed under Networks in the navigation pane. Verify the network by clicking its name.

9.1.5 Establishing Cloud Accounts

This section contains the following topics:

9.1.5.1 Creating Accounts

To create an account, complete the following steps:

  1. Log in to the Exalogic Control BUI as a user with the Cloud Admin role.

  2. In the navigation pane on the left, expand vDC Management.

  3. Under vDCs, select the name of the default vDC in your Exalogic machine and click Accounts.

    The Accounts page is displayed.

  4. Click the + button in the toolbar.

    The Create Account wizard starts.

  5. Enter a name and description for the new account.

  6. Click Next.

    The Specify Account Resource Limits screen is displayed.

    Note:

    Account resource limits represent the sum total of resources available to all users executing in the context of that account.

    Figure 9-2 Specify Account Resource Limits

    Description of Figure 9-2 follows
    Description of "Figure 9-2 Specify Account Resource Limits"

  7. Enter appropriate values in the following fields:

    • vCPU: Enter an integer value. For example, enter 20.

    • Memory: Enter a value in GB. For example, 100 GB.

    • Storage: Enter the storage size in GB. For example, enter 2000 GB.

    • Number of private vNets: Enter a numeric value from 0 to 4096 to specify the number of private vNets that the account can use. For example, enter 15.

      Tip:

      The Resource Quota Information section on the screen displays the available resources.

    • Under Public Networks Resource Limits, the public networks available in the vDC are listed.

      From the list, select the Public Networks that must be accessible by users of this account. In the Limit column, specify the limit that defines the number of IP addresses to be allocated from the available addresses. If you do not specify the limit, you cannot create vServers later.

      Note:

      • If guest vServers must be connected to an Exadata machine, you must assign the IPoIB-default network.

      • If guest vServers must have access to shares on the ZFS storage appliance, you must assign the IPoIB-vserver-shared-storage network.

  8. Click Next.

    The Assign Users screen is displayed.

    A list of users with the Cloud User role is displayed. Select the Cloud Users that should be assigned to the account. For example, assign User1.

    Note:

    You can add Cloud Users to the account even after the account creation, as described in Section 9.1.5.2, "Adding Users to an Account".

  9. Click Next. The Summary screen is displayed.

  10. Review the summary, and click Finish to create the account.

    The new accounts is listed under Accounts in the navigation pane on the left.

9.1.5.2 Adding Users to an Account

You can add Cloud Users to the account and give them the privileges to use the resources allocated to an account. You can add the Cloud Users while you create an account or after creating an account.

To add Cloud Users after creating the account, complete the following steps:

  1. Log in to Exalogic Control as the Cloud Admin user.

  2. In the navigation pane on the left, click vDC Management. Under vDCs, click the name of the default vDC in your Exalogic machine. Click Accounts. Alternatively, click the Accounts tab on the top navigation bar.

    The Accounts page is displayed.

  3. Select the account, such as Dept1.

  4. Click Add Users on the Actions pane.

    The Add Users wizard is displayed. The screen lists the available Cloud Users and already assigned Cloud Users to the account are displayed.

  5. Select the users that should be assigned to the account and move them to the Assigned Users.Click Next to view the summary.

  6. View the summary, and click Finish to add the user to the account.

9.1.5.3 Assigning Networks to an Account

As the Cloud Admin user, you can assign networks (for example, an external EoIB network) to an account, by doing the following:

  1. Log in to Exalogic Control as the Cloud Admin user.

  2. In the navigation pane on the left, click vDC Management. Under vDCs, click the name of the default vDC in your Exalogic machine. Select the account listed under Accounts in your default vDC.

  3. Right-click and choose Update Account.

    The Update Account wizard is displayed.

  4. On the Specify Account Details screen, click Next.

    The Specify Account Resource Limits screen is displayed.

  5. On this screen, select the check box corresponding to the required network (say, an external EoIB network) from the list in the Public Networks Resource Limits section.

    In the Limit field, specify the number of IP addresses to be allocated from the available addresses.

    Note:

    • If guest vServers must be connected to an Exadata machine, you must assign the IPoIB-default network.

    • If guest vServers must have access to shares on the ZFS storage appliance, you must assign the IPoIB-vserver-shared-storage network.

    • If a network does not have enough IP addresses to meet the requirements of the account, a user with the Exalogic Systems Admin role must first add IP address ranges to the network.

    Click Next.

    The Summary screen is displayed.

  6. Review the summary, and verify that it includes assigned networks under Newly assigned Public networks.

  7. Click Finish.

9.1.6 Examining the vDC

After performing the above Cloud Administration tasks, examine the Virtual Data Center (vDC) in your Exalogic machine as follows:

  1. Log in to Exalogic Control as the Cloud Admin user.

  2. In the navigation pane on the left, click vDC Management. Under vDCs, click the name of the default vDC in your Exalogic machine. The vDC dashboard is displayed.

  3. Examine the accounts in the vDC by selecting the Accounts tab. You can view the newly created accounts.

    Starting from release 2.0.6.0.0 of the Exalogic Elastic Cloud Software, the Exalogic Control browser user interface displays a consolidated view of the resources—vCPUs, storage, and memory—allocated to each account, as shown in Figure 9-3.

    Figure 9-3 View of Resources Allocated to Accounts

    Description of Figure 9-3 follows
    Description of "Figure 9-3 View of Resources Allocated to Accounts"

  4. Examine the networks in the default vDC by clicking the Networks tab. You can view the network configuration and network allocation by clicking Network Configuration and Network Allocation tabs, respectively.

    The Network Configuration page shows the network infrastructure, public external networks, and application internal networks in the vDC. The Network Allocation page shows the allocation of public IP addresses and virtual networks (vNets) in the vDC.

9.1.7 Verifying the vDC

After Cloud Users have performed their actions, the Cloud Admin user can verify and monitor the new private vNets and the storage availability in the vDC. The Cloud Admin user can also verify the CPU, memory, and storage allocation and usage metrics.

  1. Log in to Exalogic Control as the Cloud Admin user.

  2. In the navigation pane on the left, click vDC Management. Under vDCs, click the name of the default vDC in your Exalogic machine.

    The Dashboard tab is displayed. The Resource Allocation section of the Dashboard tab presents graphical views of the CPU, memory, and storage resources allocated to the accounts in the vDC. The Resource Usage section shows the usage of the CPU, memory, and storage resources.

  3. Examine the private vNets in the vDC by clicking the Networks tab on the top navigation pane. You can view all private vNets, under Application Internal Networks.

  4. Examine the storage usage and availability in the vDC by clicking the Storage tab on the top navigation pane. You can view information about vServers' root disks, block storage, and storage allocation.

9.1.8 Logging Out of Exalogic Control

Log out of Exalogic Control after completing the above tasks. The Logout link is in the right hand top corner of the Exalogic Control BUI.

9.2 Creating and Managing Exalogic vDC Resources

This section contains the following topics:

9.2.1 Logging In As a Cloud User

Log in to the Exalogic Control console as a Cloud User, such as User1, that you created in Section 6.4, "Creating the Cloud Admin User".

9.2.2 Examining Cloud User's Account Information

After logging in, examine your vDC account as follows:

  1. Log in to the Exalogic Control console as a Cloud User.

  2. In the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1. The vDC Account dashboard is displayed.

  3. View the vDC dashboard, which is shown in Figure 9-4.

    Figure 9-4 vDC Account Dashboard

    Description of Figure 9-4 follows
    Description of "Figure 9-4 vDC Account Dashboard"

  4. Examine the networks in your vDC account by clicking the Networks tab. You can view the private vNets in your Account and their resource quota and limits.

  5. View the storage information by clicking Storage on the top navigation bar. You can view information about storage resources and quotas in your account, vServer root disks, volumes, and Snapshots.

  6. Examine vServers and Distribution Groups in your account by clicking vServers on the top navigation bar.

  7. Click Server Templates on the top navigation bar to examine the Server Templates available in your account.

  8. Examine incidents in the account by clicking the Incidents tab on the top navigation bar. You can view incidents in your account and alerts.

  9. Examine any current or historical jobs by clicking the Jobs tab on the top navigation bar.

9.2.3 Uploading and Registering a Server Template

Server Templates contain the configuration of an individual vServer with its virtual disk. Templates can be of the format .tgz, .tar or other file types.

You can use HTTP, HTTPS, or FTP protocols to upload Server Templates from any network, including the external EoIB network, that is available to the VM hosting the Enterprise Controller component of Exalogic Control.

You can upload a Server Template to Exalogic Control as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

    Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  3. Click Server Templates on the top navigation bar.

    The Server Templates available in your account are listed.

  4. Under Server Templates, click the Upload Server Template icon. Alternatively, click Upload Server Template under Operate on the Actions pane.

    The Upload Server Template wizard is displayed, as shown in Figure 9-5.

    Figure 9-5 Identify Server Template

    Description of Figure 9-5 follows
    Description of "Figure 9-5 Identify Server Template"

  5. On the Identify Server Template screen, enter a name and description for the Server Template to be uploaded.

    You can add tags for later identification and search.

  6. Click Next.

    The Specify Server Template Details screen is displayed, as shown in Figure 9-6.

    Figure 9-6 Specify Server Template Details

    Description of Figure 9-6 follows
    Description of "Figure 9-6 Specify Server Template Details"

  7. Select the Image SubType option, and select Template.

  8. Select the Upload Source.

    You can upload a Server Template stored on your local machine, or you can specify the URL of the location.

    To specify a URL, enter the URL in the Server Template URL field.

    Click Next.

  9. Review the summary, and click Upload to upload the Server Template.

    The newly uploaded Server Template is listed under Server Template in the navigation pane on the left.

  10. Click Server Templates on the top navigation bar.

    You should see the newly uploaded Server Template listed.

Making a Server Template Public

To make a server template available to all accounts in the vDC, you must make the template public. Private server templates are available to only the Cloud Users assigned to the account in which the server template was created.

After uploading a server template, complete the following steps to make it public:

  1. Log in to the Exalogic Control as a Cloud User.

  2. Select vDC Management from the Navigation pane on the left side of the page.

  3. Expand MyCloud under vDCs.

  4. Expand Accounts and select your account.

  5. Click the Server Templates tab.

  6. Click the server template you uploaded earlier, and select the Register Server Template icon, as highlighted in Figure 9-7.

    Figure 9-7 Registering a Server Template

    Description of Figure 9-7 follows
    Description of "Figure 9-7 Registering a Server Template"

  7. Click OK in the confirmation screen that is displayed.

    The server template's public field will now read Yes, as shown in Figure 9-8.

    Figure 9-8 Server Template Public Field

    Description of Figure 9-8 follows
    Description of "Figure 9-8 Server Template Public Field"

Note:

To make a public template private, select the template in the list, click the Unregister Server Template icon in the toolbar just above the list of templates, and follow the on-screen instructions.

9.2.4 Creating Private vNets

A private vNet is an IPoIB network within the Exalogic fabric that enables secure vServer-vServer communication.

You can create a private vNet in Exalogic Control as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

    Under vDC Accounts, click the name of your Account, such as Dept1.

    The vDC Account dashboard is displayed.

  3. Click Create Private vNet on the Actions pane.

    The Create Private vNet wizard is displayed, as shown in Figure 9-9.

    Figure 9-9 Create Private vNet Wizard

    Description of Figure 9-9 follows
    Description of "Figure 9-9 Create Private vNet Wizard"

  4. In the Name field, enter a name for the private vNet.

    For example, vnet1. Note that the Name field accepts a-z, A-Z, 0-9, and - characters only.

  5. In the Description field, you can enter a description for the private vNet.

  6. Click Next. The Private vNet Configuration screen is displayed.

  7. In the Number Of Elements field, enter the maximum number of vServers that can be part of this vNet. Use the slide bar to set the value.

    The values entered are rounded up to the next value of 2, 6, 14, 30, 62, 126, 254, 510, 1022, 2046, 4094, and 8190. For example, enter 20.

    Note:

    The slider on this screen gives a set of limited values only. If you enter a value not on the list, the summary displays the next highest number in the list. A private vNet uses n high order bits of the IP address range. With CIDR of 29, three bits are used, which means 8 IP addresses in the range. The highest and lowest values are reserved. Therefore, 6 IP addresses are available to the private vNet.

  8. Click Next.

    The Summary screen is displayed.

  9. Review the summary, and click Finish to create the private vNet.

    After a private vNet is created, you can click the Networks tab on the top navigation bar to verify that vnet1 is listed in the Private vNets section.

    This private vNet can now be used by new vServers created by Cloud Users in this Account.

9.2.5 Creating Distribution Groups

Create a Distribution Group in Exalogic Control as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

    Under vDC Accounts, click the name of your account, such as Dept1. The vDC Account dashboard is displayed.

  3. Click Create Distribution Group on the Actions pane (under Operate on the right).

    The Create Distribution Group wizard is displayed, as shown in Figure 9-10.

    Figure 9-10 Create Distribution Group Wizard

    Description of Figure 9-10 follows
    Description of "Figure 9-10 Create Distribution Group Wizard"

  4. In the Name field, enter a name for the Distribution Group.

    For example, Dept1-distgrp1. Note that the Name field accepts a-z, A-Z, 0-9, and - characters only.

  5. Click Next.

    The Distribution Group Configuration screen is displayed.

  6. In the Number of Elements field, enter a number that defines the number of Oracle VM Servers on which the vServers can be placed.

    The size of the distribution group is limited by the actual number of Oracle VM Servers available in the server pools of the vDC. In the Exalogic vDC, the server pool is configured by Exalogic Control, by default.

  7. Click Next.

    The Summary screen is displayed.

  8. Review the summary, and click Finish to create the Distribution Group.

Note:

You cannot specify a distribution group for a set of vServers after vServer creation. For information about associating a vServer with a distribution group while creating the vServer, see step 18 in Section 9.2.8, "Creating vServers."

9.2.6 Creating Volumes

Volumes are disk images stored as virtual disks in the Oracle VM Manager repository.

To create a volume, complete the following steps:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

    Under vDC Accounts, click the name of your account, such as Dept1. The vDC Account dashboard is displayed.

  3. Click Storage on the top navigation bar.

  4. Click the Volumes tab.

  5. Under Volumes, click the + icon.

    The Create Volume wizard is displayed, as shown in Figure 9-11.

    Figure 9-11 Volume Details

    Description of Figure 9-11 follows
    Description of "Figure 9-11 Volume Details"

  6. In the Volume Name field, enter a name for the volume. For example, Volume1.

  7. In the Description field, enter a short description.

  8. Click Next.

    The Volume Configuration screen is displayed.

  9. Select the Shared option if you wish to attach the volume to multiple vServers in the account.

    If you do not select the Shared option, a volume is created for one vServer to use.

    Note:

    Use shared volumes, with caution. In general, if you are going to mount one partition between multiple vServers, you should allow only one vServer to have read/write access, and use read-only for other vServers.

  10. Define the size of the volume in GB.

  11. Click Next.

    The Volume Summary screen is displayed.

  12. Review the summary, and click Finish to create the volume in your account.

  13. Repeat this procedure to create additional volumes (Volume2, Volume3, and Volume4).

Note:

After creating a volume, you must partition the volume using fdisk and create a file system using mkfs on the first vServer to which the volume is attached. On the vServer, the volume appears as a disk (/dev/hdX or /dev/xvdX). After the volume is partitioned and file system created, you must mount it using the /etc/fstab file on the vServer to make the filesystem accessible.

For information about attaching a volume to a vServer, see Section 9.2.8, "Creating vServers."

9.2.7 Importing Volumes

If you want to import a volume from an external URL instead of creating a volume, complete the following steps:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

    Under vDC Accounts, click the name of your account, such as Dept1. The vDC Account dashboard is displayed.

  3. Click Import Volume on the Actions pane (under Operate on the right).

    The Import Volume screen is displayed, as shown in Figure 9-12.

    Figure 9-12 Import Volume

    Description of Figure 9-12 follows
    Description of "Figure 9-12 Import Volume"

  4. In the Name field, enter a name for the volume. For example, Volume1.

  5. In the Description field, enter a short description.

  6. In the URL field (mandatory), enter the URL from which the volume is to be imported.

  7. Optional: Select the Shared option, which enables a volume to be used by multiple vServers in the account.

  8. Click Import to import the volume into your account.

9.2.8 Creating vServers

Prerequisites for Creating vServers

Before you begin creating vServers, ensure that the following prerequisites are fulfilled:

Procedure for Creating vServers

To create a vServer, do the following:

Note:

Use only Exalogic Control for creating vServers. Unless explicitly documented, do not use Oracle VM Manager to create vServers. Creating, cloning, deleting, or modifying vServers by using Oracle VM Manager will result in unsupported configurations.

  1. Ensure that the "Prerequisites for Creating vServers" have been fulfilled.

  2. Log in to the Exalogic Control as a user with the Cloud User role.

  3. In the navigation pane on the left, click vDC Management.

    Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  4. Click vServers on the top navigation bar.

    Note:

    To be able to create vServers, both the Sun Network QDR InfiniBand Gateway switches must be running. So before proceeding, check—with your Exalogic Systems Administrator—whether both the gateway switches are running.

  5. Under vServers, click the + icon.

    The Create vServer wizard starts.

  6. In the vServer Name field, enter a name for the vServer to be created. For example, vserver1.

    Note:

    The name of a vServer need not be unique. To identify the Universally Unique Identifier (UUID) of a vServer, see the Domain Name field in the Dashboard tab of the vServer.

  7. In the Description field, enter a brief description.

  8. In the Number of vServers field, enter the number of vServers to be created. For example, 1.

  9. If you want to enable high availability for the vServer, leave the High Availability Support check box selected; otherwise, deselect it.

    For more information about how vServer high availability works, see Section 9.2.11, "Managing High Availability of vServers."

  10. Click Next.

    The Server Template Selection screen is displayed.

  11. Select one of the available Server Templates that you uploaded in Section 9.2.3, "Uploading and Registering a Server Template."

  12. Click Next.

    The vServer Type Selection screen is displayed.

  13. Select a vServer Type and click Next.

    The Attach Volumes screen is displayed.

  14. Attach additional volumes, if required, to the vServer by selecting an available volume and clicking the right arrow. For example, attach Volume1.

  15. Click Next.

    The vNet Selection screen is displayed.

  16. If you want to associate the vServer with one or more networks available for the account, select from the available networks.

    After selecting the required networks, click Next.

    Note:

    • The networks to which you want to associate the vServer must be assigned (by a Cloud Admin user) to the account and the required IP addresses must be provisioned, as described in Section 9.1.5.3, "Assigning Networks to an Account."

    • If the vServer must have access to shares on the ZFS storage appliance, you must select the IPoIB-vserver-shared-storage network and also (later) perform the procedure described in Appendix H, "Setting Up Access to the ZFS Storage Appliance for a vServer".

    • If you associate the vServer with two or more EoIB networks, then, for enabling access to the vServer from outside the machine through all the EoIB interfaces, you must configure advanced routing on the vServer, by using (for example) iproute2 or dynamic routing.

    The Assign IP Address screen is displayed because you are creating a single vServer. If you chose to create multiple vServers by specifying the number of vServers, the IP address assignment is skipped. All IP addresses are allocated automatically.

  17. Select an IP address allocation method: static IP, or automatic. If you select static IP, select the required IP address in the IP Address field. If you select automatic, you do not need to enter an IP address; it is selected from IP addresses available for the network.

    Note:

    If you select the static IP address option, ensure that you have allocated IP addresses for the network. For more information, see Section 10.2.8, "Allocating Virtual IPs for an Account"

    After assigning an IP address, click Next.

    The Distribution Group Selection screen is displayed.

  18. If necessary, select one of the available distribution groups in which the new vServer should be placed. Note that you cannot assign a vServer to a distribution group after creating the vServer.

    Click Next.

    The vServer Access screen is displayed.

  19. If required, set up access for the vServer by specifying the path to the public key file. Alternatively, enter the public key in the Public Key field.

  20. Click Next.

    The Summary screen is displayed.

  21. Review the summary screen, and click Finish to create the vServer (vserver1).

    Note:

    If a Create-vServer job is taking a long time, wait till the job either fails or is completed. Do not stop the job. If the job fails, do not run it again. Attempting to stop a job or run it again can corrupt the system, making it difficult to diagnose and recover.

  22. Set the MTU to 64000 for each InfiniBand interface:

    1. Log in to the vServer using SSH as the root user.

    2. Verify the current MTU for bond2 by running the ifconfig command.

      Note:

      The steps in this procedure use bond2 as an example. This procedure should be repeated for all the InfiniBand interfaces.

      # ifconfig bond2
      bond2     Link encap:InfiniBand  HWaddr
      80:58:08:CA:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 
      inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
      UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
      RX packets:9 errors:0 dropped:0 overruns:0 frame:0
      TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:504 (504.0 b)  TX bytes:420 (420.0 b)
      
    3. Append the line MTU=64000 to the ifcfg file corresponding to the bond2 interface:

      # echo MTU=64000 >> /etc/sysconfig/network-scripts/ifcfg-bond2
      
    4. Verify whether the MTU=64000 line was added to the ifcfg-bond2 file:

      # cat /etc/sysconfig/network-scripts/ifcfg-bond2 | grep MTU
      MTU=64000
      
    5. Find the slave interfaces for bond2:

      # cd /etc/sysconfig/network-scripts
      # grep "MASTER=bond2" ifcfg-* | awk -F":" '{print $1}'
      ifcfg-ib0.8009
      ifcfg-ib1.8009
      
    6. Set the mode to connected for both the slave interfaces of the bond2 interface:

      # echo connected > /sys/class/net/ib0.8009/mode
      # echo connected > /sys/class/net/ib1.8009/mode
      
    7. Perform steps b through f for the other InfiniBand interfaces.

    8. Stop and start the vServer as described in Section 9.2.9 and Section 9.2.10.

    9. After the vServer starts, log in again to the vServer using SSH as the root user.

    10. Run the ifconfig command for each InfiniBand interface, and verify that the output of the command displays MTU:64000, as shown in the following example for bond2 and its slave interfaces:

      # ifconfig bond2 | grep MTU
      UP BROADCAST RUNNING MASTER MULTICAST  MTU:64000  Metric:1
      
      # ifconfig ib0.8009 | grep MTU
      UP BROADCAST RUNNING SLAVE MULTICAST  MTU:64000  Metric:1
      
      # ifconfig ib1.8009 | grep MTU
      UP BROADCAST RUNNING SLAVE MULTICAST  MTU:64000  Metric:1
      

9.2.9 Stopping vServers

To stop a vServer, do the following:

Note:

Do not use the xm destroy command or Oracle VM Manager to stop a vServer. Use only Exalogic Control.

  1. Log in to the Exalogic Control as a Cloud User.

  2. From the navigation pane on the left, click vDC Management.

  3. Under vDCs, expand your cloud such as MyCloud.

  4. Expand Accounts.

  5. Expand the name of your account, such as Dept1.
    All the vServers in the account are displayed.

  6. Select the vServer you wish to stop.
    The dashboard of the vServer is displayed.

  7. From the actions pane on the right, click Stop vServer. Wait till the job succeeds in the jobs pane.

9.2.10 Starting vServers

To start a vServer, do the following:

Note:

Do not use the xm create command or Oracle VM Manager to start a vServer. Use only Exalogic Control.

  1. Log in to the Exalogic Control as a Cloud User.

  2. From the navigation pane on the left, click vDC Management.

  3. Expand your cloud, such as MyCloud.

  4. Expand Accounts.

  5. Expand the name of your account, such as Dept1.

    All the vServers in the account are displayed.

  6. Select the vServer you wish to start.

    The dashboard of the vServer is displayed.

  7. From the actions pane on the right, click Start vServer. Wait till the job succeeds in the jobs pane.

9.2.11 Managing High Availability of vServers

This section describes how high availability (HA) for guest vServers works and can be managed in a vDC running on Exalogic. In this context, HA is the ability to automatically restart vServers that may be affected by an unexpected outage such as a vServer crash or a compute node failure. This feature is available starting from release 2.0.4.0.0 of the Exalogic Elastic Cloud Software.

Note:

Currently, high availability for Exalogic Control VMs is not supported. For information about restoring failed Exalogic Control VMs, contact Oracle Support.

This section contains the following topics:

9.2.11.1 How High Availability Works for Guest vServers

Figure 9-13 is a flowchart depicting how the vServer HA feature works.

Note:

You must ensure that there are sufficient CPU and memory resources on compute nodes in the vDC for a successful migration of the vServers affected by an unexpected outage. If none of the compute nodes has sufficient resources, the failed vServer is not migrated.

Figure 9-13 Guest vServer High-Availability Process

Description of Figure 9-13 follows
Description of "Figure 9-13 Guest vServer High-Availability Process"

Description of the HA Flow for Guest vServers

  1. If an HA-enabled vServer crashes, the failed vServer is restarted automatically on the same compute node.

    However, if the compute node on which the vServer was originally running has failed or does not have enough resources, the vServer is started on the next active compute node in the same server pool. Note that, if there are no active compute nodes in the server pool, the failed vServer is not started.

  2. If the compute node on which a failed vServer is restarted already hosts any vServer that belongs to the same distribution group as that of the restarted vServer, an alert is displayed for the account to which the distribution group belongs in the Incidents tab of Exalogic Control.

    To resolve this distribution-group violation, the Cloud User should stop the vServer and then start it again as described in Section 9.2.9, "Stopping vServers" and Section 9.2.10, "Starting vServers." The vServer is then restarted on a compute node that does not host any vServer from the same distribution group. If such a compute node is not available, the vServer is not started.

9.2.11.2 Enabling and Disabling High Availability for Guest vServers

HA for guest vServers is enabled by default when the vServers are created. If the vServers fail, they are automatically restarted on the same compute node, or migrated to a different compute node if the original node is down, as described in Section 9.2.11.1, "How High Availability Works for Guest vServers."

If required, the Cloud User can, while creating vServers, disable HA, as described in Section 9.2.8, "Creating vServers."

Migration of vServers to a different compute node (if the original node is down) can be disabled and re-enabled by Cloud Users by using the Disable vServer HA and Enable vServer HA actions in Exalogic Control, as shown in Figure 9-14.

Note:

The state of the Enable vServer HA or Disable vServer HA items in the Actions pane indicates whether HA is currently enabled for a vServer. If Enable vServer HA is clickable, then HA is currently disabled for the vServer. If Disable vServer HA is clickable, then HA is currently enabled for the vServer. In addition, in the vServers tab of any account, you can view the HA state of a vServer by clicking the Status icon corresponding to the vServer.

9.2.12 Viewing Volumes Attached to a vServer

To view the volumes attached to a vServer, do the following:

  1. In the navigation pane on the left, click vDC Management.

  2. Under vDC Accounts, expand the name of your account, such as Dept1.

    All the vServers in the account are displayed.

  3. Select the vServer (for example, vserver2) for which you wish to view attached volumes.

    The vserver2 dashboard is displayed.

  4. Click the Storage tab.

  5. Click the Volumes tab.

    The list of volumes attached to the vServer is displayed.

9.2.13 Attaching Volumes to a vServer

You can attach a volume to a vServer as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

  3. Under vDC Accounts, expand the name of your account, such as Dept1.
    All the vServers in the account are displayed.

  4. Select the vServer (for example, vserver2) to which you wish to attach a volume.
    The vserver2 dashboard is displayed.

  5. From the actions pane on the right, click Stop vServer. Wait till the job succeeds in the jobs pane.

  6. From the actions pane on the right, click Attach vServer Volumes.
    The Attach vServer Volumes wizard is displayed.

  7. Select the volume you wish to attach to vserver2.

  8. Click the right arrow icon.

  9. Click Next.
    The confirmation screen is displayed.

  10. Click Finish. Wait till the job succeeds in the jobs pane.

  11. From the actions pane on the right, click the Start vServer button to restart the vServer.

9.2.14 Detaching Volumes from a vServer

You can detach a volume from a vServer as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management.

  3. Under vDC Accounts, expand the name of your account, such as Dept1.
    All the vServers in the account are displayed.

  4. Select the vServer (for example, vserver2) from which you wish to detach a volume.
    The vserver2 dashboard is displayed.

  5. From the actions pane on the right, click Stop vServer. Wait till the job succeeds in the jobs pane.

  6. From the actions pane on the right, click Detach vServer Volumes.
    The Detach vServer Volumes wizard is displayed.

  7. Select the volume you wish to detach from vserver2.

  8. Click the right arrow icon.

  9. Click Next.
    The confirmation screen is displayed.

  10. Click Finish. Wait till the job succeeds in the jobs pane.

  11. From the actions pane on the right, click the Start vServer button to restart the vServer.

9.2.15 Creating a Snapshot from a Volume

This section describes how to create a snapshot from a volume attached to a vServer. It contains the following topics:

9.2.15.1 Creating a Snapshot from a Volume (EECS 2.0.4.x.x or Earlier)

In EECS release 2.0.4.x.x (or earlier), you can create a snapshot from a volume attached to a vServer, as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. From the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  3. Click vServers on the top navigation bar.

  4. Under vServers, select a running vServer and click the Stop vServer icon (red icon) to stop the vServer.

  5. From the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  6. Click Create Snapshot on the Actions pane (under Operate on the right).

    The Create Snapshot wizard is displayed, as shown in Figure 9-15.

    Figure 9-15 Snapshot Details

    Description of Figure 9-15 follows
    Description of "Figure 9-15 Snapshot Details"

  7. In the Snapshot Name field, enter a name. For example, enter Vol1_snapshot.

  8. In the Snapshot Description field, enter a brief description.

  9. Click Next.

    The Volume Selection screen is displayed.

  10. Select the volume for which you want to take a snapshot. For example, select Volume1.

    Note that the time taken to create a snapshot can vary depending on the size of the volume.

  11. Click Next.

    The Summary screen is displayed.

  12. Review the summary, and click Finish to create a snapshot.

  13. From the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  14. Click vServers on the top navigation bar.

  15. Under vServers, select the previously stopped vServer and click the Start vServer icon (green arrow) to restart the vServer.

9.2.15.2 Creating a Snapshot from a Volume (EECS 2.0.6.x.x)

In EECS 2.0.6.x.x, you can create a snapshot from a volume attached to a vServer, as follows:

  1. Log in to the Exalogic Control as a Cloud User.

  2. From the navigation pane on the left, click vDC Management.

  3. Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  4. Click vServers on the top navigation bar.

  5. Under vServers, select a running vServer and click the Stop vServer icon (red icon) to stop the vServer.

  6. From the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  7. Click Storage on the top navigation bar.

  8. Click the Volumes subtab.

  9. Select the volume for which you want to take a snapshot. For example, select Volume1.

    Note that the time taken to create a snapshot can vary depending on the size of the volume.

  10. Click the Launch Create Snapshot Wizard button.

    The Create Snapshot wizard appears.

  11. In the Snapshot Name field, enter a name. For example, enter Vol1_snapshot.

  12. In the Snapshot Description field, enter a brief description.

  13. Click Create.

    The snapshot is created.

  14. From the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1.

    The vDC Account dashboard is displayed.

  15. Click vServers on the top navigation bar.

  16. Under vServers, select the previously stopped vServer and click the Start vServer icon (green arrow) to restart the vServer.

9.2.16 Creating a Volume from a Snapshot

To create a volume from a snapshot, complete the following steps:

  1. Log in to the Exalogic Control as a Cloud User.

  2. In the navigation pane on the left, click vDC Management. Under vDC Accounts, click the name of your account, such as Dept1. The vDC Account dashboard is displayed.

  3. Click Storage on the top navigation bar.

  4. Click the Snapshots tab.

  5. Click the Create Volume from a Snapshot icon (this icon is below the Snapshots section title). The Create Volume from a Snapshot wizard is displayed.

  6. In the Volume Name field, enter a name for the volume.

  7. In the Volume Description field, enter a brief description.

  8. Click Next. The Snapshot Selection screen is displayed.

  9. Select a snapshot for which you want to create a volume. For example, select Vol1_snapshot.

    Note that the time taken to create a volume can vary depending on the size of the snapshot.

  10. Click Next. The Summary screen is displayed.

  11. Review the summary, and click Finish to create a volume.

9.2.17 Logging Out of Exalogic Control

After completing the above tasks, log out of Exalogic Control. The Logout link is in the right hand top corner of the Exalogic Control BUI.