Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update billing properties values

Table of Contents

...

  1. 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 last bills

Delete the last bills from the previous version of the billing dashboards (from the billing_consolidation and billing_register tables).

...

  1. On the API server, edit the abiquo.properties file and add these new properties:
    1. To configure the cron job to regularly obtain billing data. The default is every 2 hoursThis is the default value:

      Code Block
      abiquo.billing.task.cron = 0 030 0/2 ? * * *


    2. To configure the number of months to obtain billing data for. The default is to get data for 2 months.months, but it might be interesting to go back for 6 months at least:

      Code Block
      abiquo.enterprise.property.billing.monthoffset=46


  2. 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.

...