OnApp has developed a new integration between the OnApp Infrastructure-as-a-Service platform and VMware vCloud Director. Starting with OnApp 4.2 you can import multiple vCDs into OnApp. The new integration enables existing vCloud Director installations to use the OnApp CP as their front-end UI. With the new integration, OnApp:
- Provide new UI options for vCloud Director users (VS monitoring)
- Expand vCloud Director capabilities with integrated buckets
OnApp CP and the vCloud Director are synchronized on a daily basis to update the data.
On this page:
- Control Panel with vCloud Director integration should have at least 3 onapp instances (vcloud L1, vcloud L2 and another one).
- Currently OnApp supports only default vCD roles. These roles are mapped using the label, therefore, please do not change the labels of the default user roles in vCloud Director. Users with custom roles are not imported into OnApp.
Below you can find the compatibility matrix for vCloud Director and OnApp versions.
|Versions||vCD 8.20||vCD 9.0||vCD 9.1||vCD 9.5||vCD 9.7|
* vCloud Director 9.0 is available for OnApp 5.5 starting with the 5.5.0-75 update.
** vCloud Director 9.1 is available for OnApp 5.5 starting with the 5.5.0-87 update.
*** vCloud Director 9.5 is available for OnApp 6.0 starting with the 6.0.0-122 update.
****vCloud Director 9.7 is available for OnApp 6.0 starting with the 6.0.0-196 update.
OnApp and vCloud Director connection is supported with RabbitMQ. To integrate OnApp with the vCloud Director, you must specify RabbitMQ credentials both on the OnApp CP and the vCloud Director (in beta version, RabbitMQ will be delivered with the OnApp RPMs. RabbitMQ will be synchronizing OnApp and the vCloud Director: it will get the list of actions happen in the vCD and report it to the CP).
After that, add the vCloud Director instance as an OnApp compute resource (vcloud type) and specify the vCloud Director URL and vCloud Director system admin credentials. After that, all the existing vCloud Director resources will be shown in OnApp.
Starting with OnApp 5.5 version, vCloud administrator is imported into OnApp as "System owner" together with VSs and vApps, which belong to this user. "System owner" user can not be edited in OnApp, but cloud administrator has a possibility to reassign "System owner"'s VSs or vApps to other owners.
At the moment, importing a vCloud Director into OnApp includes the following components:
vCloud Director instance (as an OnApp compute resource)
Organizations (added as OnApp user groups)
- Networks (organization vDC networks, external networks and vApp networks)
- Storage policies
Users and their roles (except system administrators)
The import of other vCloud Director components into OnApp is scheduled for the following releases.
When importing vCD resources you can choose whether you wish your users to be associated with one or several vCloud Director instances. If you wish your users to have access to multiple vCloud Director instances, you can set up several organizations from different vCD instances to be associated in OnApp with a single user groups and have access to resources across multiple vCD instances. There the following two variants of importing vCD into OnApp:
- single vCloud Director mode - all resources are imported from the vCD instance. Each organization is imported as a separate user group which can be associated with one vCD instance.
- multiple vCloud director mode - only system level entities are imported (provider VDCs, external networks, etc.). Organizations are imported but are empty, i.e. do not contain resources and users. After the initial import you can select which organization you wish to import and associate with a certain user group. Users imported in this mode can be configured to have access to multiple vCD instances.
If in vCD you delete a user from a user group with which several organizations from different vCDs are associated, the user will be removed but will be recreated after the synchronization. The reason is that the user exists in all organizations within one user group. If you delete such users in OnApp, they are removed from all organizations in the user group.
vCloud Director Instance
Virtual servers, built on a guest operating system, can be used to install and run software compatible with that operation system.
VSs between vCloud Director and vCenter are mapped using MoRef ID.
vApp consists of one or more virtual servers that communicate over a network and use resources and services in a deployed environment.
A vApp template is a virtual server image that is loaded with an operating system, applications, and data. VApp templates are added to catalogs.
A catalog is a container for vApp templates and media files. You can view the list of catalogs at OnApp Control Panel > Cloud > Catalogs menu of your OnApp Cloud.
Edge Gateway is a virtual router for organization vDC (virtualDataCenter) networks. You can view the list of edge gateways (together with firewall rules, NAT rules and VPN service) at OnApp Control Panel > Cloud > Edge Gateways menu of your OnApp Cloud.
vCloud Director Resource Pools
Resource pool is an allocation model which determines how and when the provider virtual data center compute and memory resources are committed to the organization virtual data center. There are three types of resource pools:
- Allocation Pool
- Reservation Pool
Orchestration models enable you to provide your customers with a ready environment which they can use to deploy virtual servers.
vCD Organizations are associated with OnApp user groups. You can view individual organizations at Control Panel > Cloud > Organizations or the user groups the organizations are associated with at Control Panel > Cloud > Groups. If several organizations are associated with one user group, the users from each organization will be created in the other organizations in the group. In this case the users in the user group will have access to multiple vCD instances.
A bucket is a set of limits and prices for the resources used by vCloud Director organizations imported as user groups into OnApp.
External, organization and vApp network types, as well as network pools, are imported into OnApp as networks and network zones of the VPC type. Below are the details on how different vCD networks are imported:
Each network pool is imported into OnApp as two network zones:
- Isolated network zone - this zone contains isolated organization and vApp networks imported from vCloud Director.
- Routed network zone - this zone contains routed organization and vApp networks imported from vCloud Director.
External networks are imported both as a network zone and as a network within that zone. Importing external networks as network zones enables administrators to configure billing for external network usage.
Organization networks are imported into OnApp as Org networks and are associated with a network zone. Depending on the type of the organization network, it will be associated with a certain zone.
- Routed organization networks are associated with their network pool imported as a routed network zone.
- Isolated organization networks are associated with their network pool imported as an isolated network zone.
- Direct organization networks are associated with their external network imported as a network zone.
vApp networks are imported into OnApp as networks and are associated with a network zone. Depending on the type of the vApp network, it will be associated with a certain zone.
- Routed vApp networks are associated with their network pool imported as a routed network zone.
- Isolated vApp networks are associated with their network pool imported as an isolated network zone.
- Direct vApp networks are associated with their parent organization network and are assigned to the network zone to which their parent networks are assigned. So depending on the parent network, they can be imported to Isolated, Routed, or External network zone.
Provider storage policies are imported to OnApp as data store zones of the VPC type. Storage policies appear in the OnApp UI as data stores. You can select them during vApp creation. To view storage policies and the list of disks and VSs associated with them, go to the Admin > Settings > Data Stores menu.
Users are imported with their existing roles. These roles are mapped using the label. OnApp imports the username and creates that user in OnApp. From that point forward, changes to the user should be made inside OnApp. OnApp will generate a random password for each imported user. The user will be emailed with the instructions to change this password to be able to log into OnApp. After the log in, user will be asked to confirm the vCloud Director password.
Also, vCloud users can log in using SAML authentication. The process is the same as for usual OnApp users.
OnApp supports predefined and custom user roles imported from vCloud Director. The custom roles are associated with the user group in which the organization that includes the role resides. Custom vCD roles in OnApp have the following appearance: User Group Label-vCD Role Label. You can view the organization with which the role is associated at Control Panel > Cloud > Roles > Label in the Assigned Organizations field.
If a custom user role exists in several organizations that are under different user groups in OnApp, for each of the user groups this role is created separately. In this case there will be several separate roles with the label of the user group they reside in and the name of the vCD custom role.
Custom roles are not synchronized between the organizations in a user group, therefore, you will be required to add the same custom role in vCD for all organizations in a user group. Additionally, the permissions list is not updated in OnApp for custom roles imported from vCD.