濮阳杆衣贸易有限公司

主頁(yè) > 知識(shí)庫(kù) > Oracle cloud control 12c的啟動(dòng)、關(guān)閉及獲取安裝信息的方法

Oracle cloud control 12c的啟動(dòng)、關(guān)閉及獲取安裝信息的方法

熱門標(biāo)簽:外呼電話系統(tǒng)用卡嗎 電渠外呼系統(tǒng) 騰訊地圖標(biāo)注要費(fèi)用嗎 N個(gè)你智能電銷機(jī)器人 廣東營(yíng)銷智能外呼系統(tǒng)商家 七日殺a19.5全地圖標(biāo)注 高德地圖標(biāo)注公司名字大全 車瑪仕極限運(yùn)動(dòng)場(chǎng)所地圖標(biāo)注 地圖標(biāo)注怎么保存

Oracle cloud control 12c整個(gè)安裝比較復(fù)雜,光是安裝路徑的選擇,登錄密碼,端口號(hào)等眾多個(gè)配置不免讓人眼花繚亂,目不暇接。本文描述的是安裝完畢后如何獲取安裝時(shí)設(shè)定的各類端口號(hào),URL以及如何啟動(dòng)、關(guān)閉cloud control等等,供大家參考。

有關(guān)cloud control的安裝配置可以參考:Oracle Enterprise Manager Cloud Control 12c Release 3 Installation

1、當(dāng)前的環(huán)境配置

復(fù)制代碼 代碼如下:

[oracle@oel63 ~]$ more ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=oel63.ycdata.net; export ORACLE_HOSTNAME
ORACLE_UNQNAME=ora11g; export ORACLE_UNQNAME
ORACLE_BASE=/u01/ora11g; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/db_1; export ORACLE_HOME
ORACLE_SID=ora11g; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
export OMS_HOME=/u01/oms12cr3/oms
export AGENT_HOME=/u01/agent12cr2/core/12.1.0.3.0
[oracle@oel63 ~]$ more /etc/issue
Oracle Linux Server release 6.3
Kernel \r on an \m
[oracle@oel63 ~]$ sqlplus -v
SQL*Plus: Release 11.2.0.3.0 Production

2、啟動(dòng)repository DB及OMS

復(fù)制代碼 代碼如下:

#啟動(dòng)oms前,需要先啟動(dòng)Repository DB,該DB用于存放收集到的監(jiān)控信息
#啟動(dòng)DB時(shí),同時(shí)需要啟動(dòng)監(jiān)聽器,否則收到Failed to connect to repository database.
#不過OMS會(huì)自動(dòng)重啟,當(dāng)偵測(cè)到DB和監(jiān)聽處于UP時(shí)(OMS will be automatically restarted once it identifies that database and listener are up.)
[oracle@oel63 ~]$ lsnrctl start
[oracle@oel63 ~]$ ps -ef | grep pmon | grep -v grep
[oracle@oel63 ~]$ sqlplus / as sysdba
SQL> startup
SQL> exit
 
#使用以下的命令啟動(dòng)oms以及agent
[oracle@oel63 ~]$ $OMS_HOME/bin/emctl start oms
[oracle@oel63 ~]$ $AGENT_HOME/bin/emctl start agent

3、查看安裝信息

復(fù)制代碼 代碼如下:

#通過查看之前的安裝信息以及端口信息,然后據(jù)此連接到cloud control console
[oracle@oel63 ~]$ cd $OMS_HOME/install
[oracle@oel63 install]$ more eminstall.info
INSTALL_TYPE=NOSEED
UPGRADE=false
ORACLE_MIDDLEWARE_HOME_LOCATION=/u01/oms12cr3  #Weblogic安裝位置
OMS_HOME=/u01/oms12cr3/oms                     #OMS安裝位置
AGENT_HOME=/u01/agent12cr2/core/12.1.0.3.0     #Agent安裝位置
AGENT_BASE_DIR=/u01/agent12cr2                 #Agent基目錄
 
#下面是一些重要的端口信息
[oracle@oel63 install]$ more portlist.ini
Enterprise Manager Upload Http Port=4889
Enterprise Manager Upload Http SSL Port=4903
Enterprise Manager Central Console Http SSL Port=7802
Node Manager Http SSL Port=7403
Managed Server Http Port=7202
Enterprise Manager Central Console Http Port=7788
Oracle Management Agent Port=3872
Admin Server Http SSL Port=7102
Managed Server Http SSL Port=7301
[oracle@oel63 install]$ more setupinfo.txt
This information is also available at:
        /u01/oms12cr3/oms/install/setupinfo.txt
See below for information pertaining to your Enterprise Manager installation:
 
#以下是登錄到cloud control console以及登錄到Weblogic的URL,根據(jù)這個(gè)URL登錄后進(jìn)行相應(yīng)的管理
Use the following URL to access:
        1. Enterprise Manager Cloud Control URL: https://oel63.ycdata.net:7802/em
        2. Admin Server URL: https://oel63.ycdata.net:7102/console
The following details need to be provided during the additional OMS install:
        1. Admin Server Hostname: oel63.ycdata.net
        2. Admin Server Port: 7102
You can find the ports details used by this deployment at : /u01/oms12cr3/oms/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/gc_inst/em/EMGC_OMS1/sysman/backup on host oel63.ycdata.net. 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/oms12cr3/oms/bin/emctl exportconfig oms -dir backup dir>

4、關(guān)閉OMS及repository DB

復(fù)制代碼 代碼如下:

[oracle@oel63 ~]$ $OMS_HOME/bin/emctl stop oms -all
[oracle@oel63 ~]$ $AGENT_HOME/bin/emctl stop agent
[oracle@oel63 ~]$ lsnrctl stop
[oracle@oel63 ~]$ export ORACLE_SID=ora11g
[oracle@oel63 ~]$ sqlplus / as sysdba
SQL> shutdown immediate;

您可能感興趣的文章:
  • Oracle查詢sql錯(cuò)誤信息的控制和定位
  • Oracle 11g收集多列統(tǒng)計(jì)信息詳解
  • Oracle 查詢表信息獲取表字段及字段注釋
  • oracle獲取當(dāng)前用戶表、字段等詳細(xì)信息SQL
  • Oracle 11g自動(dòng)診斷信息庫(kù)(Automatic Diagnostic Repository,ADR)概述
  • ORACLE查看當(dāng)前賬號(hào)的相關(guān)信息

標(biāo)簽:遼寧 長(zhǎng)沙 贛州 蘇州 大興安嶺 來(lái)賓 玉樹 棗莊

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Oracle cloud control 12c的啟動(dòng)、關(guān)閉及獲取安裝信息的方法》,本文關(guān)鍵詞  Oracle,cloud,control,12c,的,啟動(dòng),;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Oracle cloud control 12c的啟動(dòng)、關(guān)閉及獲取安裝信息的方法》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于Oracle cloud control 12c的啟動(dòng)、關(guān)閉及獲取安裝信息的方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    湘乡市| 揭东县| 郯城县| 尼勒克县| 买车| 湖北省| 通化县| 米脂县| 普兰县| 平乡县| 罗定市| 重庆市| 阆中市| 山东| 东安县| 朔州市| 平顶山市| 天峻县| 马鞍山市| 虞城县| 霍城县| 外汇| 平遥县| 伊吾县| 枣庄市| 庆城县| 宜兴市| 青神县| 壶关县| 山西省| 淅川县| 大同市| 潜山县| 冷水江市| 安塞县| 华坪县| 白水县| 西乌珠穆沁旗| 广德县| 晋城| 凤台县|