vCD Resource Pools

A vCloud Director 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 - a percentage of the resources you allocate from the provider virtual data center are committed to the organization virtual data center. You can specify the percentage for both CPU and memory.
  • Pay-As-You-Go - resources are committed only when users create vApps in the organization virtual data center.
  • Reservation Pool - all of the resources you allocate are immediately committed to the organization virtual data center.

You can view, create, edit and delete resource pools using OnApp Control Panel.

This functionality is available for users with the vCloud Organization Administrator role.



View Resource Pool



To view vCloud Director resource pools:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. The page that loads will show the list of resource pools with their details: 
    • Label - the name of the resource pool

    • Status - whether the resource pool is enabled or not. When a resource pool is disabled, the memory and compute resources of the resource pool are no longer available.

    • Type - the type of the resource pool: Allocation Pool, Pay-As-You-Go or Reservation Pool.

    • CPU (GHz)  - the used and total CPU reservations for the resource pool, in GHz.

    • Memory (GB)  - the used and total  memory reservations for the resource pool, in GB.

    • Actions - click the Actions button to delete the resource pool

To view vCloud Director resource pool details:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the label of a specific resource pool.
  3. The page that loads will show the following details of the resource pool: 
    • Label - the name of the resource pool. 

    • Owner - the user group to which this resource pool is assigned. Click the name to view the user group details.

    • Allocation Model -  the type of resource pool

    • VS Quota -  the quota of VSs

    • Network Quota - the quota of org networks that you can create in the resource pool 

    • Enabled - whether this resource pool is enabled or not

    • Fast Provisioning - whether the fast provisioning is enabled for this resource pool or not

    • Thin Provisioning  - whether the thin provisioning is enabled for this resource pool  or not

    • CPU -  the amount of Allocated CPU,  Reserved CPU, Used CPU and percentage of guaranteed CPU

    • vCPU Speed - the speed of vCPU ( in MHz)

    • Memory -  the amount of Allocated Memory, Reserved Memory, Used Memory and percentage of guaranteed Memory

    • Data Stores - the list data stores within the resource pool. The following parameters are displayed for each of the data stores: label, disk usage, disk capacity, whether the data store is enabled or not. You can edit/delete the existing data stores.


Create Resource Pool



To create a vCloud Director resource pool:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the + button.
  3. On the screen that appears, fill in the resource pool creation form:
    • Label - specify a name for the resource pool
    • User group - choose the user group to which this resource pool will be assigned
    • Provider vdc - choose the provider resource pool from the drop-down list

      Ensure that Provider resource pools permissions are on.

    • Allocation Model - choose the type of resource pool. Depending on the type selected, the compute resource options will differ:

      Compute resources

                Pay-As-You-Go
      • Guaranteed CPU - specify the amount of guaranteed CPU allocation (%)
      • Guaranteed memory - specify the amount of guaranteed memory allocation (%)
      • CPU limit- specify the maximum amount of CPU (in GHz) that can be requested (or tick the check box below to set CPU limit to unlimited)
      • vCPU Speed - specify the vCPU speed that can be consumed after the resource pool is created (in MHz)
      • Memory limit - specify the maximum amount of memory (in GB) which can be used (or tick the check box  below to set Memory limit to unlimited)
      • VS Quota - specify the number of VSs that can be created after the resource pool is deployed (or tick the check box below to set VS quota to unlimited)

      • Network Quota - enter the number of org networks that can be created after the resource pool is deployed

        • CPU limit is equal to CPU quota in a bucket ( memory limit - to memory quota respectively).
        • Min/max amounts of CPU and memory quotas in the bucket influence boundaries, within which you can set CPU and memory limits.
        • If min/max amounts of CPU and memory quotas are set to unlimited in the bucket, you can set unlimited CPU and memory limits by ticking the check box. Otherwise unlimited option will not be available.



        AllocationPool

      • CPU allocated - specify the amount of CPU resources (GHz) that will be allocated after the resource pool is created
      • Guaranteed CPU - specify the amount of guaranteed CPU allocation (%)
      • Memory allocated - specify the amount of memory (in GB) allocated to this resource pool
      • Guaranteed memory - specify the amount of guaranteed memory allocation (%)
      • VS Quota - specify the number of VSs that can be created after the resource pool is deployed (or tick the check box  below to set VS quota to unlimited)
      • Network Quota - enter the number of org networks that can be created after the resource pool is deployed

        ReservationPool
      • CPU allocated - specify the amount of CPU resources (GHz) that will be allocated after the resource pool is created
      • Memory allocated - specify the amount of memory (in GB) allocated to this resource pool
      • VS Quota - specify the number of VSs that can be created after the resource pool is deployed (or tick the check box  below to set VS quota to unlimited)
      • Network Quota - enter the number of org networks that can be created after the resource pool is deployed

      Network Options

      • Default network pool - choose the default network pool from the drop-down list. This network pool is used when adding isolated and routed networks to the resource pool. If there is no network pool associated with a resource pool, you will not be able to add isolated and routed networks to the resource pool.

      Datastore Options

      • Thin Provisioning - move the slider to the right to enable thin provisioning for this resource pool
      • Fast Provisioning - move the slider to the right to enable fast provisioning for this resource pool
      • Data Store Zone - choose the data store zone which is a provider's storage policy in vCloud Director from the drop-down list. The selection will be limited by the company plan's resources.
      • Capacity - the size of the data store that will be created. The capacity range depends on the company plan's limits. For the Pay-As-You-Go resource pools, you can select the Unlimited () checkbox. After you create a resource pool, a new data store (storage policy) will be automatically created with the capacity set during resource pool creation in the selected data store zone.

  4. Click the Submit button.


