Professional Documents
Culture Documents
You need two agents running on each node. One agent to send data to your own
OEM and another to send data to CERN's OEM. When you do the RAC install as
detailed below the installation process will install the software on all nodes in the
cluster.
5. ./runInstaller
You can put the agent directory under $ORACLE_HOME example parent
directory: /opt/oracle/app/oracle/
9. When asked to "Specify OMS Location" put the hostname of the host where you
have your OMS running and the port number.
14. Install
For the CERN agent - follow all the steps above except the following steps are
changed slightly
1. If running linux
2. In your oracle user home create an ora10Wagent_xxx shell script - where xxx is the
shorted name of your site.
It will look something similar to this but the oracle base path will be site specific.
# Start of File
export ORACLE_BASE=/opt/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/agent10g
export AGENT_HOME=$ORACLE_BASE/agent10g
unset ORACLE_SID
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:
$ORACLE_HOME/jdk/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
# End of File
When we log in to the box to work on the agent we run this script. We have to be
careful because if don't set these values we might stop the CERN agent by mistake!
which emctl
3. Repeat step 2 but create an ora10agent_cern.sh script and put the CERN agent
home in.
eg
# Start of File
export ORACLE_BASE=/opt/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/agent10g_CERN/agent10g
export AGENT_HOME=$ORACLE_BASE/agent10g_CERN/agent10g
unset ORACLE_SID
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:
$ORACLE_HOME/jdk/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
# End of File
4. Edit the $AGENT_HOME/NODE_NAME/sysman/emd/targets.xml - NOTE
NODE_NAME will be site specific!
The following ports and IP address’s are enabled in the RAL firewall
TCP: 1521
TCP: 1830
TCP: 4443
6. Reboot your node (close down the database, ASM instance and nodeapps
gracefully though!) so check that everything comes up ok - including your agent.
Lisa Blanshard
Gordon Brown
Nuala Cullen.