#! /bin/ksh
export JAVA_HOME=/apps2/jdk/jdk1.8.0_144/bin
export FMW=/apps2/OUD/fmw
export OUD_HOME=/apps2/OUD/fmw/Oracle_OUD1
export OUDIstance=/apps2/OUD/fmw/asinst_1
setup your inventory, fusion middleware home. setup your java
Go
to /apps2/OUD/fmw/Oracle_OUD1
OUD
Instance location successfully created /apps2/OUD/fmw/Oracle_OUD1/../asinst_1"
/OUD/fmw/Oracle_OUD1$ ./oud-setup
OUD Instance location successfully created -
/apps2/OUD/fmw/Oracle_OUD1/../asinst_1"
Launching graphical setup...
Equivalent non-interactive command-line to setup server:
oud-setup \
--cli
\
--baseDN dc=domain,dc=com \
--sampleData 1000 \
--adminConnectorPort xxx \
--ldapPort xxxx\
--rootUserDN cn=Directory\ Manager \
--rootUserPasswordFile ****** \
--ldapsPort xxxx \
--generateSelfSignedCertificate \
--hostname server.domain.name \
--serverTuning -Xms1033m\ -Xmx1033m\ -d64\ -XX:+UseCompressedOops\ -server\
-XX:MaxTenuringThreshold=1\ -XX:+UseConcMarkSweepGC\ -XX:CMSInitiatingOccupancyFraction=55
\
--offlineToolsTuning -Xms1033m\ -Xmx1033m\ -d64\ -XX:+UseCompressedOops\
-server\ -XX:+UseParallelGC\ -XX:+UseNUMA \
--no-prompt \
--noPropertiesFile
you need to install AD for ODSM web interface. Adf should be installed in FMW directory.
run confisg.sh
/apps2/OUD/fmw/Oracle_OUD1$ netstat -an |grep xxxx
*.xxxx *.*
0 0 256000 0
LISTEN
*.xxx *.*
0 0 256000 0
LISTEN
/apps2/OUD/fmw/Oracle_OUD1$ netstat -an |grep xxxx port number
*.xxxx *.*
0 0 256000 0
LISTEN
*.xxxx *.*
0 0 256000 0
LISTEN
USER@SERVER:/apps2/OUD/fmw/asinst_1/OUD/bin$
./status
>>>> Specify Oracle Unified Directory
LDAP connection parameters
Administrator user bind DN [cn=Directory Manager]:
Password for user 'cn=Directory Manager':
--- Server Status ---
Server Run
Status: Started
Open
Connections: 1
--- Server Details ---
Host Name: server.domain.xxx
Administrative Users:
cn=Directory Manager
Installation
Path: /apps2/OUD/fmw/Oracle_OUD1
Instance
Path:
/apps2/OUD/fmw/asinst_1/OUD
Version:
Oracle Unified Directory 11.1.2.3.0
Java
Version:
1.8.0_144
Administration Connector: Port port#(LDAPS)
--- Connection Handlers ---
Address:Port : Protocol : State
-------------:----------:---------
--
: LDIF : Disabled
0.0.0.0:xxx : SNMP :
Disabled
0.0.0.0:xxxx : LDAP :
Enabled
0.0.0.0:xxxx : JMX :
Disabled
0.0.0.0:xxx : LDAPS : Enabled
--- Data Sources ---
Base DN: cn=virtual acis
Backend ID: virtualAcis
Entries: 0
Replication: Disabled
Base DN: dc=domain,dc=com
Backend ID: userRoot
Entries: 1002
Replication: Disabled
USER@SERVER:/apps2/OUD/fmw/asinst_1/OUD/bin$
Now install weblogic on the middleware directory with fmw.
apps2/jdk/jdk1.8.0_144/bin/java
-d64 -jar wls1036_generic.jar
you need to install AD for ODSM web interface. Adf should be installed in FMW directory.
run confisg.sh
/apps2/OUD/fmw/oracle_common/common/bin$
After installation you can see the directory structure
:/apps2/OUD/fmw$ ls -ltr
total 383
drwxr-x--- 3 UID group
3 Sep 28 10:34 asinst_1
drwxr-x--- 21 UID
group 31 Sep 28 10:34 Oracle_OUD1
drwxr-xr-x 7 UID group
481 Sep 28 11:54 modules
drwxr-xr-x 8 UID
group 9 Sep 28 11:54 utils
-rw-r--r-- 1 UID group
854 Sep 28 11:54 ocm.rsp
-rw-r--r-- 1 UID group 108875 Sep 28
11:54 registry.dat
-rw-r--r-- 1 UID group 1901
Sep 28 11:54 registry.xml
drwxr-xr-x 8 UID
group 10 Sep 28 11:54 wlserver_10.3
drwxr-xr-x 6 UID
group 9 Sep 28 11:54 coherence_3.7
drwxrwx--- 5 UID group
9 Sep 28 15:01 oraInventory_oud
drwxr-x--- 32 UID
group 35 Sep 28 15:02 oracle_common
drwxr-x--- 3 UID
group 3 Sep 28 15:13 user_projects
-rw-rw---- 1 UID group
423 Sep 29 12:18 domain-registry.xml
drwxr-xr-x 2 UID
group 18 Oct 2 13:57 logs
set your boot.properties.
/apps2/OUD/fmw/user_projects/domains/domainoud_domain/servers/AdminServer/security$
ls -ltr
total 2
-rw-r-----
1 username group 186 Sep 29 12:18
boot.properties
Now you have to start OUD
:/apps2/OUD/fmw/asinst_1/OUD/bin$ sh start-ds
then start weblogic
/apps2/OUD/fmw/user_projects/domains/domainoud_domain/bin
Sh
setDomainEnv.sh
Sh
startWebLogic.sh
now you can login to console make sure your service is running. then you can login into odsm.
No comments:
Post a Comment