Book Image

Oracle Enterprise Manager 12c Administration Cookbook

By : Dhananjay Papde, Tushar Nath, Vipul Patel
Book Image

Oracle Enterprise Manager 12c Administration Cookbook

By: Dhananjay Papde, Tushar Nath, Vipul Patel

Overview of this book

<p>Oracle Enterprise Manager is a key tool for any Oracle Administrator, allowing them to manage their Oracle installations and selected other applications, providing a one stop place to manage and maintain the entire infrastructure in any organization.<br /><br />The Oracle Enterprise Manager 12c Cookbook will give administrators a head start towards implementing OEM in their organizations, by taking you through all the aspects of installation, upgrade, configuration, and monitoring of various servers, databases, and various Oracle Fusion Middleware components.<br /><br />Starting with the installation and upgrade of your OEM installation, this book then takes you through the process of using OEM12c to configure and monitor your Oracle application and database servers, including the various supported Oracle Fusion Middleware products.<br /><br />This book will uncover various installations options (with simple advanced options) and various upgrade options.<br /><br />The book will also cover monitoring the infrastructure using Active Session History Analytics. There are recipes on creating, cloning databases, and creating templates. <br /><br />Additionally there are recipes on Configuration of Oracle Business Intelligence, Oracle Golden Gate, Oracle Business Intelligence Publisher, and Oracle Weblogic using OEM12c.</p>
Table of Contents (16 chapters)
Oracle Enterprise Manager 12c Administration Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Checking OS requirements


In this recipe, we will check the operating system's (OS) requirements, including the OS packages that are required for the progress of the OEM installation.

Getting ready

Before you start, ensure that the server is connected to the network, and an SSH or a telnet client is available. Also, make sure you have access to the Unix server as a root user or as a privileged user.

How to do it...

Perform the following steps to check the operating system's requirements as a root or as a privileged user with root privileges:

  1. Install the Oracle validated package.

    # yum install oracle-validated 
    
  2. Check the contents of /etc/sysctl.conf.

    fs.file-max = 327679
    kernel.msgmni = 2878
    kernel.msgmax = 8192
    kernel.msgmnb = 65536
    kernel.sem = 250 32000 100 142
    kernel.shmmni = 4096
    kernel.shmall = 1073741824
    kernel.shmmax = 4398046511104
    net.core.rmem_default = 262144
    # For 11g recommended value for net.core.rmem_max is 4194304
    net.core.rmem_max = 4194304
    # For 10g uncomment the following line, comment other entries for this parameter and re-run sysctl -p
    # net.core.rmem_max=2097152
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    fs.aio-max-nr = 3145728
    net.ipv4.ip_local_port_range = 1024 65000
    
  3. Add or amend the following entries in the sysctl.conf file located under /etc.

    • fs.file-max = 6815744

    • net.ipv4.ip_local_port_range = 9000 65500

    • net.core.wmem_max = 1048576

    # /sbin/sysctl -p
    net.ipv4.ip_forward = 0
    net.ipv4.icmp_echo_ignore_broadcasts = 1
    net.ipv4.conf.all.accept_source_route = 0
    ….
    kernel.sysrq = 1
    net.ipv4.tcp_max_syn_backlog = 4096
    fs.file-max = 6815744
    kernel.msgmni = 2878
    kernel.msgmax = 8192
    kernel.msgmnb = 65536
    kernel.sem = 250 32000 100 142
    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 = 3145728
    net.ipv4.ip_local_port_range = 9000 65500
    
  4. Include the following lines in the /etc/security/limits.conf file for Repository installation as the oracle user:

    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 4096
    oracle hard nofile 65536
    oracle soft stack 10240
    
  5. Include the following entry in the file /etc/security/limits.conf for OMS installation as the oraoem user:

    oraoem soft nofile 4096
    oraoem hard nofile 65536
    

How it works...

For the installation to complete successfully, the contents of the previously-listed files need to be included and amended. The preceding commands will vary depending on the operating system being used.