Tuesday, 11 June 2019

Start/Stop oracle 13c OEM service and agent.



                                                                                  
1] Set oracle AGENT_HOME and OMS_HOME.
export AGENT_HOME=/u01/app/oracle/agent/agent_13.1.0.0.0
export OMS_HOME=/u01/app/oracle/middleware
2] Start oms service.
[oracle@13coem agent_13.1.0.0.0]$ cd $OMS_HOME/bin
[oracle@13coem bin]$ ./emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
Starting BI Publisher Server ...
BI Publisher Server Successfully Started
BI Publisher Server is Up
[oracle@13coem bin]$
3] Start OEM Agent
[oracle@13coem bin]$ export AGENT_HOME=/u01/app/oracle/agent/agent_13.1.0.0.0
[oracle@13coem bin]$ $AGENT_HOME/bin/emctl start agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Agent is already running
[oracle@13coem bin]$
4] If you don’t have 13c oem  link details you can check it from below file.
[oracle@13coem install]$ cat setupinfo.txt
location: /u01/app/oracle/middleware/install
[oracle@13coem install]$ cat setupinfo.txt
This information is also available at:
        /u01/app/oracle/middleware/install/setupinfo.txt
See the following for information pertaining to your Enterprise Manager installation:
Use the following URL to access:
        1. Enterprise Manager Cloud Control URL: https://13coem.*****.com:7803/em
        2. Admin Server URL: https://13coem.******.com:7102/console
The following details need to be provided while installing an additional OMS:
        1. Admin Server Host Name: 13coem.example.com
        2. Admin Server Port: 7102
You can find the details on ports used by this deployment at : /u01/app/oracle/middleware/install/portlist.ini
 NOTE:
 An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable.
 A backup of the OMS configuration is available in /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/backup on host 13coem.example.com. See Cloud Control Administrators Guide for details on how to back up and recover an OMS.
 NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration:
/u01/app/oracle/middleware/bin/emctl exportconfig oms -dir <backup dir>

OEM login page:


5] Stop OMS and Agent service.
[oracle@13coem bin]$ ./emctl stop oms
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down
[oracle@13coem bin]$ ./emctl stop agent
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.
[oracle@13coem bin]$


No comments:

Post a Comment

work on autovacuum postgreSQL parameter

 In This blog, we are discussing the auto vacuum parameter on a small scale. we will understand the below parameters and will see how to mod...