Managing private cloud providers: HPE OneView

Last updated 18 April, 2019

About private cloud providers 

In HPE OneSphere, you can connect to the following private cloud providers:

  • VMware vSphere

  • KVM

  • HPE OneView

A cloud service provider makes cloud services available for either deploying virtual machines, clusters, or applications, or monitoring bare-metal servers with HPE OneView.

A provider contains a region and one or more zones, and may contain one or more HPE OneView appliances.

  • A region describes the geographic location of the data center or server in which the HPE OneSphere Controller virtual machine is deployed.

  • An HPE OneView appliance identifies a set of bare-metal servers managed by HPE OneView on a customer's premises.

  • A zone is a specific VMware vCenter datacenter or set of KVM servers, or a subset of an HPE OneView appliance.

Connecting, or adding, a private cloud provider allows you to:

  • Import the bare-metal servers managed by HPE Oneview and allocate them to HPE Oneview zones and projects in OneSphere

  • Create, view, update, and delete infrastructure (virtual machines, storage, and networking).

  • Automatically import VMware templates and KVM images to the Catalog.

  • Collect resource usage for display on the Providers screen.

  • (VMware ESXi and HPE OneView only) Collect cost data for display on the Insights screen.

About HPE OneView appliances and zones 

HPE OneSphere enables you to define a new type of private cloud provider: an HPE OneView appliance, which can be managed as one or more HPE OneView zones in HPE OneSphere.

After an HPE OneView appliance is connected to HPE OneSphere using the HPE OneSphere Connect application, you can view aggregated performance metrics for the servers in the HPE OneView zone, including server status checks and CPU utilization. You can also see the costs associated with resources assigned to the zone.

HPE OneView appliances

An appliance is an HPE OneView instance in a customer's premises that can be monitored and reported on by HPE OneSphere.

HPE OneSphere reports on server hardware resources managed by HPE OneView and assigned to HPE OneSphere zones and projects.

HPE OneView zones

In HPE OneSphere, an HPE OneView zone is an administrative domain comprising all or a subset of the server resources available in an HPE OneView appliance. In addition, a zone contains the rates that are used to generate cost reports for projects using the server resources in a zone.

NOTE:

You can define more than one zone for an appliance. However, each zone operates on mutually exclusive sets of servers. A server can only be reported against a single zone and a single project.

Considerations

After connecting to an HPE OneView appliance, consider:

  • Zones

    • Which zones will be used to specify costs rates for HPE OneView server resources?

    • Identify the label that will be used to map HPE OneView server resources into this HPE OneSphere zone.

  • Projects

    • Which HPE OneSphere projects will be used to map HPE OneView server resources for cost assignment?

    • Identify the label that will be used to map HPE OneView server resources into HPE OneSphere projects.

  • In HPE OneView, apply the labels for the zones and projects to the appropriate server hardware resources.

About resource usage and costs in HPE OneView zones 

Utilization

HPE OneSphere collects aggregated performance metrics for all servers in an HPE OneView appliance, and maps performance and usage to HPE OneView zones and HPE OneSphere projects.

HPE OneSphere gathers information about the actual use of the CPU and will report that over time.

HPE OneSphere provides the following information about an HPE OneView zone:

  • Number of servers in the zone

  • Number of processor cores in the zone

  • Amount of RAM in the zone

  • Amount of storage in the zone

Rates

Each HPE OneView zone contains rate specifications that are reflected as costs on the Insights screen.

You can change these default values when creating or updating the HPE OneView private zone.

Updated rates are applied for subsequent resource calculations.

Allocation

Default rate measurement

Default rate value

CPU

per Core rate/hour

0.002

Memory

per GB rate/hour

0.006

Storage

per GB rate/hour

0.000009722

Adding an appliance 

An appliance is an onboarded HPE OneView instance.

If you have not already created a region, you will launch the HPE OneSphere Connect application to create a region to connect to your HPE OneView appliances. If you already created a region, you can use the existing region to connect your appliance. A region provides a communication channel to one or more connected HPE OneView appliances.

HPE OneSphere allows you to monitor or report the HPE OneView managed resources in HPE OneSphere.

Prerequisites
  • An account on the HPE OneSphere portal with administrator privileged access

  • Login credentials for an HPE OneView user that is assigned Infrastructure Administrator and Software Administrator roles

For detailed configuration and prerequisites information, see Network configuration for HPE OneSphere Connect and the HPE OneSphere Support Matrix.

