Make sure environment variables $ORACLE_BASE and $ORACLE_HOME do not exist in the OS account before any installation. Steps on installing Grid Control 10.2.0.4 on AIX (OS level 5300-08-03-0831):
1. Install Oracle 11g (11.1.0.6) database on the server for the repository.
- Do not include anything related to Emterprise Manager in the database. (No SYSMAN account exists).
- Temporarily set the SYS password to be "default".
2. Make sure the initialization parameters meet the requirements, such as 8k block size.
3. Run @?/rdbms/admin/dbmspool.sql as SYSDBA to create a package in the database.
4. Edit the em_using_existing_db.rsp file.
- Note 763347.1 provides the best sample on necessary parameters.
- Note 602750.1 describes the worst "Invalid Username/Password" bug. The smart way is to have parameter s_reposDBAPwd="default" in the file. I believe this parameter is only used by ConfigureGC.pl
5. Install Grid Control 10.2.0.1 on the server with "software-only" option.
./runInstaller -noconfig -silent -responseFile /path_to_res_filr/response/em_using_existing_db.rsp -force
6. Stop all the OPMN processes, plus "ps -ef | grep opmn".
$OMS_HOME/opmn/bin/opmnctl stopall
7. Apply the 10.2.0.4 patch set (patch 3731593) to OMS. First, edit the patchset.res with
FROM_LOCATION="/file_path/Disk1/stage/products.xml"
ORACLE_HOME="/oracle_base/product/oms10g"
b_softwareonly=true
s_sysPassword="default"
8. Run command to apply the patch set to the OMS home.
./runInstaller -noconfig -silent -responseFile /file_path/Disk1/response/patchset.rsp -force
9. Apply the 10.2.0.4 patch set (patch 3731593) to Agent. First, backup and edit the patchset.res with
FROM_LOCATION="/file_path/Disk1/stage/products.xml"
ORACLE_HOME="/oracle_base/product/agent10g"
b_softwareonly=true
s_sysPassword="default"
10. Run command to apply the patch to the Agent home.
./runInstaller -noconfig -silent -responseFile /file_path/Disk1/response/patchset.rsp -force
11. Make PERL5LIB to the environment variable.
export PERL5LIB=/oracle_base/product/oms10g/perl/lib/5.6.1
12. Run the perl script to configure Grid Control.
$ cd /oracle_base/product/oms10g/perl/bin
$ ./perl /oracle_base/product/oms10g/sysman/install/ConfigureGC.pl /oracle_base/oracle/product
13. After the Agent is started and the some targets on the Host do not show up on the page http://gc_server:7777/em/console/home, run agentca in the Agent home (/oracle_base/product/agent10g/bin) and then remove/add them on the page if necessary.
./agentca -d
14. Run asked root.sh .
Troubleshooting:
Note 434858.1: Remove a failed GC installation.
Note 435329.1: Agent does not start: Malformed URL: http://:%EM_SERVLET_PORT%/emd/main/
Note 730308.1: How To Troubleshoot Oms Startup Issue. (Not really helps).
UPDATES:
To turn off Performance Tuning Pack in 11G database to make it unavailable in Grid Control:
SQL> alter system SET CONTROL_MANAGEMENT_PACK_ACCESS='NONE' SCOPE=BOTH sid='*';
To turn it on, run below statement and then wait about one or two minutes in Grid Control:
SQL> alter system SET ONTROL_MANAGEMENT_PACK_ACCESS='DIAGNOSTIC+TUNING' SCOPE=BOTH;
View DBA_FEATURE_USAGE_STATISTICS gives more information on the status, such as
SQL> select * from DBA_FEATURE_USAGE_STATISTICS where lower(name) like '%sql%';
No comments:
Post a Comment