Thursday, December 21, 2017

starting OUD services

[oracle@devserver bin]$
[oracle@devserver bin]$
[oracle@devserver bin]$ pwd
/u01/app/oracle/Middleware/IAM/asinst_1/OUD/bin
[oracle@devserver bin]$
[oracle@devserver bin]$[oracle@devserver bin]$ ./start-ds
[21/Dec/2017:19:45:46 +0530] category=CORE severity=INFORMATION msgID=132 msg=The Directory Server is beginning the configuration bootstrapping process
[21/Dec/2017:19:45:48 +0530] category=CORE severity=NOTICE msgID=458886 msg=Oracle Unified Directory 11.1.2.3.0 (build 20150414142803Z, R1504140602) starting up
[21/Dec/2017:19:45:54 +0530] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381717 msg=Installation Directory:  /u01/app/oracle/Middleware/IAM/Oracle_OUD1
[21/Dec/2017:19:45:54 +0530] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381719 msg=Instance Directory:      /u01/app/oracle/Middleware/IAM/asinst_1/OUD
[21/Dec/2017:19:45:54 +0530] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381713 msg=JVM Information: 1.8.0_92-b14 by Oracle Corporation, 64-bit architecture, 1036779520 bytes heap size
[21/Dec/2017:19:45:54 +0530] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381714 msg=JVM Host: devserver.enrich.com, running Linux 2.6.39-400.264.5.el6uek.x86_64 amd64, 16863150080 bytes physical memory size, number of processors available 4
[21/Dec/2017:19:45:54 +0530] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381715 msg=JVM Arguments: "-Xms1021m", "-Xmx1021m", "-XX:+UseCompressedOops", "-XX:MaxTenuringThreshold=1", "-XX:+UseConcMarkSweepGC", "-XX:CMSInitiatingOccupancyFraction=55", "-Dorg.opends.server.scriptName=start-ds"
[21/Dec/2017:19:45:54 +0530] category=ACCESS_CONTROL severity=INFORMATION msgID=12582978 msg=Added 10 Global Access Control Instruction (ACI) attribute types to the access control evaluation engine
[21/Dec/2017:19:45:55 +0530] category=BACKEND severity=INFORMATION msgID=9437594 msg=Local DB backend userRoot does not specify the number of cleaner threads: defaulting to 24 threads
[21/Dec/2017:19:45:55 +0530] category=BACKEND severity=INFORMATION msgID=9437595 msg=Local DB backend userRoot does not specify the number of lock tables: defaulting to 97
[21/Dec/2017:19:45:55 +0530] category=BACKEND severity=INFORMATION msgID=9437615 msg=Local DB backend userRoot does not specify the percentage of the heap space to allocate to the database cache: defaulting to 35 percent
[21/Dec/2017:19:45:55 +0530] category=BACKEND severity=INFORMATION msgID=9437613 msg=Local DB backend userRoot does not specify the size of the file handle cache: sizing automatically to use 100 file descriptors
[21/Dec/2017:19:45:57 +0530] category=JEB severity=NOTICE msgID=8847402 msg=The database backend cn=userRoot,cn=Workflow Elements,cn=config containing 2010 entries has started
[21/Dec/2017:19:45:57 +0530] category=BACKEND severity=INFORMATION msgID=9437595 msg=Local DB backend virtualAcis does not specify the number of lock tables: defaulting to 97
[21/Dec/2017:19:45:57 +0530] category=JEB severity=NOTICE msgID=8847402 msg=The database backend cn=virtualAcis,cn=Workflow Elements,cn=config containing 0 entries has started
[21/Dec/2017:19:45:57 +0530] category=EXTENSIONS severity=INFORMATION msgID=1048797 msg=DIGEST-MD5 SASL mechanism using a server fully qualified domain name of: devserver.enrich.com
[21/Dec/2017:19:45:57 +0530] category=CORE severity=INFORMATION msgID=731 msg=LDAP Connection Handler 0.0.0.0 port 1389 does not specify the number of request handler threads: sizing automatically to use 8 threads
[21/Dec/2017:19:45:57 +0530] category=CORE severity=INFORMATION msgID=720 msg=No worker queue thread pool size specified: sizing automatically to use 24 threads
[21/Dec/2017:19:45:58 +0530] category=PROTOCOL severity=NOTICE msgID=2556180 msg=Started listening for new connections on Administration Connector 0.0.0.0 port 4444
[21/Dec/2017:19:45:58 +0530] category=PROTOCOL severity=NOTICE msgID=2556180 msg=Started listening for new connections on LDAP Connection Handler 0.0.0.0 port 1389
[21/Dec/2017:19:45:58 +0530] category=CORE severity=NOTICE msgID=458887 msg=The Directory Server has started successfully
[21/Dec/2017:19:45:58 +0530] category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerStarted, alert ID 458887):  The Directory Server has started successfully
[oracle@devserver bin]$
[oracle@devserver bin]$
[oracle@devserver bin]$
[oracle@devserver bin]$ pwd
/u01/app/oracle/Middleware/IAM/asinst_1/OUD/bin
[oracle@devserver bin]$
[oracle@devserver bin]$
[oracle@devserver 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:                devserver.enrich.com
Administrative Users:     cn=Directory Manager
Installation Path:        /u01/app/oracle/Middleware/IAM/Oracle_OUD1
Instance Path:            /u01/app/oracle/Middleware/IAM/asinst_1/OUD
Version:                  Oracle Unified Directory 11.1.2.3.0
Java Version:             1.8.0_92
Administration Connector: Port 4444 (LDAPS)

          --- Connection Handlers ---
Address:Port : Protocol : State
-------------:----------:---------
--           : LDIF     : Disabled
0.0.0.0:161  : SNMP     : Disabled
0.0.0.0:636  : LDAPS    : Disabled
0.0.0.0:1389 : LDAP     : Enabled
0.0.0.0:1689 : JMX      : Disabled

          --- Data Sources ---
Base DN:     cn=virtual acis
Backend ID:  virtualAcis
Entries:     0
Replication: Disabled

Base DN:     dc=obiee,dc=com
Backend ID:  userRoot
Entries:     2010
Replication: Disabled

[oracle@devserver bin]$

Wednesday, December 20, 2017

Increasing/Decreasing Heap Size of the Weblogic JVM

BEFORE:

$ ps -ef|grep Xms
oracle 32751 32700 36 21:50 ?        00:03:54 /u01/app/jdk1.8.0_91/bin/java -server -Xms512m -Xmx1024m -Dweblogic.Name=AdminServer


To change the Xms and Xmx parameter update the env file at "$DOMAIN_HOME/bin/setDomainEnv.sh" with values below and stop and start the weblogic instance for the changes to take effect.

USER_MEM_ARGS="-Xms256M -Xmx256M"
export USER_MEM_ARGS


i.e.

$ grep USER_MEM_ARGS setDomainEnv.sh
# USER_MEM_ARGS   - The variable to override the standard memory arguments
# IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values


USER_MEM_ARGS="-Xms256M -Xmx256M"
export USER_MEM_ARGS

 

if [ "${USER_MEM_ARGS}" != "" ] ; then
        MEM_ARGS="${USER_MEM_ARGS}"






AFTER:

$ ps -ef|grep Xms
oracle 3506  3455 76 22:57 ?        00:01:38 /u01/app/jdk1.8.0_91/bin/java -server -Xms256M -Xmx256M -Dweblogic.Name=AdminServer