...
Hardware profiles are a convenient way of displaying CPU and RAM values that enable you to simplify the configuration of virtual machines VMs for your users. They also enable you to control available hardware configurations and to recommend suitable hardware configurations for virtual machine VM templates. In Abiquo 4.0.2+, 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 public clouds without hardware profiles and private cloud, you can create and fully manage hardware profiles in Abiquo.
- Some cloud providers may offer both hardware profiles and CPU and RAM
...
User perspective of hardware profiles
...
- .
...
For a cloud and tenant with hardware profiles enabled, when a user is creating a virtual machineVM, the user must select a hardware profile.
If there are Abiquo instance templates, then the user can select specific instance templates and their hardware profiles.
If a user’s enterprise does not have access to any active hardware profiles, the user cannot create virtual machines. If there are no valid active hardware profiles available for a virtual machine template, then users cannot deploy a virtual machine created from this template.
If the template is restricted to recommended hardware profiles, then only recommended profiles will display; otherwise, all profiles will display.
if the user has the privilege to Override virtual machine constraints, they can modify virtual machine CPU and RAM to values outside the maximum and minimum values defined in the template. This means that the user with the Override virtual machine constraints privilege can select a displayed hardware profile that is outside of the minimum and maximum values.
...
When you edit a virtual machine, Abiquo will display the hardware profile, as well as the CPU and RAM. If the virtual machine is not deployed, you can change the hardware profile at any time. If the virtual machine is deployed and you are not using hot-add of CPU and RAM, shut down the virtual machine before making changes.
Create a VApp spec with hardware profiles
When you create a VApp spec, Abiquo records the CPU and RAM, but not a specific hardware profile. When you create a virtual appliance from a spec, Abiquo creates a VM and assigns an appropriate hardware profile. In public clouds with native hardware profiles, if there is no hardware profile that matches the CPU and RAM values, Abiquo cannot create a hardware profile, so the user will have to select another one.
Hardware profiles in infrastructure
To manage Hardware profiles, go to Infrastructure, select a cloud location and check you are in Details view, then open the Hardware profiles tab.
In cloud providers with hardware profiles, you can synchronize existing profiles. In private cloud datacenters and in cloud providers that do not have native hardware profiles, you can create, edit and delete hardware profiles.
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.
Info |
---|
...
|
...
|
...
|
...
|
...
...
|
...
|
By default, for each enterprise with credentials, the hardware profiles mode is enabled. You cannot disable hardware profiles mode if the public cloud provider does not support CPU and RAM setting. By default, all hardware profiles are available to all enterprises. The Abiquo administrator can edit the list of profiles that is available to an enterprise in a public cloud region, and they can make recommendations for templates, if this is not done automatically as, for example, in AWS.
Create a hardware profile
You can create Abiquo hardware profiles in private cloud datacenters and for public clouds that do not have provider hardware profiles.
To create a hardware profile, open the datacenter or public cloud region to the Hardware profiles page, and click the + add button, and enter the details of the hardware profile.
Include Page | ||||
---|---|---|---|---|
|
Set prices for hardware profiles
Set prices for hardware profiles in pricing view on the Resources tab. See Pricing View#Hardware profiles
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:
...
For each template, the administrator can select or edit the hardware profiles to display as recommended. From Abiquo 4.0.2, as in private cloud, the administrator can optionally force the user to only work with recommended hardware profiles.
When a user creates a virtual machine they can select from the pulldown list of hardware profiles. Abiquo will highlight recommended profiles with “(recommended)”.
Create a hardware profile
To create a hardware profile, open the datacenter or public cloud region to the Hardware profiles page, and click the + add button, and enter the details of the hardware profile.
...
- If the provider does not support CPU and RAM as well as hardware profiles, 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, Abiquo records the CPU and RAM, but not a specific hardware profile. When you create a virtual appliance from a spec, Abiquo creates a VM and assigns an appropriate hardware profile.
Enable users to work with hardware profiles
After you have prepared hardware profiles, enable users work with them, as follows:
- Enable hardware profiles for your tenants and select allowed hardware profiles. See Manage Enterprises#Allowtenantstousehardwareprofiles
- This section also describes how to disable hardware profiles for a tenant
- Configure hardware profiles in your for VM templates. See Modify a Template for Hypervisor and and Modify a Template for Public Cloud
Stop users from working with a hardware profile
You can make an Abiquo hardware profile inactive at any time. This is useful because you For information about how to disable hardware profiles for a tenant, see Manage Enterprises#Allowtenantstousehardwareprofiles .
You cannot delete a hardware profile if it is used in use in a deployed virtual machine. Users cannot work with inactive hardware profiles and VM, but you can make an Abiquo hardware profile inactive at any time. Abiquo will not display them inactive hardware profiles to select as recommended profiles in templates or for use in virtual machinesVMs.
If a user already is already using a hardware profile on a virtual machine VM when you deactivate it, they can continue to use it until they delete their virtual machineVM. And in this case, the administrator can save the enterprise’s allowed datacenter with the inactive hardware profile selected. If the administrator deletes a hardware profile, it will be automatically removed from all enterprises. This means that an undeployed virtual machine VM could have no hardware profile and the user will need to select a new one before they deploy.
Activate a hardware profile again
You can activate a hardware profile again at any time. Also, Abiquo will automatically activate an existing hardware profile in preference to creating a new one when switching to hardware profile mode, capturing a virtual machine, or creating a virtual appliance from a spec.
Enable hardware profiles in tenants
To deploy with Abiquo hardware profiles, the tenant must have hardware profiles enabled in the datacenter. And they must have some allowed hardware profiles selected. See Manage Enterprises#Allowtenantstousehardwareprofiles
If a tenant enterprise already has virtual machines deployed when you enable hardware profiles, Abiquo will try to assign existing hardware profiles. If an existing profile is inactive, Abiquo will activate this profile and assign it. Otherwise, Abiquo will create a new hardware profile named ABQ_HP_{cpu}_{ram}_ID
Disable hardware profile mode
You can disable hardware profiles mode if the provider also supports CPU and RAM. When you disable it for an enterprise in a datacenter, the hardware profile details will simply “disappear” from virtual machines, and users will work with CPU and RAM values again. When editing the enterprise, however, the profiles that you made available are still marked, in case you decide to enable hardware profiles again.
If you enable hardware profile mode again, Abiquo enables hardware profiles like the first time you enabled hardware profiles. After re-enabling hardware profile mode, you should check templates and recommended hardware profiles.
Disable individual hardware profiles
To restrict enterprise access to a specific hardware profile, if the enterprise does not have any deployed virtual machines using it, you can edit the enterprise’s allowed datacenter and unselect the hardware profile in the available list.
You can also make Abiquo hardware profiles inactive in Infrastructure view, at any time and even if they are used in deployed virtual machines. See Stop users from working with a hardware profile
Capture VM when using hardware profiles
In private cloud, when you capture a virtual machine, Abiquo will try to assign an existing hardware profile to it. If the profile for the combination of CPU and RAM is inactive, Abiquo will activate this profile and assign it. Otherwise, Abiquo will create a new hardware profile named ABQ_HP_{cpu}_{ram}_ID.
Recommend hardware profiles for templates
For each virtual machine template, the administrator can recommend a set of hardware profiles, selecting from the active profiles that are available to the enterprise. See Modify a Template for Hypervisor and Modify a Template for Public Cloud
Restrict users to recommended hardware profiles
In Abiquo 4.0.2+ the administrator can select the option to Enable only recommended hardware profiles. This means that the platform will only display the recommended profiles and if there are no recommended profiles available, the user cannot deploy. When a user creates a virtual appliance from a spec, if the required hardware profile is not recommended, then none will be assigned and a deploy will fail. When synchronizing from public cloud, if the hardware profile is not recommended, then a deploy will fail.
Hardware profiles with template CPU and RAM limits
When using platform hardware profiles, the administrator can still set the minimum and maximum CPU and RAM for the template.
After the administrator saves the template with appropriate CPU and RAM limit values, Abiquo filters the display of hardware profiles to only show values in this range, unless the user has the privilege to Override virtual machine constraints. In this case, Abiquo will display all available profiles, or all recommended profiles.
Set prices for hardware profiles
From Abiquo 4.0.2, you can set prices for hardware profiles in private and public cloud. In Pricing view, the Resource prices tab has a new Hardware profiles page where you can enter prices.
See Pricing View#Hardware profilesVM, or creating a virtual appliance from a spec.