关闭及获取安装信息的方法【金沙网址】

Oracle cloud control
12c整个安装相比复杂,光是安装路线的筛选,登入密码,端口号等好多少个构造不免让人头眼昏花,头眼昏花。本文描述的是安装完结后如何赢得安装时设定的各个端口号,USportageL以致哪些运转、关闭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 functionsif
[ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and
startup programsPATH=$PATH:$HOME/binexport PATH# Oracle
SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export
TMPDIRORACLE_HOSTNAME=oel63.ycdata.net; export
ORACLE_HOSTNAMEORACLE_关闭及获取安装信息的方法【金沙网址】。UNQNAME=ora11g; export
ORACLE_UNQNAMEORACLE_BASE=/u01/ora11g; export
ORACLE_BASEORACLE_HOME=$ORACLE_BASE/db_1; export
ORACLE_HOMEORACLE_SID=ora11g; export ORACLE_SIDPATH=/usr/sbin:$PATH;
export PATHPATH=$ORACLE_HOME/bin:$PATH; export
PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export
LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATHexport OMS_HOME=/u01/oms12cr3/omsexport
AGENT_HOME=/u01/agent12cr2/core/12.1.0.3.0[oracle@oel63 ~]$ more
/etc/issueOracle Linux Server release 6.3Kernel r on an
m[oracle@oel63 ~]$ sqlplus -vSQL*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 sysdbaSQL startupSQL
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=NOSEEDUPGRADE=falseORACLE_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=4889Enterprise Manager
Upload Http SSL Port=4903Enterprise Manager Central Console Http SSL
Port=7802Node Manager Http SSL Port=7403Managed Server Http
Port=7202Enterprise Manager Central Console Http Port=7788Oracle
Management Agent Port=3872Admin Server Http SSL Port=7102Managed Server
Http SSL Port=7301[oracle@oel63 install]$ more setupinfo.txtThis
information is also available at:
/u01/oms12cr3/oms/install/setupinfo.txtSee below for information
pertaining to your Enterprise Manager installation:#以下是登入到cloud
control
console以致登陆到Weblogic的U智跑L,遵照那么些UPAJEROL登陆后张开相应的管理Use the
following U牧马人L to access: 1. Enterprise Manager Cloud Control U凯雷德L: 2.
Admin Server URAV4L: following details need to be provided during the
additional OMS install: 1. Admin Server Hostname: oel63.ycdata.net 2.
Admin Server Port: 7102You 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 sysdbaSQL shutdown immediate;

发表评论

电子邮件地址不会被公开。 必填项已用*标注