Posts Tagged ‘vmware’

Installing Oracle Enterprise Manager Cloud Control 12 on OEL 6.1

October 7th, 2011 2 comments

Few days ago Oracle announced the release of Oracle Enterprise Manager Cloud Control 12c. I tried to summarize most of the information in my post so I’ll not discuss any details here, but I’ll go only with few details regarding EM12c installation.

For the purpose I have setup a VMWare virtual machine with 2 CPUs, 4GB RAM and 32 GB HDD, one network interface. Installed Oracle Enterprise Linux 6.1 (64 bit) with following parameters:

  • Perform custom disk layout, I dedicated 4GB for swap and the rest for the root (/) file system and formatted it with ext4.
  • Perform default installation, needed packages will be installed later.
  • Set hostname, timezone and root password.
  • After installation disable the firewall and most of some of the services, like IPV6.

After installation the network adapter won’t be available that why you have to install several packages and then compile the VMWare tools. Insert the installation DVD/ISO and install the following packages:

mount /dev/cdrom /mnt
rpm -ivh -ivh gcc-4.4.5-6.el6.x86_64.rpm cloog-ppl-0.15.7-1.2.el6.x86_64.rpm cpp-4.4.5-6.el6.x86_64.rpm glibc-devel-2.12-1.25.el6.x86_64.rpm
glibc-headers-2.12-1.25.el6.x86_64.rpm kernel-uek-headers-2.6.32-100.34.1.el6uek.x86_64.rpm ppl-0.10.2-11.el6.x86_64.rpm
mpfr-2.4.1-6.el6.x86_64.rpm kernel-uek-devel-2.6.32-100.34.1.el6uek.x86_64.rpm
umount /dev/cdrom

Then disconnect the drive and from the console go to VM->Guest->Install/Upgrade VMWare Tools, then install the guest additions:

cp /mnt/VMwareTools-8.3.2-257589.tar.gz /tmp
umount /mnt
cd /tmp
tar xfz VMwareTools-8.3.2-257589.tar.gz
cd vmware-tools-distrib

At this point you should be able to configure the network interfaces.

Before starting the installation, download the packages from OTN and transfer them to the server. The installation consist of two zip packages, which are 5.5GB total, but this includes Oracle Weblogic Server 10.3.5, which is installed by default from the wizard.


Oracle Enterprise Manager Cloud Control 12c installation prerequisites

