Oracle Enterprise Manager Cloud Control 12c R4 installation Configuration

Source: Internet
Author: User

Oracle Enterprise Manager Cloud Control 12c R4 installation Configuration
Prepare Software

Em12.1.0.4_linux64_V45344-01.zip

Em12.1.0.4_linux64_V45345-01.zip

Em12.1.0.4_linux64_V45346-01.zip

 

Install the Operating System (OEL6.5)

After loading OS and CC for a space of more than 50 gb for the OS, 30 GB space is required. We recommend that you use at least 4 GB memory for 6 GB.

 

 

[Oracle @ newcc bin] $ cat/etc/hosts

127.0.0.1 localhostlocalhost. localdomain localhost4 localhost4.localdomain4

: 1localhostlocalhost. localdomainlocalhost6 localhost6.localdomain6

 

10.1.32.229 OEL65

 

Install the ccdb Database

Follow the environment of gcdb 11g.

[Oracle @ newcc ~] $ Uname-r

3.8.13-16.2.1.el6uek.x86 _ 64

 

[Root @ OEL65 ~] # Rpm-q -- qf' % {NAME}-% {VERSION}-% {RELEASE} (% {ARCH }) \ n' \ binutils compat-libstdc ++-cancelfutils-libelf-devel gcc-c ++ glibc-commonglibc-devel glibc-headers ksh libaio-devel libgomp-gcc libstdc ++-devel make numactl-devel-sysstat unixODBC-devel compat-libcap1

Binutils-2.20.51.0.2-5.36.el6 (x86_64)

Compat-libstdc ++-33-3.2.3-69.el6 (x86_64)

Compat-libstdc ++-33-3.2.3-69.el6 (i686)

Elfutils-libelf-0.152-1.el6 (x86_64)

Elfutils-libelf-0.152-1.el6 (i686)

Elfutils-libelf-devel-0.152-1.el6 (x86_64)

Elfutils-libelf-devel-0.152-1.el6 (i686)

Gcc-4.4.7-4.el6 (x86_64)

Gcc-c ++-4.4.7-4. el6 (x86_64)

Glibc-2.12-1.132.el6 (x86_64)

Glibc-2.12-1.132.el6 (i686)

Glibc-common-2.12-1.132.el6 (x86_64)

Glibc-devel-2.12-1.132.el6 (x86_64)

Glibc-devel-2.12-1.132.el6 (i686)

Glibc-headers-2.12-1.132.el6 (x86_64)

Ksh-20120801-10.el6 (x86_64)

Libaio-0.3.107-10.el6 (x86_64)

Libaio-0.3.107-10.el6 (i686)

Libaio-devel-0.3.107-10.el6 (x86_64)

Libaio-devel-0.3.107-10.el6 (i686)

Libgomp-4.4.7-4.el6 (x86_64)

Libgcc-4.4.7-4.el6 (x86_64)

Libgcc-4.4.7-4.el6 (i686)

Libstdc ++-4.4.7-4. el6 (x86_64)

Libstdc ++-4.4.7-4. el6 (i686)

Libstdc ++-devel-4.4.7-4.el6 (x86_64)

Libstdc +++ devel-4.4.7-4.el6 (i686)

Make-3.81-20.el6 (x86_64)

Numactl-devel-2.0.7-8.el6 (x86_64)

Sysstat-9.0.4-22.el6 (x86_64)

UnixODBC-2.2.14-12.el6_3 (x86_64)

UnixODBC-2.2.14-12.el6_3 (i686)

UnixODBC-devel-2.2.14-12.el6_3 (i686)

UnixODBC-devel-2.2.14-12.el6_3 (x86_64)

Compat-libcap1-1.10-1 (x86_64)

[Root @ OEL65 ~] #

 

# Default Value

/Etc/sysctl. conf

[Root @ newcc soft] # sysctl-p

Kernel. msgmnb = 65536

Kernel. msgmax = 65536

Fs. file-max = 6815744

Kernel. sem = 250 32000 100 128

Kernel. shmmni = 4096

Kernel. shmall = 1073741824

Kernel. shmmax = 4398046511104

Net. core. rmem_default = 262144

Net. core. rmem_max = 4194304

Net. core. wmem_default = 262144

Net. core. wmem_max = 1048576

Fs. aio-max-nr = 1048576

Net. ipv4.ip _ local_port_range = 9000 65500

 

