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;
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
P70系列延期,华为新旗舰将在下月发布
3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。
而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?
根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。
更新日志
- 《南瓜恐慌》进不去游戏解决方法
- 杨烁《杨烁唱唐诗》2024Hi-Res[WAV分轨]
- 杨烁《杨烁唱唐诗》2024Hi-Res[WAV分轨]
- 童丽《民歌童丽(HQCD)》【WAV+CUE】
- 童丽《绝对收藏》2022头版限量编号[WAV+CUE][1G]
- 腾格尔《出走天堂》MQA-UHQCD限量版[低速原抓WAV+CUE][1G]
- 田震《时光音乐会》纯银CD[低速原抓WAV+CUE][1G]
- 炉石传说11月初最强登顶卡组合集 炉石传说11月初登顶卡组分享
- lol炼金龙魂详细属性是什么 2024炼金龙魂详细属性介绍
- 英雄联盟六个龙魂是哪六个 英雄联盟六个龙魂介绍一览
- 《忆蚀》Subliminal:揭秘后室之谜,路知行献声Weplay文化展
- 初始之部制作人气漫画改编游戏《我家大师兄脑子有坑》参展2024WePlay
- 《异环》「奇点测试」定档11.28 超自然都市轻喜剧即将放送!
- 16层乐队.2024-大快朵颐【摩登天空】【FLAC分轨】
- 群星.1988-电视金曲巡礼【EMI百代】【WAV+CUE】