Customizing HTTPS Console and Upload Ports After Installing Enterprise Manager Grid/Cloud Control

One of my blog readers asked me how we can change the ports of Grid Control after install. Yes it’s possible to change the ports after installing EM Grid Control and it’s well documented for Enterprise Manager Cloud control. I tested if these steps are valid for Grid Control and it worked. I think no one uses insecure ports so I’ll show how I will set Oracle Enterprise Manager (secure) web site port to 8000 and “secure/https upload port” to 2000 on Oracle Enterprise Manager Grid Control 11g:

First we need to stop OMS:

Then modify the port information in repository:

How to Deploy EM Grid Control 11g Agent to a Windows Server 2008 (Step by step guide)

I have wrote about how to install EM Grid Control 11g in earlier post and also demonstrated how to deploy grid control agent to a linux box:

The agent deployment wizard of EM Grid Control is easy to use if you want to deploy your agents to Unix systems. It uses SSH connection to copy the files and setup the agent software. On the other hand, if your want to deploy your agent to a windows server, you need to get your hands a little bit dirty 🙂

I should say that this is not the only option to deploy agent, but I prefer to deploy the agents via EM Grid Control interface.

First we need to download the agent software which we’ll deploy to the target server. My target server is Windows Server 2008 32bit. So I’ll download the Oracle Management Agent ( for Microsoft Windows x86 (457,295,565 bytes):

If you have a My Oracle Support (MOS) account and entered these credentials to EM Grid Control, you don’t need to manually download this zip file, you can click to “deployments page” and then click “Download Agent Software”, select the agent and click download. It will create a job to download:

How to Install Oracle Grid Control 11g (Step by Step Guide)

Oracle Enterprise Manager Grid Control is a tool to manage and monitor multiple instances of Oracle and non-Oracle platforms such as Microsoft .NET, Microsoft SQL Server, NetApp Filers, BEA weblogic and others.

I’ll show how to install Oracle Grid Control 11g on Oracle Linux (32bit). Here are the main steps:

1) Installation of Oracle Linux (How to Install Oracle Linux 5.6)
2) Installation of Oracle Database (Repository Database)
3) Installation of Java and Weblogic Server (Middleware)
4) Installation of Grid Control
5) Installation of Grid Control Agent to a Target System

Installation of Oracle Database 11.2

After you install Oracle Linux, login as root and create the directories for Grid Control and other software we’ll install:

Because we installed oracle-validated package (How to Install Oracle Linux 5.6), user oracle and the related groups have been already created automatically. Password of the user Oracle is “oracle”. Login as oracle to the system, download the Oracle Database binaries. I’ll use but the steps will be for which you can download from

Unzip the files:

For regular (Linux x86):

Unzip will create a directory named “database”, go into this directory and run “./runInstaller”:

Enterprise Manager Grid Control 11g and opmnctl

In Grid Control 10g, we use opmnctl utility to stop, start and get status of Oracle Application Server 10g and OMS (Oracle Management Service). In new Grid Control (11g), OMS is deployed on weblogic server so we need to use emctl instead of opmnctl to start OMS.

To start the OMS and the necessary weblogic processes needed:

To stop the OMS and the Weblogic processes:

To get status of OMS:

If you want to get detailed status of OMS, you can use “-details” parameter (it will ask you the password of SYSMAN):

Opmnctl can still be used to get status of the HTTP_Server component:

Enterprise Manager Grid Control and Administration of Oracle Linux

To be able to administer a Linux host through Enterprise Manager, you need to install YAST and EM Wrapper Scripts. These script can be downloaded from If our server has internet access, we can also use YUM repository to install these software.

To be able to use YUM, we need to set up the repository:

For more information about public YUM server please visit:

After you downloaded the repo file, open it with an editor and change enable=0 to enable=1 for the repositories which is suitable for your Oracle Linux edition. Because I use OL 5.6, I’ll enable ol5_u6_base, el5_addons, el5_oracle_addons: