Once you have installed LifeKeeper and configured the volume and communication resources, you are ready to install Oracle to the protected volume(s).

Oracle 12c Installation: Oracle12c introduces some new installation options. The following options for software and sample database installation are recommended.

  • Oracle Services Account – Select the “Windows Built-In Account”. This is referring to the Local System Account.
  • Container Database – Select the “Container Database” checkbox option for the sample database.
  • Password Management – After the sample database is installed the “Password Management” button is displayed. Select it and set the password for the SYS and SYSTEM administrator accounts. The SYSTEM user can be used when creating Oracle resources.

On the Primary Server

  1. Install the Oracle software on the protected shared volume. Since “Create Database” is selected, the Oracle database will be created as well. All files associated with this Oracle database (logs, traces, controls, data files, etc.) must be located on the protected volume.
  1. Stop the default TNSListener service OracleTNSListener and set the startup mode to Manual. (You will create a new Listener for the SID to be protected in a later step.)
  1. Using Oracle Net Manager, configure Oracle to use the LifeKeeper-protected communication resource(s) as follows:

    1. Create a Listener with the same name as the Oracle database SID name. Configure Listening Locations designating the LifeKeeper-protected IP address and/or named pipe (LAN Manager alias name). Then edit listener.ora to configure static service registration.

    2. Modify the Oracle database settings. Use Oracle’s Local Listener initialization parameter to configure dynamic service registration to be performed. For TCP/IP, change the host name to the protected IP address. For Named Pipes, change the machine name to the LAN Manager alias.

  1. Create a separate TNSListener Windows Service corresponding to the Oracle database to be protected under LifeKeeper. The service should be created using the lsnrctl Start <SID> command. This will create a Windows service with the name Oracle<OraHome>TNSListener<SID>.
  1. Use the Services tool to test your Oracle services as follows:

    1. Verify that the new TNSListener service can be stopped and started successfully.

    2. Ensure that the OracleService<SID> service has been created by Oracle.

    3. Stop all Oracle services.

On the Backup Server

  1. In LifeKeeper, bring the protected volume in service on the backup server.
  1. Rename the directory corresponding to ORACLE_BASE. If this is a new installation you can delete the data files.
  1. Install the Oracle software to the protected volume. Use EXACTLY the same installation options as on the primary server (the Oracle Home, SID name and paths must be identical). If prompted, choose to overwrite the existing Oracle configuration. Note: Ignore errors regarding moving files to *.bak.
  1. Stop the default TNSListener service Oracle<OraHome>TNSListener, and set the startup mode to Manual.
  1. Using Oracle Net Manager, configure Oracle to use the LifeKeeper-protected communication resource(s) as follows, if required:

    1. Create a Listener with the same name as the Oracle database SID name. Configure Listening Locations, designating the LifeKeeper-protected IP address and/or named pipe (LAN Manager alias name). Then edit listener.ora to configure static service registration.

    2. Modify the Oracle database settings. Use Oracle’s Local Listener initialization parameter to configure dynamic service registration to be performed. For TCP/IP, change the host name to the protected IP address. For Named Pipes, change the machine name to the LAN Manager alias.

  1. Create a separate TNSListener Service instance for the SID to be protected under LifeKeeper. The service should be created using the lsnrctl Start <SID> command. This will create service with the name Oracle<OraHome>TNSListener<SID>.
  1. Use the Services tool to test your Oracle services as follows:

    1. Verify that the new TNSListener Service can be stopped and started successfully.

    2. Ensure that the OracleService<SID> service has been created by Oracle.

    3. Stop all Oracle services on the backup server.

On the Primary Server

  1. Bring the volume resource back in service on the primary server.
  1. Start the OracleService<SID> service on the primary server.
  1. Create the Oracle hierarchy on the primary server and extend it to the backup server. See Creating an Oracle Hierarchy for details.
  1. Test the new Oracle hierarchy by performing a manual failover.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment