Oracle® Enterprise Manager Lifecycle Management Administrator's Guide 12c Release 2 (12.1.0.2) Part Number E27046-08 |
|
|
PDF · Mobi · ePub |
This chapter uses the Oracle Business Intelligence Enterprise Edition (EE) enterprise deployment topology as an example to illustrate the steps required to use Oracle Site Guard to manage disaster recovery on the production site and standby site. To use Oracle Site Guard, complete the following tasks:
Task 1: Setting Up Oracle Business Intelligence Enterprise Deployment
Task 2: Discovering Targets for the Primary Site and the Standby Site
Task 3: Creating Production and Standby Systems for Oracle Business Intelligence
Set up your Oracle Business Intelligence enterprise deployment, as described in the Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Business Intelligence guide.
Ensure that the following requirements are met:
Ensure that host names are configured, as described in the section "Host Names for the Oracle Business Intelligence Production Site and Standby Site Hosts" in Oracle Fusion Middleware Disaster Recovery Guide.
Ensure that virtual IP addresses and virtual host names are configured, as described in the section "Virtual IP Addresses and Virtual Host Names for the Oracle Business Intelligence Production Site and Standby Site Hosts" in Oracle Fusion Middleware Disaster Recovery Guide.
Read the section "Directory Structure Recommendations for Oracle Business Intelligence" in Oracle Fusion Middleware Disaster Recovery Guide.
Ensure that the Oracle Business Intelligence production site is configured, as described in the section "Creating the Production Site for the Oracle Business Intelligence Topology" in Oracle Fusion Middleware Disaster Recovery Guide.
Ensure that the Oracle Business Intelligence standby site is configured, as described in the section "Creating the Standby Site" in Oracle Fusion Middleware Disaster Recovery Guide.
Discover the targets for the Oracle BI Enterprise Edition Primary Site and the Standby Site on the Enterprise Manager Cloud Control 12c Release 1 (12.1.0.2). For more information, see "Discovering Targets on the Primary Site and the Standby Site".
The following targets are available:
Administration Server
Managed Servers (bi_server1
and bi_server2
)
OPMN managed system components (WEBHOST1
and WEBHOST2
)
Oracle RAC Database instances (CUSTDBHOST1
and CUSTDBHOST2
)
Note:
Oracle Business Intelligence OPMN managed system components are not discovered in Enterprise Manager Cloud Control. To manage Oracle Business Intelligence OPMN managed system components, create custom scripts, as described in "Creating Pre-Scripts and Post-Scripts for Start or Stop Operations".Figure 31-1 and Figure 31-2 show the available Oracle Fusion Middleware Farm and RAC Database target.
Figure 31-1 Oracle Fusion Middleware Targets
Complete the steps listed in "Creating Generic Systems for the Primary and Standby Sites". Enter BISystem1
and BISystem2
as the name for the production and standby systems respectively.
Figure 31-3 shows the BISystem1
system.
Figure 31-3 Generic System for the Production and Standby Site
For more information, see "Creating Credentials".
For more informaton, see "Configuring the Software Library"
Add the configuration for the BISystem1
and BISystem2
using one of the following options:
Associating Oracle Business Intelligence Sites Using Enterprise Manager Cloud Control Console
Associating Oracle Business Intelligence Sites Using EMCLI Commands
To associate BISystem2
with BISystem1
, complete the following steps:
Log in to Enterprise Manager as an EM_CLOUD_ADMINISTRATOR
user.
Select Targets, and from the drop-down menu, select Systems.
The Systems page is displayed.
Select BISystem1.
Click Generic System > Site Guard > Configure.
The Site Guard Configuration page is displayed.
In the Standby System(s) section, click Add.
The Search and Select: Standby Systems page is displayed.
Choose BISystem2, and click Select.
Click Save.
The Site Guard configuration saved successfully dialog box is displayed.
Click OK.
Perform steps 1-8 to associate BISystem1
for BISystem2
.
To add the configuration for the primary and standby sites, run the following emcli
commands in the command-line interface:
emcli create_siteguard_configuration -primary_system_name="BISystem1" -standby_system_name="BISystem2"
See Appendix F, "create_siteguard_configuration" for more information.
To display information about the association between existing primary sites and standby sites, run the following emcli
commands in the command-line interface:
emcli get_siteguard_configuration -primary_system_name="BISystem1" -standby_system_name="BISystem2"
Associate the credentials for the BISystem1
and BISystem2
using one of the following options:
To associate the credentials for BISystem1
, complete the following steps:
Log in to Enterprise Manager as an EM_CLOUD_ADMINISTRATOR
user.
Select Targets and then select Systems.
The Systems page is displayed.
Select BISystem1.
Click Generic System > Site Guard > Configure.
The Site Guard Configuration page is displayed.
Click Credentials.
In the Normal Host Credentials section, click Add.
The Add Normal Host Credentials page is displayed.
Enter the following details:
Element | Description |
---|---|
Target | Select the target name. |
Use Preferred Credentials | If you are using preferred credentials, then select the checkbox. |
Named Credential | If you are using named credentials, then select the credential name. |
Click Save.
In the Privileged Host Credentials section, click Add.
The Add Privileged Host Credentials page is displayed.
Enter the following details:
Element | Description |
---|---|
Target | Select the target name. |
Use Preferred Credentials | If you are using preferred credentials, then select the checkbox. |
Named Credential | If you are using named credentials, then select the credential name. |
Click Save.
In the Oracle WebLogic Administration Credentials section, click Add.
The Add Oracle WebLogic Administration Credentials page is displayed.
Enter the following details:
Element | Description |
---|---|
Target | Select the target name. |
Use Preferred Credentials | If you are using preferred credentials, then select the checkbox. |
Named Credential | If you are using named credentials, then select the credential name. |
Click Save.
In the Database Credentials section, click Add.
The Add Database Credentials page is displayed.
Enter the following details:
Element | Description |
---|---|
Target | Select the target name |
Use Preferred Credentials | If you are using preferred credentials, then select the checkbox. |
Named Credential | If you are using named credentials, then select the credential name. |
Click Save.
Choose the standby system, and click Select.
Use the above steps to associate the credentials for BISystem2
.
You must associate the named credentials for the following targets:
Host (for normal user and users with root
privileges)
Host (users with root
privileges)
Oracle WebLogic Server
Oracle Database
Create the named credentials by running the credential framework emcli
commands for the following:
Creating Credentials for Host Targets
Specify credentials for the host on which Oracle Business Intelligence Enterprise Edition (EE) is installed and configured. Run the following emcli
commands in the command-line interface:
BISystem1 for Host (Normal User)
emcli create_siteguard_credential_association -system_name="BISystem1" -credential_type="HostNormal" -credential_name="NC_HOSTNORMAL" -credential_owner="sysman"
BISystem1 for Host (Users with Root Privileges)
emcli create_siteguard_credential_association -system_name="BISystem1" -credential_type="HostPrivileged" -credential_name="NC_HOSTSUDO" -credential_owner="sysman"
BISystem2 for Host (Normal User)
emcli create_siteguard_credential_association -system_name="BISystem2" -credential_type="HostNormal" -credential_name="NC_HOSTNORMAL" -credential_owner="sysman"
BISystem2 for Host (Users with root Privileges)
emcli create_siteguard_credential_association -system_name="BISystem2" -credential_type="HostPrivileged" -credential_name="NC_HOSTSUDO" -credential_owner="sysman"
See Appendix F, "create_siteguard_credential_association" for more information.
Creating Credentials for Oracle WebLogic Server Targets
Specify the credentials for Oracle WebLogic Server by running the following emcli
commands in the command-line interface:
BISystem1
emcli create_siteguard_credential_association -system_name="BISystem1" -credential_type="WLSAdmin" -credential_name="NC_WLSADMIN" -credential_owner="sysman"
BISystem2
emcli create_siteguard_credential_association -system_name="BISystem2" -credential_type="WLSAdmin" -credential_name="NC_WLSADMIN" -credential_owner="sysman"
See Appendix F, "create_siteguard_credential_association" for more information.
Creating Credentials for Oracle Database Targets
Specify credentials for Oracle Database by running the following emcli
commands in the command-line interface:
BISystem1
emcli create_siteguard_credential_association -system_name="BISystem1" -credential_type="DatabaseSysdba" -credential_name="NC_BIDBINSTANCES" -credential_owner="sysman"
BISystem2
emcli create_siteguard_credential_association -system_name="BISystem2" -credential_type="DatabaseSysdba" -credential_name="NC_BIDBINSTANCES" -credential_owner="sysman"
See Appendix F, "create_siteguard_credential_association" for more information.
Validate that the credentials that are associated with the system, by running the following emcli
commands in the command-line interface:
emcli get_siteguard_credential_association
-system_name="system_name"
Figure 31-4 shows the credentials associated with BISystem1
.
Figure 31-4 Credentials Associated with BISystem1
Oracle Site Guard provides options to include user- specified scripts in the disaster recovery operation workflow. Create the following pre-scripts and post-scripts:
Creating Pre-Scripts and Post-Scripts for Start or Stop Operations
Creating Pre-Scripts and Post-Scripts for Switchover or Failover Operations
Note:
After you create the required script, save them to the destination directory on each of the hosts from where the script is executed.For example, /u01/ape/oracle/admin/bi_instance/sgscripts
For more information, see "Associating Pre-Scripts and Post-Scripts".
You can create Start and Stop scripts for the Oracle Business Intelligence OPMN managed system components. To manage these system components, create the following Start and Stop scripts:
Post-Script for Start Operation on BISystem1
Create a post-script for the start operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="Start" -script_type="Post-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh" -host_name="BIHOST1" -host_name="BIHOST2" -role="Primary" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a post-script for the start operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following path of the script:
|
Target Host | Select BIHOST1 and BIHOST2 . |
Script Type | Enter Post-Script. |
Operation Type | Enter Start . |
Role | Enter Primary . |
Credential Type | Enter Normal Host Credentials . |
Pre-Script for Stop Operation on BISystem1
Create a pre- script for the stop operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="Stop" -script_type="Pre-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh" -host_name="BIHOST1" -host_name="BIHOST2" -role="Primary" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a post-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following path of the script:
|
Target Host | Select BIHOST1 and BIHOST2 . |
Script Type | Enter Pre-Script. |
Operation Type | Enter Stop . |
Role | Enter Primary . |
Credential Type | Enter Normal Host Credentials . |
Post-Script for Start Operation on BISystem2
Create a post-script for the start operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="Start" -script_type="Post-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh" -host_name="STBYBI1" -host_name="STBYBI2" -role="Primary" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following path of the script:
|
Target Host | Select STBYBI1 and STBYBI2 . |
Script Type | Enter Pre-Script. |
Operation Type | Enter Start. |
Role | Enter Primary . |
Credential Type | Enter Normal Host Credentials . |
Pre-Script for Stop Operation on BISystem2
Create a post-script for the stop operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="Stop" -script_type="Pre-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh" -host_name="STBYBI1" -host_name="STBYBI2" -role="Primary" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh |
Target Host | Select STBYBI1 and STBYBI2 |
Script Type | Enter Pre-Script |
Operation Type | Enter Stop |
Role | Enter Primary |
Credential Type | Enter Normal Host Credentials |
You can create the following pre-scripts and post-scripts for switchover and failover operations:
Pre-Script for Switchover Operation on BISystem1
Create a pre-script for the switchover operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="Switchover" -script_type="Pre-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh" -host_name="BIHOST1" -host_name="BIHOST2" -role="Primary" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh |
Target Host | Select BIHOST1 and BIHOST2 . |
Script Type | Enter Pre-Script |
Operation Type | Enter Switchover |
Role | Enter Primary |
Credential Type | Enter Normal Host Credentials |
Post-Script for Switchover Operation on BISystem1
Create a post-script for the switchover operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="Switchover" -script_type="Post-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh" -host_name="BIHOST1" -host_name="BIHOST2" -role="Standby" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh |
Target Host | Select BIHOST1 and BIHOST2 . |
Script Type | Enter Post-Script |
Operation Type | Enter Switchover |
Role | Enter Standby |
Credential Type | Enter Normal Host Credentials |
Post-Script for Failover Operation on BISystem1
Create a post-script for the failover operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="failover" -script_type="Post-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh" -host_name="BIHOST1" -host_name="BIHOST2" -role="Standby" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh |
Target Host | Select BIHOST1 and BIHOST2 . |
Script Type | Enter Post-Script |
Operation Type | Enter Failover |
Role | Enter Standby |
Credential Type | Enter Normal Host Credentials |
Pre-Script for Switchover Operation on BISystem2
Create a pre-script for the switchover operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="Switchover" -script_type="Pre-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh" -host_name="STBYBI1" -host_name="STBYBI2" -role="Primary" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console.
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/stopbisystemcomponents.sh |
Target Host | Select STBYBI1 and STBYBI12 |
Script Type | Enter Pre-Script as the script type. |
Operation Type | Specify Switchover as the operation type. |
Role | Specify Primary |
Credential Type | Enter Normal Host Credentials |
Post-Script for Switchover Operation on BISystem2
Create a post-script for the switchover operation by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="Switchover" -script_type="Post-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh" -host_name="STBYBI1" -host_name="STBYBI2" -role="Standby" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
You can associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh |
Target Host | Select STBYBI1 and STBYBI2 |
Script Type | Enter Post-Script as the script type. |
Operation Type | Specify Switchover as the operation type. |
Role | Specify Primary . |
Credential Type | Specify Normal Host Credentials as the credential type. |
Post-Script for Failover Operation on BISystem2
Create a post-script for the failover operation, by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="failover" -script_type="Post-Script" -path="/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh" -host_name="STBYBI1" -host_name="STBYBI2" -role="Standby" –credential_type="HostNormal"
See Appendix F, "create_siteguard_script" for more information.
Associate a pre-script for the stop operation by using Enterprise Manager Cloud Control Console, as described in "Associating Pre-Scripts and Post-Scripts Using Enterprise Manager Cloud Control Console".
Enter the following details in the Add Pre/Post Scripts page:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgscripts/startbisystemcomponents.sh |
Target Host | Select STBYBI1 and STBYBI2 |
Script Type | Enter Post-Script as the script type. |
Operation Type | Specify Failover as the operation type. |
Role | Specify Standby . |
Credential Type | Specify Normal Host Credentials as the credential type. |
You can associate the storage scripts for BISystem1
and BISystem2
using one of the following options:
To associate the storage scripts for BISystem1
, complete the following steps:
Log in to Enterprise Manager as an EM_CLOUD_ADMINISTRATOR
user.
Select Targets and then select Systems.
The Systems page is displayed.
Select BISystem1.
Click Generic System > Site Guard > Configure.
The Site Guard Configuration page is displayed.
Click the Storage Scripts tab.
Click Add.
The Add Storage Scripts page is displayed.
Enter the following details:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgstoragescripts/switchovertobisystem1.sh |
Target Host | Select BIHOST1 . |
Script Type | Enter Storage-Switchover as the script type. |
Operation Type | Specify Switchover as the operation type. |
Credential Type | Specify Privileged Host Credentials as the credential type. |
Click Save.
Use the above steps to associate the storage failover script for BISystem1
. Ensure that you enter the following details:
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgstoragescripts/failovertobisystem1.sh |
Target Host | Select BIHOST1 . |
Script Type | Enter Storage-Switchover as the script type. |
Operation Type | Specify Failover as the operation type. |
Credential Type | Specify Privileged Host Credentials as the credential type. |
Create the storage switchover and failover Script for BISystem2, as described in "Associating Storage Scripts for Oracle Business Intelligence Sites Using Enterprise Manager Cloud Control Console". Ensure that you enter the following details:
Storage switchover script
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgstoragescripts/switchovertobisystem2.sh |
Target Host | Select STBYBI1 . |
Script Type | Enter Storage-Switchover as the script type. |
Operation Type | Specify Switchover as the operation type. |
Credential Type | Specify Privileged Host Credentials as the credential type. |
Storage failover script
Element | Description |
---|---|
Script Path | Enter the following script path:
/u01/app/oracle/admin/bi_instance/sgstoragescripts/failovertobisystem2.sh |
Target Host | Select STBYBI1 . |
Script Type | Enter Storage-Failover as the script type. |
Operation Type | Specify Failover as the operation type. |
Credential Type | Specify Privileged Host Credentials as the credential type. |
You must create storage scripts, as described in "Creating Storage Scripts" and then complete the following:
Storage Switchover Script for BISystem1
Associate a storage switchover script for BISystem1
by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="Switchover" -script_type="Storage-Switchover" -path="/u01/app/oracle/admin/bi_instance/sgstoragescripts/switchovertobisystem1.sh" -host_name="BIHOST1" –credential_type="HostPrivileged"
See Appendix F, "create_siteguard_script" for more information.
Storage Switchover Script for BISystem2
Associate a storage switchover script for BISystem2
by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="Switchover" -script_type="Storage-Switchover" -path="/u01/app/oracle/admin/bi_instance/sgstoragescripts/switchovertobisystem2.sh" -host_name="STBYBI1" –credential_type="HostPrivileged"
See Appendix F, "create_siteguard_script" for more information.
Storage Failover Script for BISystem1
Associate a storage failover script for BISystem1
by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem1" -operation="Failover" -script_type="Storage-Failover -path="/u01/app/oracle/admin/bi_instance/sgstoragescripts/failovertobisystem1.sh" -host_name="BIHOST1" –credential_type="HostPrivileged"
See Appendix F, "create_siteguard_script" for more information.
Storage Failover Script for BISystem2
Associate a storage failover script for BISytem2
by running the following emcli
commands in the command-line interface:
emcli create_siteguard_script -system_name= "BISystem2" -operation="Failover" -script_type="Storage-Failover" -path="/u01/app/oracle/admin/bi_instance/sgstoragescripts/failovertobisystem2.sh" -host_name="STBYBI1" –credential_type="HostPrivileged"
See Appendix F, "create_siteguard_script" for more information.
You must create the following operation plans:
For more information, see Executing Oracle Site Guard Operations.
Operation Plan for Start Operation on BISystem1
Create a start operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plans _system_name="BISystem1" -operation="Start" -name="start-bisystem1" -role="Primary"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Stop Operation on BISystem1
Create a stop operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -system_name="BISystem1" -operation="Stop" -name="stop-bisystem1" -role="Primary"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Start Operation on BISystem2
Create a start operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -system_name="BISystem2" -operation="Start" -name="start-bisystem2" -role="Standby"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Stop Operation on BISystem2
Create a stop operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -system_name="BISystem2" -operation="Stop" -name="stop-bisystem2" -role="Standby"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Switchover Operation on BISystem2
Create a switchover operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -primary_system_name="BISystem1" -standby_system_name="BISystem2" -operation="Switchover"" -name="switchover-to-bisystem2"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Switchover Operation on BISystem1
Create a switchover operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -primary_system_name="BISystem2" -standby_system_name="BISystem1" -operation="Switchover"" -name="switchover-to-bisystem1"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Failover Operation on BISystem2
Create a failover operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -primary_system_name="BISystem1" -standby_system_name="BISystem2" -operation="Failover" -name="Failover-to-bisystem2"
See Appendix F, "create_operation_plan" for more information.
Operation Plan for Failover Operation on BISystem1
Create a failover operation plan by running the following emcli
commands in the command-line interface:
emcli create_operation_plan -primary_system_name="BISystem2" -standby_system_name="BISystem1" -operation="Failover" -name="Failover-to-bisystem1"
See Appendix F, "create_operation_plan" for more information.
To list all operation plans, run the following emcli
commands in the command-line interface:
emcli get_operation_plan -name="plan_name"
Figure 31-5 shows an example of all operation plans for BISystem1
and BISystem2
.
Figure 31-5 Operation Plans for BISystem1 and BISystem2
To obtain information about an operation plan, run the following emcli
commands in the command-line interface:
emcli get_operation_plan_details -name="plan_name"
See Appendix F, "get_operation_plan_details" for more information.
Start BISystem1
by submitting the start-bisystem1
operation using emcli
commands in the command-line interface:
emcli submit_operation_plan -name="start-bisystem1"
See Appendix F, "submit_operation_plan" for more information.
Figure 31-6 shows the start-bisystem1
operation status.
You can also monitor the status from the Enterprise Manager Cloud Control console by completing the following steps:
Log in to Enterprise Manager Cloud Control Console as an EM_CLOUD_ADMINISTRATOR
user.
Click Enterprise > Provisioning and Patching > Procedure Activity.
The Provisioning page is displayed.
Click the Procedure Activity tab.
Stop BISystem1
by submitting the stop-bisystem1
operation using emcli
commands in the command-line interface:
emcli submit_operation_plan -name="stop-bisystem1"
See Appendix F, "submit_operation_plan" for more information.
Figure 31-7 shows the stop-bisystem1
operation status.
Oracle Site Guard runs the pre-check utility after you submit the operation plan.
To run the pre-check utility for an operation plan, run the following emcli
commands in the command-line interface:
emcli run_prechecks -operation_plan="name"
See Appendix F, "run_prechecks" for more information.
Figure 31-8 shows an example of a pre-check utility emcli
command in the command-line interface.
You must complete the following:
To perform a site switchover to BISystem1
, run the following emcli
commands in the command-line interface:
emcli submit_operation_plan -name="switchover-to-bisystem1"
See Appendix F, "submit_operation_plan" for more information.
Figure 31-9 shows the switchover operation status.
Figure 31-9 Switchover Status for BISystem1
To perform a site switchover to BISystem2
, run the following emcli
commands in the command-line interface:
emcli submit_operation_plan -name="switchover-to-bisystem2"
See Appendix F, "submit_operation_plan" for more information.
Figure 31-10 shows the switchover operation status.
Figure 31-10 Switchover Status for BISystem2
After you perform switchover the associations in the Site Guard configuration will be updated, as shown in Figure 31-11.
To perform a site failover, complete the following steps:
To perform a site failover to BISystem1
, run the following emcli
commands in the command-line interface:
emcli submit_operation_plan -name="failover-to-bisystem1"
See Appendix F, "submit_operation_plan" for more information.
Figure 31-12 shows the failover operation status.
Figure 31-12 Failover Status for BISystem1
To perform a site failover to BISystem2
, run the following emcli
commands in the command-line interface:
emcli submit_operation_plan -name="failover-to-bisystem2"
See Appendix F, "submit_operation_plan" for more information.
Figure 31-13 shows the failover operation status.
Figure 31-13 Failover Status for BISystem2