Performing an Oracle Internet Directory Failover Performing an Oracle RAC Failover

8-42 Oracle Fusion Middleware High Availability Guide ldapbind -h oidhost1.mycompany.com -p 389 -D cn=orcladmin -q ldapbind -h oidhost2.mycompany.com -p 389 -D cn=orcladmin -q ldapbind -h oid.mycompany.com -p 389 -D cn=orcladmin -q For SSL: ldapbind -h oidhost1.mycompany.com -p 636 -D cn=orcladmin -q -U 1 ldapbind -h oidhost2.mycompany.com -p 636 -D cn=orcladmin -q -U 1 ldapbind -h oid.mycompany.com -p 636 -D cn=orcladmin -q -U 1 where -U is an optional argument used to specify the SSL authentication mode. These are the valid values for the SSL authentication mode: ■ 1 = No authentication required ■ 2 = One way authentication required. With this option, you must also supply a wallet location -W file:homemy_dirmy_wallet and wallet password -P wallet_ password. ■ 3 = Two way authentication required. With this option, you must also supply a wallet location -W file:homemy_dirmy_wallet and wallet password -P wallet_ password. For more information about the ldapbind command, see the ldapbind section in Oracle Fusion Middleware Reference for Oracle Identity Management. For information about setting up SSL for Oracle Internet Directory, see Configuring Secure Sockets Layer SSL in the Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory manual. WebLogic Server Administration Console: http:oidhost1.mycompany.com:7001console Oracle Enterprise Manager Fusion Middleware Console: http:oidhost1.mycompany.com:7001em

8.3.5 Oracle Internet Directory Failover and Expected Behavior

This section includes steps for performing a failover of Oracle Internet Directory and for performing a failover of Oracle RAC.

8.3.5.1 Performing an Oracle Internet Directory Failover

Follow these steps to perform a failover of an Oracle Internet Directory instance and to check the status of Oracle Internet Directory: 1. On OIDHOST1, use the opmnctl command to stop the Oracle Internet Directory instance: ORACLE_INSTANCE binopmnctl stopproc ias-component=oid1 Note: The -q option above prompts the user for a password. LDAP tools have been modified to disable the options -w password and -P password when the environment variable LDAP_PASSWORD_ PROMPTONLY is set to TRUE or 1. Use this feature whenever possible. Configuring High Availability for Identity Management Components 8-43 2. On OIDHOST2, check the status of Oracle Internet Directory using the load balancing router: ldapbind -h oid.mycompany.com -p 389 -D cn=orcladmin -q 3. On OIDHOST1, use the opmnctl command to start the Oracle Internet Directory instance: ORACLE_INSTANCE binopmnctl start if OPMN is not running ORACLE_INSTANCE binopmnctl startproc ias-component=oid1 4. On OIDHOST2, use the opmnctl command to stop the Oracle Internet Directory instance: ORACLE_INSTANCE binopmnctl stopproc ias-component=oid1 5. On OIDHOST1, check the status of Oracle Internet Directory using the load balancing router: ldapbind -h oid.mycompany.com -p 389 -D cn=orcladmin -q 6. On OIDHOST2, use the opmnctl command to start the Oracle Internet Directory instance: ORACLE_INSTANCE binopmnctl start if OPMN is not running ORACLE_INSTANCE binopmnctl startproc ias-component=oid1

8.3.5.2 Performing an Oracle RAC Failover

Follow these steps to perform an Oracle RAC failover: 1. Use the srvctl command to stop a database instance: srvctl stop instance -d db_unique_name -i inst_name_list 2. Use the srvctl command to check the status of the database: srvctl status database -d db_unique_name -v 3. Check the status of Oracle Internet Directory: Note: See the Configuring Your Environment section of Oracle Fusion Middleware Reference for Oracle Identity Management for a list of the environment variables you must set before using the ldapbind command. Note: The -q option above prompts the user for a password. LDAP tools have been modified to disable the options -w password and -P password when the environment variable LDAP_PASSWORD_ PROMPTONLY is set to TRUE or 1. Use this feature whenever possible. 8-44 Oracle Fusion Middleware High Availability Guide ldapbind -h oid_host -p 389 -D cn=orcladmin -q ldapbind -h oid_host -p 389 -D cn=orcladmin -q ldapbind -h oid.mycompany.com -p 389 -D cn=orcladmin -q 4. Use the srvctl command to start the database instance: srvctl start instance -d db_unique_name -i inst_name_list

8.3.6 Troubleshooting Oracle Internet Directory High Availability