Procedure
  1. Launch the HPE OneSphere URL in a supported web browser.

    The HPE OneSphere URL and login information are provided in an email sent by Hewlett Packard Enterprise after your account has been created. If you do not have this information, contact your Hewlett Packard Enterprise representative.

  2. Enter the username provided by Hewlett Packard Enterprise to log in to your HPE OneSphere account. For more information, see Setting up your account and managing users.
  3. From the HPE OneSphere main menu, click Providers.
  4. From the Providers screen, click Appliances.
  5. From the Appliances screen, click the green plus icon. 
  6. From the Add Appliance screen in the Region drop-down list, select an existing region, or select Create New Region.

    If there is no region listed on the Region drop-down list, you must create a region using HPE OneSphere Connect to set up the communication channel. After the region is created, it will appear in the drop-down list.

    It is possible to select a Region that does not have an associated HPE OneSphere Controller virtual machine. You must create a region using HPE OneSphere Connect before communications will be established with the remote HPE OneView system.

    NOTE:

    If a region with an associated HPE OneSphere Controller virtual machine already exists, select the region and skip to step 10.

  7. Click Download Connect for Windows or Download Connect for Mac.
  8. Save the HPE OneSphere Connect file for Windows (HPE-OneSphere-Connect-1.0.0-(x)-win.zip) or Mac OS X (HPE-OneSphere-Connect-1.0.0-(x)-mac.zip). The size of the zip file is approximately 32 MB.

    Launch HPE OneSphere Connect to create a region to connect to your HPE OneView appliance.

    Once the region is created, it will appear in the drop-down list.

  9. After running HPE OneSphere Connect, navigate to the Providers screen, then click Appliances and click the green plus icon.
  10. From the Add Appliance screen, select the newly created region from the Region drop-down list.
  11. Enter the name of the HPE OneView appliance.

    The appliance name can contain only alphanumeric characters and hyphens (-). It cannot contain spaces or special characters, for example: (), <>={}(),";& .

  12. In the HPE OneView section, enter the hostname or IP address of the HPE OneView appliance that will be connected to your private cloud.
  13. Enter the username and the password for an Infrastructure Administrator, Server Administrator, Server Profile Administrator, or Server Profile Architect account on the HPE OneView appliance.
  14. Click Add Appliance. It takes approximately five minutes for the appliances to be added.

During this process the state of the appliance will be updated.

  • If the state clears, the appliance was successfully added.

  • If the state becomes Error Enabling Comms, HPE OneSphere is unable to access the HPE OneView system.

    Check the IP address of the HPE OneView system. If it is incorrect, delete the appliance and recreate it with the correct HPE OneView details.

    A state of Error Enabling Comms might mean that there network connectivity issues between HPE OneSphere and the HPE OneView system.

  • If the state becomes Error Validating Creds, HPE OneSphere is unable to access the HPE OneView system using the credentials provided.

    Check the specified credentials. If they are incorrect, delete the appliance and recreate it with the correct HPE OneView details.

Using HPE OneSphere Connect to create a region to connect to your HPE OneView environment 

Connecting to your HPE OneView appliance creates a region connector VM called the HPE OneSphere Region Controller and establishes a secure connection between HPE OneSphere and your environment. After the connection has been made, HPE OneSphere will collect cost and usage information about the resources managed by your HPE Oneview appliance.

Prerequisites
The administrator:
  • Downloaded the HPE OneSphere Connect .zip file on the Add Appliance screen, and extracted the .exe or .app file.

  • Ensured that a VMware vSphere environment is available. The HPE OneSphere region controller VM will be deployed to this environment. The same VMware vSphere environment can also be connected to HPE OneSphere as a private zone.

  • Ensured that time synchronization with HPE OneView appliances is properly configured.

