Citrix Systems 4.2 manual Setting Usage Limits

Models: 4.2

1 272
Download 272 pages 63.23 Kb
Page 153
Image 153

Setting Usage Limits

enable.usage.server = true

usage.execution.timezone = America/New_York

usage.stats.job.exec.time = 07:00. This will run the Usage job at 2:00 AM EST. Note that this will shift by an hour as the East Coast of the U.S. enters and exits Daylight Savings Time.

usage.stats.job.aggregation.range = 1440

With this configuration, the Usage job will run every night at 2 AM EST and will process records for the previous day’s midnight-midnight as defined by the EST (America/New_York) time zone.

Note

Because the special value 1440 has been used for usage.stats.job.aggregation.range, the Usage Server will ignore the data between midnight and 2 AM. That data will be included in the next day's run.

15.2. Setting Usage Limits

CloudPlatform provides several administrator control points for capping resource usage by users. Some of these limits are global configuration parameters. Others are applied at the ROOT domain and may be overridden on a per-account basis.

Aggregate limits may be set on a per-domain basis. For example, you may limit a domain and all subdomains to the creation of 100 VMs.

There are two types of limits you can set. First, you can set limits based on the resource count, that is, restricting a user or domain on the basis of the number of VMs, volumes, or snapshots used.

In addition, CloudPlatform supports the customization model—need-basis usage, such as large VM or small VM. The resource types are broadly classified as CPU, RAM, Primary Storage, and Secondary Storage. The root administrator can impose resource usage limits by the following resource types for Domains, Projects, and Accounts:

CPUs

Memory (RAM)

Primary Storage (Volumes)

Secondary Storage (Snapshots, Templates, ISOs)

To control the behaviour of the needs-based usage feature, use the following configuration parameters:

Parameter Name

Description

 

 

max.account.cpus

Maximum number of CPU cores that can be

 

used for an account.

 

Default is 40.

 

 

max.account.ram (MB)

Maximum RAM that can be used for an account.

 

Default is 40960.

 

 

143

Page 153
Image 153
Citrix Systems 4.2 manual Setting Usage Limits