Tuesday, June 30, 2015

How to Install Oracle's 12c Cloud Control

Installation Guide for 12c Cloud Control

--##################################################
-- ORACLE ENTERPRISE MANAGER CONFIGURATION SIZES
--##################################################

SIZE AGENT COUNT TARGET COUNT CONCURRENT USER SESSIONS

SMALL < 100 < 1000 <10

--#########################################################
-- ORACLE ENTERPRISE MANAGER MINIMUM HARDWARE REQUIREMENTS
--#########################################################

SIZE SMALL
OMS MACHINE COUNT* 1
CORES PER OMS 2
MEMORY PER OMS(GB) 6
STORAGE PER OMS(GB) 15
CORES PER DATABASE MACHINE 2
MEMORY PER DATABASE MACHINE (GB) 6
DATABASE MACHINE COUNT* 1

--#################################################################
-- ORACLE ENTERPRISE MANAGER MINIMUM DATABASE STORAGE REQUIREMENTS
--#################################################################

SIZE MGMT_TABLESPACE (GB) MGMT_ECM_DEPOT_TS (GB) TEMP (GB) ARCHIVE LOG AREA (GB)

SMALL 50 1 10 25

--################################################
-- SMALL CONFIGURATION MINIMUM DATABASE SETTINGS
--################################################

PARAMETER MINIMUM VALUE

Processes 300
pga_aggregate_target* 1024 MB
sga_target* 2 GB
redo log file size 300 MB
shared_pool_size 600 MB


--######################################################
-- Package Requirements for Oracle Management Service
--######################################################

Identifying the Installed Packages

Check the maintenance level using the following command:

$ oslevel -r
7100-03

IBM AIX 7.1

bos.adt.base(0.0)
bos.adt.lib(0.0)
bos.adt.libm(0.0)
bos.perf.libperfstat(0.0)
bos.perf.perfstat(0.0)
bos.perf.proctools(0.0)
rsct.basic.rte(0.0)
rsct.compat.clients.rte(0.0)
xlC.aix61.rte.(9.0.0.0)
xlC.rte.(9.0.0.0)

--Verify that the required packages are installed.

$ lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstat bos.perf.perfstat bos.perf.proctools rsct.basic.rte rsct.compat.clients.rte xlC.aix61.rte xlC.rte

  Fileset                      Level  State      Description
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.adt.base              7.1.3.15  COMMITTED  Base Application Development
                                                 Toolkit
  bos.adt.lib               7.1.2.15  COMMITTED  Base Application Development
                                                 Libraries
  bos.adt.libm               7.1.3.0  COMMITTED  Base Application Development
                                                 Math Library
  bos.perf.libperfstat      7.1.3.15  COMMITTED  Performance Statistics Library
                                                 Interface
  bos.perf.perfstat         7.1.3.15  COMMITTED  Performance Statistics
                                                 Interface
  bos.perf.proctools        7.1.3.15  COMMITTED  Proc Filesystem Tools
  rsct.basic.rte             3.1.5.3  COMMITTED  RSCT Basic Function
  rsct.compat.clients.rte    3.1.5.0  COMMITTED  RSCT Event Management Client
                                                 Function
  xlC.aix61.rte             12.1.0.1  COMMITTED  IBM XL C++ Runtime for AIX 6.1
                                                 and 7.1
  xlC.rte                   12.1.0.1  COMMITTED  IBM XL C++ Runtime for AIX

Path: /etc/objrepos
  bos.adt.base              7.1.3.15  COMMITTED  Base Application Development
                                                 Toolkit
  bos.perf.libperfstat      7.1.3.15  COMMITTED  Performance Statistics Library
                                                 Interface
  bos.perf.perfstat         7.1.3.15  COMMITTED  Performance Statistics
                                                 Interface
  rsct.basic.rte             3.1.5.3  COMMITTED  RSCT Basic Function
$

--####################################################################################################################
-- Package Requirements for Oracle Management Agent (The same packages as the Oracle Management Service are required)
--####################################################################################################################

$ oslevel -r
7100-03

IBM AIX 7.1

bos.adt.base(0.0)
bos.adt.lib(0.0)
bos.adt.libm(0.0)
bos.perf.libperfstat(0.0)
bos.perf.perfstat(0.0)
bos.perf.proctools(0.0)
rsct.basic.rte(0.0)
rsct.compat.clients.rte(0.0)
xlC.aix61.rte.(9.0.0.0)
xlC.rte.(9.0.0.0)

$ lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstat bos.perf.perfstat bos.perf.proctools rsct.basic.rte rsct.compat.clients.rte xlC.aix61.rte xlC.rte

--###############################
-- Kernel Parameter Requirements
--###############################

Verifying UDP and TCP Kernel Parameters

Set TCP/IP ephemeral port range parameters to provide enough ephemeral ports for the anticipated server workload. Ensure that the lower range is set to at least 11,000 or higher, to avoid Well Known 
ports, and to avoid ports in the Registered Ports range commonly used by Oracle and other server ports.

Set the port range high enough to avoid reserved ports for any applications you may intend to use. If the lower value of the range you have is greater than 11,000, and the range is large enough for your
anticipated workload, then you can ignore OUI warnings regarding the ephemeral port range.

