Table of Contents |
---|
...
In Abiquo 5.2, the billing dashboard feature has moved to the core Abiquo platform.
If If you are using the billing dashboard scripts from previous versions, disable them before you continue with the Abiquo upgrade.
Remove the cron jobs to run the billing scripts.
Code Block # rm /etc/cron.d/abiquo-billing-ec2 # rm /etc/cron.d/abiquo-billing-arm
Remove past last bills
Delete the last bills from the previous version of the billing dashboards (from the billing_consolidation and billing_register tables).Later the API and plugins
Remove the bills for Azure and Amazon providers, for the number of months covered by the abiquo.enterprise.property.billing.monthoffset property, which has a default value of 2 months.
Later the new billing dashboard feature will regenerate these bills.
...
- On the API server, edit the abiquo.properties file and add these new properties:
To configure the cron job to regularly obtain billing data. The default is every 2 hours
Code Block abiquo.billing.task.cron = 0 0 0/2 ? * * *
To configure the number of months to obtain billing data for. The default is to get data for 2 months.
Code Block abiquo.enterprise.property.billing.monthoffset=4
On the Remote Services server, edit the abiquo.properties file and optionally set the default country code with this property.
Code Block abiquo.billing.azure.country_code=US
You can override this value in your cloud tenants with an enterprise property as required.
...