This section describes how to change the settings for the usage charge calculator function.
The procedure for changing the settings is as follows:
Open the following operating environment file:
[Windows Manager]
Installation_folder\RCXCTMG\Charging\conf\accounting.properties
[Linux Manager]
/etc/opt/FJSVctchg/conf/accounting.properties
Set the following items in the operating environment file:
Key | Description | Default value |
---|---|---|
accounting.use (*) | Specify whether to use the usage charge calculator.
| no |
gui.cutoffdate (*) | Specify the default for the cut-off date displayed in the [Tenants] tab of the ROR console. | 31 |
gui.sendmailaddress (*) | Specify the default for the address to send the usage fee displayed in the [Tenants] tab of of the ROR console. | None |
usedtime.metering.cpu.perf.vserver | When overcommit is enabled, specify whether to calculate the CPU clock of the virtual server using CPU performance or CPU reserve performance.
| cpu_reserve |
usedtime.metering.memory.vserver | When overcommit is enabled, specify whether to calculate the memory usage of the virtual server using memory or memory reserve.
| memory_reserve |
* Note: This can be set using the "Setup Wizard" on the ROR Console.
For details of "Setup Wizard", refer to "3.1 Setup Wizard" in the "User's Guide for Infrastructure Administrators CE".
An example is shown below:
accounting.use = yes ... omitted gui.cutoffdate = 20 gui.sendmailaddress = example@xxx.com ... omitted usedtime.metering.cpu.perf.vserver = cpu_reserve usedtime.metering.memory.vserver = memory_reserve ... omitted
Restart the Manager.
Refer to "2.1 Starting and Stopping Managers" for information on how to restart the manager.
Set the role definition.
The [Usage Charge] tab of the ROR console is not displayed when display of the [Usage Charge] is not permitted in the role definitions. The default at installation is to not permit display.
When the ROR console [Usage Charge] tab is to be used, add permissions to display the [Usage Charge] tab by customizing the role. Refer to "Chapter 3 Configuring Users and Customizing Roles" in the "User's Guide for Infrastructure Administrators (Resource Management) CE" for information on customizing roles.
Note that when "Yes" is selected for the Perform usage charge calculation in the setup wizard, the permissions to display the [Usage Charge] tab are simultaneously added to the role definition for the corresponding basic role.