Solved

Installing LDAP Replica

Posted on 2007-12-06
4
1,606 Views
Last Modified: 2013-12-18
I installed the 10g LDAP replica(oidtest1) one way fan out successfully on the same machine(HP-UX 11.1) as that of master(oidtest) and picked automatic for port configuration  during installation,do i need to do any configuration before installing replica like backing up data on master and loading it on replica or installer will do the replication automatically?during the configuration of replica one of the configuration assistant"OID REPLICATION CONFIGURATION ASSISTANT " gave warning which is as follows,

Output generated from configuration assistant "OID Replication Configuration Assistant":
* Warning * Failed to get SSO entry. dn:orclApplicationCommonName=ORASSO_SSOSERVER,cn=SSO,cn=Products,cn=OracleContext details:[LDAP: error code 32 - No Such Object] * INFO * Bootstrap is completed Configuration assistant "OID Replication Configuration Assistant" succeeded .I wnet ahead and installed it.After installing replica i went to my master $ORACLE_HOME/bin and kicked *netmgr and under oracle context i see cn=oraclecontext dc=am dc=kwe dc=com which used to be cn=panther dc=am dc=kwe
dc=com ,but It still resolve the service name but not when i take down the master.iam very new to OID please guide me through this.
 After installing ldap replica i shutdown the master repository(oidtest) and its not resoving the service name.Followed http://www.onlyoracle.com/Site/Concepts_Chapter2.html to the  'T' .

 $ opmnctl statusProcesses in Instance: panther_oid_oidtest1.panther.am.kwe.com-------------------+--------------------+---------+---------ias-component      | process-type       |     pid | status-------------------+--------------------+---------+---------
DSA                | DSA                |     N/A |
DownLogLoader          | logloaderd         |     N/A |
 Downdcm-daemon         | dcm-daemon         |   27694 | Alive
HTTP_Server        | HTTP_Server        |   27543 | Alive
OID                | OID                |   27371 | Alive  $

opmnctl status(master)
Processes in Instance: panther_oid_a.panther.am.kwe.com-------------------+--------------------+---------+---------ias-component      | process-type       |     pid | status-------------------+--------------------+---------+---------
DSA                | DSA                |     N/A |
 DownLogLoader          | logloaderd         |     N/A |
Downdcm-daemon         | dcm-daemon         |   20652 | Alive
HTTP_Server        | HTTP_Server        |   10570 | Alive
OID                | OID                |   20301 | Alive

These are the errors from /amoidts2/OIDREP/ldap/log(Replica)

vi oidrepld01.log
2007/12/07:16:03:12 * gslrutjMergeSchema: Succeeded in Merging Schema of supplir panther_oidtest and consumer panther_oidtest1.
2007/12/07:16:03:12 * Schema Merge between supplier=panther_oidtest and consume=panther_oidtest1
successful
2007/12/07:16:03:12 * Start to BootStrap from supplier=panther_oidtest to consuer=panther_oidtest1
2007/12/07:16:27:35 * Failed to get change status.
DN:orclagreementid=000005,orlreplicaid=panther_oidtest,cn=replication
configuration, FILTER:(objectclass=orclReplAgreementEntry),
ATTRNAME:orcllastappliedchangenumber;apply$panther_oidtest$panther_oidtest1,
ERR:Message 9999 not found; product=ldap; facility=ldap
2007/12/07:16:27:35 * gslrrcaChangeLogProc:Failed to get attribute
'orcllastappiedchangenumber;apply$panther_oidtest$panther_oidtest1' of agreement 'orclagreemeation'.0005,orclreplicaid=panther_oidtest,cn=replication
configuration'.
2007/12/07:16:27:35 * sgslufread: Hard error on read, OS error = 232
ity=ldap

where did i go wrong with this ?please let me know

Open in new window

0
Comment
Question by:monto1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
schwertner earned 500 total points
ID: 20440051
http://forums.oracle.com/forums/thread.jspa?messageID=2132538

I got it resovled after changing ORACLE_SID ..while instllaing we givenn SID name with capital letters, after keeping SID in small letter installation went fine
0
 

Author Comment

by:monto1
ID: 20442419
Hi ,I have a sid with lower case (oidtest1), as i read about it in the documentation about a bug and i was careful with it.
0
 

Author Comment

by:monto1
ID: 20443919
During installation and configuration of Replica i got this which i ignore and went ahead with it.
Output generated from configuration assistant "OID Replication Configuration Assistant":
* Warning * Failed to get SSO entry. dn:orclApplicationCommonName=ORASSO_SSOSERVER,cn=SSO,cn=Products,cn=OracleContext
details:[LDAP: error code 32 - No Such Object] * INFO * Bootstrap is completed
Configuration assistant "OID Replication Configuration Assistant" succeeded

But i went ahead and completed the installation.I did not do any configuration prior to installing the replica assuming installer will do the
neccessary

As per Note:300436.1

NOTE: "If LDAP replication is chosen, the installer configures replication using
remtool and starts the bootstrap process as well by starting the oidrepld
(replication server). This Bootstrap operation copies all entries sans some
entries mentioned above from supplier to consumer.Therefore, if you have chosen LDAP based replication YOU ARE
DONE".
After installing replica i went to  my master $ORACLE_HOME/bin and kicked *netmgr and under oracle context i see cn=oraclecontext dc=am dc=kwe dc=com
which used to be cn=panther dc=am dc=kwe
dc=com ,It still resove the service name but not when i take down the master.iam very new to OID please guide me through this.
0
 
LVL 48

Assisted Solution

by:schwertner
schwertner earned 500 total points
ID: 20447944
Note:216120.1
You have to check ALL environment variables

3. Verify the environment for the user who starts OID is set correctly,
   including setting all the proper environment variables as required, not just
   the ORACLE_HOME.

 
   Try unsetting TNS_ADMIN if it is set, or set it correctly if not set.
   Double check setting for LD_ASSUME_KERNEL (Linux) and LD_LIBRARY_PATH.

   From one previous occurrence of this error:
   There was something in the installation environment that got set (or not set),
   that causes OID not to start.  After a lot of work with environment variable
   settings, resetting all the oracle environment variables, OID then starts
   properly.

Consult the specific platform's Install Guide for additional information on
environment variable settings.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question