ITPUB??ì3
12月微软Hyper-V虚拟化沙龙主题征集
ITPUB论坛 » Oracle新技术/11g » Tip: How to use 10G Grid Control & DB control

标题: [Tips] Tip: How to use 10G Grid Control & DB control
本帖已经被作者加入个人空间
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2004-5-22 00:36 
Tip: How to use 10G Grid Control & DB control

1.  How  to  run  DB control when host  is managed by DHCP ?

      Before running  db control,  It  is  necessary  to  Install
      "Microsoft lookup Adaptor"  first.


__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2004-5-28 22:56 
2. 怎样配置EM使其支持SSL 协议

10G EM 中的OMS, DBConsole,Agent 都支持SSL 协议.

   具体操作:  

       1. 如果没有环境变量ORACLE_SID,请先配置,或者
    直接敲入set  ORACLE_SID=xxx   
           (UNIX环境下请根据不同的shell类型使用不同的语法:
            setenv, export...)

       2.  键入 emctl  secure ,可以看到全部的选项:
           secure oms     <sysman password> <registration password>  
                                        [<hostname>] [-reset]

           secure agent   <registration password>

           secure em

           secure dbconsole <sysman password> <registration password>
                                                 [<hostname>]

          secure setpwd  <sysman  password> <registration password>

          secure status  [oms url]

         secure lock | unlock
            
   3. 以配置oms为例

   3.1  先停掉所有与oms相关的 服务(opmnctl  stopall)
        3.2  敲入: emctl  secure  oms,会让你输入registration password,
               然后系统会产生相关的证书文件, 如果一切顺利的话,
               系统会有提示配置成功的信息

   3.3 重新启动服务(opmnctl  startall)   
         
               缺省情况下,7777和4889这两个端口是可用的, 配置
      成secure 模式后,4888端口是支持SSL协议的.  从   
      $EM_HOME\sysman\config目录下的emoms.properties
               文件中可以看到配置信息.

       3.4   检测oms是否已经运行在https协议下

      emctl  secure status  oms  url

                注意:  URL 要输入完整,  
                例如: https://myserver:4888/em/upload/

  4.  Agent, DBconsole的配置基本类似.

  5. 启动浏览器运行时,IE会弹出一个安装安全证书的
  窗口,按"确认".


__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2004-5-30 14:07 
3. 出现了问题,怎样解决?

以DB Control为例, 大致的步骤是这样的:

1. emctl status dbconsole 查看db control 的状态

2.去 $ORACLE_HOME\hostname_sid\sysman\log目录下
查看相关日志(emoms.log,emagent.log等)

3.  检查配置文件 emd.properties,emoms.properties
    目录: $ORACLE_HOME\hostname_sid\sysman\config

4. 确保监听器工作正常: lsnrctl status

5. 10G EM 使用的是配置文件中定义的连接串,而不是
直接访问tnsnames.ora .
目录: $ORACLE_HOME\hostname_sid\sysman\config
文件: emoms.properties.
参数: oracle.sysman.eml.mntr.emdRepConnectDescriptor

New:
6. 检查emdb.nohup,emagent.nohup, emoms.nohup这几个文件,
从这些文件中,可以大致了解为什么db console, agent,
oms不能启动或者非正常退出的一些信息。



__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2004-6-3 00:08 
4. 修改了监听端口, 怎样保证 DB Control 正常运行 ?

今天是第四篇,希望大家也都来写写自己的使用经验.

1. 修改 listener.ora 和tnsnames.ora 这两个文件:
    tnsnames.ora 中需要加入:

     listener_1 =
     (ADDRESS = (PROTOCOL = TCP)
       (HOST = xxxx)(PORT = 新的端口))

  然后启动数据库:
    SQL> show parameter  local_listener ;
    SQL> alter system  set  local_listener='listener_1'  scope=spfile;
      重启数据库使得修改生效

2.  修改 $ORACLE_HOME\hostname_sid\sysman\config
  下的emoms.properties文件:
      oracle.sysman.eml.mntr.emdRepPort=新的端口
oracle.sysman.eml.mntr.emdRepConnectDescriptor=(DESCRIPTION\=(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=TCP)(HOST\=xxx)(PORT\=新的端口)))(CONNECT_DATA\=(SERVICE_NAME\=xxx)))

