Oracle Enterprise Manager Ops Center is the hardware management solution for Oracle’s Sun environments. Ops Center simplifies resource discovery and monitoring, provides OS and firmware provisioning, performs update and patch management and supports hardware management from power up to production. It has built-in integration with My Oracle Support.

I’ll try to show how to install Enterprise Manager Ops Center 11g Release 1 on Oracle Linux 5.5 (32bit). My previous installation guide for Oracle Linux 5.6 can help you to install Oracle Linux 5.5.

Enterprise Manager Ops Center has a text based installer but I should say that it works really well. First download the setup file from Oracle.com:

http://www.oracle.com/technetwork/oem/ops-center/oem-ops-center-188778.html

Extract the file:

After you run the above command, you’ll see that there is a new folder called “xvmoc_full_bundle”. Enter this folder and run the installer as “root” user. The installer will install the required Java package if needed:

Enter the metalink (My Oracle Support) login info or just press enter to continue without entering MOS credentials and enter “y” when it asks if you’re sure.

Ops Center requires at least 4GB memory but I’ll install it to a virtual PC with 2GB, so I ignore first warning pressing “c”.

The installer shows the missing packages, we should install these packages to go next step. Look at the line starting with “Error: Missing rpm(s)”:

Error: Missing rpm(s): expect-5.43.0-5.1 perl-DBD-Pg-1.49-1.fc6 dhcp-3.0.5-3.el5 perl-XML-Parser-2.34-6.1.2.2.1

You can open another terminal window and install these packages and press “t” to make the installer re-check the packages. I will use YUM to install them. If you wonder how to setup YUM and use free repository provided by Oracle, read this:

http://www.gokhanatil.com/2011/06/enterprise-manager-grid-control-and.html

If YUM repository is ready, run the following commands or find and install the required RPMs from Oracle Linux installation CD:

Now we can go to next step. Re-run the installer or if it’s still running, enter “t” so it will re-check and continue to next step:

We’ll wait until installation is done. Although I have installed several times, no error occurred in these steps. So it’s very smooth process and all you have to do is to wait.

