Hitachi

JP1 Version 12 JP1/Performance Management - Remote Monitor for Oracle Description, User's Guide and Reference


3.7.2 Updating an instance environment

When you update an instance environment in a cluster system, you first check the logical host name and the name of the instance that you want to update. You update the instance information on the executing node.

Before you change an information item, see the sections below in advance:

For details about Oracle instance information, see your Oracle documentation.

Use the jpcconf ha list command to check the instance name. To update an instance environment, use the jpcconf inst setup command.

Updating an instance environment involves the steps described below. To update multiple instance environments, repeat the procedure for each instance environment.

  1. Check the logical host name and the instance name

    Execute the jpcconf ha list command specified with the service key that indicates the PFM - RM for Oracle in the instance environment that is to be updated:

    jpcconf ha list -key RMOracle

    For example, if you execute the command in the system with logical host name jp1_Ora and instance name Ora1, the command will list the following information:

    [Figure]

  2. If the PFM - RM for Oracle service is active in the instance environment that is to be updated, use the cluster software to stop the service.

    For details about stopping the services, see the chapter on starting and stopping Performance Management in a cluster system in the JP1/Performance Management User's Guide.

  3. If the shared disk is unmounted when you stop the service, use the cluster software or the volume manager to mount it.

  4. Execute the jpcconf inst setup command specified with the service key and the instance name that indicate the PFM - RM for Oracle in the instance environment that is to be updated.

    For example, if you are updating the instance environment with logical host name jp1_Ora and instance name Ora1, execute the following command:

    jpcconf inst setup -key RMOracle -lhost jp1_Ora -inst Ora1
  5. Update the instance information for Oracle.

    In Windows, enter the information shown in Table 2-29 in accordance with the command's instructions. In Unix, enter the information shown in Table 2-31 in accordance with the command's instructions. The current settings are displayed (except for the value of oracle_passwd). To use the displayed value, press the Enter key. When you have finished entering information, the instance environment is updated.

  6. Use the cluster software to restart the service in the updated instance environment.

    For details about the starting the service, see the chapter on starting and stopping Performance Management in a cluster system in the JP1/Performance Management User's Guide.

Notes:

To change a user, use the following procedure:

  1. Delete the objects created by the user you want to change.

  2. Register new objects after you change the user.

Performance data is not deleted when a user is changed.

For details about how to delete objects, see the following sections:

Windows: see 2.3.2(1)(c) Deleting the objects registered in the Oracle Database

UNIX: see 2.4.2(1)(c) Deleting the objects registered in the Oracle Database

For details about how to register objects, see the following sections:

Windows: see 2.1.4(3)(c) Registering objects in the Oracle Database

UNIX: see 2.2.4(4)(c) Registering objects in the Oracle Database

For details about the commands used in this procedure, see the chapter on the commands in the manual JP1/Performance Management Reference.