How to install oracle ops center 12c

12
How to Install Oracle Ops Center 12c (Step by Step Guide) Oracle Enterprise Manager Ops Center 12c is a comprehensive solution to manage all Oracle systems deployed in traditional, virtualized and cloud environments. Ops Center 12c introduces unique capabilities for establishing, managing, and supporting Infrastructure as a Service (IaaS) clouds, and it’s a key component to help Oracle customers adopt cloud computing faster and with less effort and risk. I’ll try to show how to install Enterprise Manager Ops Center 12c on Oracle Linux 5.5 (64bit). My previous installation guide for Oracle Linux 5.6 can help you to install 5.5 Linux (or you can just install Ops Center on Oracle Linux 5.6): How to Install Oracle Linux 5.6 INSTALLATION OF OCDOCTOR OCDoctor is an utility to assist users in various stages of the Ops Center deployment. It is updated on a regular basis to help you identify and resolve known issues or suggest ways to improve performance. You can download it from: https://updates.oracle.com/OCDoctor/OCDoctor-latest.zip If you have already OCDoctor (not downloaded the latest version from internet), make sure that it updates itself: Shell 1 ./OCDoctor.sh -- update After updating OCDoctor, run it to check prerequisites: ./O CDoctor.sh --update

description

Oracle ops center 12c

Transcript of How to install oracle ops center 12c

Page 1: How to install oracle ops center 12c

How to Install Oracle Ops Center 12c (Step by Step Guide)

Oracle Enterprise Manager Ops Center 12c is a comprehensive solution to manage all Oracle systems deployed in traditional, virtualized and cloud environments. Ops Center 12c introduces unique capabilities for establishing, managing, and supporting Infrastructure as a Service (IaaS) clouds, and it’s a key component to help Oracle customers adopt cloud computing faster and with less effort and risk.

I’ll try to show how to install Enterprise Manager Ops Center 12c on Oracle Linux 5.5 (64bit). My previous installation guide for Oracle Linux 5.6 can help you to install 5.5 Linux (or you can just install Ops Center on Oracle Linux 5.6): How to Install Oracle Linux 5.6

INSTALLATION OF OCDOCTOR

OCDoctor is an utility to assist users in various stages of the Ops Center deployment. It is updated on a regular basis to help you identify and resolve known issues or suggest ways to improve performance.

You can download it from: https://updates.oracle.com/OCDoctor/OCDoctor-latest.zip

If you have already OCDoctor (not downloaded the latest version from internet), make sure that it updates itself:

Shell

1 ./OCDoctor.sh --update

After updating OCDoctor, run it to check prerequisites:

Shell

123

unzip OCDoctor-latest.zipcd OCDoctor./OCDoctor.sh --ec-prereq

./OCDoctor.sh --update

unzip OCDoctor-latest.zipcd OCDoctor./OCDoctor.sh --ec-prereq

Page 2: How to install oracle ops center 12c

Examine the output and fix the errors. When I run, it showed the following errors (and warnings):

Shell

1234567891011

ERROR: Not enough Main Memory! 6 GB is the minimum supported, but only 4053 MBfoundWARNING: Not enough recommended disk space on /var/opt. Required is 20G, but70G is recommended. You have 35G.WARNING: RPM expect-5.43.0 is MISSINGWARNING: RPM perl-DBD-Pg is MISSINGWARNING: RPM dhcp is MISSINGWARNING: RPM perl-XML-Parser is MISSINGWARNING: RPM ncompress is MISSINGWARNING: RPM httpd is MISSINGWARNING: RPM keyutils is MISSING

I’ll ignore the first error because I can’t add my virtual PC extra RAM. I’ll also ignore second warning because I have already 35G space and it will be enough for installation (tested).

To install required RPMs, I’ll set up Oracle’s Public YUM server: public-yum.oracle.com/

Shell

123

cd /etc/yum.repos.dwget http://public-yum.oracle.com/public-yum-el5.repovi public-yum-el5.repo

I’ve changed “enabled=0″ to “enabled=1″ under “[el5_u5_base]“. Now we’re ready to use public YUM server to install missing packages:

Shell

1 yum install expect-5.43.0 perl-DBD-Pg dhcp perl-XML-Parser

ERROR: Not enough Main MemofoundWARNING: Not enough recomm70G is recommended. You haveWARNING: RPM expect-5.43.0 i

cd /etc/yum.repos.dw get http://public-yum.oracle.covi public-yum-el5.repo

yum install expect-5.43.0 perl-Dyum install httpd keyutils ncompyum install compat-libcom_err

Page 3: How to install oracle ops center 12c

23

yum install httpd keyutils ncompressyum install compat-libcom_err

Important: Ops Center installer asked me to install “compat-libcom_err” although OCDoctor doesn’t show it as a missing RPM.

After installing missing RPMs, I re-run the OCDoctor to be sure that my system satisfies the prerequisites. If everything looks OK, we can start installing Ops Center 12c.

INSTALLATION OF OPS CENTER 12c

Enterprise Manager Ops Center has a text based installer. You can download the setup file from Oracle.com:

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

Important: If you’ll use local database, you also need to download Oracle DB 11.2.0.3 from MOS and then put the zip files into /var/tmp/downloads folder:

Shell

12

cp p10404530_112030_Linux-x86-64_1of7.zip /var/tmp/downloads/cp p10404530_112030_Linux-x86-64_2of7.zip /var/tmp/downloads/

We don’t need to extract the zip files of the database, Ops Center Installer will do all work. Now extract the Ops Center installation zip:

Shell

1 tar -xvzf enterprise-controller.Linux.i686.12.1.0.2001.tar.zip

After you run the above command, go into “xvmoc_full_bundle” folder and run the installer as “root” user. Installer will ask your email to be able to install Oracle Configuration Manager. It’s an optional step and does not effect the installation but I recommend you to install Oracle Configuration Manager.

cp p10404530_112030_Linux-xcp p10404530_112030_Linux-x

tar -xvzf enterprise-controller.L

Page 4: How to install oracle ops center 12c

Shell

12345678910111213141516171819202122232425

cd xvmoc_full_bundle./install

                   Ops Center Enterprise Controller Installer                         (version 12.1.0.2001 on Linux)

1. Check for installation prerequisites.                           [Completed]2. Check that required RPM packages are present.                   [Completed]3. Configure file systems.                                         [Completed]4. Install prerequisite packages.                              [Not Completed]5. Install Agent components.                                   [Not Completed]6. Create Deployable Proxy Bundles.                            [Not Completed]7. Install application packages.                               [Not Completed]8. Run postinstall tasks.                                      [Not Completed]9. Install IPMI tool.                                          [Not Completed]10. Set database credentials.                                   [Not Completed]11. Install and Configure Oracle Database.                      [Not Completed]12. Seed Ops Center Database Schema                             [Not Completed]13. Install Service container components.                       [Not Completed]14. Install Core Channel components.                            [Not Completed]                           ..........................21. Initialize and start services.                              [Not Completed]                                                            (3 of 21 Completed)

Executing current step:  Install prerequisite packages...

When the installer passed first steps, all you need is to wait. Installation will smoothly complete.

Shell

12345678910111213

This installer has determined that some rpms currently installed onthis system have later versions than those currently required by OracleEnterprise Manager Ops Center. If you encounter any problems related tothese substitutions, you might need to obtain and install the exactversion of the software required by the installer before re-installingOracle Enterprise Manager Ops Center.

Ops Center Enterprise Controller installation is complete.

Please point your browser to:

        http://opscenter12.gokhanatil.com

cd xvmoc_full_bundle./install

Ops Center Enterpri (version 12.1.0.

This installer has determined thathis system have later versionsEnterprise Manager Ops Centerthese substitutions, you might nversion of the softw are require

Page 5: How to install oracle ops center 12c

14 to begin using Ops Center Enterprise Controller.

Installation is done. Now we need to connect to web interface of Ops Center to complete the configuration. We open our favorite browser and enter hostname of our server (i.e http://opscenter12.gokhanatil.com) to connect Ops Center.

We need to enter “root” as username and password of the root user to login.

Ops Center warns us again about memory and disk space, we also see a warning about Java environment. I’ll ignore this warning, I think Java environment is only needed for the “terminal” connection Java applet.

In this step, enter the hostname of Ops Center. In most cases, Ops Center will already detect it correct so you’ll probably leave it as it is. Then select how you’ll install proxy servers. As you know, Ops Center communicate with target systems through Proxy controllers and we may need to 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 the correct network interface from the pull-down menu and click next. Proxy controller will manage the systems which can connect through this network interface.

Page 6: How to install oracle ops center 12c

Proxy controller is online, go to next step.

Enterprise Manager Ops Center 12c has a new feature called Automated Service Requests (ASR). If your server is connected to the internet, I recommend you to choose the connected mode to be able to use this new feature. You’ll also need to enter MOS credentials to be able to work in connected mode.

Accept the default values or enter the locations to store Software library. You can use NFS shares.

Page 7: How to install oracle ops center 12c

You may configure DHCP for OS Provisioning for selected the network interfaces, or you can configure it later.

Review your settings, and click “finish” if everything is OK. It’s possible to go back to any step and change the settings, or even cancel the configuration and restart it from the beginning (step 1).

We have completed the configuration and Ops Center is ready to use.

ADDING NEW ASSETS TO OPS CENTER

We’re ready to add an asset (a target system to manage) to our Ops Center 12c.

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 “add assets”. Then click “Add and manage various types of assets” and click next.

Page 8: How to install oracle ops center 12c

Create a new discovery profile.

Enter a name for discovery profile, and choose the target types you want to discover and click next. You’ll see the page you can enter tags that can be used for discovery. I’ll not use tags so click next again.

Define an IP range and click add, then click next.

Page 9: How to install oracle ops center 12c

Create a new management credential to discover (and then to manage) your assets. Click next, review the information you entered and click “finish” to create the discovery profile. As you can see, it’s also possible to manage and monitor targets without deploying agents (new feature of Ops Center 12c)!

Now click “add now” to start discovering target systems. 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.

Page 10: How to install oracle ops center 12c

When the job completed (it takes some time depending on how many target systems will be discovered and subnet range), you can start managing and monitoring the new assets. As I see, in Ops Center 12c, discovering and adding steps are merged and now it takes less steps to add an asset to the Ops Center.