For the installation of Enterprise Manager Cloud Control I’m following the documentation:
Oracle® Enterprise Manager Cloud Control Basic Installation Guide 12c Release 1 (

1. From Oracle Database onwards, all versions are certified for Management Repository. The last two releases and do not need additional patches for it to be configured successfully. For the rest of the version additional patches are needed, refer to MOS for more information.

Except the support for Management Repository few more parameters are needed to be set. They could be set before or after the installation. For setting database initialization parameters refer to Table-6 or Table-7 from Appendix A at the documentation.

Once you are ready you could run the EM Prerequisite Kit which is run by the wizard during the installation.

2. According to the Oracle documentation for small environment, you need following servers parameters:
For the OMS: 2 CPUs, 4 GB RAM and 7 GB space excluding the installation which is 5.5 GB.
For the Management Repository: 2 CPUs, 2 GB RAM and 50 GB space.

3. Packages and kernel parameters required for OMS:
The following packages should be installer, either from ISO or from public yum server:

yum install make.x86_64 binutils.x86_64 libaio.x86_64 glibc-common.x86_64 libstdc++.x86_64 sysstat.x86_64 glibc-devel.i686 glibc-devel.x86_64

The shmmax kernel parameter should be set to value bigger than 4GB. In OEL 6.1 this parameter is far beyond and it’s set to 64GB. Its current value could be retrieved by following command:

cat /proc/sys/kernel/shmmax

4. Create group and user for the installation of Enterprise Manager 12c
The installation could not be done by root and oracle user has to be created. I’m using the same group id and user id as they would be created by oracle-validated package (which is not yet available for OEL 6.x).

groupadd -g 54321 oinstall
useradd -u 54321 -g oinstall -s /bin/bash -d /home/oracle -m oracle
passwd oracle

5. Configure limits.conf file:
The following two parameter has to be set in /etc/security/limits.conf file
oracle soft nofile 4096
oracle hard nofile 4096


Oracle Enterprise Manager Cloud Control 12c installation

Proceed with default installation and following the installation wizard.

If the wizard gives you warning at “Checking whether required GLIBC installed on system” although you have installed all the prerequisites you could ignore the warning. The installer is checking whether the package glibc-devel.i386 is installed, but you have already installed glibc-devel.i686.

Supply the repository details and please be sure to check whether the database control doesn’t exists. Otherwise you’ll get an error after supplying the database credentials to drop the database control of the repository database:
$ORACLE_HOME/bin/emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys_password> -SYSMAN_PWD <sysman_password>

Once the installation is complete you’ll get a screen with installation summary and details how to access the console.

Then you could login and select default home page. This is how the console look like:


Meanwhile I just saw two useful installation guides:


Categories: linux, oracle Tags: , , ,

No ethernet adapters with OEL6 under VMware ESX 4.1

May 13th, 2011 3 comments

I was playing around with Oracle Database 11.2 on OEL6.0 guest machine running on VMware ESX 4.1 and after installation I had no ethernet adapters. I didn’t notice that before, because I always set the network to E1000 and now it was VMXNET3. Here is the description of the networks from the VMware manual:

E1000: An emulated version of the Intel 82545EM Gigabit Ethernet NIC. A driver for this NIC is not included with all guest operating systems. Typically Linux versions 2.4.19 and later, Windows XP Professional x64 Edition and later, and Windows Server 2003 (32-bit) and later include the E1000 driver.

VMXNET 3: The VMXNET 3 adapter is the next generation of a paravirtualized NIC designed for performance, and is not related to VMXNET or VMXNET 2. It offers all the features available in VMXNET 2, and adds several new features like multiqueue support (also known as Receive Side Scaling in Windows), IPv6 offloads, and MSI/MSI-X interrupt delivery. VMXNET 3 is supported only for virtual machines version 7 and later, with a limited set of guest operating systems:

* 32 and 64bit versions of Microsoft Windows XP, 2003, 2003 R2, 2008,and 2008 R2.
* 32 and 64bit versions of Red Hat Enterprise Linux 5.0 and later
* 32 and 64bit versions of SUSE Linux Enterprise Server 10 and later
* 32 and 64bit versions of Asianux 3 and later
* 32 and 64bit versions of Debian 4
* 32 and 64bit versions of Ubuntu 7.04 and later
* 32 and 64bit versions of Sun Solaris 10 U4 and later

So it turns out that it should be supported by Oracle Enterprise Linux and I need to install the vmware tools.

Here is how to do it with default installation of OEL6:
– Connect the OEL installation media to the guest

– mount the media:
mount /dev/cdrom /mnt

– change directory to installation packages and install the following packages:
cd /mnt/Packages

rpm -ivh gcc-4.4.4-13.el6.x86_64.rpm cloog-ppl-0.15.7-1.2.el6.x86_64.rpm glibc-devel-2.12-1.7.el6.x86_64.rpm cpp-4.4.4-13.el6.x86_64.rpm ppl-0.10.2-11.el6.x86_64.rpm mpfr-2.4.1-6.el6.x86_64.rpm glibc-headers-2.12-1.7.el6.x86_64.rpm kernel-uek-headers-2.6.32-100.28.5.el6.x86_64.rpm kernel-uek-devel-2.6.32-100.28.5.el6.x86_64.rpm

* Because OEL6 ships by default with Oracle Enterprise Linux Kernel, kernel-uek-devel should be installed for proper compilation of the vmware tools.

– Umount the installation media and install vmware tools:
umount /mnt
VM -> Guest -> Install/Upgrade Vmware tools

– Mount the vmware tools media and copy the packages:
mount /dev/cdrom /mnt
cp /mnt/VMwareTools-8.3.2-257589.tar.gz /tmp
umount /mnt
cd /tmp
tar xfz VMwareTools-8.3.2-257589.tar.gz
cd vmware-tools-distrib

Answer by default to all the questions, if all the packages are installed the compilation should finish in a minute and network interfaces should become available.

After susccefful installation the following could be seen in dmesg:

VMware PVSCSI driver – version
VMware memory control driver initialized
vmmemctl: started kernel thread pid=14962

VMware vmxnet3 virtual NIC driver – version
eth0: NIC Link is Up 10000 Mbps


For OEL 5.6 the following packages has to be installed, rest is the same:
rpm -ivh gcc-4.1.2-50.el5.x86_64.rpm glibc-headers-2.5-58.x86_64.rpm glibc-devel-2.5-58.x86_64.rpm kernel-uek-headers-2.6.32-100.26.2.el5.x86_64.rpm kernel-uek-devel-2.6.32-100.26.2.el5.x86_64.rpm



Categories: linux, virtualization Tags: