Solved

Installing LDAP Replica

Posted on 2007-12-06
4
1,596 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
  • 2
  • 2
4 Comments
 
LVL 47

Accepted Solution

by:
schwertner earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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 47

Assisted Solution

by:schwertner
schwertner earned 500 total points
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now