I'm writing manual of installation grid control 11g in Linux (32 bit ). Installation of this product not like early versions of grid control, cause of this is that grid control instead of oracle application server is use oracle web logic server now.
Let's Start!
First of all we should install oracle DBMS and create database for repository OEM.
A. Installation DBMS
1. Install rpm’s
Login on server with user root
1.1 run and install rpm’s with command rpm -Uvh
libaio-devel-0.3.106-3.2.i386.rpm
unixODBC-2.2.11-7.1.i386.rpm
unixODBC-devel-2.2.11-7.1.i386.rpm
unixODBC-devel-2.2.11-7.1.x86_64.rpm
1.2 delete old version of rmp ksh
rpm -e ksh-20060214-1.7.i386
1.3 Install new version of ksh: rpm –Uvh pdksh-5.2.14-36.el5.i386.rpm
2. Configuring Linux for Oracle
mkdir -p /u0/app/oracle
groupadd oinstall
groupadd dba
useradd –s /bin/bash –d /u0/app/oracle –g oinstall –G dba oracle
passwd oracle
chown -R oracle:oinstall /u0/app
chmod -R 777 /u0/app
change /etc/sysctl.conf, add lines:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
Reboot system
3. Install Oracle software
3.1 Download from http://www.oracle.com/technology/software/products/database/index.html
Installation packages
Oracle Database 11g Release 2 (11.2.0.1.0) for Linux x86
Linux_11gR2_database_1of2.zip (1,285,396,902 bytes) (cksum - 2237015228)
Linux_11gR2_database_2of2.zip (995,359,177 bytes) (cksum - 2649514514)
3.2 login on server with user oracle , unzip zip files and run runinstaller
B. Install Oracle Web Logic Server And Grid ControlPlease see part A
2. Install Oracle Web Logic server
2.1 download installation package http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html Oracle WebLogic Server 11gR1 (10.3.2) - Package Installer
2.2 Copy wls1032_linux32.bin file in server and run command chmod a+x *.bin
2.3 Run ./ wls1032_linux32.bin for installation web logic server
3. Create DB , configure listener.ora file and tnsnames.ora file for connecting DB(You can use dbca utility)
4.Change Oracle instance parameters and increase size of UNDO TBS:
ALTER system SET session_cached_cursors = 200 scope=spfile;
ALTER system SET log_buffer = 10485760 scope=spfile;
ALTER system SET processes = 500 scope=spfile;
ALTER system SET open_cursors = 300 scope=spfile;
Restart DB and run command :
ALTER DATABASE DATAFILE ‘/u1/oradata/OEMREP/undotbs01.dbf’ RESIZE 250M;
5. Download Grig control soft from
http://www.oracle.com/technology/software/products/oem/htdocs/linuxsoft.html
GridControl_11.1.0.1.0_Linux_1of3.zip (1,346,827,162 bytes) (cksum - 4036510904)
GridControl_11.1.0.1.0_Linux_2of3.zip (1,504,676,900 bytes) (cksum - 2185370223)
GridControl_11.1.0.1.0_Linux_3of3.zip (1,336,577,399 bytes) (cksum - 4010010869)
Copy these files in server unzip and run runinstaller
6. After install
Navigate to the Oracle home of the OMS and run the following command to see a message that confirms that OMS is up and running.
$<OMS_HOME>/bin/emctl status oms
Go to the Oracle home of the Management Agent and run the following command to see a message that confirms that the Management Agent is up and running.
$<AGENT_HOME>/bin/emctl status agent
Run the following command to see a message that confirms that EMD upload completed successfully.
[$<AGENT_HOME>/bin/emctl upload
6.1. Adding ports to firewall rules.
- Don’t forget to open ports on your firewall:
Default Ports to be opened:
Enterprise Manager Upload Http Port | 4889 |
Enterprise Manager Upload Http SSL Port | 4900 |
Enterprise Manager Central Console Http SSL Port | 7799 |
Enterprise Manager Central Console Http Port | 7202 |
Enterprise Manager Central Console Http Port | 7788 |
Node Manager Http SSL Port | 7403 |
Managed Server Http SSL Port | 7301 |
Oracle Management Agent Port | 3872 |
Admin Server Http SSL Port | 7101 |
Login to EM Grid Control console (sysman/password)
SSL – standard approach:
https://hostname.local:7799/em
It’s also possible to avoid SSL connection. To do that, first you must unlock http access:
[oracle@hostname bin]$ ./emctl secure unlock -console
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :******
OMS Console is unlocked. HTTP ports too can be used to access console.
http://hostname.local:7202/em/console/home
Login without SSL (default port 7202):
http:// hostname.local:7202/em
7. Start/stop the environment: On OMS Server
- to start Oracle Enterprise Manager Grid Control services:
$<OMS_HOME>/bin/ emctl start oms –all
- to stop Oracle Enterprise Manager Grid Control services:
$<OMS_HOME>/bin/ emctl stop oms –all
No comments:
Post a Comment