For example, with IPv4, use the following command to check your current range for ephemeral ports:

$ cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000

In the preceding example, the lowest port (32768) and the highest port (61000) are set to the default range.

If necessary, update the UDP and TCP ephemeral port range to a range high enough for anticipated system workloads, and to ensure that the ephemeral port range starts at 11,000 and above.

For example:

# echo 11000 65500 > /proc/sys/net/ipv4/ip_local_port_range

--############################################
-- Setting Up kernel.shmmax Kernel Parameter
--############################################

To set the value for kernel.shmmax parameter, do the following:

1.  Log in as root.

2.  Open the /etc/sysctl.conf file.

3.  Set the kernel.shmmax parameter to 4294967295.

    By setting the value in the /etc/sysctl.conf file, the value persists even when you restart the system.

--#################################################################################
-- Creating Operating System Groups and Users for Enterprise Manager Cloud Control
--#################################################################################

$ id oracle

If the oracle user exists, then the output from this command looks like this:

uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)


--#################################################################################
-- Creating middleware home and agent base directories
--#################################################################################

Create the middleware home

mkdir /u01/app/Oracle/Middleware/

Create the agent base directory 

mkdir /u01/app/Oracle/agent12c


--##################################################
-- Configuring Oracle Software Owner Environment
--##################################################

--Start CYGWIN

startxwin
xhost +
export DISPLAY=10.10.10.10:0.0 (DISPLAY = The IP Address of your local PC not the server you're running the scirpt.)


--############################
-- UMASK Value Requirements
--############################

Ensure that you set the default file mode creation mask (umask) to 022 in the shell startup file.

Bourne or Korn Shell

$ . ./.profile


--##################################################
-- CLASSPATH Environment Variable Requirements
--##################################################

Unset the CLASSPATH environment variable. You can always reset the variable to the original value after the installation is complete.



--#########################################
-- File Descriptor Requirements
--######################################### 

• Ensure that the maximum user process limit is set to 13312 or greater. However, do not set it to unlimited.

  To verify the current value that is set, run the following command:

  ulimit -u

  To verify whether it is set to unlimited, run the following command. If it is set to unlimited, the output will be unlimited.

  ulimit -n

  If the current value is not set to 13312 or greater, or if it is set to unlimited, then contact your system administrator to correct it.

• Ensure that you set the soft limit of the file descriptor to a minimum of 4096 and the hard limit to less then or equal to 16384.

  To verify the current value set, run the following commands:

  For Soft Limit:

  /bin/sh -c "ulimit -n"

  For Hard Limit:

  /bin/sh -c "ulimit -Hn"

  If the current value is not 4096 or greater, then as a root user, update the /etc/security/limits.conf file with the following entries:

  <UID> soft nofile 4096

  <UID> hard nofile 16384


--#########################################
-- Host File Requirements 
--#########################################

Ensure that the host name specified in the /etc/hosts file is unique, and ensure that it maps to the correct host name or IP address of that host. Otherwise, the installation can fail on the product-specific prerequisite check page.


--########################
-- Port Requirements
--########################

Ensure that the ports you assign (within the given range) to the following components are free and available:

• Admin Server HTTP SSL Port = 7101 - 7200
• Enterprise Manager Upload HTTP Port = 4889 - 4898
• Enterprise Manager Upload HTTP SSL Port = 1159, 4899 - 4908
• Enterprise Manager Central Console HTTP Port = 7788 - 7798
• Enterprise Manager Central Console HTTP SSL Port = 7799 - 7809
• Oracle Management Agent Port = 3872, 1830 - 1849
• Node Manager HTTP SSL Port = 7401 - 7500
• Managed Server HTTP Port = 7201 - 7300
• Managed Server HTTPS Port = 7301 - 7400

To verify if a port is free, run the following command:

• On Unix:

netstat -an | grep <port no>


--#############################################################################################
-- 6.6 Installing an Enterprise Manager System for a Production Site (Advanced Configuration)
--#############################################################################################


http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_em_exist_db.htm#EMBSC166


--#####################################################################
-- Useful links and documentation for Enterprise Manager Cloud Control
--#####################################################################

Meeting Hardware Requirements for Enterprise Manager Cloud Control
http://docs.oracle.com/cd/E24628_01/install.121/e22624/preinstall_req_hw.htm#EMBSC121

Creating a Database Instance with Preconfigured Repository Using Database Templates
http://docs.oracle.com/cd/E24628_01/install.121/e22624/appdx_seed_db_template.htm#EMBSC242

Oracle Enterprise Manager Cloud Control Documentation 12c Release 4
http://docs.oracle.com/cd/E24628_01/index.htm

Enterprise Manager 12c Cloud Control Sizing Guidelines
http://www.oracle.com/technetwork/oem/framework-infra/em12c-sizing-1590739.pdf

Sample OEM 12C CLOUD CONTROL INSTALLATION - Advanced Option 
http://www.askmlabs.com/2014/03/oem-12c-cloud-control-installation.html

No comments:

Post a Comment