关闭oms服务
[oracle@dbmon middleware]$ cd /data/u01/app/middleware/bin/
[oracle@dbmon bin]$ ./emctl stop oms
关闭agent 服务
[oracle@dbmon bin]$ cd /data/u01/app/oms/agent/agent_13.2.0.0.0/bin
[oracle@dbmon bin]$ ./emctl stop agent
关闭数据库
[oracle@dbmonitor bin]$ sqlplus / as sysdba
SQL> shut immediate ;
启动OMS服务
[oracle@dbmon middleware]$ cd /data/emcc/middleware/bin/
[oracle@dbmon bin]$ ./emctl start oms
启动agent 服务
[oracle@dbmon bin]$ cd /data/emcc/agent/agent_13.2.0.0.0/bin
[oracle@dbmon bin]$ ./emctl start agent
启动数据库
[oracle@dbmon bin]$ sqlplus / as sysdba
SQL> startup ;