Procedure
  1. Launch the HPE OneSphere Connect .exe or .app file.

    HPE OneSphere Connect is downloaded from the HPE OneSphere Add Appliance screen.

  2. Click Get Started.
  3. In HPE OneSphere Account, enter the HPE OneSphere Portal URL provided by Hewlett Packard Enterprise, then click Continue.

    Example: https://[your-account].hpeonesphere.com

  4. Sign in using the username and password for your HPE OneSphere Account.
  5. On the Connection Types screen, select Connect an Appliance.

    This option connects HPE OneSphere to an HPE OneView appliance.

  6. On the Infrastructure Location in HPE OneSphere screen, click the Region drop-down list.
    1. If a region does not exist, select Create New Region, then enter the following details.
      • Enter a name for the new region where your HPE OneView appliance is located. For example, US-Denver.

        NOTE:

        The region name cannot contain spaces, and it cannot contain more than 18 characters.

      • Drag the dot on the map to the approximate location of your HPE OneView appliance.

      • Click Continue.

    2. If a region already exists but it does not contain an HPE OneSphere Region Controller virtual machine, select the existing region.

      If you select an existing region in which you previously deployed an HPE OneSphere Region Controller VM that has been removed, HPE OneSphere Connect informs you that a region connection already exists, and asks if you want to continue. Click Yes.

  7. On the vCenter Sign-In screen, enter the vCenter hostname or IP address and the vCenter login credentials for the account that manages your VMware ESXi private cloud platform.
  8. Click Sign In.
  9. On the vCenter VM Location screen, enter a Name for the HPE OneSphere Controller virtual machine to be deployed, and select the Cluster, shared Datastore, and Network where the virtual machine will be deployed.

    Hewlett Packard Enterprise recommends connecting the HPE OneSphere Conntroller virtual machine to a VMware vSphere Distributed Switch (vDS)-based portgroup network that has connectivity to the Internet and the vCenter Server. HPE also recommends selecting a highly available datastore, such as a shared datastore. This virtual machine instance establishes a secure communication channel between your HPE OneView Appliance and the HPE OneSphere cloud management service.

  10. Click Continue.
  11. On the HPE OneSphere Controller screen, configure the network settings of the virtual machine so that the virtual machine in the vCenter can communicate with HPE OneSphere and to time services.
    1. Click the IP address assignment drop-down list and select the IP address assignment type (DHCP or Static) depending on your requirements. If you select Static, enter the network details including IP Address, Subnet Mask, Gateway, and DNS Server.
    2. Enter the URL of a Proxy to establish a connection between the vCenter and HPE OneSphere, and optionally a username and password for the proxy server. (Do not enter the system proxy, which is configured from your local Windows client PC to other networks.)
  12. Click Continue.
  13. On the HPE Private Cloud Infrastructure Connection Summary screen, review the connection details.
    1. To change any information, click Back (green return icon at the top left corner) of the Summary screen and edit the information before connecting.
    2. If the displayed information on the Summary screen is correct, click Connect.

      NOTE:

      Do not close the Connect screen during this operation.

    The page navigates to Connecting all the bits for your HPE Private Cloud. The progress bar provides the percentage of time taken to establish a connection between HPE OneSphere and the HPE OneSphere Region Controller VM.

    If any errors occur during this onboarding process, see the log file for more information.  In Windows, the HPE OneSphere Connect log file is located in C:\Users\<windowsLoginusername>\hpeConnect. In macOS, the log file is located in %userprofile%\HPEconnect\HPEconnect.log.

    After a successful connection, You're all set! screen appears. Click Take me there to proceed to the HPE OneSphere portal login screen; otherwise, click Connect another environment to establish a new connection.

 

Adding and removing HPE OneView labels 

HPE OneView labels are created and assigned in the HPE OneView user interface. See the HPE OneView Deployment and Management Guide for information on defining and applying HPE OneView labels to server resources.

Each HPE Oneview zone and project in HPE OneSphere can be associated with a label that you applied to servers that are managed by the HPE Oneview appliance. Make sure to apply the labels for the server hardware resources in HPE Oneview appropriately.

Labels help to associate HPE OneView to HPE OneSphere and report the set of server resources and their utilization. An individual server can only be reported against a single HPE OneView zone and a single project in HPE OneSphere.

HPE recommends that you apply both a zone label and a project label. The zone label provides the cost model. The project label informs HPE OneSphere about which project to assign the cost.

  • To map an HPE OneView server into an HPE OneSphere zone, the zone label must be applied to the server in HPE OneView.

  • To map an HPE OneView server into an HPE OneSphere project, the project label and a zone label must be applied to the server in HPE OneView.

Use a consistent naming scheme to identify the label in HPE OneView. For example, prefix labels on server resources associated with an HPE OneSphere project with P and an HPE OneSphere zone with Z.

If you add more than one zone label and one project label to a server, the first zone and project label (alphabetically) are applied. Labels that begin with letters later in the alphabet are ignored.

NOTE:

Labels in HPE OneView can contain alphanumeric and spaces only. They will be displayed in the letter-case that they are entered, but the case is ignored when using the labels.

You can add or remove the label at any time in HPE OneView. HPE OneSphere polls the HPE OneView appliance every 15 minutes to retrieve the current set of server hardware and assigned labels to (re)allocate the server resources to the correct HPE OneView zones and projects.

Creating an HPE OneView zone 

An HPE OneView zone references a label applied to the server resources on an HPE OneView appliance. These labels are directly added to an HPE OneView server resource. HPE OneSphere references these labels, but does not write labels to the HPE OneView appliance.

NOTE:

You can define more than one zone for an appliance. However, each zone operates on mutually exclusive sets of servers. A server can only be reported against a single zone and a single project.

Use the following procedure to create an HPE OneView zone.

Prerequisites

The administrator:

