Install Grid and agent of Oracle 10g

Install Oracle Grid 10gR2

1. Edit /etc/sysctl.conf

Kernel.shmmax = 53687092
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmen_max = 262144
net.core.wmem_default = 262144

2. Create Groups and user

groupadd oinstall
groupadd dba
groupadd oper

useradd -g oinstall -G dba oracle
passwd oracle

3. Create necessary directories

mkdir -p /u01/app/oracle/product/10.2.0/oms10g
mkdir -p /u01/app/oracle/product/10.2.0/db10g
mkdir -p /u0/app/oracle/product/10.2.0/agent10g

chown -R oracle:oinstall /u01

4. Change /home/oracle/.bash_profile

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db0g; export ORACLE_HOME

5. Configure /etc/hosts file


check ip address

vi /etc/hosts

ipaddress hostname
eg. oemserver

then test

ping oemserver

6. OEM grid software


7. Install the oemserver


go to targets--> database --> controlfiles

configure the client

put the both IP in /etc/hosts file for both client and grid server

8. Deployment from grid server:

1. Go to deployment.
2. install agent
3. Fresh install

another way:

1. go to home location of grid server:
2. cd ..
3. cd oms10g
4. cd sysman
5. cd agent_download
6. cd linux
7. scp agentDownload.linux to client site

go to client machine which need to configure in database

./agentDownload.linux -b "put oracle home location" -c "oemserver"

after successfully installation

9. Go to agent home and check status of agent

./emctl status agent

then test at grid server go to url of grid:

1. go to target:
2. select server name
3. go to databases
4. go to configure button
5. dbsnmp : check dbsnmp account on client side it never locked state
6. put password of dbsnmp for connectivity and next/submit
7. wait it show online status in tab

One more method to configure during installation
choose to configure enterprise manager and put the grid url

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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