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.rmem_default=26244
net.core.rmen_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max=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
ORACLE_SID=oemdb; export ORACLE_SID
PATH=$ORACLE_HOME/bin;$PATH;
5. Configure /etc/hosts file
/sbin/ifconfig
check ip address
vi /etc/hosts
ipaddress hostname
eg.
192.168.1.100 oemserver
then test
ping oemserver
6. OEM grid software
./runInstaller
7. Install the oemserver
http://oemserver:4889/em/
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
dbca
choose to configure enterprise manager and put the grid url