# Default Value

Vi/etc/security/limits. conf

 

Oracle soft nproc 2047

Hard nproc 16384

Oracle soft nofile 1024

Oracle hard nofile 65536

 

 

Vi/etc/pam. d/login

Session required pam_limits.so

 

# Disable SELINUX

Vi/etc/selinux/config

SELINUX = disabled

 

# Disable the Firewall

[Root @ newcc ~] # Service iptables stop

Iptables: Set the chain to policy ACCEPT: filter [OK]

Iptables: clear firewall rules: [OK]

Iptables: uninstalling module: [OK]

[Root @ newcc ~] # Chkconfig iptables off

 

 

# Creating groups and users

Groupadd oinstall already exists by default

Groupadd dba already exists by default

Groupadd rule

Groupadd asmadmin

Userdel oracle

Cd/home rm-rf oracle

Useradd-g oinstall-G dba, role, asmadmin oracle

Passwd oracle

 

# Creating a directory

Mkdir-p/u01/app/ora11g

Mkdir-p/u01/app/ora11g/product

Mkdir-p/u01/app/ora11g/oradata

Mkdir-p/u01/app/ora11g/product/11.2.0/db_1

Chown-R oracle: oinstall/u01

Chmod-R 775/u01

 

# Creating environment variables

Su-oracle

Vi. bash_profile

 

Export TMP =/tmp

Export TMPDIR = $ TMP

Export ORACLE_TERM = xterm

Export ORACLE_BASE =/u01/app/ora11g

Export ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/db_1

Export ORACLE_GRID = $ ORACLE_BASE/product/11.2.0/grid

Export ORACLE_SID = ccdb

Export PATH =/usr/sbin: $ PATH

Export PATH = $ ORACLE_HOME/bin: $ ORACLE_GRID/bin: $ PATH

Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/usr/X11R6/lib64

Export CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib

Export NLS_LANG = "SIMPLIFIEDCHINESE_CHINA.ZHS16GBK"

ExportALERT = $ ORACLE_BASE/diag/rdbms/$ ORACLE_SID/trace

Stty erase ^ H

Umask 022

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

 

# Formatting partitions

Fdisk-l

 

 

 

[Root @ newcc ~] #

Fdisk/dev/sdb

N p 1 w

 

# Create an ASM disk

-- Check the asm package installation

[Root @ newcc ~] # Rpm-qa oracleasm *

Oracleasm-support-2.1.8-1.el6.x86_64

 

Rpm-vih asmlib

 

[Root @ newcc ~] #/Etc/init. d/oracleasmconfigure

Processing the Oracle ASM library driver.

 

This will configure the on-boot propertiesof the Oracle ASM library

Driver. The following questions will determine whether the driver is

Loaded on boot and what permissions it willhave. The current values

Will be shown in brackets ('[]'). Hitting <ENTER> without typing

Answer will keep that current value. Ctrl-C will abort.

 

Default user to own the driver interface []: oracle

Default group to own the driver interface []: asmadmin

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]: y

Writing Oracle ASM library driverconfiguration: done

Initializing the Oracle ASMLib driver: [OK]

Scanning the system for Oracle ASMLibdisks: [OK]

[Root @ newcc ~] #/Etc/init. d/oracleasmcreatedisk v1/dev/sdb1

Marking disk "v1" as an ASMdisk: [OK]

[Root @ newcc ~] #/Etc/init. d/oracleasmcreatedisk v2/dev/sdc1

Marking disk "v2" as an ASMdisk: [OK]

[Root @ newcc ~] #/Etc/init. d/oracleasmlistdisks

V1

V2

 

# Configure the host file

[Root @ newcc ~] # Vi/etc/hosts

# Cc

10.1.5.122 newcc. localdomain newcc

 

# Public

10.1.32.91 ntrac1.localdomain ntrac1

10.1.32.93 ntrac2.localdomain ntrac2

10.1.32.95 ntrac3.localdomain ntrac3

 

# Virtual

10.1.32.92 ntrac1-vip.localdomain ntrac1-vip

10.1.32.94 ntrac2-vip.localdomain ntrac2-vip

10.1.32.96 ntrac3-vip.localdomain ntrac3-vip

 

# SCAN

10.1.32.99 rac-scan.localdomain rac-scan

 

# Database and Grid Installation

 

 

 

 

