Tags » Replication

Setting up of DSEE and OUD Replicated Env

$ export ORACLE_HOME=/scratch/appl/oracle/fmw-oudr2ps3/Oracle_OUD1/
$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME:$PATH
$ export JAVA_HOME=/appl/binaries/jdk/jdk1.7.0_79
$ export PATH=$JAVA_HOME/bin:$PATH

# create the first DS instanceS at 1389/4444 but do not start

oud-setup --cli --adminConnectorPort 4444 --ldapPort 1389 --rootUserDN cn="Directory Manager" --rootUserPasswordFile /home/oracle/pass.txt --serverTuning jvm-default --offlineToolsTuning jvm-default --no-prompt --noPropertiesFile --doNotStart -b dc=Example,dc=com

# create the second DS instance at 2389/5444 but do not start

oud-setup --cli --adminConnectorPort 5444 --ldapPort 2389 --rootUserDN cn="Directory Manager" --rootUserPasswordFile /home/oracle/pass.txt --serverTuning jvm-default --offlineToolsTuning jvm-default --no-prompt --noPropertiesFile --doNotStart -b dc=Example,dc=com

# create the first RS instance at 3389/6444 but do not start

oud-setup --cli --adminConnectorPort 6444 --ldapPort 3389 --rootUserDN cn="Directory Manager" --rootUserPasswordFile /home/oracle/pass.txt --serverTuning jvm-default --offlineToolsTuning jvm-default --no-prompt --noPropertiesFile --doNotStart

# create the second RS instance at 4389/7444 but do not start

oud-setup --cli --adminConnectorPort 7444 --ldapPort 4389 --rootUserDN cn="Directory Manager" --rootUserPasswordFile /home/oracle/pass.txt --serverTuning jvm-default --offlineToolsTuning jvm-default --no-prompt --noPropertiesFile --doNotStart

# start the DS instances

/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/start-ds
/scratch/appl/oracle/fmw-oudr2ps3/asinst_2/OUD/bin/start-ds

# now start the replication server

/scratch/appl/oracle/fmw-oudr2ps3/asinst_3/OUD/bin/start-ds
/scratch/appl/oracle/fmw-oudr2ps3/asinst_4/OUD/bin/start-ds

# enable replication from asinst_1 to asinst_3 and check status

/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication enable --bindDN1 cn="Directory Manager" --bindPasswordFile1 /home/oracle/pass.txt --host1 localhost --port1 4444 --noReplicationServer1 --bindDN2 cn="Directory Manager" --bindPasswordFile2 /home/oracle/pass.txt --host2 localhost --port2 6444 --onlyReplicationServer2 --replicationPort2 8989 --baseDN dc=Example,dc=com --adminUID admin --adminPasswordFile /home/oracle/pass.txt -X -n

/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication status -h localhost -p 4444 --adminUID admin --adminPasswordFile /home/oracle/pass.txt --dataToDisplay compat-view -X

# enable replication from asinst_1 to asinst_4 and check status
date
/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication enable --bindDN1 cn="Directory Manager" --bindPasswordFile1 /home/oracle/pass.txt --host1 localhost --port1 4444 --noReplicationServer1 --bindDN2 cn="Directory Manager" --bindPasswordFile2 /home/oracle/pass.txt --host2 localhost --port2 7444 --onlyReplicationServer2 --replicationPort2 8990 --baseDN dc=Example,dc=com --adminUID admin --adminPasswordFile /home/oracle/pass.txt -X -n

/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication status -h localhost -p 4444 --adminUID admin --adminPasswordFile /home/oracle/pass.txt --dataToDisplay compat-view -X

# enable replication from asinst_2 to asinst_3 and check status
date
/scratch/appl/oracle/fmw-oudr2ps3/asinst_2/OUD/bin/dsreplication enable --bindDN1 cn="Directory Manager" --bindPasswordFile1 /home/oracle/pass.txt --host1 localhost --port1 5444 --noReplicationServer1 --bindDN2 cn="Directory Manager" --bindPasswordFile2 /home/oracle/pass.txt --host2 localhost --port2 6444 --onlyReplicationServer2 --replicationPort2 8989 --baseDN dc=Example,dc=com --adminUID admin --adminPasswordFile /home/oracle/pass.txt -X -n

/scratch/appl/oracle/fmw-oudr2ps3/asinst_2/OUD/bin/dsreplication status -h localhost -p 5444 --adminUID admin --adminPasswordFile /home/oracle/pass.txt --dataToDisplay compat-view -X

# initialize asinst_2 from asinst_1
date
/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication initialize-all -h localhost -p 4444 --baseDN dc=Example,dc=com --adminUID admin --adminPasswordFile /home/oracle/pass.txt
/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication status -h localhost -p 4444 --adminUID admin --adminPasswordFile /home/oracle/pass.txt --dataToDisplay compat-view -X


# Add Root Branch
$ /scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/ldapmodify -a -p 1389 -D "cn=Directory Manager" -w Welcome1 

dn: dc=Example,dc=com
objectclass: top
objectclass: domain
dc: Example

# Add People Branch 
$ /scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/ldapmodify -a -p 1389 -D "cn=Directory Manager" -w Welcome1 

dn: ou=People,dc=Example,dc=com
changetype: add
objectclass: top
objectclass: organizationalUnit
ou: People

