Wednesday, 10 September 2014

Oracle Management Server (OMS) startup in 12C


As 12C OEM Cloud control uses weblogic so the following has to be started whenever you want OMS to be up and running, sometimes we get error that AdminServer Could Not Be Started, so in that case we have to make sure EMGC_ADMINSERVER is up and running, this error comes when the lock files are not cleared properly, so we have to shutdown oms and clean up the files and then restart them all over again and then we will get to see the following up and running. The lock files to be cleared are in the following location

[oracle@node4 ~]$ cd /u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/servers
[oracle@node4 servers]$ ls -ltr
total 16
drwxr-x--- 10 oracle oinstall 4096 Sep  9 20:09 EMGC_ADMINSERVER
drwxr-x---  3 oracle oinstall 4096 Sep  9 20:23 domain_bak
drwxr-x--- 10 oracle oinstall 4096 Sep  9 20:31 EMGC_OMS1
-rw-r-----  1 oracle oinstall   14 Sep 10 16:33 AdminServerTag


[oracle@node4 bin]$  ps -ef | grep EMGC_ADMINSERVER

oracle   11989 11944  5 16:33 ?        00:02:48 /u01/app/oracle/product/middleware/jdk16/jdk/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=EMGC_ADMINSERVER -Djava.security.policy=/u01/app/oracle/product/middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.system.BootIdentityFile=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/security/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Djava.security.egd=file:///dev/./urandom -Dweblogic.debug.DebugWebAppSecurity=true -Dweblogic.SSL.LoginTimeoutMillis=300000 -Djps.auth.debug=true -Djps.authz=ACC -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.policystore.hybrid.mode=false -Djps.subject.cache.key=5 -Djps.subject.cache.ttl=600000 -Doracle.apm.home=/u01/app/oracle/product/middleware/oms/apm/ -DAPM_HELP_FILENAME=oesohwconfig.xml -da -Dplatform.home=/u01/app/oracle/product/middleware/wlserver_10.3 -Dwls.home=/u01/app/oracle/product/middleware/wlserver_10.3/server -Dweblogic.home=/u01/app/oracle/product/middleware/wlserver_10.3/server -Dcommon.components.home=/u01/app/oracle/product/middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain -Djrockit.optfile=/u01/app/oracle/product/middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/servers/EMGC_ADMINSERVER -Doracle.domain.config.dir=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/config/fmwconfig -Digf.arisidbeans.carmlloc=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/carml -Digf.arisidstack.home=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/u01/app/oracle/product/gc_inst/user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/u01/app/oracle/product/middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/u01/app/oracle/product/middleware/oracle_common/modules/oracle.oamprovider_11.1.1,/u01/app/oracle/product/middleware/oracle_common/modules/oracle.jps_11.1.1,/u01/app/oracle/product/middleware/oms/sysman/jlib -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Doracle.apm.home=/u01/app/oracle/product/middleware/oms/apm/ -DAPM_HELP_FILENAME=oesohwconfig.xml -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u01/app/oracle/product/middleware/patch_wls1036/profiles/default/sysext_manifest_classpath weblogic.Server


How to start the Oracle Management Server in 12C with weblogic

I had just Started using Release 4 of Oracle Enterprise Manager Cloud Control 12c

Starting up my web tier and 12C Oracle Management Server for cloud control

[oracle@node4 ~]$ cd $OMS_HOME
[oracle@node4 oms]$ pwd
/u01/app/oracle/product/middleware/oms

[oracle@node4 oms]$ cd bin

[oracle@node4 bin]$ ./emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down

[oracle@node4 bin]$ ./emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up

Click the below picture to get the closer look


---------------------------------------------------------------------------

To shutdown the OMS do the following :--

[oracle@node4 ~]$ cd /u01/app/oracle/product/middleware/oms
[oracle@node4 oms]$ cd bin
[oracle@node4 bin]$ ./emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 4  
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down



1 comment:

  1. Need To Increase Your ClickBank Banner Traffic And Commissions?

    Bannerizer made it easy for you to promote ClickBank products using banners, simply visit Bannerizer, and grab the banner codes for your picked ClickBank products or use the Universal ClickBank Banner Rotator Tool to promote all of the ClickBank products.

    ReplyDelete