# Create a ccdb Database

 

 

 

 

 

 

 

Configure ccdb

Modify the redo log size by 100 mb and then create four groups of redo logs.

 

** Modify as prompted.

Alter system SETprocesses = 500 SCOPE = SPFILE;

The system has been changed.

Alter system SETsession_cached_cursors = 500 SCOPE = SPFILE;

System changed

Alter system SETsga_target = 2g scope = SPFILE; The default value is greater than this value, so it will not change.

Alter system SETpga_aggregate_target = 2g scope = SPFILE;

Alter system SETjob_queue_processes = 20 SCOPE = SPFILE; The default value is 1000.

Alter system SETopen_cursors = 300 SCOPE = SPFILE;

 

**

 

 

-- Restart the instance.

SHUTDOWNIMMEDIATE

STARTUP

 

 

 

Install Cloud Control

Official Document reference:

Http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_em_exist_db.htm#BGBHDBCH

 

Create a CC installation directory

Oracleuser

$ Mkdir-p/u01/app/oracle/oms12cr4

$ Mkdir-p/u01/app/oracle/agent12cr4

 

Add Environment Variables

 

Export LANG = zh_CN

Export TMP =/tmp

Export TMPDIR = $ TMP

Export ORACLE_TERM = xterm

ExportORACLE_BASE =/u01/app/ora11g

ExportORACLE_HOME = $ ORACLE_BASE/product/11.2.0/db_1

ExportORACLE_GRID = $ ORACLE_BASE/product/11.2.0/grid

Export OMS_HOME =/u01/app/oracle/oms12cr4/oms

Export AGENT_HOME =/u01/app/oracle/agent12cr4/core/12.1.0.4.0

Export ORACLE_SID = ccdb

Export PATH =/usr/sbin: $ PATH

ExportPATH = $ ORACLE_HOME/bin: $ ORACLE_GRID/bin: $ PATH

ExportLD_LIBRARY_PATH = $ ORACLE_HOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/usr/X11R6/lib64

ExportCLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib

Export NLS_LANG = "SIMPLIFIEDCHINESE_CHINA.ZHS16GBK"

Export ALERT = $ ORACLE_BASE/diag/rdbms/$ ORACLE_SID/trace

Stty erase ^ H

Umask 022

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

 

Start CC Installation

 

-- Temporarily comment out the following environment variables

Unset ORACLE_HOME ORACLE_BASE ORACLE_SID

 

[Oracle @ newcccc] $ ls

Install jdk libskgxn oms plugins Release_Notes.pdf response runInstaller stage wls WT.zip

[Oracle @ newcccc] $./runInstaller

 

 

 

 

 

Because the host name is not added with domain

 

 

 

If advanced is selected

 

 

 

 

 

 

 

Small, medium, and large deployment options

 

 

 

Dbconsole before removing em is stopped

[Root @ OEL65 MongoDB] # su-oracle

[Oracle @ OEL65 ~] $ Export LANG = zh_EN

[Oracle @ OEL65 ~] $ Emca-deconfig dbcontrol db-repos drop

 

EMCA started at 21:06:52

EM Configuration Assistant, 11.2.0.3.0 official version

Copyright (c) 2003,201 1, Oracle. All rights reserved.

 

Enter the following information:

Database SID: ngcdb

Listener port: 1521

SYS user password:

Password of the SYSMAN User:

 

----------------------------------------------------------------------

Warning the database enters the silent mode when you delete the archive.

----------------------------------------------------------------------

Continue? [Yes (Y)/NO (N)]: y

2013-12-9 21: 07: 54oracle. sysman. emcp. EMConfig perform

Information: The operation is logged to/u01/app/ora11g/export toollogs/emca/ngcdb/emca_2013_12_09_21_06_51.log.

2013-12-9 21: 07: 55oracle. sysman. emcp. util. DBControlUtilstopOMS

Information: The Database Control is being stopped (this operation may take some time )...

2013-12-9 21: 07: 57oracle. sysman. emcp. EMReposConfig invoke

Information: deleting the EM archives. This operation may take some time )...

2013-12-9 21: 09: 22oracle. sysman. emcp. EMReposConfig invoke

Information: The archive has been deleted successfully.

The Enterprise Manager configuration has been completed successfully.

EMCA ended at 21:09:25

[Oracle @ OEL65 ~] $

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

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.