ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 对Database control 做密钥管理

对Database control 做密钥管理

原创 Linux操作系统 作者:赵宇 时间:2008-04-09 10:18:01 0 删除 编辑

C:\Documents and Settings\oracle>set ORACLE_SID=DEVDB

D:\oracle\product\10.2.0\db_1\BIN>emctl.bat stop dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
http://obraiz:1158/em/console/aboutApplication
OracleDBConsoledevdb 服务正在停止.....
OracleDBConsoledevdb 服务已成功停止。

 

D:\oracle\product\10.2.0\db_1\BIN>emctl.bat config emkey -repos -sysman_pwd oracle
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

Invalid Password
caught Exception java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection

监听启动以后:

D:\oracle\product\10.2.0\db_1\BIN>emctl.bat config emkey -repos -sysman_pwd oracle
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

The Em Key has been configured successfully.

D:\oracle\product\10.2.0\db_1\BIN>emctl.bat secure dbconsole -sysman_pwd oracle
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
http://obraiz:1158/em/console/aboutApplication
DBCONSOLE already stopped...   Done.
Agent is already stopped...   Done.
Securing dbconsole...   Started.
Checking Repository...   Done.
Checking Em Key...   Done.
Checking Repository for an existing Enterprise Manager Root Key...   Done.
Generating Enterprise Manager Root Key (this takes a minute)...   Done.
Fetching Root Certificate from the Repository...   Done.
Updating HTTPS port in emoms.properties file...   Done.
Generating Java Keystore...认证已添加至keystore中
认证回复已安装在 keystore中
   Done.
Securing OMS ...   Done.
Generating Oracle Wallet Password for Agent....   Done.
Generating wallet for Agent ...    Done.
Copying the wallet for agent use...    Done.
Storing agent key in repository...   Done.
Storing agent key for agent ...   Done.
Configuring Agent...
Configuring Agent for HTTPS in DBCONSOLE mode...   Done.
EMD_URL set in D:\oracle\product\10.2.0\db_1/obraiz_DEVDB/sysman/config/emd.properties
   Done.
Configuring Key store..   Done.
Securing dbconsole...   Sucessful.

D:\oracle\product\10.2.0\db_1\BIN>emctl.bat start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
https://obraiz:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoledevdb 服务正在启动 ...................
OracleDBConsoledevdb 服务已经启动成功。

D:\oracle\product\10.2.0\db_1\BIN>emctl.bat config emkey -remove_from_repos -sysman_pwd oracle
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

The Em Key has been removed from the Management Repository.
Make a backup copy of OH/sysman/config/emkey.ora file and store it on another machine.
WARNING: Encrypted data in Enterprise Manager will become unusable if the emkey.ora file is lost or corrupted.

 

 


 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/175005/viewspace-231294/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2007-12-25

  • 博文量
    73
  • 访问量
    893761