# add an antry and check replication status afterwards
date
/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/ldapmodify -a -p 1389 -D "cn=Directory Manager" -w Welcome1 
dn: uid=ste,ou=People,dc=Example,dc=com
postalAddress: Schwielowsee
postalCode: 14548
uid: ste
description: This is the description for stefan0
userPassword: password
employeeNumber: 23
initials: SW
givenName: Stefan
objectClass: person
objectClass: inetorgperson
objectClass: organizationalperson
objectClass: top
pager: +1 724 334 4454
mobile: +1 699 006 9072
cn: Stefan W
sn: W
roomNumber: 123
telephoneNumber: 456
street: Auf dem Franzensberg
homePhone: +1 698 343 6105
l: Potsdam
mail: stefan@maildomain.net
st: BR

# Check the replication Status

/scratch/appl/oracle/fmw-oudr2ps3/asinst_1/OUD/bin/dsreplication status -h localhost -p 4444 --adminUID admin --adminPasswordFile /home/oracle/pass.txt --dataToDisplay compat-view -X

#---------------DSEE ------------ #

# http://docs.oracle.com/cd/E19316-01/820-2763/fxcfe/index.html
# http://docs.oracle.com/cd/E19424-01/820-4806/gaduf/index.html

export PATH=/scratch/binaries/dsee7//ODSEE_ZIP_Distribution/dsee7/bin:/scratch/binaries/dsee7//ODSEE_ZIP_Distribution/dsee7/dsrk/bin:$PATH

####################
#Instance Creation
####################

dsadm create -p 10389 -P 10636 -w ~/pass.txt /scratch/appl/oracle/fmw-dsee7/ins-master1
dsadm create -p 11389 -P 11636 -w ~/pass.txt /scratch/appl/oracle/fmw-dsee7/ins-master2
dsadm create -p 12389 -P 12636 -w ~/pass.txt /scratch/appl/oracle/fmw-dsee7/ins-replica1
dsadm create -p 13389 -P 13636 -w ~/pass.txt /scratch/appl/oracle/fmw-dsee7/ins-hub1
dsadm create -p 14389 -P 14636 -w ~/pass.txt /scratch/appl/oracle/fmw-dsee7/ins-replica2
dsadm create -p 15389 -P 15636 -w ~/pass.txt /scratch/appl/oracle/fmw-dsee7/ins-hub2

sleep 5

# start an instance 

dsadm start /scratch/appl/oracle/fmw-dsee7/ins-master1
dsadm start /scratch/appl/oracle/fmw-dsee7/ins-master2
dsadm start /scratch/appl/oracle/fmw-dsee7/ins-replica1
dsadm start /scratch/appl/oracle/fmw-dsee7/ins-replica2
dsadm start /scratch/appl/oracle/fmw-dsee7/ins-hub1
dsadm start /scratch/appl/oracle/fmw-dsee7/ins-hub2

# Create a suffix 

dsconf create-suffix -p 10389 -w ~/pass.txt -e dc=example,dc=com
dsconf create-suffix -p 11389 -w ~/pass.txt -e dc=example,dc=com
dsconf create-suffix -p 12389 -w ~/pass.txt -e dc=example,dc=com
dsconf create-suffix -p 13389 -w ~/pass.txt -e dc=example,dc=com
dsconf create-suffix -p 14389 -w ~/pass.txt -e dc=example,dc=com
dsconf create-suffix -p 15389 -w ~/pass.txt -e dc=example,dc=com

# Populate the suffix with LDIF data. 2,469 more words
OUD

EHC - Backup as a Service: Automated VM Protection

The Enterprise Hybrid Cloud solution provides fully automated data protection backup and restore services for virtual machines, with EHC Backup as a Service (BaaS).

At virtual machine deployment time, cloud users in the vRealize Automation self-service portal, can choose to protect their machines with a predefined backup service level. 780 more words

EHC

Yet more evidence for questionable research practices in original studies of Reproducibility Project: Psychology

The replicability of psychological research is surprisingly low. Why? In this blog post I present new evidence showing that questionable research practices contributed to failures to replicate psychological effects. 2,271 more words

Richard Kunert

OUD Replication Firewall Setup

  • For replication, only open the replication server ports.
  • For Monitoring, you would need to open Admin Server Ports.
  • SSL is not enabled by default for replication, please useĀ ‘Configure as secure’ option for SSL communication.
  • 8 more words

Create Amazing Looking Backtests With This One Wrong--I Mean Weird--Trick! (And Some Troubling Logical Invest Results)

This post will outline an easy-to-make mistake in writing vectorized backtests–namely in using a signal obtained at the end of a period to enter (or exit) a position in that same period. 548 more words

R

The replication crisis in science has just begun. It will be big.

Summary: After a decade of slow growth beneath public view, the replication crisis in science begins breaking into public view. First psychology and biomedical studies, now spreading to many other fields — overturning what we were told is settled science, the foundations of our personal behavior and public policy. 2,284 more words

Science & Nature

Coding errors can be avoided

An article in the American Journal of Political Science was corrected after the coding of a political attitude variable was accidentally the wrong way around. Pre-publication cross-checks by the authors and the journal, as well as publication of the original data and variable transformations can avoid such problems. 851 more words

Replication