Oracle cloud control 12c整個安裝比較復雜,光是安裝路徑的選擇,登錄密碼,端口號等眾多個配置不免讓人眼花缭亂,目不暇接。本文描述的是安裝完畢後如何獲取安裝時設定的各類端口號,URL以及如何啟動、關閉cloud control等等,供大家參考。
1、當前的環境配置
# Get the aliases and functions
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Oracle Settings
ORACLE_HOSTNAME=oel63.ycdata.net; export ORACLE_HOSTNAME
PATH=/usr/sbin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
export OMS_HOME=/u01/oms12cr3/oms
[oracle@oel63 ~]$ more /etc/issue
[oracle@oel63 ~]$ sqlplus -v
SQL*Plus: Release 11.2.0.3.0 Production
2、啟動repository DB及OMS
#使用以下的命令啟動oms以及agent
3、查看安裝信息
#下面是一些重要的端口信息 Author : Leshami Blog : http://blog.csdn.net/leshami
[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登錄後進行相應的管理
1. Enterprise Manager Cloud Control URL: https://oel63.ycdata.net:7802/em
The following details need to be provided during the additional OMS install:
1. Admin Server Hostname: oel63.ycdata.net
You can find the ports details used by this deployment at : /u01/oms12cr3/oms/install/portlist.ini
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:
4、關閉OMS及repository DB
[oracle@oel63 ~]$ $AGENT_HOME/bin/emctl stop agent