麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 數據庫 > Oracle > 正文

Oracle cloud control 12c的啟動、關閉及獲取安裝信息的方法

2024-08-29 13:58:20
字體:
來源:轉載
供稿:網友
這篇文章主要介紹了Oracle cloud control 12c的啟動、關閉及獲取安裝信息的方法,例如獲取安裝時設定的各類端口號,URL以及如何啟動、關閉cloud control等等,需要的朋友可以參考下
 
 

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

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

1、當前的環境配置

 

復制代碼代碼如下:

[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、啟動repository DB及OMS

 

復制代碼代碼如下:

#啟動oms前,需要先啟動Repository DB,該DB用于存放收集到的監控信息
#啟動DB時,同時需要啟動監聽器,否則收到Failed to connect to repository database. 
#不過OMS會自動重啟,當偵測到DB和監聽處于UP時(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
 
#使用以下的命令啟動oms以及agent
[oracle@oel63 ~]$ $OMS_HOME/bin/emctl start oms
[oracle@oel63 ~]$ $AGENT_HOME/bin/emctl start agent

 

3、查看安裝信息

 

復制代碼代碼如下:

#通過查看之前的安裝信息以及端口信息,然后據此連接到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,根據這個URL登錄后進行相應的管理
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、關閉OMS及repository DB

 

復制代碼代碼如下:

[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;
 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 毛片在哪里看 | 亚洲涩涩图 | 成人精品一区二区 | 午夜精品福利影院 | 视频一区 在线 | 在线成人免费网站 | av色哟哟| 视频一区二区中文字幕 | 蜜桃视频在线免费播放 | 亚欧美一区二区 | 毛片一级免费看 | 久色乳综合思思在线视频 | 欧美成人黄色 | 国产免费高清 | 成人在线视频免费 | 日韩一级片一区二区三区 | 欧洲精品色 | 女人叉开腿让男人桶 | 91精品国产综合久久婷婷香 | 精品一区二区免费 | 久久久久国产成人精品亚洲午夜 | 蜜桃91丨九色丨蝌蚪91桃色 | 久久精国| 黄色一级片在线观看 | 狠狠干天天操 | 操操操日日日干干干 | 久久久久久久久久一本门道91 | 精品国产一区二区三区天美传媒 | 亚洲午夜久久久久 | 黄视频免费在线 | 欧美a∨一区二区三区久久黄 | 欧美精品一区二区三区在线播放 | 毛片免费视频播放 | 欧美成人免费 | 毛片118极品美女写真 | 免费99热在线观看 | 国产欧美一区二区三区免费看 | 精品国内视频 | 中国女警察一级毛片视频 | 黄色va视频 | av在线观 |