Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 4.6

Skip to end of metadata
Go to start of metadata


Hardware profiles are a convenient way of displaying CPU and RAM values that enable you to simplify the configuration of VMs for your users. They also enable you to control available hardware configurations and to recommend suitable hardware configurations for VM templates. And you can restrict users to a set of recommended configurations for a template.
  • For public clouds with provider hardware profiles, you can synchronize and manage the provider's profiles in Abiquo. 
  • For private cloud datacenters and public clouds without native hardware profiles, you can create and fully manage hardware profiles in Abiquo. 
  • Some cloud providers may offer both hardware profiles and CPU and RAM.

For a cloud and tenant with hardware profiles enabled, when a user is creating a VM, the user must select a hardware profile. 

In private cloud, the hardware profile can be dynamic for CPU and/or RAM, which means that the user can enter these values. Users can also enter cores per socket.

To display hardware profiles, go to:

  • Infrastructure → Public → select provider region → Servers view → Hardware profiles 
  • Infrastructure → Private → select Datacenter → Servers view → Hardware profiles


Manage hardware profiles with the API

API Documentation

For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource HardwareProfilesDatacenterResource.

Synchronize hardware profiles with a provider

In public cloud providers with hardware profiles, when you create a public cloud region and add credentials for an enterprise, Abiquo will automatically retrieve the hardware profiles for the public cloud region.
  • Provider hardware profiles are locked, which means that you cannot edit them
  • In public cloud regions with provider hardware profiles that also support CPU and RAM, you can deactivate hardware profiles mode.

 

To synchronize hardware profiles:

Privilege: Access infrastructure view and PCRs, View public cloud region details, Manage enterprises

  1. Go to Infrastructure → Public → select Public cloud region → Servers view → Hardware profiles
  2. Click the round arrows refresh button

By default, for each enterprise with credentials, the hardware profiles mode is enabled. By default, all hardware profiles are available to all enterprises. 

Create a hardware profile

You can create Abiquo hardware profiles in private cloud datacenters and for public cloud providers that do not have provider hardware profiles, such as vCloud Director clouds.

Privilege: Access infrastructure view and private DCs, View datacenter details, Manage datacenter infrastructure elements

To create a hardware profile:

  1. Go to Infrastructure → select a cloud location →  Hardware profiles
  2. Click the + add button
  3. Enter the details of the hardware profile
  4. Click Save

Field

Value

Name

Enter a unique name for the hardware profile. Identify it to users who will select it for their VMs.

CPU

The number of virtual CPUs to assign to VMs using this hardware profile. The combination of CPU and RAM must be unique in the datacenter. For dynamic hardware profiles this is the default value.

Cores per socketThe number of cores per socket to use for supported hypervisors such as VMware. The number of CPUs must be divisible by this value. For dynamic hardware profiles this is the default value.

RAM

The amount of virtual RAM to assign to VMs using this hardware profile. The combination of CPU and RAM must be unique in the datacenter. Select RAM units of MB, GB or TB. For dynamic hardware profiles, this is the default value.

DynamicTo allow the user to enter CPU and/or RAM values, select the Dynamic option/s. Pricing and billing of dynamic hardware profiles will include cost codes, and CPU and RAM usage pricing.
Cost codeFor pricing and billing, select a cost code for the hardware profile. See Pricing View#Create a new cost code

Active

Select this checkbox to activate or deactivate the hardware profile

Troubleshooting

  • The platform will only display active hardware profiles to make available to an enterprise but inactive hardware profiles may be shown if they were previously selected when active.
  • The platform will only display active hardware profiles for selecting the recommended profiles for a template.
  • Users can only work with active hardware profiles.

Set prices for hardware profiles

To set prices for hardware profiles using cost codes:

  1. Create cost codes, see Pricing View#Manage cost codes
  2. Set cost code prices, see  Pricing View#Create a new pricing model

To set prices for individual hardware profiles in each datacenter, see Pricing View#Create a new pricing model

For dynamic hardware profiles, the platform will also use the prices for CPU and RAM.

To onboard and synchronize prices from public cloud, see Synchronize public cloud price lists 

Enable users to work with hardware profiles

After you have prepared hardware profiles, do the following steps:

  1. Enable hardware profiles for your tenants and select allowed hardware profiles. See Configure an Enterprise in a Cloud Location#Allowatenanttousehardwareprofiles.
  2. Configure hardware profiles for VM templates. See Modify a VM Template#Advancedtab

Automatic management of hardware profiles

The platform will automatically manage hardware profiles as follows:

  • Provider hardware profiles
    • If you synchronize a public cloud region and a VM has a hardware profile that is not allowed for the enterprise, the platform will automatically allow the hardware profile
    • For AWS, Abiquo recommends hardware profiles based on information supplied by AWS in the following table, which was loaded into the platform at the time this feature was developed:  http://aws.amazon.com/amazon-linux-ami/instance-type-matrix/
    • If the provider does not support CPU and RAM as well as hardware profiles, and if there is no hardware profile that matches the CPU and RAM values, the platform cannot create a hardware profile, so the user will have to select another one
  • Abiquo hardware profiles
    • If a tenant enterprise already has VMs deployed when you enable hardware profiles, the platform will try to assign existing hardware profiles. If an existing profile is inactive, the platform will activate this profile and assign it. Otherwise, the platform will create a new hardware profile named ABQ_HP_{cpu}_{ram}_ID.
    • If you capture a VM, the platform will behave as for VMs that were already deployed when you enabled hardware profiles.
  • VApp specs
    • When you create a VApp spec, the platform records the CPU and RAM, but not a specific hardware profile. When you create a virtual appliance from a spec, The platform creates a VM and assigns an appropriate hardware profile.

Prevent users from working with a hardware profile

For a tenant, to disable hardware profiles mode or a specific hardware profile that is not in use in deployed VMs, see Manage Enterprises#Allowtenantstousehardwareprofiles

In a datacenter, but you can deactivate a private cloud hardware profile at any time. The platform will not display inactive hardware profiles to select as recommended profiles in templates or for use in VMs. If a user already is already using a hardware profile on a VM when you deactivate it, they can continue to use it until they delete their VM. In this case, the administrator can save the enterprise’s allowed datacenter with the inactive hardware profile selected

You can activate a hardware profile again at any time. Also, the platform will automatically activate an existing hardware profile in preference to creating a new one when switching to hardware profile mode, capturing a VM, or creating a virtual appliance from a spec.

  • You cannot delete a hardware profile if it is used in a deployed VM
  • If the administrator deletes a hardware profile, it will be automatically removed from all enterprises.  This means that an undeployed VM could have no hardware profile and the user will need to select a new one before they deploy.


Related pages