3.  最后,还要修改 $ORACLE_HOME\hostname_sid\sysman\emd
      下的targets.xml:

      <Property NAME="Port" VALUE="新的端口"/>

4.  重新启动监听器和dbconsole 服务.


5.  如果嫌上面的操作麻烦,可以用emca这个命令行工具:
      emca  -h  查看所有可用的命令
  emca  -r   跳过资料档案库的创建.


__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 zhu1
木匠


精华贴数 0
个人空间 0
技术积分 340 (5839)
社区积分 63 (4428)
注册日期 2002-7-16
论坛徽章:0
      
      

发表于 2004-6-8 15:17 
Is it 3 installation Disks?

Thx.


__________________
丹江草, 我的身心是健康的,我的思想是健康的,我的生活也是健康的。
只看该作者    顶部
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2004-6-8 23:53 
Re: Is it 3 installation Disks?

GC  control   includes  three CDs;  
DB  control   is  included  in  DB  setup CD, only  one CD.

QUOTE:
最初由 zhu1 发布
Thx.




__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2004-6-26 12:37 
5. 怎样修改 DB Control 的服务端口 ?
   今天是第五篇

  缺省情况下, DB Control 的端口是5500, 可以参考下面的
说明更改端口 .

   来源:  $ORACLE_HOME\doc\readme.101\readme.em

If a user wants to change the OMS port, they'll have to modify
three files, and then restart DB Control in order to force these
changes to take effect.

a) Edit $ORACLE_HOME/<host>_<sid>/sysman/config/emoms.properties and modify the following parameters:

oracle.sysman.emSDK.svlt.ConsoleServerPort
oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort

b) Edit $ORACLE_HOME/<host>_<sid>/sysman/config/emd.properties and modify the following parameters:

REPOSITORY_URL
emdWalletSrcUrl

c) Edit $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<host>_<sid>/
config/http-web-site.xml and modify the following parameter:

web-site port

Please back up the existing files before making changes.


__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 LoveWinter
版主


精华贴数 6
个人空间 0
技术积分 4356 (327)
社区积分 65 (4365)
注册日期 2002-12-23
论坛徽章:4
管理团队成员管理团队2006纪念徽章会员2006贡献徽章授权会员  
      

发表于 2005-1-31 19:35 
6. How to re-config EM repository and re-create the schema "SYSMAN"

1.  Logon SQLPLUS as user SYS , drop the schema "sysman"
     and  its mangement objects:

      a.  drop user sysman cascade;
      b.  drop role MGMT_USER;
      c.  drop user MGMT_VIEW cascade;
      d.  drop public synonym  MGMT_TARGET_BLACKOUTS;
      e.  drop public synonym SETEMVIEWUSERCONTEXT;

2.  Run emca -x <SID> to make sure nothing else is left.

3.  Then recreate it , using command line tool:  emca
    (Type  "emca  --help  to see all  available options)


__________________
快乐的秘诀:   不是去做自己喜欢的事, 而是去喜欢自己做的事. Do  you  feel  happy  now ?
只看该作者    顶部
离线 husthxd
版主


精华贴数 8
个人空间 1288
技术积分 61231 (9)
社区积分 3829 (374)
注册日期 2002-2-20
论坛徽章:109
现任管理团队成员ITPUB元老ITPUB北京九华山庄2008年会纪念徽章第18届世界杯(德国)纪念徽章管理团队2006纪念徽章会员2007贡献徽章
会员2006贡献徽章玉石琵琶九尾狐狸紫蜘蛛蓝色妖姬红孩儿

发表于 2005-1-31 21:26 
go on


__________________
少吃饭,多吃菜少说话,多做事少灌水,多看文档
-----------------------吃遍全城!--------------------
-----------------------Java钻研中--------------------
--------------------学好英语,报效祖国--------------------
人生最幸福的事情莫过于通过自己的努力实现自己的梦想!
http://space.itpub.net/6906/
只看该作者    顶部
离线 william09099
初级会员



精华贴数 0
个人空间 0
技术积分 40 (33155)
社区积分 0 (384694)
注册日期 2005-5-2
论坛徽章:0
      
      

发表于 2005-5-11 11:28 
GC control includes three CDs? why mine is only  two CDs?

And  after installed ,i can't open the oem.what's the URL?

THANKS!!!!!


只看该作者    顶部
相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问