This section explains operations that are necessary after switchover to a backup site.
When the accounts manager invoices usage charges, the procedure is as follows.
Invoicing Usage Charges
The accounts manager receives two types of files, the usage charge files for the primary site for the month of the recovery sent from the infrastructure administrator and the usage charge files sent from the backup site. Use these files to calculate the usage charge for the tenants on the month of recovery and issue the invoice. The calculation procedure using the files mentioned above is as follows.
Extract usage charge detail files
Extract usage charge files from both the primary site and backup site, and obtain usage charge detail files for each L-Platform. The name format of the usage charge detail files is as follows.
For further information refer to "15.4.6.2 Usage Charge Detail File" in the "Operation Guide CE".
YYYYMM_L-PlatformID.csv
Prevent duplicate charging for products charged monthly
For each L-Server in the usage charge detail file, if the UsageFrequency column for the image, CPU, and memory is set to "1 month", compare the values of the ItemAmount columns in the usage charge detail files from the primary site and the backup site and delete the row with the lower value. For the rows for the disks, delete only the rows with the same size and pool name from the primary site usage charge file. If there are multiple pairs of rows with the same size and pool name, delete only one for each pair. If there are no products being charged monthly, then this operation can be omitted.
Merge usage charge detail files
For each L-Platform, copy the rows after line 2 of the csv data of the backup site and add them to the end of the usage charge detail file from the primary site.
Calculate the usage charges of L-Platforms
Calculate the usage charges of L-Platforms. Total the values of the ItemAmount column of the usage charge detail file.
Calculate the usage charges of tenants
Perform steps b.-d. for every L-Platform and total the usage charges of L-Platforms to calculate the tenant usage charge.