giovedì 3 marzo 2016

Setup OpenDj and replication

on both machines:  
 
./setup -i -n -b "dc=example,dc=com"\
 -h localhost -p 1389 \
  --adminConnectorPort 4444 \
 -D "cn=Directory Manager" \ 
 -w "secret12" -q -Z 1636 \
 --generateSelfSignedCertificate
 
 
on am1:
 
 ./dsreplication enable --host1 cfg1.example.net \
 --port1 4446  --bindDN1 "cn=directory manager" \
 --bindPassword1 password --replicationPort1 8991 \
 --host2 cfg2.example.net --port2 4446 \
 --bindDN2 "cn=directory manager" \
 --bindPassword2 password \
 --replicationPort2 8991 \
 --adminUID admin \
 --adminPassword password \
 --baseDN "dc=ericsson,dc=com" -X -n


 ./dsreplication initialize --baseDN "dc=example,dc=com" \
 --adminUID admin --adminPassword password  \
 --hostSource ctsdj01.tirasa.net \
 --portSource 4446 \
 --hostDestination cfg2.example.net \ 
 --portDestination 4446 -X -n --trustAll --no-prompt


on am2:
./dsreplication initialize --baseDN "dc=example,dc=com" \
--adminUID admin --adminPassword password \
--hostSource cfg2.example.net \
--portSource 4446  \
--hostDestination cfg1.example.net \
--portDestination 4446 -X -n
 
 

Nessun commento:

How to deploy Podman images to OpenShift Container Platform (CRC on localhost)

I have a microservice on localhost and I want to deploy its Podman image on OCP, which I am running using CRC on localhost.       1. Get the...