Abiquo v4.0 introduces hardware profiles in private cloud cloud. Hardware profiles are a convenient way of displaying CPU and RAM values that enable you to simplify the configuration of virtual machines and create an abstraction of performance levels from CPU and RAM specifications, facilitating upgrades.Infrastructure viewfor your users. They also enable you to control available hardware configurations and to recommend suitable hardware configurations for virtual machine templates.
Hardware profiles in infrastructure
There is a new tab in Infrastructure view called Hardware Profiles. This tab is available displayed in both private cloud datacenters and public cloud regions (but with different functionality).
To create a hardware profile for a datacenter, you must supply a unique name, and a unique combination of CPU and RAM.
You can create each hardware profile as active or inactive. Inactive profiles will not display in templates or virtual machines. Administrators can recommend active profiles for templates. Users can work with active profiles to create virtual machines.
You can edit all attributes of a hardware profile. The administrator cannot delete a hardware profile if it is in use in a deployed virtual machine. However, the administrator can make the hardware profile inactive. Administrators can activate or deactivate a profile at any time.
Public Cloud
Create a public cloud region and add credentials for an enterprise. Abiquo will automatically retrieve hardware profiles for the public cloud region and enable them by default.
Public cloud hardware profiles can have the same combinations of CPU and RAM, they do not have to be unique.
Enterprise
When editing a tenant, for each allowed datacenter, the administrator enables hardware profile mode, and selects the active hardware profiles that will be available to the tenant.
For public cloud providers that use hardware profiles, by default Abiquo enables hardware profiles mode and selects all hardware profiles to make them available. You cannot disable hardware profiles mode if the public cloud provider does not support CPU and RAM settings. The Abiquo administrator can select if hardware profiles will be available to the enterprise or not.
Working with hardware profiles
Abiquo only displays active hardware
How do I enable hardware profile mode?
You can enable hardware profile mode for each enterprise in each allowed datacenter and at the same time, you can select the hardware profiles that will be available to the enterprise. If you don’t make any hardware profiles available to a tenant, then the tenant’s users will not be able to deploy virtual machines.
What if the tenant already has virtual machines deployed when I enable hardware profiles?
Abiquo will try to assign existing hardware profiles to virtual machines that are deployed when you enable hardware profiles mode. If the profile for a certain 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.
How do I recommend hardware profiles for virtual machine 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 in the location.
Editing templates
On the Advanced tab, from the list of active and available hardware profiles, the administrator can select recommended hardware profiles for a template. The following screenshot shows how the administrator recommends two profiles.
Note that in hardware profiles mode, the CPU and RAM values are not displayed on the General information tab. The administrator can set . Abiquo will display “(recommended)” after these profile names when users create a virtual machine from a template.
How do hardware profiles interact with template CPU and RAM limits?
The administrator can still set the minimum and maximum CPU and RAM for the template. However, if there are recommended hardware profiles outside these limits, the platform will display an error and the administrator will not be able to save the templatemark the out-of-range values in red.
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.
If the administrator further restricts minimum or maximum CPU and RAM, then a conflict may arise with hardware profile(s) that the administrator must resolve.
Virtual machines
The user can create a virtual machine and select the hardware profile (as in Abiquo public cloud).How do users work with hardware profiles?
When creating a virtual machine, 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 there are no
If a user’s enterprise does not have access to any active hardware profiles, you the user cannot create a virtual machinemachines. If there are no valid active hardware profiles available for a virtual machine template, then you users cannot deploy a virtual machine created from this template.
Edit When can I change the hardware profile assigned to my virtual machine?
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 for of CPU and RAM, shut down the virtual machine before making changes.
How do hardware profiles work with VApp specs?
When you create a VApp spec, Abiquo records the CPU and RAM, but not a specific hardware profile is used in a deployed virtual machine, then the administrator cannot modify the hardware profile. However, the administrator can deactivate it.
After a hardware profile has been deactivated, the user can continue to work with it until they delete the virtual machine.
Enabling hardware profiles
When you enable hardware profile mode, Abiquo automatically creates one hardware profile for each combination of CPU and RAM. And assigns the hardware profiles to the virtual machines.
If a virtual machine matches a disabled profile, Abiquo will enable that profile instead of adding a new one.
VApp Specs
When you create a 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 virtual machine with a hardware profile, either reusing an existing one or creating a new one. Because Abiquo cannot create a new
Capture
When you capture a virtual machine, Abiquo will resuse an existing hardware profile or create a new one.
. When you create a virtual appliance from a spec, Abiquo creates a VM and assigns an appropriate hardware profile. In public cloud, 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.
How do hardware profiles work when I capture a virtual machine?
When you capture a virtual machine, Abiquo will create a hardware profile for it, or reuse an existing hardware profile, treating the virtual machine similarly to one that was already deployed when hardware profiles were enabled, as described above.
What happens if I disable hardware profile mode?
If you disable hardware profile mode 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.
What happens if I enable hardware profile mode again?
Abiquo assigns hardware profiles again, as for the first time you enabled hardware profiles. After re-enabling hardware profile mode, you should check templates and recommended hardware profiles.
How can I restrict enterprise access to a hardware profile?
If the enterprise does not have any deployed virtual machines using the hardware profile, you can edit the enterprise’s allowed datacenter and unselecting the hardware profile in the available list.
How can I stop all users from working with a hardware profile?
You can make a hardware profile inactive at any time. This is useful because you cannot delete a hardware profile if it is in use in a deployed virtual machine. Users cannot work with inactive hardware profiles and Abiquo will not display them to select as recommended profiles in templates or for use in virtual machines.
If a user already is already using a hardware profile on a virtual machine when you deactivate it, they can continue to use it until they delete their virtual machine. 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 could have no hardware profile and the user will need to select a new one before they deploy.
Can I activate a hardware profile again?
Yes, 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.
Changes to hardware profiles in public cloud
In public cloud, 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. You can synchronize hardware profiles but you cannot edit them or make them inactive. In public cloud hardware profiles, the combinations of CPU and RAM do not have to be unique. Some cloud providers may use CPU and RAM instead of hardware profiles, for example, vCloud Director, and some providers may use both.
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, and they can make recommendations for templates, if this is not done automatically, e.g. in AWS.
How does Abiquo manage the upgrade with hardware profiles?
In previous versions, the administrator could use Abiquo properties to define a whitelist of hardware profiles, and only whitelisted profiles were created in the Abiquo database. Abiquo 4.0 will ignore the whitelist properties, but during the upgrade, Abiquo will obtain the whitelisted hardware profiles from the Abiquo database and create them in infrastructure. Abiquo will then make them available to all enterprises with credentials for the public cloud region.
When the Administrator synchronizes hardware profiles in Infrastructure view, all hardware profiles will be obtained from the cloud provider and created as active profiles in Abiquo, including profiles that were not previously whitelisted. The administrator can then control the profiles that are available to each enterprise.
For AWS, Abiquo has defined some suggested profiles based on information supplied by AWS in the following table, which was loaded into Abiquo at the time this feature was developed:
http://aws.amazon.com/amazon-linux-ami/instance-type-matrix/
The predefined profiles to be shown as recommended can be selected (or for AWS, edited) by the administrator.
When a user deploys a virtual machine they can select from the pulldown list of hardware profiles which will highlight recommended profiles with “(Recommended)”.