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:
1 |
tar -zxf enterprise-controller.Linux.i686.11.1.0.1536.tar.gz |
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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
cd xvmoc_full_bundle ./install No required Java found. Installing Java required to configure OCM rpm -i /setup/xvmoc_full_bundle/Linux_i686/Product//components/packages/ jdk-6u21-linux-i586.rpm Unpacking JAR files... rt.jar... jsse.jar... charsets.jar... tools.jar... localedata.jar... plugin.jar... javaws.jar... deploy.jar... Proceeding with Oracle Configuration Manager installation and configuration. Oracle Enterprise Manager Ops Center installation will follow. Provide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name. Visit http://www.oracle.com/support/policies.html for details. Email address/User Name: You have not provided an email address for notification of security issues. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: y |
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Oracle Enterprise Manager Ops Center installation will follow. Unable to install/configure OCM with /var/opt/sun/xvm/ocm/ccr/bin/setupCCR, error code: 12 Cannot proceed with Oracle Configuration Manager installation Ignoring job: 03removeEmptyDirs.pl Ignoring job: 27installExpect.pl Executing job: jobs/00checkPrereqs.pl --install WARNING: Installation prerequisites not met: Memory: 4.0G needed, 2.0G present. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Please fix the problem and then try this step again. For a full log of the failed install see the file: /var/tmp/installer.log.2814. t. Try this step again (correct the failure before proceeding) c. Continue (ignore the warning) x. Exit Enter selection: (t/c/x) |
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”.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
Failed Step: Check that required RPM packages are present. The following is a portion of the installer log which may indicate the cause of the error. If this does not indicate the cause of the error, you will need to view the full log file. More information on how to do that is available below. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Error: missing rpm perl-DBD-Pg-1.49-1.fc6 Checking base name tftp-server for tftp-server-0.42-3.1 Warning: Checking RPMs: Expected "tftp-server-0.42-3.1", found "tftp-server-0.49-2.0.1". If you encounter any problems related to these substitutions, you might need to obtain and install the exact version of the software required by the installer before re-installing Oracle Enterprise Manager Ops Center. Checking base name dhcp for dhcp-3.0.5-3.el5 Error: missing rpm dhcp-3.0.5-3.el5 Checking base name perl-XML-Parser for perl-XML-Parser-2.34-6.1.2.2.1 Error: missing rpm perl-XML-Parser-2.34-6.1.2.2.1 Warning: Found later versions of expected rpm(s): Expected "python-2.4.3-19.el5", found "python-2.4.3-27.el5". Expected "tftp-server-0.42-3.1", found "tftp-server-0.49-2.0.1". 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Please fix the problem and then try this step again. For a full log of the failed install see the file: /var/tmp/installer.log.3819. t. Try this step again (correct the failure before proceeding) x. Exit Enter selection: (t/x) |
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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
yum install expect-5.43.0 perl-DBD-Pg-1.49 dhcp-3.0.5 perl-XML-Parser-2.34 Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package dhcp.i386 12:3.0.5-23.el5 set to be updated ---> Package expect.i386 0:5.43.0-5.1 set to be updated ---> Package perl-DBD-Pg.i386 0:1.49-2.el5_3.1 set to be updated --> Processing Dependency: perl-DBI >= 1.38 for package: perl-DBD-Pg --> Processing Dependency: libpq.so.4 for package: perl-DBD-Pg --> Processing Dependency: perl(DBI) for package: perl-DBD-Pg ---> Package perl-XML-Parser.i386 0:2.34-6.1.2.2.1 set to be updated --> Running transaction check ---> Package perl-DBI.i386 0:1.52-2.el5 set to be updated ---> Package postgresql-libs.i386 0:8.1.18-2.el5_4.1 set to be updated --> Finished Dependency Resolution Dependencies Resolved =============================================================================== Package Arch Version Repository Size =============================================================================== Installing: dhcp i386 12:3.0.5-23.el5 el5_u5_base 876 k expect i386 5.43.0-5.1 el5_u5_base 158 k perl-DBD-Pg i386 1.49-2.el5_3.1 el5_u5_base 114 k perl-XML-Parser i386 2.34-6.1.2.2.1 el5_u5_base 210 k Installing for dependencies: perl-DBI i386 1.52-2.el5 el5_u5_base 605 k postgresql-libs i386 8.1.18-2.el5_4.1 el5_u5_base 197 k Transaction Summary =============================================================================== Install 6 Package(s) Upgrade 0 Package(s) Total download size: 2.1 M Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : postgresql-libs 1/6 Installing : perl-DBI 2/6 Installing : perl-DBD-Pg 3/6 Installing : expect 4/6 Installing : perl-XML-Parser 5/6 Installing : dhcp 6/6 Installed: dhcp.i386 12:3.0.5-23.el5 expect.i386 0:5.43.0-5.1 perl-DBD-Pg.i386 0:1.49-2.el5_3.1 perl-XML-Parser.i386 0:2.34-6.1.2.2.1 Dependency Installed: perl-DBI.i386 0:1.52-2.el5 postgresql-libs.i386 0:8.1.18-2.el5_4.1 Complete! |
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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
Ops Center Enterprise Controller Installer (version 11.1.0.1536 on Linux) 1. Check for installation prerequisites. [Completed] 2. Check that required RPM packages are present. [Completed] 3. Configure file systems. [Completed] 4. Install Agent components. [Not Completed] 5. Create Deployable Proxy Bundles. [Not Completed] 6. Add users. [Not Completed] 7. Install prerequisite packages. [Not Completed] 8. Install application packages. [Not Completed] 9. Run postinstall tasks. [Not Completed] 10. Install IPMI tool. [Not Completed] 11. Initialize database. [Not Completed] 12. Install Service container components. [Not Completed] 13. Install Core Channel components. [Not Completed] 14. Install Proxy Core components. [Not Completed] .......................... 19. Initialize and start services. [Not Completed] (3 of 19 Completed) Executing current step: Install Agent components... |
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
Executing current step: Initialize and start services... Completed current step: Initialize and start services. Ops Center Enterprise Controller Installer (version 11.1.0.1536 on Linux) 1. Check for installation prerequisites. [Completed] .......................... 6. Add users. [Completed] 7. Install prerequisite packages. [Completed] 8. Install application packages. [Completed] 9. Run postinstall tasks. [Completed] 10. Install IPMI tool. [Completed] 11. Initialize database. [Completed] 12. Install Service container components. [Completed] 13. Install Core Channel components. [Completed] 14. Install Proxy Core components. [Completed] 15. Install Enterprise Controller components. [Completed] 16. Install Update Connection - Enterprise. [Completed] 17. Install Ops Center BUI components. [Completed] 18. Install OS provisioning components. [Completed] 19. Initialize and start services. [Completed] This installer has determined that some rpms currently installed on this system have later versions than those currently required by Oracle Enterprise Manager Ops Center. If you encounter any problems related to these substitutions, you might need to obtain and install the exact version of the software required by the installer before re-installing Oracle Enterprise Manager Ops Center. Ops Center Enterprise Controller installation is complete. Please point your browser to: http://opscenter11.gokhanatil.com to begin using Ops Center Enterprise Controller. |
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:
- Discover and Manage Assets – a wizard to quickly discover and manage assets
- Automatic Discovery – uses service tags
- Custom Discovery – uses standard protocols (we’ll use SSH)
- 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.
6
Sajeer
Gokhan Atil
Vijay
Gokhan Atil
Mithra
Gokhan Atil
Mithra
Gokhan Atil
Tony
Gokhan Atil
vineet anand
Gokhan Atil
cold
Bruno
Bruno
Juan Montoya