Step by Step configuration of OID Multi Master Replication – LDAP based in OID 11g

  • October 1, 2012 /
  • OID /
  • By Atul Kumar /
  • 7 COMMENTS

I discussed about OID replication concepts like supplier, consumer , replication agreement , ASR (Database Advanced Server Replication) vs LDAP based replication here and here

You can see Mahendra’s post on OID Multi-Master replication here and steps to configure OID 11g LDAP based multi-master replication here

Steps to configure OID in multi-master replication with screenshots are covered in My Oracle Support Note 1052278.1 How to Setup 11g OID Multimaster Replication.
In this post I am going to cover key points that supplement note 1052278.1 How to Setup 11g OID Multimaster Replication

Why and when to implement OID multi-master replication ?
OID uses Oracle database as its persistent store both for configuration and user data. For high availability (as shown on left side of above image) in one data center, you can configure two or more OID nodes connected to RAC Database (RAC database provides high availability for OID database). You can configure two OID application tier instances connected to same RAC database using steps in EDG here.

For OID high availability across sites (two data centers situated miles apart) or in situation where you don’t have RAC database license, 聽You can achieve high availability across sites using OID Multi-Master replication. In OID multi-master replication, OID is always available (Active-Active) on both Primary and Standby site. Change on OID@standby are replicated to OID@Primary and vice versa and two OID’s remain in sync.

How OIDs configured in Multi-Master remain in sync ?
You can configure two or more OID’s in multi-master replication either using LDAP based replication (LDAP commands using change log are used to keep to OID stores in sync) or ASR based replication (database advanced replication feature is used to sync two OID stores)

Note1: LDAP based replication is preferred replication
Note2: ASR based replication is mandatory if you are using 10g SSO (OSSO)

Things good to know for OID LDAP based multi-master replication
1) If you have two OID application nodes (node1 & node2) connected to same OID database (RAC_DB1) and two another OID application nodes (node3 & node4) connected to second OID database (RAC_DB2) as shown in figure above, then to configure multi master replication between a) node1/2 with RACDB1 and b) node3/4 with RACDB2
a) configure/start OID replication daemon OIDREPLD only on one of two nodes from OID1 or OID2
and
b) configure/start OID replication daemon OIDREPLD only on one of two nodes from OID3 or OID04

2) You can configure OID Multi-master replication using Replication Wizard (using Enterprise Manager) or command line tool (remtool)
Note: Replication Wizard (via enterprise manager) is recommended approach to configure OID multi-master replication聽

3) You can configure replication on SSL or Non SSL. If you wish to configure replication on SSL then use LDAP SSL port between members of replication nodes

 


4) Bootstrap is the process to initially loading existing data (including OID schema extension) from one OID to another OID member in replication . You can bootstrap by selecting checkbox as shown below during configuration.

Note: Do not select bootstrap for both the replication members

 

More on OID multi master replication attributes and replication daemons in next post

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

7 comments
IgnitedMind says January 24, 2013

Hi Atul,

Will this work for cross domain as well ?

I mean I have two OID in different domain, can I use Multi Master Replica or DIP Sync to synchronize ?

Any Specific env/confg req at both end ?

Help Appreciated

Reply
    Atul Kumar says January 24, 2013

    @ IgnotedMind,
    When you say cross domain here you mean different enterprise domain or network (and does not mean WebLogic Domain)

    Yes this will work cross domain as long as two OID’s can talk to each other over LDAP (OID listener port)

    Nothing specific requirement as long as each OID is in different Database and OID listener (LDAP) port is open across two domains where OIDs are deployed.

    Reply
abhi says August 7, 2013

Hi atul

I want to connect oracle db via ldap.I have installed oraclercu,weblogic,oracle identity manage.I created users and roles in OID.But now im stuck and i am not understanding how should connect my oracle db with ldap.I enter the credential like cn=users,dc=com and enter the host where my OID error is running and port number 3131 and 3160 but nothing is working for me .I also made changes in ldap.ora file but nothing seems to be working for me.

Reply
abhi says August 7, 2013

abhi said, in August 7th, 2013 at 3:02 am
Hi atul

I want to connect oracle db via ldap.I have installed oraclercu,weblogic,oracle identity manage.I created users and roles in OID.But now im stuck and i am not understanding how should connect my oracle db with ldap.I enter the credential like cn=users,dc=com and enter the host where my OID is running and port number 3131 and 3160 but nothing is working for me .I also made changes in ldap.ora file but nothing seems to be working for me.

Reply
Vijay Kumar says March 11, 2015

Hi

How can we achive below

Master site with HA – read/write capability
Secondary sites will read only replica
=======================================

As with OID we have external Oracle Database which can be RAC for OID providing HA on Primary site. How can we achive same with OUD [BrkDb] in Primary site.

+ Read only replica on Secondary site.

Thanks
Vijay Kumar

Reply
quanns says March 23, 2016

Can you explain in details about “enable bootstrap” options when setting replication agreement.
If I check it on server oid2, so oid1 will gain all data from server oid1 or in reverse, oid1 will be the reception.

Reply
Add Your Reply

Not found

哆哆女性网姓罗什么起名周易微信起名大全名扬天下周易起名网是真的电影天堂少林足球修理店铺起名大全顾姓男孩名字起名html5移动端网站建设建站网站制作扫黑风暴电视剧全集网盘开早餐店起名大全门户网站建设合同网站制作教程php什么是医疗seo保洁公司起名初一年级读后感网站宣传册怎么设计夏邑西瓜周易六爻预测视频含泪活着观后感800字陈道明演的所有电视剧国术凶猛网络推广营销的方式黄金交易时间一周几天韩志g主演的电视剧免备案的网站建设周易生辰八字免费起名测算结果亢姓女孩起名谷歌seo是什么女孩姓史取的女孩起名大全给童装店起的名字淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻不负春光新的一天从800个哈欠开始有个姐真把千机伞做出来了国产伟哥去年销售近13亿充个话费竟沦为间接洗钱工具重庆警方辟谣“男子杀人焚尸”男子给前妻转账 现任妻子起诉要回春分繁花正当时呼北高速交通事故已致14人死亡杨洋拄拐现身医院月嫂回应掌掴婴儿是在赶虫子男孩疑遭霸凌 家长讨说法被踢出群因自嘲式简历走红的教授更新简介网友建议重庆地铁不准乘客携带菜筐清明节放假3天调休1天郑州一火锅店爆改成麻辣烫店19岁小伙救下5人后溺亡 多方发声两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#青海通报栏杆断裂小学生跌落住进ICU代拍被何赛飞拿着魔杖追着打315晚会后胖东来又人满为患了当地回应沈阳致3死车祸车主疑毒驾武汉大学樱花即将进入盛花期张立群任西安交通大学校长为江西彩礼“减负”的“试婚人”网友洛杉矶偶遇贾玲倪萍分享减重40斤方法男孩8年未见母亲被告知被遗忘小米汽车超级工厂正式揭幕周杰伦一审败诉网易特朗普谈“凯特王妃P图照”考生莫言也上北大硕士复试名单了妈妈回应孩子在校撞护栏坠楼恒大被罚41.75亿到底怎么缴男子持台球杆殴打2名女店员被抓校方回应护栏损坏小学生课间坠楼外国人感慨凌晨的中国很安全火箭最近9战8胜1负王树国3次鞠躬告别西交大师生房客欠租失踪 房东直发愁萧美琴窜访捷克 外交部回应山西省委原副书记商黎光被逮捕阿根廷将发行1万与2万面值的纸币英国王室又一合照被质疑P图男子被猫抓伤后确诊“猫抓病”

哆哆女性网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化