Top
PRIMECLUSTER Wizard for Oracle 4.2 Configuration and Administration Guide

Appendix C Procedure for Updating of the CRS Control

This section describes the procedure for updating the CRS control (Oracle Clusterware control) in PRIMECLUSTER Wizard for Oracle 4.1A30/A40 environment to 4.2A01 version. It might be necessary for the procedure to see “2.3 Scalable Operation with Oracle RAC 10g or later”.

The procedure depends on the management of the CRS (hereinafter called “Oracle Clusterware”) after updating.

Note

  • It is necessary to grasp userApplication configuration (relation of SysNode, userApplication and resources) before updating.
    It should be done in PRIMECLUSTER Wizard for Oracle 4.1A30/A40 environment (before updating to 4.2A01) by Cluster Admin or hvdisp command.

  • “Case of Configuration X” in the following steps is the direction only for Configuration X.
    If the direction is not written clearly, it suits all cases.

  • The following steps should be done after completing the installation of PRIMECLUSTER Wizard for Oracle 4.2A01.

Procedure

  1. Stop RMS on all nodes if it is running.

    # hvshut -a<Return>
  2. Start up an Oracle Clusterware on a node where userApplication Configuration Wizard will be run.
    Execute the following command as a super-user.

    # /etc/init.d/init.crs start<Return>
  3. Start up userApplication Configuration Wizard.
    Make Web-Based Admin View connect to the node where the Oracle Clusterware is running in the step 2, and start up userApplication Configuration Wizard.

  4. Select “Edit userApplication or Resource” in the “userApplication Configuration menu” screen.

  5. Select an Oracle RAC instance resource in the “List of userApplication and resource” screen (e.g. Oracle1), and click “Next”.

  6. Select the Oracle RAC instance in the “Set up Resource (Resource name : xxx)” screen (e.g. RACInstance/Listener[0]=ora.dbname.inst1.inst), and click “Next”.

  7. Select “SELECTED:xxx” (e.g. SELECTED:ora.dbname.inst1.inst), and click “Next”.

  8. Check the box of “Advanced setup”, and select “(PreOnlineScript=’/opt/FJSVclora/sbin/cloracrs~<OracleUser>’)”.
    After that, click “Next”.

  9. Remove or modify the PreOnlineScript.

    • Case of Configuration A or B
      Select “NONE”, and click “Next”.

    • Case of Configuration C
      Select “FREECHOICE”, and enter the path as follows (add “start” parameter).
      After that, click “Next”.

      /opt/FJSVclora/sbin/cloracrs <OracleUser> start
  10. Confirm that the PreOnlineScript has been removed or modified, and then select “SAVE+RETURN”.
    After that, click “Next”.

  11. Perform the procedure appropriate for a configuration.

    • Case of Configuration A
      Do nothing here and jump to the next step.

    • Case of Configuration B
      Add an Oracle Clusterware resource to a userApplication including an existing Oracle RAC instance resource.
      For more detailed information, see the step 3 to 6 in “2.3.4 userApplication with Oracle Clusterware”.

    • Case of Configuration C
      Do nothing here and jump to the next step.

  12. Select “SAVE+EXIT”, and click “Registration”.

  13. Create an Oracle Clusterware resource and userApplication newly. (This step is only for Configuration A.)

    Create an Oracle Clusterware resource.

    1. Perform the step 1 to 7 in “2.3.4 userApplication with Oracle Clusterware”.

    2. Create a userApplication including the Oracle Clusterware resource.

      Select “Create userApplication” in the “userApplication Configuration menu” screen.

      • Record the userApplication name specified in the “Set up userApplication name and operation method” screen. The name is necessary for the step 4).
        Specify “Standby” (standby operation) as the operation method.

      • Select the one SysNode where the Oracle Clusterware resource created in the step 1) runs in the “Select SysNode” screen.

      • Select the Oracle (Clusterware) resource name created in the step 1) in the “Select Resources” screen.

    3. Edit the Oracle RAC instance resource.

      Perform the same procedure of the step 4 to 8 in “Appendix C Procedure for Updating of the CRS Control”, and jump to the screen of the PreOnlineScript.
      In the step 5, the Oracle RAC instance resource that exists on the same node as the userApplication including the Oracle Clusterware resource created in the step 2) should be selected.

    4. Set the PreOnlineScript of the Oracle RAC instance resource.

      Select “FREECHOICE”, and enter the path as follows, referring to the step 9 in “2.3.5 userApplication with Oracle RAC Instances and Listeners”.

      /opt/FJSVclora/sbin/clorastartwait <userApplication name created in the step 2)>
    5. Confirm that the PreOnlineScript has been set, and then select “SAVE+RETURN”.

      After that, click “Next”.

    6. Select “SAVE+EXIT”, and click “Registration”.

      Click “Yes” to reply the dialog box 0803.
      Click “Yes” to reply the dialog box 0817 if the necessary procedure has been completed, otherwise click “No”.

    7. Repeat the step 3) to 6) above for other Oracle RAC database if necessary.

  14. Click “End” in the “userApplication Configuration menu” screen and terminate userApplication Configuration Wizard.