You are on page 1of 16

OID

Cluster
Sunday, October 4, 2015 10:17 AM

Install and Configure 11g OID Cluster

1. Rcu
2. Install Weblogic
3. Install OID binaries
4. Configure OID 1 without domain, connect to Oracle DB, instance oid_1
5. Configure OID 2 without domain, connect to Oracle DB, instance oid_2
6. Verify OID servers works fine
7. Create DIP domain on server 1, instance dip_1
8. Extend cluster DIP, instance dip_2

This post covers installing 11.1.1.7 Oracle Internet Directory(OID) cluster to ac


Availability(HA) and better performance.

System architect:

ServerA: admin server & odsm

ServerB: oid instance 1

ServerC: oid instance 2

ServerD: database server

all of them are linux boxes.

software: downloaded from oracle website

jdk: jdk 6

weblogic: Weblogic Server 10.3.6


chieve High
software: downloaded from oracle website

jdk: jdk 6

weblogic: Weblogic Server 10.3.6

rcu: rcu 11.1.1.7

idm: idm_linux_11.1.1.7.0

install binaries :

1. install JDK on server A,B & C

2. install weblogic on server A,B & C

3. unzip Oracle Repository Creation Utility on server A

4. install Identity Management software 11.1.1.7 (choose install software-Do n


A, B & C
not configure) on server
create a new database on ServerD.

change below parameter when you create database:

open_cursors=800

processes=500

test database connection before processing the below configuration step.

configure:

1. run rcu from server A to populate oid schema(select Oracle Internet Director
error when creating schema, you can drop the schema using rcu. Fix the issue,

2. copy and edit staticports.ini file

copy the file from Disk1/stage/Response/staticports.ini to /tmp on both serve


then edit this file and make sure the following lines look like:

1 #The Non-SSL port for OID


2 Oracle Internet Directory Port No = <ldap port>
3 #The SSL port for OID
4 Oracle Internet Directory (SSL) Port No = <ldaps port>
3. run $ORACLE_HOME/bin/config.sh on server B

a. choose Configure without A Domain


ry only). If you get
and then rerun rcu.

er B and server C, and


3. run $ORACLE_HOME/bin/config.sh on server B

a. choose Configure without A Domain

b. choose Specify Ports using Configuration file


After the configuration is done on this server, run the following command to v
on this server works fine:

1 ldapbind -h localhost -p <ldap port> -D 'cn=orcladmin' -q


run the following command to verify load balancer works properly.

1 ldapbind -h <load balancer> -p <ldap port> -D 'cn=orcladmin' -q


4. run $ORACLE_HOME/bin/config.sh on server C

a. choose Configure without A Domain

b. change Oracle Instance Name and Instance location from asinst_1 to asint_
verify the oid instance

_2
c. choose Specify Ports using Configuration file

After the configuration is done on this server, run the following command to v
on this server works fine:

1 ldapbind -h localhost -p <ldap port> -D 'cn=orcladmin' -q


shutdown oid instance on server B, and then run the following command to ve
works properly.

1 ldapbind -h <load balancer> -p <ldap port> -D 'cn=orcladmin' -q


5. run $ORACLE_HOME/bin/config.sh on server A

a. choose Create New Domain at select domain step

b.change Oracle Instance Name and Instance location from asinst_1 to asint_3
Installation Location step

c.select Oracle Directory Service Manager only at Configure Components s


verify the oid instance

erify load balancer

3 at Specify

step
b.change Oracle Instance Name and Instance location from asinst_1 to asint_3
Installation Location step

c.select Oracle Directory Service Manager only at Configure Components s

6. Register oid instance with the new created domain on both server B and serv

1 opmnctl registerinstance -adminHost <server A> -adminPort <admin por


adminUsername <weblogic admin>
7. disable server entry cache

By default, the server entry cache is enabled. We should disable it since we are

a. Create a file called modify_cache.ldif with next:


3 at Specify

step

rver C

rt on server A> -

e configuring a cluster.
By default, the server entry cache is enabled. We should disable it since we are

a. Create a file called modify_cache.ldif with next:

dn: cn=dsaconfig,cn=configsets,cn=oracle internet directory


changetype: modify
replace: orclecacheenabled
orclecacheenabled: 0
b. Apply the change as follows:

$ORACLE_HOME/bin/ldapmodify -h <oid server> -p <oid port> -D cn=orcladmin -


modify_cache.ldif
8. login the odsm by specifying load balancer address.
e configuring a cluster.

-w passwd -v -f

You might also like