Edit Resource Pool



To edit a vCloud Director resource pool:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the Actions button next to the resource pool you want to edit, then click Edit. 
  3. On the screen that appears, edit the necessary parameters depending on the resource pool type:
    • Label - specify a name for the resource pool

      Compute resources

                AllocationVApp (Pay-As-You-Go)
      • Guaranteed CPU - specify the amount of guaranteed CPU allocation (%)
      • Guaranteed memory - specify the amount of guaranteed memory allocation (%)
      • CPU limit- specify the maximum amount of CPU (in GHz) that can be requested (or tick the check box below to set CPU limit to unlimited)
      • vCPU Speed - specify the vCPU speed that can be consumed after the resource pool is created (in MHz)
      • Memory limit - specify the maximum amount of memory (in GB) which can be used (or tick the check box  below to set Memory limit to unlimited)
      • VS Quota- specify the number of VSs that can be created after the resource pool is deployed (or tick the check box  below to set VS quota to unlimited)
      • Network Quota - enter the number of org networks that can be created in the resource pool 

        AllocationPool
      • CPU allocated - specify the amount of CPU resources (GHz) that will be allocated after the resource pool is created
      • Guaranteed CPU - specify the amount of guaranteed CPU allocation (%)
      • Memory allocated - specify the amount of memory (in GB) allocated to this resource pool
      • Guaranteed memory - specify the amount of guaranteed memory allocation (%)
      • VS Quota - specify the number of VSs that can be created after the resource pool is deployed (or tick the check box  below to set VS quota to unlimited)
      • Network Quota - enter the number of org networks that can be created in the resource pool 

        ReservationPool
      • CPU allocated - specify the amount of CPU resources (GHz) that will be allocated after the resource pool is created
      • Memory allocated - specify the amount of memory (in GB) allocated to this resource pool
      • VS Quota - specify the number of VSs that can be created after the resource pool is deployed (or tick the check box  below to set VS quota to unlimited)
      • Network Quota - enter the number of org networks that can be created in the resource pool 

      Network Options
      • Default network pool - choose the network pool from the drop-down list. This network pool is used when adding isolated and routed networks to the resource pool. If there is no network pool associated with a resource pool, you will not be able to add isolated and routed networks to the resource pool.

      Datastore Options
      • Thin Provisioning - move the slider to the right to enable thin provisioning for this resource pool
      • Fast Provisioning - move the slider to the right to enable fast provisioning for this resource pool

  4. Click the Submit button.



Delete vCloud Director Resource Pool



You can delete a resource pool that contains no vApps, Org Networks, or catalogs with templates. To delete a vCloud Director resource pool:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the Actions button next to the resource pool you want to delete and click Delete.
  3. Click OK to confirm the deletion.



Resource Pool Data Stores


You can add new data stores and edit or delete existing data stores from the resource pool overview page at Control PanelCloud > Resource Pools > Label. For more information refer to Storage Policies.


Add Resource Pool Data Stores



