Oracle cloud control 12c startup and shutdown, cloud12c

Source: Internet
Author: User

Oracle cloud control 12c startup and shutdown, cloud12c

The entire installation of Oracle cloud control 12c is complicated. The installation path, logon password, port number, and many other configurations are confusing. This article describes how to obtain the various port numbers, URLs, and how to start and disable cloud control after the installation is complete for your reference.
For cloud control Installation configuration, see Oracle Enterprise Manager Cloud Control 12c Release 3 Installation.

 

1. Current Environment Configuration
[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:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH = $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH

Export OMS_HOME =/u01/oms12375/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. Start repository DB and OMS
# Before starting oms, you need to start the Repository DB, which is used to store the collected monitoring information
# Start the listener when starting the database. Otherwise, you will receive the Failed to connect to repository database.
# However, OMS will automatically restart. When the DB and listener are detected to be 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

 

# Use the following command to start oms and agent
[Oracle @ oel63 ~] $ OMS_HOME/bin/emctl start oms
[Oracle @ oel63 ~] $ AGENT_HOME/bin/emctl start agent

 

3. view the installation information
# View the previous installation information and port information, and connect to the cloud control console accordingly
[Oracle @ oel63 ~] $ Cd $ OMS_HOME/install
[Oracle @ oel63 install] $ more eminstall.info
INSTALL_TYPE = NOSEED
UPGRADE = false
ORACLE_MIDDLEWARE_HOME_LOCATION =/u01/oms12375 # Weblogic installation location
OMS_HOME =/u01/oms12301/oms # OMS installation location
AGENT_HOME =/u01/agent12cr2/core/12.1.0.3.0 # Agent installation location
AGENT_BASE_DIR =/u01/agent12cr2 # Agent base Directory

 

# The following are some important port information 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:

/U01/oms12301/oms/install/setupinfo.txt

See below for information pertaining to your Enterprise Manager installation:

 

# The following is the URL for logging on to the cloud control console and logging on to Weblogic. Perform corresponding management based on this 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. the Admin Server Port is 7102.

You can find the ports details used by this deployment at:/u01/oms12301/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 shoshould be created on a regular basis to ensure they capture the current OMS configuration. use the following command to backup the OMS configuration:
/U01/oms12301/oms/bin/emctl exportconfig oms-dir <backup dir>

 

4. Disable OMS and 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;


 


How Does oracle 12c access the graphic interface, that is, the Enterprise Manager? There is a manger console on the 11g, and 12c is gone. Can you help me?

1. Start EM Database Express 12c and set the port to enable EM Express.
SQL> show parameter dispatchers
SQL> exec DBMS_XDB_CONFIG.setHTTPPort (8080 );

2. Install Oracle Enterprise Manager Cloud Control 12c.

How to uninstall oracle12c

1. If the database is configured with Automatic Storage Management (ASM), you should first Delete the clustering Synchronization Service CSS (Cluster Synchronization Services ). to delete the CSS service, run the following command in the doscommand line: localconfig delete
2. Stop all oracle services in the "services" window.
3. Choose programs/Oracle-OraDb12c_home1/Oracle Installation Products/Universal Install from the Start menu to open the Oracle Universal Installer (OUI) window.
4. Click the "Uninstall product" button to open the "product list" window. Select the Oracle product to be deleted, and click Delete to open the confirm deletion dialog box.
5. In the confirm deletion dialog box, click yes to delete the selected Oracle product.
6. delete the Automatic Storage Management (ASM) and execute the following command in the doscommand line: oracle-delete-asnsid + asm
7. Run the regedit command to open the Registry window. Delete Oracle-related content in the Registry as follows.★Delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE directory.★Delete all keys starting with oracle or OraWeb in HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services.★Delete all keys starting with oracle in HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Application.★Delete all keys prefixed with Ora, Oracle, Orcl, or EnumOra in the HKEY_CLASSES_ROOT directory.★Delete all keys starting with oracle in HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/MenuOrder/Start Menu/Programs.★Delete all Oracle keys except the Microsoft ODBC for Oracle registry key in HKEY_LOCAL_MACHINE/SOFTWARE/ODBC/ODBCINST. INI. Some registry items may have been deleted when Oracle products are uninstalled.
8. Delete the PATH and CLASSPATH in the environment variables that contain Oracle values.
9. Delete All Oracle groups and icons in "start"/"program.
10. Delete All ORACLE-related directories.★C: \ app \ asus \ oradata★C: \ Program Files (x86) \ Oracle★C: \ Users \ asus \ AppData \ Roaming \ PLSQL Developer★ORACLE_BASE directory★C: temporary files in the "DOcuments and Setting \ System USERNAME \ LocalSettings \ Temp" directory.
Note: When deleting oracle files in the installation directory, some files may not be deleted, for example, oci files in the BIN directory. dll file. After the software is installed (no ...... remaining full text>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.