Oracle cloud control 12c整个安装比較复杂,光是安装路径的选择,登录password,端口号等众多个配置不免让人眼花缭乱,目不暇接。本文描写叙述的是安装完成后怎样获取安装时设定的各类端口号,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基文件夹

#下面是一些重要的端口信息 Author : Leshami   Blog : http://blog.csdn.net/leshami
[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;

Oracle cloud control 12c 的启动与关闭的更多相关文章

  1. Oracle cloud control 12c 怎样改动sysmanpassword

        前阵子在虚拟机部署了Oracle Cloud Control 12c.事别几日,居然忘记了登录password. 主要是由于如今的Oracle有关的Software比之前提供更强的安全机制.什 ...

  2. Linux 6.3下安装Oracle Enterprise Cloud Control 12c

    Oracle enterprise cloud control 12c的安装是一个比較复杂的过程,由于他须要依赖于Oracel database以及Oracle Weblogic. 如今Oracle已 ...

  3. Oracle Enterprise Manager Cloud Control 12c的安装

    这里,我介绍的是Cloud Control 12c的安装.之前的版本叫Grid Control,这也是11g里面的叫法.在我写这篇博客时,Cloud Control 13c已经出来了,这个版本后续我再 ...

  4. Oracle Enterprise Manager Cloud Control 12c R4 安装配置

    准备软件 em12.1.0.4_linux64_V45344-01.zip em12.1.0.4_linux64_V45345-01.zip em12.1.0.4_linux64_V45346-01. ...

  5. Oracle LSNRCTL------监听器的启动和关闭

    对于DBA来说,启动和关闭oracle监听器是很基础的任务,但是Linux系统管理员或者程序员有时也需要在开发数据库中做一些基本的DBA操作,因此了解一些基本的管理操作对他们来说很重要. 本文将讨论用 ...

  6. (1)oracle安装、卸载、启动、关闭、登陆以及同时遇到的问题

    数据库概念 在oracle里数据库是一个静态的概念,数据库的资料保存在硬盘上,一个数据库可以有多个实例 数据库实例 数据库实例是一个动态的概念,它是进程+这个进程的内存块.就把它当成个指针吧,这个指针 ...

  7. Use emcli to delete obsolete agent targets in Oracle EM Cloud Control 12c

    [oracle@oem ~]$ cd /oem/oms/oms/bin   登录到oms中 [oracle@oem bin]$ ./emcli login -username=sysman Enter ...

  8. 转载:oracle RAC集群启动和关闭

    http://www.cnblogs.com/yhfssp/p/8184761.html oracle 11G RAC集群启动和关闭: 1.停止数据库 $srvctl stop database –d ...

  9. oracle RAC集群启动和关闭

    oracle 11G RAC集群启动和关闭:1.停止数据库$srvctl stop database –d oradb2.停止集群服务关闭集群需要root运行#/u01/11.2.0/grid/bin ...

随机推荐

  1. [Oracle] 接线表

    于OLTP制,嵌套连接占70%左右,哈希联接占20%,合并排序连接帐户10%. 嵌套连接 算法:嵌套连接从两个表分选出小表为驱动表,大表为被驱动表.先訪问驱动表(仅仅訪问1次).然后依据驱动表返回的行 ...

  2. 判断DAG图

    拓扑排序O(E), bellman O(VE)   , 使用邻接表的dfs O(V+E) ,floyd O(N*N*N) bellman算法只能判断是否存在负环. 所以可以先把权值全部设为-1 #in ...

  3. springmvc + excel代

    1.xml简介 <!-- excel use start --> <bean class="org.springframework.web.servlet.view.Bea ...

  4. Oracle数据库的锁类型

    Oracle数据库的锁类型 博客分类: oracle   Oracle数据库的锁类型 根据保护的对象不同,Oracle数据库锁可以分为以下几大类:DML锁(data   locks,数据锁),用于保护 ...

  5. 【Hibernate步步为营】--双向关联一对一映射具体解释(一)

    一对一的映射在对象模型中是常常见到的,为了将对象模型转换为关系模型就必须在映射文件里进行配置,上篇文章讨论了一对一映射的单向关联的情况,重点是<one-to-one>标签的使用,须要在映射 ...

  6. java Socket使用详细解释

    客户/server通信模式, client需要主动创造和server Socket(套接字), server端收到了client的连接请求, 也会创建与客户连接的 Socket. Socket可看做是 ...

  7. 【HDU】5256 系列转换(上涨时间最长的序列修饰)

    假设a[i]和a[j]我想的一样,满足条件的需要是 a[j] - a[i] > j - i 也就是说,a[i] - i < a[j] - j 例1 4 2 不满意,所以1和2必须有必要之间 ...

  8. Dubbo-Admin管理平台和Zookeeper注册中心的搭建(转)

    林炳文Evankaka原创作品.转载请注明出处http://blog.csdn.net/evankaka ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubb ...

  9. Maximal Square 我们都在寻找最高1子矩阵(leeCode)

    Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and ret ...

  10. Arcgis for Js之Graphiclayer扩展具体解释

    在前两节,讲到了两种不同方式的聚类,一种是基于距离的,一种是基于区域范围的,两种不同的聚类都是通过扩展esri/layers/GraphicsLayer方法来实现的.在本节,就具体的讲讲esri/la ...