To add a data store to a resource pool:

  1. Go to your Control Panel > Cloud > Resource Pools menu to overview all resource pools in the cloud.
  2. Click a label of a resource pool to which you want to add a new data store.
  3. On the resource pool overview page, click the + button in the Data Stores section.
  4. Fill in the form that appears:
    • Data Store Zone - select the data store zone in which the data store will be created
    • Enabled - select the option to enable the data store. By default, all the newly created data stores are enabled. 
    • Make default - select the option to make the data store a default one. You cannot delete or disable a default data store. 
    • Disk Capacity - move the slider to specify the size of the data store. For the Pay-As-You-Go resource pools, you can select the Unlimited () checkbox.

  5. Click the Submit button to add the data store.


Edit Resource Pool Data Stores



To edit a resource pool data store:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click a label of the required resource pool.
  3. In the Data Stores section, click the Actions button next to the data store you want to update and select Edit.
  4. Update the required fields in the form that appears:
    • Enabled - move the slider to select whether the data store should be enabled or not
    • Make default - select the option to make the data store a default one. You cannot delete or disable a default data store. 
    • Disk Capacity - move the slider to specify the size of the data store. For the Pay-As-You-Go resource pools, you can select the Unlimited () checkbox.
  5. Click the Submit button to save the changes.


Delete Resource Pool Data Stores



To delete a resource pool data store:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the label of the required resource pool.
  3. In the data stores section, click the Actions button next to the data store you want to remove and select Delete.

Resource Pool Billing Statistics



Bucket statistics about used vCloud Director resources is gathered from vCloud Director resource pools. Two types of vCloud Director resource pools are used for billing statistics - reservation and allocation pools. The bucket for these vCloud Director resource pool types will include charging for the block of resources (CPU, RAM, storage, & network etc.) assigned to your user group. 

Statistics are not collected on a resource pool if the compute zone is not added to the bucket.

View and generate statistics 



To view vCloud Director resource pool billing statistics:

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the label of a specific resource pool.
  3. Click the Billing Statistics tab.
  4. The page that loads will show the following details of the billing statistics:

    • Date - particular date and time for the generated statistics

    • User Group - the label of user group, to which the bucket is assigned. Click the user group name to see its details.

    • Resource Pool - the resource pool name with the total due for vCloud Director resources for the point of time specified in the Date column.
    • Network Usage - the network name with the total due for vCloud Director resources for the point of time specified in the Date column.
    • Storage Policy Usage - the storage policy name with the total due for vCloud Director resources for the point of time specified in the Date column.
    • Costs - the total due for the Resource Pools and Storage Policy Usage at the point of time specified in the Date column.
    • Total Amount - the total due for all Resource Pools and Storage Policy Usage for a given period of time. 

To generate statistics for a particular time period:

The statistics for the selected period might be missing if the resource pool didn't exist, or statistics archiving was turned on. For information on statistics archiving, refer to the Archive Statistics section below.

  1. Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the label of a specific resource pool.
  3. Click the Billing Statistics tab.
  4. At the top of the table set Start and End time for which you want to generate the billing statistics.
  5. Tick the Show in my timezone checkbox if you want to  show billing statistics according to your profile's timezone settings.
  6. Click Apply.

Also you can customize resource pool statistics period using the following configuration in on_app.yml file:

vdc_stats_delay: <period in second>


 Archive statistics



If required, you can turn on resource pool statistics archiving. If this feature is enabled, hourly statistics will be converted into monthly and then stored as an archive.

To configure statistics archiving:

  1. Go to your Control Panel > Admin > Settings menu, and click the Configuration icon.

  2. Click the System tab.

  3. Configure the following settings in the Statistics Management section:

    • Enable hourly statistics archiving - move the slider to the right to switch on archiving for hourly statistics. If enabled, hourly statistics will be converted into monthly and stored as archive for all the period that exceeds the time specified in the Time of hourly statistics storage (months) parameter below. 
    • Time of hourly statistics storage (months) - this parameter configures how long you want the detailed hourly statistics to be stored in database before being converted into monthly statistics. For example, if you set this parameter to 10, the hourly statistics will be stored for the last 10 months. And everything older than 10 months will be sent to archive (that is converted into monthly statistics). If this parameter is set as 1, then you can view the detailed hourly statistics for the current month only. Set this parameter at least as 2 to keep the statistics for the previous month available.

  4. Click the Save Configuration button to finish. Saving the configuration will restart OnApp services.


Manage Firewalls


Firewalls are used to route VS networking traffic in and out of OnApp. Because all customer VSs are running inside the network, firewalls are required as the VS gateway.

To manage firewall rules:

  1. Go to Control Panel > Cloud > Resource Pools menu.
  2. Click the label of the resource pool.
  3. Click the Manage Firewall tab.

You will be redirected to the vCloud to the manage firewall for the vCD page.