Download the Grid Control software from technet.oracle.com to the /oracle/media/oem directory. You will need the following files downloaded
Linux_Grid_Control_full_102010_disk1.zip
Linux_Grid_Control_full_102010_disk2.zip
Linux_Grid_Control_full_102010_disk3.zip
GridControl_10.2.0.4_LINUX.zip
Download patch p7040389_10204_GENERIC.zip from metalink.oracle.com
Install Grid Control 10.2.0.1 (Software Only)
login as oracle
cd /oracle/media/oem
unzip Linux_Grid_Control_full_102010_disk1.zip
unzip Linux_Grid_Control_full_102010_disk2.zip
unzip Linux_Grid_Control_full_102010_disk3.zip
unzip GridControl_10.2.0.4_LINUX.zip
Edit the response file
cd /oracle/media/oem/response
vi em_with_new_db.rsp
And change the following settings
FROM_LOCATION=/oracle/media/oem/rdbms/Disk1/stage/products.xml
BASEDIR=/oracle/product/10.2.0
INSTALLATION_NAME=OEM1
s_gdbName=emrep.gridcontrol.example.com
s_mountPoint=/oracle/oradata
s_operGroup=dba
s_adminGroup=dba
s_securePassword=
s_securePasswordConfirm=
b_lockedSelected=true
b_passwordsDifferent=false
b_passwordsSame=true
s_reposPwd=
s_reposPwdConfirm=
Run Oracle Installer in Silent Mode
cd /oracle/media/oem/install
./runInstaller -noconfig -silent -responseFile /oracle/media/oem/response/em_with_new_db.rsp -force
After the installer is finished Run the following scripts as root
/home/oracle/oraInventory/orainstRoot.sh
/oracle/product/10.2.0/db10g/allroot.sh
Apply the 10.2.0.4 patch set to OMS
As Oracle
/oracle/product/10.2.0/oms10g/opmn/bin/opmnctl stopall
cd /oracle/media/oem
unzip p3731593_10204_LINUX.zip
cd /oracle/media/oem/3731593/Disk1/response
vi patchset.rsp
And change the following settings
FROM_LOCATION=”/oracle/media/oem/3731593/Disk1/stage/products.xml”
b_softwareonly=true
s_sysPassword=
ORACLE_HOME=/oracle/product/10.2.0/oms10g
Save the patchset.rsp file and execute the installer.
cd /oracle/media/oem/3731593/Disk1/install
./runInstaller -noconfig -silent -responseFile /oracle/media/oem/3731593/Disk1/response/patchset.rsp -force
Apply the 10.2.0.4 patch set to Agent
cd /oracle/media/oem/3731593/Disk1/response
vi patchset.rsp
And change the following settings
ORACLE_HOME=/oracle/product/10.2.0/agent10g
Save the response file and execute the installer
cd /oracle/media/oem/3731593/Disk1/install
./runInstaller -noconfig -silent -responseFile /oracle/media/oem/3731593/Disk1/ response/patchset.rsp -force
Apply the interm RDBMS patch# 4329444 to the database
cd /oracle/media/oem
unzip p4329444_10104_LINUX.zip
cd 4329444
export ORACLE_HOME=/oracle/product/10.2.0/db10g
$ORACLE_HOME/OPatch/opatch apply
Apply patch# 7040389 to the Oracle home directory of the OMS
cd /oracle/media/oem
unzip p7040389_10204_GENERIC.zip
cd 7040389/
export ORACLE_HOME=/oracle/product/10.2.0/oms10g
$ORACLE_HOME/OPatch/opatch apply
Configure Enterprise Manager Grid Control
Login as oracle
export DISPLAY=
export PERL5LIB=/oracle/product/10.2.0/oms10g/perl/lib/5.6.1
export ORACLE_HOME=/oracle/product/10.2.0/oms10g
$ORACLE_HOME/perl/bin/perl /oracle/product/10.2.0/oms10g/sysman/install/ConfigureGC.pl /oracle/product/10.2.0
Be patient, the above script can take upto an hour :-)
No comments:
Post a Comment