To add a vCenter compute resource to OnApp:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Click + button or Add New Compute Resource underneath the list of compute resources.
  4. On the screen that appears:
    • Label - enter a compute resource label
    • Compute Resource Type - select the vcenter compute resource type
    • Operating System Type - select the operating system type of the virtual servers that can live on this compute resource:
      • Any OS - when this option is selected, any VS with any operating system will live on compute resource. By default, each compute resource will be created with the Any OS option. The existing compute resources also will have the Any OS set.

      • Windows only - when this option is selected, only VSs with the operating system Windows will be living on this compute resource. This compute resource will not be available for selection when creating a Linux or FreeBSD VS, nor when migrating a VS.
      • Non-Windows - when this option is selected, only VSs with the operating system Linux or FreeBSD will be possible to create on this compute resource. This compute resource will be skipped for Windows-based VSs in VS creation wizard, or when migrating a VS. Also when failover happens, Windows-based VSs won’t migrate to this compute resource.
    • CPU Units - adjust the slider to set the desired amount of CPU units for this compute resource
    • Enabled - whether the compute resource is enabled or not (compute resources that are not enabled cannot be used to host VSs)
    • Collect Stats - move the slider to the right to collect statistics for this compute resource
    • Compute Zone - the compute zone to which the compute resource is assigned
    • API URL - set the vCenter API URL - e.g. example.com
    • Login - specify the vCenter login
    • Password - specify the vCenter password

  5. Click Save. The compute resource will be added to the system. You can view it under the Compute Resources The transaction will be launched to import all networks and data stores.
  6. If you want to rerun the transaction that imports all networks and data stores, go to Admin > Settings > Compute Resources > vCenter compute resource's label > Tools > Import from vCenter.
  • The vCenter networks are imported into one network zone and you can move them to different zones.
  • In one network zone, you can have networks that are assigned to vCenter and networks that are assigned to Xen/KVM compute resources. 

7. Go to Admin > Settings > Compute Zones and create a compute zone.
8. Attach the vCenter compute resource to the compute zone by selecting the resource from the list of unassigned compute resources. 

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Zones icon.
  3. Click the vCenter compute zone's label that you want to attach a compute resource to.
  4. In the Unassigned Compute Resources list, find the compute resource that you want to attach to the compute zone, and then click the Actions button next to it.
  5. Click Add
  • The vCenter compute resource cannot be assigned to a compute zone if this zone already has any compute resources and attached networks.
  • The compute resource that does not belong to vCenter cannot be assigned to a compute zone if this compute zone has vCenter compute resource and attached networks.

  • After adding/deleting vCenter compute resource you need to restart OnApp service on the Control Panel for the correct resources synchronization.