Configure billing properties
The billing properties are part of the Abiquo billing integration. You do not need to configure billing properties with the new Abiquo on premise billing feature
In the billing.properties can configure the billing integration with settings, such as:
The account period and how to aggregate the billing data
The Abiquo database that contains the usage data
The billing connector to use (e.g. CSV connector).
Property | Default | Range | Description |
---|---|---|---|
account_period | DAY | HOUR, DAY, WEEK, MONTH | This setting defines the period for which usage data is aggregated. However, the usage value will also depend on the granularity, |
usage_units_per_hour | false | true, false | If false, the billing integration will record resource usage units with the same granularity as the Accounting tables. |
init_period | DAY | HOUR, DAY, WEEK, MONTH | When 'new' accounts should start collecting usage data. |
connector_name | CSV | CSV, DBMS | Set the connector that the billing integration will use to process usage data for output. |
connector_class | For a custom connector, you can set the 'connector_name'.
| ||
dbms_connection_url | These settings determine how Abiquo Billing Integration connects to the database used to retrieve the billing usage data. | ||
dbms_jdbc_driver | com.mysql.jdbc.Driver | Currently only the default value of 'com.mysql.jdbc.Driver' is supported | |
dbms_user | |||
dbms_password | |||
dc_grouping | false | Group billing by Abiquo datacenter. If ‘true’, create sub-groups by datacenter. | |
dc_filtering | false | If true, only generate output for the list of datacenters with dc_include_filter properties. | |
dc_include_filter_<n> | If dc_filtering is enabled, set datacenters to include in the billing process, in order. | ||
job_id | This setting is generally not used. It is only required when two independent Abiquo Billing Integration processes are using the same | ||
allocation_usages | false | Enable collection of core usage (as shown in the core usage table) by the hard limit allocation of an individual Enterprise/VDC. | |
bill_day_of_month | 1 | 1-28 | Defines the periods of billing aggregation on a monthly level. |
Configure usage billing properties
To define which usage values the billing integration will process, set properties in the billing.properties file.
The billing integration will calculate the usage and supply it to the billing connector for processing. For example, you could choose to bill for CPU, Memory, Local Storage, External Storage, VLAN, and IP.
Â
Property | Default | Description |
---|---|---|
vm_usage | false | If true, process fee per VM usage values |
vm_on_usage | false | If true, process fee per VM usage values for VMs that are powered ON |
vm_off_usage | false | If true, process fee per VM usage values for VMs that are powered OFF |
cpu_usage | true | If true, process virtual CPU usage values |
cpu_on_usage | false | If true, process virtual CPU usage values for VMs that are powered ON |
cpu_off_usage | false | If true, process virtual CPU usage values for VMs that are powered OFF |
memory_usage | true | If true, process virtual memory usage values |
memory_on_usage | false | If true, process virtual memory usage values of VMs that are powered ON |
memory_off_usage | false | If true, process virtual memory usage values of VMs that are powered OFF |
local_storage_usage | true | If true, process local storage usage values for primary and secondary hard disks |
ip_usage | true | If true, process IP usage values for public IPs |
vlan_usage | true | If true, process VLAN usage values for private VLANs |
external_storage_usage | true | If true, process external storage usage values for volumes of managed storage |
ha_usage | false | If true, process the number of VMs hosted on Abiquo HA-enabled Racks that are owned by the Enterprise/VDC |
reserved_server_cpu_usage | false | If true, process the CPU of servers that have been explicitly reserved for an Enterprise. |
reserved_server_memory_usage | false | If true, process the RAM of servers that have been explicitly reserved for an Enterprise. |
repository_usage | false | If true, process the repository usage (VM Templates and Instances) of an Enterprise. |
antiAffinity_usage | false | If true, process VMs created by an Enterprise in antiAffinity layers. |
firewall_usage | false | If true, process firewall usage values |
loadbalancer_usage | false | If true, process load balancer usage values |
tiered_storage_usage | false | Process custom storage usage using the storage_tier_<n> and storage_tier_<name> properties |
storage_tier_<n> | true | e.g. storage_tier_1=true |
storage_tier_<n>_name | e.g. storage_tier_1_name=Bronze Tier | |
local_tier_storage_usage | false | Process tiered datastore usage using the local_tier_storage_<n> and local_tier_storage_<n>_<name> properties |
local_tier_storage_<n> | true | e.g. local_tier_storage_1=false |
local_tier_storage_<n>_name | e.g. local_tier_storage_1_name=Bronze Tier | |
backup_usage | false | Process backup pricing per GB usage using the backup_policy_<n> and the backup_policy_<n>_code properties |
backup_policy_<n> | false | e.g. backup_policy_2=false |
backup_poliy_<n>_code | e.g. backup_policy_2_code=Backup 2 | |
draas_protection_usage | false | If true, process VMs with DRaaS protection |
cost_code_usage | false | If cost_code_usage is set to true, add properties into billing.properties for each Abiquo cost code that you define |
cost_code_<n> | Enable the defined cost code. Disabled Cost Code usages are not processed or passed to the Billing Connector | |
cost_code_<n>_name | e.g. cost_code_1_name=Win 2K8 Server | |
hypervisor_usage | false | If hypervisor_usage is set to true, add properties into the billing.properties file for each hypervisor that you use on the platform |
hypvisor_<n> | false | Enable the hypervisor with a number <n>, which is an incrementing number from 1. |
hypervisor_<n>_name | The value must EXACTLY match the hypervisor name, as reported by the Abiquo UI (or API) | |
custom_<n> | true | Enable the defined custom usage. Disabled custom usages are not processed or passed to the Billing Connector |
custom_<n>_name | e.g. custom_1_name=ESXHypervisors | |
custom_<n>_id | 1000+<n> | e.g. custom_1_id=1234 |
custom_<n>_ent_sql | SQL query. See Create custom billing usage queries with SQL | |
custom_<n>_vdc_sql | SQL query. See Create custom billing usage queries with SQL | |
custom_<n>_usage_ent_sql | SQL query to obtain the custom usage per enterprise. See Create custom billing usage queries with SQL | |
custom_<n>_cost_ent_sql | SQL query to obtain the cost per enterprise. See Create custom billing usage queries with SQL | |
custom_<n>_usage_vdc_sql | SQL query to obtain the custom usage per VDC. See Create custom billing usage queries with SQL | |
custom_<n>_cost_vdc_sql | SQL query to obtain the cost per VDC. See Create custom billing usage queries with SQL |
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved