Install Oracle Enterprise Manager Cloud control 12cR3 · PDF fileInstall Oracle Enterprise...

20
Install Oracle Enterprise Manager Cloud control 12cR3 on OEL 6.5 In the article you will have a look at the guidelines and steps to install OEM Cloud Control 12cR3 on Oracle Linux 6.5 X86_64. You will have a glimpse at how to configure OEL 6.5 for OEM CC 12cR3 installation. Oracle 11.2.0.4 database is used as an Oracle Management Repository database. I will provide pointers to MOS or Oracle Documentation for the supported OS and Repository database versions. The environment I use is an Oracle VM VirtualBox running on a MS Windows host OS with OEL 6.5 x86_64 guest OS. I am not going to describe details of configuring the Oracle VM VirtualBox nor on installing OEL 6.5 nor installing Oracle RDBMS binaries 11.2.0.4 and 12.1.0.1 and databases. More information about the latter can be found here . I would like to point out that you need to pay attention for the hardware and software requirements described here . My VM running the guest OS is configured with 8GB and 80GB of disk space. The latter is to accommodate the disk footprint for Oracle binaries, stage area and Oracle databases. If you need to add disk space to already configured VM look at here . Select a supported OS and install supported Oracle database for repository. MOS maintains a list of certified platforms and products for a product. For OEM CC 12cR3 you will be interested in 1. Certified OS for installation 2. Certified Oracle database for repository 3. Certified targets You can obtain the information from MOS. For OEM CC 12cR3 on OEL 6.5 I have the following information.

Transcript of Install Oracle Enterprise Manager Cloud control 12cR3 · PDF fileInstall Oracle Enterprise...

Install Oracle Enterprise Manager Cloud control 12cR3

on OEL 6.5

In the article you will have a look at the guidelines and steps to install

OEM Cloud Control 12cR3 on Oracle Linux 6.5 X86_64. You will have a glimpse

at how to configure OEL 6.5 for OEM CC 12cR3 installation. Oracle 11.2.0.4

database is used as an Oracle Management Repository database. I will provide

pointers to MOS or Oracle Documentation for the supported OS and Repository

database versions.

The environment I use is an Oracle VM VirtualBox running on a MS Windows host

OS with OEL 6.5 x86_64 guest OS. I am not going to describe details of

configuring the Oracle VM VirtualBox nor on installing OEL 6.5 nor installing

Oracle RDBMS binaries 11.2.0.4 and 12.1.0.1 and databases. More information

about the latter can be found here. I would like to point out that you need

to pay attention for the hardware and software requirements described here.

My VM running the guest OS is configured with 8GB and 80GB of disk space. The

latter is to accommodate the disk footprint for Oracle binaries, stage area

and Oracle databases. If you need to add disk space to already configured VM

look at here.

Select a supported OS and install supported Oracle database for repository.

MOS maintains a list of certified platforms and products for a product. For

OEM CC 12cR3 you will be interested in

1. Certified OS for installation

2. Certified Oracle database for repository

3. Certified targets

You can obtain the information from MOS.

For OEM CC 12cR3 on OEL 6.5 I have the following information.

I installed the OEL with all options and created the following databases

1. EMREP version 11.2.0.4 serving as OMR

2. DB12C 12.1.0.1 used as a CDB fir testing purposes.

3. Downloaded OEM CC R3 from OTN and staged it in the Guest OS.

Before you start installing OEM CC 12cR3 I strongly recommend browsing the

Oracle documentation here to have an idea what you are expected.

The article will skip and will not cover the following:

1. Installing 11.2.0.4 binaries and creating EMREP OMR database and remove

the sysman schema by running the following command emca -deconfig

dbcontrol db -repos drop -SYS_PWD <password> -SYSMAN_PWD <password>.

2. Installing 12.1.0.1 binaries and create DB12C CDB database

The OMR database can be set in advance with the following init parameters

alter system set processes=500 scope=spfile;

alter system set session_cached_cursors=500 scope=spfile;

alter system set shared_pool_size=300000000;

alter system set memory_max_target=1000m scope=spfile;

alter system set memory_target=1000m scope=spfile;

Installing OEM CC 12c R3

1. Launch the runInstaller and deselect receiving security updates from

MOS.

2. Select Skip

3. Let finish the prerequisites checks.

Install glibc-devel-2.12-1.25.el6.i686.rpm by running the following

command: rpm –Uvh glibc-devel-2.12-1.25.el6.i686.rpm

4. Rerun the checks.

5. I create a simple installation

6. Select the binaries location.

7. Specify the sysman administrator user password, database configuration

details and software library location.

8. If you have not removed the sysman schema you will have

Remove the sysman schema by running the following command:

emca -deconfig dbcontrol db -repos drop -SYS_PWD sys1 -SYSMAN_PWD sys1

where sys1 is the password for the sys and sysman users.

9. Some of the prerequisites can be fixed by the installer.

10. If you have not changed some of the OMR parameter you can do it

now or after the installation.

11. Review and click install.

12. This is the whole info for you to review.

13. Wait for the installation to complete.

14. Wait until you are asked to run the scripts as root.

15. Run the script as root.

16. Click OK.

17. Review the installation results.

18. Verify that you can login to the Administration Console.

19. Verify that you can login to the OEM CC 12cr3 console.

20. Create scripts for OEM startup and shutdown

[oracle@oem12c ~]$ cat stopOMS.sh

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1

export OMS_HOME=/u01/app/oracle/product/12.1.0.3/oms/oms

export

AGENT_HOME=/u01/app/oracle/product/12.1.0.3/agent/core/12.1.0.3.0

# Start OMS & agent

$OMS_HOME/bin/emctl stop oms -all

$AGENT_HOME/bin/emctl stop agent

[oracle@oem12c ~]$

[oracle@oem12c ~]$ cat startOMS.sh

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1

export OMS_HOME=/u01/app/oracle/product/12.1.0.3/oms/oms

export

AGENT_HOME=/u01/app/oracle/product/12.1.0.3/agent/core/12.1.0.3.0

# Start OMS & agent

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agent

[oracle@oem12c ~]$

21. Modify the sudoer file

Set sudoers access for oracle and grid in /etc/sudoers

oracle ALL=(ALL) ALL

grid ALL=(ALL) ALL

22. This concludes the OEM CC12C R3 installation.

Conclusion

In the article you looked at the prerequisites and steps to install OEM CC

12cR3 on OEL 6.5 x86_64.