Agent install. 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. Steps to install your own agent 1. Log in as the oracle user. 2. Make sure the $ORACLE_HOME, $ORACLE_BASE and SID are set 3. Ensure user equivalences is set between all nodes in the cluster 4. Go to where you unzipped the agent files - cd linux/agent 5. ./runInstaller 6. Choose bottom option (Additional Management Agent) You can put the agent directory under $ORACLE_HOME example parent directory: /opt/oracle/app/oracle/ 7. Ignore language error 8. Select ALL nodes in the cluster 9. When asked to "Specify OMS Location" put the hostname of the host where you have your OMS running and the port number. 10. Leave password blank 11. Accept license agreement 12. Do not enable proxy 13. Do not enable Oracle Config Management 14. Install 15. It will ask you to run scripts as root - do so 16. Finish the install

For the CERN agent - follow all the steps above except the following steps are changed slightly

6. Choose bottom option (Additional Management Agent) example parent directory: /opt/oracle/app/oracle/agent10g_CERN

It will look something similar to this but the oracle base path will be site specific.sh script and put the CERN agent home in.ch port 4889 Post installation tasks 1.where xxx is the shorted name of your site. 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 . # 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! You can always check by using the command which emctl 3.cern.9. In your oracle user home create an ora10Wagent_xxx shell script . When asked to "Specify OMS Location" put the hostname of the OMS at CERN oms3d. Repeat step 2 but create an ora10agent_cern. If running linux cat /etc/sysconfig/selinux to check that SELINUX=disabled If not log in as root and change this (on all nodes) 2.

ora. ASM instance and nodeapps gracefully though!) so check that everything comes up ok .including your agent.4. Host IP address of all nodes as the agents will be using this to communicate with OMS at CERN.NOTE NODE_NAME will be site specific! Update "-vip" to public hostname. The following ports and IP address’s are enabled in the RAL firewall TCP: 1521 TCP: 1830 TCP: 4443 VIP address of all nodes because this is used in the tnsnames. cd $AGENT_HOME/NODE_NAME/bin ./emctl status agent To start the agent . .xml ./emctl start agent To stop the agent . Port Numbers & Firewalls. Stopping and Checking the status of the agent. 6. Do this on every node./emctl stop agent The following people at RAL contributed to the document Lisa Blanshard Gordon Brown Nuala Cullen. Starting. 6.NOTE NODE_NAME will be site specific! Rember to check what agent you are working with – use the following command which emctl To check the agent . Edit the $AGENT_HOME/NODE_NAME/sysman/emd/targets. Reboot your node (close down the database.

Sign up to vote on this title
UsefulNot useful