Archive

Archive for the ‘Enterprise Manager’ Category

EM dbcontrol的常用命令

July 5th, 2010 No comments

详细的命令列表还是看OTN(http://download.oracle.com/docs/cd/E11882_01/server.112/e10701/emca.htm#BABDEHCE),下面只列出一些常见的:

创建DBcontrol:emca -config dbcontrol db -repos create

RAC下重新部署DBcontrol:emca -reconfig dbcontrol -cluster

删除DBcontrol:emca -deconfig dbcontrol db -repos drop

Read more…

Categories: Enterprise Manager Tags: , ,

EMGC11g内存占用100%问题

June 12th, 2010 No comments

EMGC11g测试机上的内存占用总是过一段时间就增长到100%了,怀疑是内存泄漏,查了一下,果然是weblogic的bug。而且GC11g的安装文档上已经明确要求安装weblogic的相关patch了。

http://download.oracle.com/docs/cd/E11857_01/install.111/e15838/install_em_exist_db.htm#CIAIEAAC

Oracle WebLogic Server Patch Requirements Ensure that you apply patch ID WDJ7 on Oracle WebLogic Server using the Oracle Smart Update utility. This patch fixes bugs 8990616, 9100465, and 9221722.

For information on applying this patch, see My Oracle Support note 1072763.1.

For information on Oracle Smart Update utility, see Oracle Smart Update Installing Patches and Maintenance Packs documentation available at:

http://www.oracle.com/technology/products/weblogic/index.html

How to apply recommended WLS patches on WLS home for 11g Grid Control Install/Upgrade [ID 1072763.1]

Categories: Enterprise Manager Tags: , ,

如何在Windows平台用Cygwin支持SSH来做Agent Push

June 3rd, 2010 No comments

大家都知道在win平台上默认是不支持SSH的,而通过GC的GUI来给target主机安装agent(也叫agent push)是必须要用SSH的,因此必须得在windows上装一个工具Cygwin。下面是详细步骤

Read more…

为实现EM中CRS rolling upgrade如何设置sudo以及sudo环境变量

September 29th, 2009 No comments

今天在EM dbconsole 11.2环境里给11gR2的CRS打rolling patch时碰到不少关于sudo的问题,特此记录以免忘记。

因为EM都是通过Agent来进行操作的,所有不可能拥有root权限,而打有些patch的时候又不得不用root权限,所以有必要为grid(Grid Infra的user,就是以前的Clusterware),oracle(RAC database的user)两个用户设置sudo。下面以grid用户为例,说明一下。

Read more…