Hi,
Sometime back i come across cloned environment with pre installed oracle grid agent on the server.
This is the Set of Steps I followed to make it quicker as i was dealing with around 100 Server.
Prcoess to configure EM agent on cloned server, i hope it might be useful to someone facing similar work activity.
### Setup Agent Env.
. oraenv
agent11g
## cd to agent bin and setup hostname
cd /usr/oracle/product/11.1.0/agent11g/oui/bin ;export AGENTHOST=`hostname`
## de-attach old home
./runInstaller -silent -detachHome ORACLE_HOME="/usr/oracle/product/11.1.0/agent11g" ORACLE_HOME_NAME="agent11g"
## clone new home
./runInstaller -clone -forceClone ORACLE_HOME="/usr/oracle/product/11.1.0/agent11g" ORACLE_HOSTNAME=${AGENTHOST}.comp-intern.de ORACLE_HOME_NAME=agent11g -noconfig -silent
run root.sh using root user.
cd ../../sysman/config ; vi emd.properties
update EMD_URL to 3872
### discovery of targets
agentca -d
emctl secure agent
## check everything is good.
emctl status agent
Thanks
krishan
Sometime back i come across cloned environment with pre installed oracle grid agent on the server.
This is the Set of Steps I followed to make it quicker as i was dealing with around 100 Server.
Prcoess to configure EM agent on cloned server, i hope it might be useful to someone facing similar work activity.
### Setup Agent Env.
. oraenv
agent11g
## cd to agent bin and setup hostname
cd /usr/oracle/product/11.1.0/agent11g/oui/bin ;export AGENTHOST=`hostname`
## de-attach old home
./runInstaller -silent -detachHome ORACLE_HOME="/usr/oracle/product/11.1.0/agent11g" ORACLE_HOME_NAME="agent11g"
## clone new home
./runInstaller -clone -forceClone ORACLE_HOME="/usr/oracle/product/11.1.0/agent11g" ORACLE_HOSTNAME=${AGENTHOST}.comp-intern.de ORACLE_HOME_NAME=agent11g -noconfig -silent
run root.sh using root user.
cd ../../sysman/config ; vi emd.properties
update EMD_URL to 3872
### discovery of targets
agentca -d
emctl secure agent
## check everything is good.
emctl status agent
Thanks
krishan
No comments:
Post a Comment