Procedure
  1. From the HPE OneSphere main menu, select Providers.
  2. From the Providers screen, select Appliances.
  3. From the Appliances screen, click the appliance name and then click OneView Zones.
  4. From the OneView Zone screen, click the green plus icon  to create an HPE OneView Zone.
  5. Enter the name of the zone in the Zone Name field.
  6. Enter the zone label in the OneView Label field.
  7. Click Create Zone.

It may take up to 15 minutes for servers to be assigned to the new HPE OneView zone.

Updating and deleting an HPE OneView zone 

From the Update Zone screen, you can change, configure, or delete your HPE OneView zone.

Prerequisites
Procedure
  1. From the HPE OneSphere main menu, select Providers.
  2. From the Providers screen, select Appliances.
  3. From the Appliances screen, select the appliance and then click OneView Zones from the resulting screen.
  4. From the OneView Zone screen, click the name of the zone you want to update.
  5. Select the Update Zone link. This link is below the name of the zone.
  6. (Optional) In the Update Zone panel, enable the Customize Cost Model slider button.
  7. (Optional) Replace one or more default values (shown in gray) with the costs for your environment.

    The values you can update are:

    1. CPU (per core rate/hour)
    2. Memory (per GB rate/hour)
    3. Storage (per GB rate/hour)
  8. To delete the zone, click the trash icon  then confirm the deletion by clicking Yes, Delete Zone.

    This action detaches the HPE OneView zone from the appliance and deletes the zone from the HPE OneSphere portal.

    NOTE:

    Deleting a zone is not reversible.

Mapping HPE OneView appliance resources to HPE OneSphere projects 

Use the following procedure to map HPE OneView appliance resources to HPE OneSphere projects. HPE OneView Project mappings are specified per-appliance. A mapping allows HPE OneSphere to assign server resources and their associated CPU, memory, and storage costs to specific HPE OneSphere projects.

A project in HPE OneSphere can contain resources across multiple HPE OneView zones and resources from other provider types.

Prerequisites

The administrator:

Procedure
  1. From the HPE OneSphere main menu, select Providers.
  2. From the Providers screen, select Appliances.
  3. From the Appliances screen, click the appliance name and then click Project Mappings.
  4. From the Project Mappings screen, click Add Project Mapping or the green plus icon  to map HPE OneView resource to a project.
  5. Enter an HPE OneView project label in the OneView Label field. These labels are assigned to the server hardware resources in HPE OneView.
  6. Click the Select a Project drop-down list and select the project to map to the HPE OneView label. All existing projects are listed in the drop-down list.
  7. Click Create Mapping. It can take up to 15 minutes to map an appliance resource to HPE OneSphere projects.
     

Viewing appliance details 

For each appliance, you can view lists of the unallocated servers, total number of unallocated servers, and the server details. In addition, you can view the count of HPE OneView zones and project mappings.

Procedure
  1. From the HPE OneSphere main menu, select Providers.
  2. From the Providers screen, select Appliances.
  3. From the Appliances screen, click the appliance name for which you want to view appliance details and metrics of that appliance.
    • Unallocated Servers display the total number of servers that are not part of a zone.

    • OneView Zones display the total number of zones.

    • Project Mapping displays the total number of projects that are mapped to an appliance.

  4. From the selected Appliance screen, click Unallocated Servers to view the server details, total number of servers, and the status of the servers. To view more detailed information about the server, click the server name.
    The Server Details screen displays the name of server model, CPU model, memory usage, processor count, core count, and the power state of the server.
  5. From the selected Appliance screen, click OneView Zones, then the specific zone to view zone details.
  6. From the selected Appliance screen, click Project Mapping to see the total number of projects that are mapped to an appliance.

Viewing server summary of HPE OneView zone 

The OneView Zone screen displays a graphical presentation of CPU usage, number of servers, and number of processor cores across all servers in the zone. HPE OneSphere collects aggregated performance metrics for all servers within a zone, which helps you to know the effective use of the allocated resources.

Procedure
  1. From the HPE OneSphere main menu, select Providers.
  2. From the Providers screen, select Appliances.
  3. From the Appliances screen, click the appliance name for which you want to view appliance details and metrics (unallocated server, OneView Zones, and Project Mappings) of that appliance.
  4. From the selected Appliance screen, click OneView Zones to view zone details. A list of OneView Zone appears.
  5. Click the HPE OneView zone for which you want to view zone utilization details. The monthly, weekly, and daily graph provides the CPU utilization of servers in the zone that have a server profile applied in HPE OneView. The bar below the graph provides the count of servers. You can click the Server next the bar to display server details.

    You can click the information icon  to see a detailed explanation.

  6. From the selected OneView Zone screen, click n of m Servers to view the server details, total number of servers, and the status of the servers. To view more detailed information about the server, click the server name.

    The Server Details screen displays the name of server model, CPU model, memory usage, processor count, core count, and the power state of the server.