Archive for May, 2011

There is easier way of  pointing agent to new oms in 11g.

Go the $AGENT_HOME/bin and execute just one command,

$ ./emctl switchOMS https://oms_hostname:1159/em/upload
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
SwitchOMS succeeded.

If you have agent registration passwd enabled, do the below steps,

$./emctl stop agent

$./emctl secure agent ‘pwd’

$./emctl start agent

Before 11g, you will have to follow steps given metalink#413228.1

convert this post to pdf.

In case if you have lost agent registration pwd and want to create new one. Go to setup=> registration pwd and remove the existing one.

then in the OMS server execute below command,

/emctl secure setpwd
Oracle Enterprise Manager 11g Release 1 Grid Control 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root Password :
Enter New Agent Registration Password :
Registration Password added successfully.

root password above is sysman password

convert this post to pdf.

It’s specific to AIX environment. While doing oms installation during the agent configuration stage it failed. Even a fresh installation of agent in oms host will fail with similar error. You will not be able to stop or start the agent.

It’s a aix bug, metalink#1298284.1 talks about it. There is a workaround provided in that note.

Workaround provided by Oracle:

1. export $ORACLE_HOME=<agent home>/sysman/lib
2. cd <agent home>/sysman/lib
3. backup env_emagent.mk
4. Modify env_emagent.mk:
   Search “LIB_JVM_LINK =”
   Remove the “-blazy” option from LIB_JVM_LINK definition
   Save the file
5. /usr/sbin/slibclean

5.1. export OBJECT_MODE=32 ==> Pls note this step is missing in the oracle document

6. make -f ins_emagent.mk agent

convert this post to pdf.