文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>【GC】OEL4.6部署安装 Grid Control OMS

【GC】OEL4.6部署安装 Grid Control OMS

时间:2011-01-17  来源:田园居

SQL> alter system set dispatchers='';

SQL> alter system set aq_tm_processes=2;

SQL> alter system set sga_target=500m;


2)执行脚本dbmspool.sql脚本
@?/rdbms/admin/dbmspool
脚本注释信息如下:
rem
rem $Header: dbmspool.sql 15-jun-99.08:54:18 mjungerm Exp $
rem
Rem  Copyright (c) 1991, 1996, 1997, 1998, 1999 by Oracle Corporation
Rem    NAME
Rem      dbmspool.sql - dbms_shared_pool utility package.
Rem    DESCRIPTION
Rem      This package allows you to display the sizes of objects in the
Rem      shared pool, and mark them for keeping or unkeeping in order to
Rem      reduce memory fragmentation.

3)解锁DBSNMP用户
SQL> alter user DBSNMP identified by oracle1 account unlock;

2.检查/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
192.168.190.32  ocmdb2.localdomain      ocmdb2
192.168.190.31  ocmdb1.localdomain      ocmdb1

3.GC安装过程
1)root用户下执行“xhost +”命令保证图形化安装界面可以启动
[root@ocmdb2 ~]# xhost +
access control disabled, clients can connect from any host

2)切换到oracle用户进行安装
[root@ocmdb2 ~]# su - oracle
[oracle@ocmdb2 ~]$ cd /hsw_media/Disk1/
[oracle@ocmdb2 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be enterprise-4, enterprise-5, redhat-3, redhat-4, redhat-5, redhat-5.1, SuSE-9, SuSE-10, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed


All installer requirements met.

3)这里选择“Enterprise Manager 10g Grid Control Using an Existing Database”选项,点击“Next”


4)修改Parent Directory内容为“/u01/app/oracle/OracleHomes”,点击“Next”




5)系统自动完成先决条件的检查,确保无误,点击“Next”


6)提供事先准备好的Repository Database的基本信息,点击“Next”
注意:下面表空间的位置需要重点修改一下,保证Repository Database所在的主机上存在相应的目录!

另外,我在输入sys的密码之后,老提示密码不对,后来alter user sys identified by xxx才好。


7)其他可选配置页,这里保持默认,不进行配置,点击“Next”


8)密码安全设定,设置完成后,点击“Next”
注意:给定的密码要求至少是5位,并且需要包含数字,我们这里统一设置为“oracle1”!


9)安装配置总结页面,确保无误后点击“Install”进行安装




10)安装完成后,需要在root用户下执行allroot.sh脚本,执行完成后点击“OK”进入到漫长的配置页面


[root@ocmdb2 ~]# sh /u01/app/oracle/OracleHomes/oms10g/allroot.sh

Starting to execute allroot.sh .........

Starting to execute /u01/app/oracle/OracleHomes/oms10g/root.sh ......
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/OracleHomes/oms10g

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.

Finished execution of  /u01/app/oracle/OracleHomes/oms10g/root.sh ......


Starting to execute /u01/app/oracle/OracleHomes/agent10g/root.sh ......
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/OracleHomes/agent10g

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.

Finished execution of  /u01/app/oracle/OracleHomes/agent10g/root.sh ......

11)配置页面,这里是最耗时,但是最省心的无人值守的阶段,可以小憩一下
注意:一定要保证这个配置过程的完整和正确,否则会对使用产生重大的影响,如发现问题,按照提示查看报错日志中给出的内容。
可以使用“find . -cmin 1”命令辅助获得涉及到的安装日志文件。




12)配置结束界面。部署安装GC完成。


13)打开FireFox,地址栏中输入“http://ocmdb2.localdomain:4889/em”进入到Grid Control登陆页面


14)输入用户名“sysman”,密码“oracle1”进入到Grid Control的首页




15)点击“Targets”,因为没有添加其他Agent,此时只能看到本机的信息


4.小结
整个安装GC的过程比较耗时,请做好心理准备。需要配置的参数最好一次性的设置正确,否则在报错后排查问题比较耗时。

Good luck.

secooler
10.07.09

-- The End --

相关阅读 更多 +
排行榜 更多 +
无限Fps

无限Fps

飞行射击 下载
幸存者时间僵尸

幸存者时间僵尸

飞行射击 下载
金属兄弟Metal Brother

金属兄弟Metal Brother

冒险解谜 下载