Previous Topic: Set Parent-Child Quota RelationshipsNext Topic: Using Quotas Independently of Internal Security


Display Metering Data

After you configure quotas, you can display metering information. This allows you to communicate resource metering information to customers and bill them based on the information.

To display metering information, use the quota list command with the verbose (-v) and batch (-b) options.

Follow these steps:

  1. Open the grid shell from the GUI.
  2. Enter the following quota list command:
    quota list -v -b
    

    The output appears as follows:

    quota: principal = DevelopmentPackages, type = group, scope = local
    
    quota: principal = WarnGroup, type = group, scope = local, parent_principal = DevelopmentPackages, 
    parent_type = group, parent_scope = local, cpu_assigned = 4, cpu_allowed = 4, cpu_available = 4, 
    mem_assigned = 4294967296, mem_allowed = 4294967296, mem_available = 4294967296, bw_assigned = 
    4000000000, bw_allowed = 4000000000, bw_available = 4000000000, disk_assigned = 536870912000, 
    disk_allowed = 536870912000, disk_available = 536870912000, description = "Warn Quota", warn = 75
    
    quota: principal = ISVAdvancedGroup, type = group, scope = local, parent_principal = DevelopmentPackages, 
    parent_type = group, parent_scope = local, cpu_assigned = 4, cpu_allowed = 6, cpu_available = 6, 
    mem_assigned = 4294967296, mem_allowed = 6442450944, mem_available = 4294967296, bw_assigned = 
    4000000000, bw_allowed = 6000000000, bw_available = 4000000000, disk_assigned = 536870912000, 
    disk_allowed = 805306368000, disk_available = 536870912000, description = "Burst Quota", burst = 50
    

Forward, Inc. can present this metering information to customers and can charge an additional fee when users exceed the allowed resource levels. The metering information includes the following details:

Assigned

Specifies the explicit resource assignments for the particular user or group in CA AppLogic.

Allowed

Specifies the resource limit that the user or group can use. If the user or group is a member of a quota hierarchy, the lowest value from the parent hierarchy for that resource is allowed. This includes the burst quota entry if defined.

Available

Specifies the resources currently available to the group or user. The system calculates the value by taking the assigned amount and subtracting the number of resources that have already been used.

You have now successfully configured quotas. The operator has created the following quota functionality: