21 Install OMS 12.1.0.4



Overview

Now that I have installed the correct packages for OMS 12.1.0.4, I am now ready to proceed with the setting of kernel parameters and install OMS 12.1.0.4.

References

Procedure

Set Up Kernel Parameters

Following the advice in 3.2.1 Kernel Parameter Requirements for Oracle Management Service , I made the following changes to /etc/sysctl.conf :

sudo su -
cat >>/etc/sysctl.conf <<DONE
net.ipv4.ip_local_port_range = 11000 65500
kernel.shmmax = 4294967295
DONE

The server was then rebooted to ensure that the parameters changes were permanent.

Update System Limits

Following the advice given in 6.3 Prerequisites for Installing an Enterprise Manager System , /etc/security/limits.conf was updated with the following lines:

# ------------------------------------------------------------
# Limits for OEM 12.1.0.4
# ------------------------------------------------------------
oracle           soft    nofile          4096
oracle           hard    nofile          16384
oracle           soft    nproc           4096
oracle           hard    nproc           13312

Install OEM 12.1.0.4

I plan to follow the procedure in 6.5 Installing an Enterprise Manager System for a Production Site (Advanced Configuration) .

After logging on as the oracle user, I used the following commands to start the installation process:

cd /opt/app/oracle/software/12.1.0.4
./runInstaller

The following messages appeared:

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 400 MB.   Actual 32140 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 5119 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-06-23_04-44-17PM. Please wait ...

Step 1: My Oracle Support Details

After the first screen appeared, I unchecked the security updates notification as shown below:


Then, I clicked next . The following confirmation then appeared:


I clicked Yes .

Step 2: Software Updates

On the next screen, I skipped software updates:


Then, I clicked next .

Step 3: Oracle Inventory

On the next screen, I set the inventory location to /opt/app/oracle/oraInventory and the group to oinstall as follows:


Then, I clicked next .

Step 4: Prerequisite Checks

All checks passed as shown below:


Then, I clicked next .

Step 5: Installation Types

On the next screen, I chose to install software only as shown below:


Then, I clicked next .

Step 6: Installation Details

On the next screen, I specified the following locations:

  • /opt/app/oracle/middleware
  • /opt/app/oracle/agent12c

Then, I clicked next .

Step 7: Review

On the next screen, I did not make any changes:


Then, I clicked install .

Step 8: Install Progress

The following screen appeared:


After a while, the following screen appeared:


The following is a log of commands run as root :

[oracle@cronulla 12.1.0.4]$ sudo su -
[root@cronulla ~]# /opt/app/oracle/oraInventory/orainstRoot.sh 
Changing permissions of /opt/app/oracle/oraInventory
Adding read,write permissions for group,Removing read,write,execute permissions for world.
Changing groupname of /opt/app/oracle/oraInventory to oinstall.
The execution of the script is complete
[root@cronulla ~]# /opt/app/oracle/middleware/oms/allroot.sh 

Starting to execute allroot.sh ......... 

Starting to execute /opt/app/oracle/middleware/oms/root.sh ......
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/app/oracle/middleware/oms

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc exist

Creating /etc/oragchomelist file...
/opt/app/oracle/middleware/oms
Finished execution of  /opt/app/oracle/middleware/oms/root.sh ......


Starting to execute /opt/app/oracle/agent12c/core/12.1.0.4.0/root.sh ......
Finished product-specific root actions.
/etc exist
/opt/app/oracle/agent12c/core/12.1.0.4.0
Finished execution of  /opt/app/oracle/agent12c/core/12.1.0.4.0/root.sh ......

Then, I clicked OK .

Step 9: Finish

On the next screen, I entered the following database options as shown below:


Then, I clicked close .