Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Overview and System Design Guide


K.5 Settings for outputting operation logs

To output data to the operation log, log output must be specified in the operation log definition file (imm_operationlog.conf). For details about the operation log definition file (imm_operationlog.conf), see Operation log definition file (imm_operationlog.conf) Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

Organization of this subsection

(1) Procedure for specifying the settings for outputting data to operation logs

(a) For physical hosts

1. Edit the operation log definition file (imm_operationlog.conf).
1-1 Specify the ENABLE parameter.

Open the operation log definition file (imm_operationlog.conf) by using an editor, and then change the ENABLE parameter as follows:

  • Before the change (initial setting)

    "ENABLE"=dword:00000000

  • After the change

    "ENABLE"=dword:00000001

1-2 If you want to change the initial setting of the operation log output destination, specify the LOGFILEDIR parameter.

Change the LOGFILEDIR parameter as follows:

In Windows

  • Before the change (initial setting)

    "LOGFILEDIR"="Manager-path\log\operationlog"

  • After the change

    "LOGFILEDIR"="any-output-destination"

IN UNIX

  • Before the change (initial setting)

    "LOGFILEDIR"="/var/opt/jp1imm/log/operationlog"

  • After the change

    "LOGFILEDIR"="any-output-destination"

1-3 If necessary, specify the size of the log file (LOGSIZE) and the maximum number of log files that can be saved (LOGFILENUM).

2. Execute the jbssetcnf command.

The settings you specified are applied to the common definition information.

3. Enable the settings.

Restart JP1/IM - Manager to enable the settings.

(b) For logical hosts

1. Copy the operation log definition file (imm_operationlog.conf) on the physical disk to the shared disk.

2. Edit the operation log definition file (imm_operationlog.conf) which is copied on the shared disk.
2-1 Specify the logical host name for the key name in the environment settings.

Open the operation log definition file (imm_operationlog.conf) by using an editor, and then change the [JP1_DEFAULT\JP1IMM\OPERATION] parameter as follows:

  • Before the change (initial setting)

    [JP1_DEFAULT\JP1IMM\OPERATION]

  • After the change

    [logical-host-name\JP1IMM\OPERATION]

2-2 Specify the ENABLE parameter.

Specify the ENABLE parameter as follows:

  • Before the change (initial setting)

    "ENABLE"=dword:00000000

  • After the change

    "ENABLE"=dword:00000001

2-3 Specify the operation log output destination.

Specify the output destination for the LOGFILEDIR parameter. Specify an existing write-enabled directory for the output destination. We recommend that you specify the operation log output for the logical host to the shared disk.

Setting example in Windows:

  • Before the change (initial setting)

    "LOGFILEDIR"="Manager-path\log\operationlog"

  • After the change

    "LOGFILEDIR"="shared-folder\JP1IMM\log\operationlog"

Setting example in UNIX:

  • Before the change (initial setting)

    "LOGFILEDIR"="/var/opt/jp1imm/log/operationlog"

  • After the change

    "LOGFILEDIR"="shared-directory/jp1imm/log/operationlog"

2-4 If necessary, specify the size of the log file (LOGSIZE) and the maximum number of log files that can be saved (LOGFILENUM).

3. Execute the jbssetcnf command on the primary node.

The definition file settings you specified are applied to the common definition information.

4. Apply the settings of the primary node to the secondary node.

If you are using a cluster system, you must match the common definition information on all the servers. For details, see 7.7.1 Changing settings in files (for Windows) or 8.7.1 Changing settings in files (for UNIX) in the JP1/Integrated Management 2 - Manager Configuration Guide.

5. Enable the settings.

Restart JP1/IM - Manager from the cluster software to enable the settings.