Pages

Monday, April 22, 2013

Oracle Enterprise Manager 12C : Installation of OEM 12C


In The Second Phase we see how to Install the OEM 12C

Installation Requirements

Let’s see the Requirements on the Hardware Side. There are 3 components to be installed
Oracle Management Service (OMS)
Oracle Management Agents (Management Agents)
Oracle Management Repository (Management Repository), since the Repository is already available we don’t deal with this.

Management Service

Hardware
<1000 Targets
1 OMS
<100 Agents
<10 Current Sessions
>=1000 & <10,000 Targets
2 OMS
>=100 but <1000 Agents
>=10 but <25 Concurrent User Sessions
>=10,000 Targets
> 2 OMS
>=1000 Agents
>=25 but <=50 Concurrent User Sessions
CPU Core 2 4 8
RAM 6GB 8GB 16GB
File System 7GB 7GB 7GB

Management Agent

Stand alone Agent: 2 CPU Cores Per Host, 512MB Ram,1 GB File System.
Master Agent: 2 CPU Cores Per Host, 512MB Ram, 1 GB File System.

[root@someThing install]$ uname -a
Linux omhq188e 2.6.32-279.19.1.el6.x86_64 #1 SMP Sat Nov 24 14:35:28 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

Package, kernel and Library Requirements
1 .Oracle Management Service
Requires Packages (Specific to Red hat 6.x)
  • make-3.81
  • binutils-2.17.50.0.6
  • gcc-4.1.1
  • libaio-0.3.106
  • glibc-common-2.3.4
  • libstdc++-4.1.1
  • sysstat-5.0.5
  • glibc-devel-2.5-49-i686 (This is a 32-bit package)
  • glibc-devel-2.5-49-x86_64 (This is a 64-bit package)

Check For the packages
[root@someThing install]$ yum list installed | grep make
make.x86_64 1:3.81-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3

[root@someThing install]$ yum list installed | grep binutils
binutils.x86_64 2.20.51.0.2-5.34.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3

[root@someThing install]$ yum list installed | grep gcc
gcc.x86_64 4.4.6-4.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
libgcc.i686 4.4.6-4.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
libgcc.x86_64 4.4.6-4.el6 @anaconda-RedHatEnterpriseLinux-
201206132210.x86_64/6.3

[root@someThing install]$ yum list installed | grep libaio
libaio.x86_64 0.3.107-10.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
libaio-devel.x86_64 0.3.107-10.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3

[root@someThing install]$ yum list installed | grep libstdc
libstdc++.i686 4.4.6-4.el6 @dev-rhel-x86_64-server-6
libstdc++.x86_64 4.4.6-4.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3

[root@someThing install]$ yum list installed | grep sysstat
sysstat.x86_64 9.0.4-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3

[root@someThing install]$ yum list installed | grep glibc-devel
glibc-devel.x86_64 2.12-1.80.el6_3.6 @dev-rhel-x86_64-server-6

2. Oracle Management Agent
Requires Packages (Specific to Red hat 6.x)
  • make-3.81
  • binutils-2.17.50.0.6
  • gcc-4.1.1
  • libaio-0.3.106
  • glibc-common-2.3.4
  • libstdc++-4.1.1
  • sysstat-5.0.5

Kernel Requirements
kernel.shmmax parameter to a value 1 byte less than 4 GB or 4294967295
kernel.shmmax : Controls the maximum shared segment size, in bytes
[root@someThing install]$ cat /proc/sys/kernel/shmmax
68719476736

Library Requirements
1. Oracle Management Service
glibc-2.5-12 for Both 32bit and 64bit
Glibc features high performance and a high degree of portability (i.e., is easy to port) to both new processors and kernels. Moreover, it complies with all relevant industry standards and is also internationalized

[root@someThing install]$ yum list installed | grep glibc
glibc.i686 2.12-1.80.el6_3.6 @dev-rhel-x86_64-server-6
glibc.x86_64 2.12-1.80.el6_3.6 @dev-rhel-x86_64-server-6
glibc-common.x86_64 2.12-1.80.el6_3.6 @dev-rhel-x86_64-server-6
glibc-devel.x86_64 2.12-1.80.el6_3.6 @dev-rhel-x86_64-server-6
glibc-headers.x86_64 2.12-1.80.el6_3.6 @dev-rhel-x86_64-server-6

2. Oracle Management Service
NONE


Software needed:
1. OS: RHEL/OEL 4, 5 or 6 with packages, kernel settings and users mentioned in install doc.
2. Oracle database 11.2.0.3 with parameters, tablespaces and users mentioned in install doc.
3. JDK and Weblogic server comes with 12c software (for 11g EM we need to install them separately).

Hardware:

RAM
[root@someThing install]$ cat /proc/meminfo
MemTotal: 32844872 kB
MemFree: 24189776 kB

We have 32GB available.

Processors

No Of Processors
[root@someThing install]$ cat /proc/cpuinfo | grep physical.id | sort -u | wc -l
2

No Of CPU Cores
[root@someThing install]$ grep cpu.cores /proc/cpuinfo | sort -u
cpu cores : 4

Hard disk
50GB for OMS + 15 GB for OS = 85GB

[root@someThing install]$ cat /proc/partitions
major minor #blocks name

8 0 439514302 sda
8 1 524288 sda1
8 2 438988800 sda2
253 0 2097152 dm-0
253 1 4194304 dm-1
253 2 1048576 dm-2
253 3 1048576 dm-3
253 4 52428800 dm-4
253 5 524288 dm-5
253 6 1048576 dm-6
253 7 4194304 dm-7
253 8 4194304 dm-8
253 9 131072 dm-9
253 10 131072 dm-10
253 11 4194304 dm-11
253 12 4194304 dm-12

Check The File Descriptors

[root@someThing install]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 256451
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 4096
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

Make sure that SELINUX and firewall are disabled

Find the Run level
[root@someThing install]$ runlevel
N 3

Check Whether Iptables is Disabled
[root@someThing install]$ chkconfig --list | grep iptables
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Check Whether Selinux is Disabled
[root@someThing install]$ cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Make sure that you use unique host names and static IP addresses. Do not use Virtual IP or Virtual hostnames or SCANs.

Make sure that a physical host name is used and is fully resolvable. Make sure that all nslookup queries resolve to the same name and associated IP address.

[root@someThing install]$ nslookup omhq188e
Server: 167.132.254.225
Address: 167.132.254.225#53
omhq188e.uprr.com canonical name = eth0.omhq188e.uprr.com.
Name: eth0.omhq188e.uprr.com
Address: 69.58.250.37


Installing the Oracle Enterprise Manager

1.Enter the Details for the Oracle Support ( If available )


















2.Select Skip for updates



















3.In the next step if checks for Pre requirements


















4.Once all are checked , then
Select “Simple” under the Create a new Enterprise Manager System


5.In the next screen , enter the DB details



















6.In the next screen , select “OK” if you have any Database Warnings.



















There will be a couple of more screens . We can select the “OK” for all of those. In the last screen it will ask to execute few scripts as root.

Login as root and execute the scripts.

NOTE : During the last Screens it will show you the details of the installation including port no every thing. Please note them down

Happy Learning :-)