There are two types of metering logs: event logs and periodic logs.
Each of these types of logs is explained below:
Event logs
Event logs are logs that are output when the status of a resource has changed, such as when an L-Platform is created or canceled or when an L-Server is started or stopped. An event log records resource attribute information such as the date and time at which the event occurred, event type, information for identifying the resource, and allocation amount.
The following table shows the timing at which event logs will be output:
Event | Event identifier | Timing of event | Resource |
---|---|---|---|
Adding | ADD | When a resource is added and when the resource is actually secured |
|
Changing | CHANGE | When a resource is changed | |
Deleting | DELETE | When a resource deletion is requested | |
Starting | START | When starting a resource is complete |
|
Stopping | STOP | When stopping a resource is requested |
*1: The event log for L-Platform template is output for tenant-specific templates. The event log is not output for global templates. The CHANGE log will be output if the template name is changed. If only other basic information and configuration information are changed, the CHANGE log will not be output.
*2: The event log for software will be output based on the software information that has been registered in the image information of the L-Server. The timing of software addition or deletion events is synchronized with L-Server addition or deletion events, respectively.
*3: The NIC event log is output with the configured resource type "ip_addr: IP address".
Periodic logs
Periodic logs are logs that show the periodic operational status of resources.
The following table shows the timing at which periodic logs will be output:
Event | Event identifier | Timing of event | Resource |
---|---|---|---|
Period | PERIOD | Every day at 0:00 (default) (*1) |
|
*1: If the timing of output of the periodic log is to be changed, overwrite the metering log operational settings file and then execute the Change periodic log schedule settings command.
Refer to "8.7.3 Metering Log Settings" for information on the metering log operational settings file and refer to "11.1 ctchg_chgschedule (Change Periodic Log Schedule Settings)" in the "Reference Guide (Command/XML) CE" for information on the Change periodic log schedule settings command.
*2: The periodic log for L-Platform template is output for tenant-specific templates. The periodic log is not output for global templates.
*3: The NIC event log is output with the configured resource type "ip_addr: IP address".
Point
'Create' processing for periodic logs and 'delete' processing for metering logs are implemented periodically.
The processing results of 'create' processing for periodic logs and 'delete' processing for metering logs will be output to the following files as operation logs:
'Create' processing for periodic logs
[Windows Manager]
<installation_foldert>\RCXCTMG\Charging\log\metering_period.log
[Linux Manager]
/var/opt/FJSVctchg/log/metering_period.log
'Delete' processing for metering logs
[Windows Manager]
<installation_foldert>\RCXCTMG\Charging\log\metering_log_db_delete.log
[Linux Manager]
/var/opt/FJSVctchg/log/metering_log_db_delete.log
Refer to "Chapter 13 Messages Starting with meter" in the "Messages" to check whether processing is operating normally. Check 'create' processing for periodic logs every day at 0:00 or at least 5 minutes after the changed time. 'Delete' processing for metering logs is implemented at 0:35 every day, so check at that time or later.