Relocating an Oracle RAC One Node active instance


You can create a RAC One node database on all the nodes that are part of a cluster. For a planned migration, a RAC One Node environment works effectively because it enables you to continue work without impacting the business by relocating the instance from one node to another while moving the sessions along with it. Oracle RAC One Node instance relocation provides a transparent workaround for issues such as the instance being down or the node not having enough resources to handle the incoming workload.

This topic describes how to relocate an Oracle RAC One Node instance to another node/instance.

Before you begin

  1. Download the ORA-Relocate-RON-DB Action, available as a zipkit on the BDA Community (https://communities.bmc.com/docs/DOC-36130) and import it into your Action Repository.

    Note

    You must provide values for certain fields when running the Action using the Run Action wizard. See the steps in the following procedure for more information.

  2. Ensure that an Oracle RAC One Node database with at least one instance that is online and one or more available candidate servers are currently available and being managed by BDA. For more information, see Adding-a-candidate-server-to-an-Oracle-RAC-One-Node-database.

To relocate an Oracle RAC One Node active instance

  1. From the Management Console, navigate to the RAC One Node database and select the active node/instance under that database.
  2. Select Management > Relocate Instance.
  3. In the Action page, populate the following fields, and click Next.

  4. In the Custom Fields page, populate the following fields and any other custom fields you have defined in the template, and click Next.

    Note

    This page appears only when in the BMC Database Automation XML template, either custom fields are defined used for this activity or New in 8.9.03any custom fields are defined for the scheduling options (present on the Scheduling page in this wizard). If you have defined custom fields, value of those options on the Scheduling page will be derived from these custom fields. For more information, see Adding-custom-fields-to-a-template.

  5. In the Job Options page, specify any of the following Job options, and click Next.

  6. In the Scheduling page, select when to run this job in the Job Execution field, and click Next
    New in 8.9.03If you choose to run the job now or at a future time, optionally, you can use the Set Maintenance Window option to specify the Maintenance Window Start Time and the Maintenance Window End Time during which the job should be scheduled and running.

    Note

    The UNIX atd daemon must be installed and running on the Manager to schedule Actions. In addition, the crond daemon must be installed and running to schedule recurring Actions.

  7. If the Change Control page displays, populate the following fields, and click Next.

    Note

    The Change Control page appears only when change control is configured for your environment. See Configuring-change-control.

  8. In the Summary page, review the provisioning information.
  9. To make changes, do the following:
    1. Click Go to to return to the provisioning step that you want to edit.
    2. Make your changes.
    3. Click Save and Review to return to the Summary page.
  10. If you have uploaded custom verification checks for this Action, specify your verification preferences.
    • To run the Action after the custom verification checks have been successfully run without manual intervention, select Automatically Continue If All Tests Succeed.
    • To run the Action without having first run the custom verification checks, select Skip Pre-Verification Tests.

      Note

      The Skip Pre-Verification Tests option should only be used when you are certain all tests can succeed. The option skips verification and advances directly to running the Action.

  11. Click Execute Job or Schedule Job (depending on your selection in the Scheduling step).
     If the Action is running, a progress page appears. 

    The Instances section of Database Configuration page for the RAC One Node database in the Context Frame will show the active and passive instances switched.

    When you schedule an Action, it is added to the Jobs list. You can view scheduled Jobs by selecting Jobs from the Context Frame, specifying a start and end date, and filtering the Jobs list for a Scheduled status. After you schedule a job, the start date and time cannot be modified. If you need to change the schedule for a Job, you must cancel the Action and recreate it. See Cancelling an Action. After a Job has started running, it cannot be cancelled by using the Management Console.

    If a target for an Action is in a Down state, or is no longer in the environment when the associated Job starts, the Job will stop due to the unavailability of the target, and the status of the Job changes to Failed.

    If you have uploaded custom verification checks, the Verification page displays. If all of the checks pass, click Continue to run the Action. If checks fail, resolve the identified issues and click Repeat Verification.

     

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*