重庆思庄Oracle、Redhat认证学习论坛

标题: em12c 启动关闭步骤 [打印本页]

作者: 郑全    时间: 2014-6-22 01:59
标题: em12c 启动关闭步骤

Startup/Shutdown
Use the following commands to turn on all components installed by this article.

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/em12c/wls/oms
export AGENT_HOME=/em12c/agent/core/12.1.0.4.0/bin

# Start everything
$ORACLE_HOME/bin/dbstart $ORACLE_HOME

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agentUse the following commands to turn off all components installed by this article.

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/em12c/wls/oms
export AGENT_HOME=/em12c/agent/core/12.1.0.4.0/bin

# Stop everything
$OMS_HOME/bin/emctl stop oms -all

$AGENT_HOME/bin/emctl stop agent

$ORACLE_HOME/bin/dbshut $ORACLE_HOME






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2