This section explains the methods for configuring and operating operation logs.
Perform the following procedure:
Infrastructure administrator (infra_admin)
Disk space estimation
Infrastructure administrator (infra_admin) estimates the disk size to use for storing operation logs.
Estimate the amount of disk space using the following formula, and then decide the number of days to retain operation logs.
{(Number_of_operations_of_the_resource_in_1_day) * (Number_of_target_resources) * 1(KB)} * (retention_period) |
Example
Disk space when estimating that the retention period is 180 days (by default), the target resource is operated 4 times, and the number of target resources is 256
Retention period | Necessary Disk Space | Formula |
---|---|---|
180 days worth | Approx. 185 MB | 4 * 256 * 1 * 180 = 184320 (KB) |
Check the settings in the [Date and Time properties] dialog of the operating system
Check that the [Date & Time], the [Time Zone], and the [Internet Time (or Network Time Protocol)] tabs are set correctly. If the settings are incorrect, set them correctly.
Configure the retention period of operation logs
Execute the rcxadm logctl set command, to configure the retention period for operation logs.
For details on the rcxadm logctl set command, refer to "1.7.14 rcxadm logctl".
Start recording of the operation log
Execute the rcxadm logctl start command to start recording the operation log.
When the rcxadm logctl start command is executed, the operation logs will be recorded for the configured retention period from the date recording of operation logs is started.
Days when no events occur, or days when recording is not possible due to the manager being stopped are not counted as dates for recording.
Note
Display and deletion of operation logs may not be performed correctly if the settings in the [Date and Time properties] dialog of the operating system are changed after recording of operation logs is started.
When changing the settings in the [Date and Time properties] dialog after starting the recording of operation logs, refer to "5.3 Retention".