Tips and Tricks for Installing Ops Center 12c R2 (PSU2)

In one of my old posts, I wrote a step by step guide to install Ops Center on Linux. I still get questions about installation, mostly about installing repository Database. So I have downloaded latest patch set version if anything has changed about installation, and decided to write tips and tricks to help Ops Center users. If you have read my previous blog, or you are already an Ops Center user, you may remember that Ops Center can create required Oracle users, and install Oracle Database by itself. You can see the Ops Center web site, that you need to follow My Oracle Support Document 1450669.1 to download to obtain Oracle Database 11g for Ops Center, and the MoS document says, you need to download 11.2.0.3 files and put them into “/var/tmp/downloads” folder. I don’t know if these RPMs are still valid, the latest Ops Center seem to support 11.2.0.4. So I recommend you to download Oracle 11.2.0.4 (patch 13390677). You need to put the zips files into /var/tmp/downloads folder. After you copied files, the creation of users and setting up local repository database is totally automated by the Ops Center installer.

I always think that Ops Center is a very smart installer, and it can handle almost everything. On the other hand, instead of dealing errors/warnings while installing, I recommend you to use OCDoctor, a small utility to check prerequisites. Download the latest OCDoctor zip file, extract it and run it:

It will warn you about memory requirements, user resource limits, required zip files for repository database and missing RPMs. This is how I noticed that Ops Center installer can use 11.2.0.4:

I highly recommend you to fix all requirements before you start the installer. Be sure that you have enough memory and swap space (min 8 GB even for small environments). OCDoctor will probably warn you about missing RPMs (both 32bit and 64bit). To install missing 64bit RPMs, I use grep command to process the output of OCDoctor to prepare “yum install”:

I intentionally break the codes to multiple line to make it fit on the web page. You can just write it as one-line. The above code, will produce output like this:

You need to run the output code (of course you should have already set up YUM repository). It will install the missing 64bit RPMs. I don’t know why, but OCDoctor produces different error message for missing “glibc-devel”:

In case you also see the above message, you need to run YUM to install glibc-devel.

You will see that there are also missing 32bit RPMs. To be able to install them, you need to install both 64bit and 32bit versions of the missing RPMs. Run the following commands and then run the outputs (yum install lines):

If OCDoctor warns you about user resource limits, you should also set them. For example:

Rerun OCDoctor until you see everything is OK. I know that my grep commands to install RPMs won’t work but I’m sure you can modify them according to the new error messages produced by OCDoctor. You can take a look at my old post to follow the step by step guide, as I see nothing has changed so much since my post.

In short, if you will install Ops Center, you should remember to call the Doctor, I mean OCDoctor 🙂

Please share
  • 1
  •  
  •  
  •  
  •  
  •  
  •  

Gokhan Atil is a database administrator who has hands-on experience with both RDBMS and noSQL databases, and strong background on software development. He is certified as Oracle Certified Professional (OCP) and is awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for his continuous contributions to the Oracle users community.

1 Comment

  1. Still having problems with this 🙁

    There’s a way to override the IPS installation on Solaris 11? (particularly x86-64 Solaris)

Leave Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.