Installation is done. Now we need to connect to Ops Center to complete the initial configuration. As you see it looks like Ops Center uses an insecure connection (no SSL) but when you try to connect the above address, your browser will be pointed to a secure connection (https://opscenter11.gokhanatil.com:9443).

We’ll complete the configuration of Ops Center via web interface. This is also the web interface which we’ll use for managing Ops Center. After you read the introduction click “next”. I was using Chrome Browser and as you see I see a warning which says my browser doesn’t support all features of web interface.

This page explains the terminology used in Ops Center. As you see, Ops Center communicates with target system through proxy controllers. Click next to continue.

Ops Center will do another per-request check at this step. We should use at least 4GB and I can say that Ops Center 11g is hungry for RAM (like EM Grid Control 11g).

At this step, we can make (internet) proxy settings, create an alternative user, and define host name. Unless you know what you’re doing, leave them as they are and click next.

These two pages explain how you can deploy proxy controllers (reminder: Ops Center communicate with target systems through Proxy controllers). We can deploy multiple proxy controllers for separate networks. In this installation, I’ll use only one proxy controller, and it’ll be deployed to the same server with my Ops Center.

Select “simple deployment” and click next.

Select the correct network interface from the pulldown menu and click next. Proxy controller will manage the systems which can connect through this network interface.

The installer configures the proxy controller. Click close and next.

In this step, we can check if our proxy controller can reach target systems. Click “check” button, enter an IP of a target server and click “launch job”.

So our proxy server can successfully reach the target system. Click close.

Click “refresh” so you’ll see status of proxy controller online and then click next.

I’ll discover the target servers later, so click “next”. By the way, this automatic discovery requires service tag is enabled on target systems. I’m planning to write another blog about it later.

You may register your Ops Center to communicate with Oracle Datacenter. Enter MOS credentials or leave it blank and click next.

Now we’ll configure services such as software updates, provisioning and DHCP. Click next to continue.

I’ll use “connected mode” for getting software updates from Oracle. Select the appropriate option for you and click next.

I’ll enter my MOS credentials. Click next to continue.

You can create software library now or later. You can define your library (repository folder) on local storage or NFS. I select “configure library now” and click next.

I have created a folder (/storagelibrary) and enter it as “file:///storagelibrary/”.

Software library is configured successfully, click “close”.

I need to configure DNS services for provisioning, I select “perform configuration now” and click next.

Select the interface (probably the same interface you used for “proxy controller”) and then click “configure”. You’ll see the message which says required job is launched. Click next to advance to the last page of configuration.

Congratulations! It’s done. When you click finish, you’ll be forwarded to login page of Ops Center.

You can enter “root” user/password or the user you defined in configuration to login.

ADDING NEW ASSETS TO OPS CENTER

We’re ready to add an asset (a target system to manage) to our Ops Center. There are four discovery methods:

  1. Discover and Manage Assets – a wizard to quickly discover and manage assets
  2. Automatic Discovery – uses service tags
  3. Custom Discovery – uses standard protocols (we’ll use SSH)
  4. Declare Assets – instead of discovery

I’ll use “Custom Discovery” to add my system.

Log in to Ops Center, you’ll see the assets page. There’s a sliding menu at right side, click the double arrows to open it, and then click “custom discovery”.

In the discovery criteria, enter “criteria name”, “ip subnet” (or IP of server), do not click “save” yet, scroll down the panel.

Select “solaris, linux OS” as target systems. Click the checkbox of SSH, and enter “root” credentials of “target system”. Click “save”.

Click “discover assets”, so Ops Center will create a job for discovery process.

You can get more information about the job created for discovering assets. Click the quick link at the bottom of the page, or open the jobs and find the running job.

When the job completed (it takes some time depending on how many target systems will be discovered and subnet range), you can find the new assets in “avaliable to be managed assets” tab. Select the target server and click green button.

We have not configured software updates, so it warns me about it, click next to continue.

We can use the same credentials we used for discovery, click next (or enter new credentials).

Click “finish”, so Ops Center will create a job to add this asset. Again, you can click to the quick link at the bottom of the website.

Wait until the job completed.

That’s all. Now we can start to manage and monitor our target system.

16 Responses to “How to Install Oracle Ops Center 11g (Step by Step Guide)”

  1. Really good article..Keep up the good work

  2. Vijay says:

    Nice article.

    Appreciate if you could send me some pointers on how to provision OS using SUNWjet and wanboot configuration. I am unable to find any documentation related to this.

    Much appreciate your help.

    Regards
    Vijay

  3. Hi Gokhan,

    I am a newbie to OPSCENTER 12c. I have tried installing on linux box and i am facing multiple issues.

    Could you kindly help me with pre-requisites required and what permissions are to be given for the directories??

    Regards,
    Mithra

    • Gokhan Atil says:

      Hi Mithra,

      You do not need to set permissions to any directories, because you run the setup as “root” user. So installer will handle the permissions.

      Please check the installation guide of Opc Center 12c (written by me):

      http://www.gokhanatil.com/2012/04/how-to-install-oracle-ops-center-12c.html

      OCDoctor should help you for pre-requisite checks.

    • Hi Gokhan,

      Thanks for the quick reply. I have run the OCDoctor.sh with all the prerequisites passed. While the Creating & Installing the Database i am facing some issues. I have tried two methods to create database:

      1. Installing with customized/customer used Database –

      Failed Step: Install and Configure Oracle Database.

      Running dbca to create OCDB database using generated responsefile=dbca_generated.rsp
      Cannot create directory “/oem/app/cfgtoollogs/dbca”.
      Template OCDB.dbc does not exist. Please specify an existing template for database creation.
      Error writing into silent log — /oem/app/cfgtoollogs/dbca/silent.log_2012-12-13_01-02-07-PM (Permission denied)
      12-13-2012:13:02:10 ERROR: Failed to create database. Unexpected error from dbca.
      Error: 256 when executing: cd /opt/orcl-sysman-db; ./cmd/createOCDB.sh 0 1000 2982 /var/tmp/installer.prereq

      2. Installing with Embedded Database –

      Failed Step: Install and Configure Oracle Database.

      Running dbca to create OCDB database using generated responsefile=dbca_generated.rsp
      Template OCDB.dbc does not exist. Please specify an existing template for database creation.
      12-13-2012:13:08:42 ERROR: Failed to create database. Unexpected error from dbca.
      Error: 256 when executing: cd /opt/orcl-sysman-db; ./cmd/createOCDB.sh 0 1000 2982 /var/tmp/installer.prereq

      Kindly suggest how on to proceed.

      Regards,
      Mithra.

    • Gokhan Atil says:

      Mithra, could you tell me the exact version number of Ops Center you’re trying to install?

  4. I am running into same error as Mirtha:

    Ops Center Enterprise Controller Installer
    (version 12.1.1.2076 on Linux)

    Creating OCDB db instance, starting the listner, OC schemas and roles, and seeding the database
    cpuCount = 2
    totalMemory = 8000
    approxCache = 56
    percentOfMemory = 1000
    memTarget = 1000
    cpuCount = 2
    totalMemory = 8000
    approxCache = 56
    percentOfMemory = 1000
    memTarget = 1000
    Executing System_call: cd /opt/orcl/orcl-sysman-db; ./cmd/createOCDB.sh 0 1000 3000 /var/tmp/installer.prereq
    (DESCRIPTION=
    03-04-2013:09:24:26 – Creating database with TOTALMEMORY of 1000 Megabytes
    Running dbca to create OCDB database using generated responsefile=/opt/orcl/orcl-sysman-db/etc/dbca_generated.rsp
    UnsatisfiedLinkError exception loading native library: njni11
    java.lang.UnsatisfiedLinkError: /var/opt/sun/xvm/oracle/app/oracle/product/11.2.0/ocdbhome/lib/libnjni11.so: libcl
    ntsh.so.11.1: wrong ELF class: ELFCLASS64
    Exception in thread “main” java.lang.UnsatisfiedLinkError: get
    at oracle.net.common.NetGetEnv.get(Native Method)
    at oracle.net.config.Config.getNetDir(Unknown Source)
    at oracle.net.config.Config.initConfig(Unknown Source)
    at oracle.net.config.Config.(Unknown Source)
    at oracle.sysman.assistants.util.NetworkUtils.(NetworkUtils.java:290)
    at oracle.sysman.assistants.util.step.StepContext.(StepContext.java:333)
    at oracle.sysman.assistants.dbca.backend.Host.(Host.java:823)
    at oracle.sysman.assistants.dbca.backend.SilentHost.(SilentHost.java:152)
    at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:154)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
    03-04-2013:09:24:27 ERROR: Failed to create database. Unexpected error from dbca.
    Error: 256 when executing: cd /opt/orcl/orcl-sysman-db; ./cmd/createOCDB.sh 0 1000 3000 /var/tmp/installer.prereq

    I do see this:
    java.lang.UnsatisfiedLinkError: /var/opt/sun/xvm/oracle/app/oracle/product/11.2.0/ocdbhome/lib/libnjni11.so: libclntsh.so.11.1: wrong ELF class: ELFCLASS64

    • Gokhan Atil says:

      Tony, it seems your installer needs 32bit version of libclntsh. Is your system 32bit or 64bit? If you have 64bit system, is your Java 32bit?

  5. vineet anand says:

    HI,
    Do we need any oracle database for oracle ops center provisioning and patch automation pack. or is there any licence required for this. or it totally FOC.

    • Gokhan Atil says:

      It depends on which version you use. You need an Oracle database to be able to install Oracle Ops Center 12c. I do not know if any license required for it. You should contact Oracle and ask the licensing issues.

  6. according to this thread: https://forums.oracle.com/forums/thread.jspa?messageID=10928972

    pls try this:
    # pkg install developer/assembler
    then
    install again

    good luck.

  7. Bruno says:

    I’ve proceed the installation, and everything went well, the problem is that when connection to http://localhost it redirects to https://localhost:9443 but there is nothing listening there….

    don’t know what’s happen since I had no problems with the installation, except with some db grants which have been corrected on install time.

    Any feedback would help. regards,

    • Bruno says:

      btw

      bash-3.2# cacaoadm status -i oem-ec
      oem-ec instance is ENABLED at system startup.
      Smf monitoring process:
      29712
      29713

      29713 ? S 0:4030337321315520 0.1 31.5 /usr/jdk/instances/jdk1.7.0/bin/amd64/java -Xms200M -Xmx8192M -server -XX:StringTableSize=27001 -XX:PermSize=128m -XX:MaxPermSize=384m -Xss256k -XX:+UseParallelOl

  8. Juan Montoya says:

    Hi Gokhan

    Im New with OPS Center, could you expain me  or said me where can i obtain information about how can i  Install recommended cluster  from solaris 10 with OPSCenter

    Regards

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">