【GC】How to Install Grid Control Agents on RAC Clusters? [ID 378037.1]
Applies to:
Enterprise Manager Base Platform. - Version 10.2.0.1 to 11.1.0.1 [Release 10.2 to 11.1]Information in this document applies to any platform.
Checked for relevance on Feb-18-2013
Goal
This is a guide on how to install the Grid Control Agents on RAC Clusters, in order to be managed by the Grid Control.
Fix
Overview
RAC Agent installation in "Cluster" mode allows for cluster-wide patching or individual Agent home patching. Each Agent's ORACLE_HOME in a "Cluster" install will create state directories (one for each cluster member node) containing specific configuration files for each node.
In case you choose a shared (central agent or NFS agent) installation, all Agents running from this share must be shutdown before patching.. But you only need to patch the central Agent home.
Grid Control Agent installer will automatically detect installed the clusterware and will provide an option to install the Agent on every cluster member during the installation.
The current session's environment can affect clusterware detection and discovery process. Please consider the following:
1. Ensure that your cluster hostnames are resolveable. Also, ensure that your /etc/hosts file on each cluster member node lists node names and IP addresses properly.
Example:
127.0.0.1 localhost.localdomain localhost <<<< This line should not list the hostname of the server
11.10.10.1 node1.domain node1
10.10.10.2 node1-vip.domain node1-vip
.
.
etc...
2. Ensure that you remove any environment variable with a space " ", a double colon "::", or a semi colon ";" (in the variable name or its value) before launching the agent installer.
Example:
SSH_CLIENTS=aaa.bbb.ccc.ddd aaa.bbb.ccc.def
PATH2=/var/opt/java/bin;/home/oracle/scripts;
3. Be sure to remove any ORACLE_HOME, NLS, LIB*, or any other environment variable you would set for an Oracle product from the current session where you will be installing the Agent. Also, make sure that your software owner user default login script. does not set Oracle specific environment variables.
4. Ensure that the OMS is up and running and that the OMS receiver servlet is Active. Check this using:
You should see:
Http XML File receiver
Http Receiver Servlet active!
Verify that there is connectivity to the OMS hostname and the port from the machine where the Agent needs to be installed.
5. If you choose to use a separate inventory for the Agent than any other installed Oracle software, you can selectively add each inventory to the Agent after installation. Please see Grid Control Advanced Configuration Guide for details. 11g docs are here:
6. If you have not configured CRS to use the default cluster name (crs), then skip this step. Otherwise, to use a non-default cluster name (the default is crs), you can pass CLUSTER_NAME=
You can also pass the cluster nodes to the Installer using the CLUSTER_NODES parameter
Example:
./runInstaller -CLUSTER_NAME=myTestCluster CLUSTER_NODES="{node1,node2,node3}"
(to find your cluster name, see Note below)
7. Run the Agent installer and select all cluster nodes. For 11g agents, you cannot run the installer interactively; proceed to step 8.
8. Optionally, you can run the installer in silent mode by editing the response file and providing values for the following parameters: BASEDIR, CLUSTER_NODES, sl_OMSConnectInfo
Make sure these parameters are uncommented in the response files then kickoff the silent install. For example, your response file content looks like the following:
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
INSTALL_UPDATES_SELECTION="skip"
ORACLE_AGENT_HOME_LOCATION=/app/oracle/product
b_silentInstall=true
CLUSTER_NODES="node1,node2,node3"
OMS_HOST=gridcontrol.acme.com
OMS_PORT=4889
AGENT_REGISTRATION_PASSWORD=
Save responsefile to the some physical location and issue command as below
runInstaller -silent -responseFile
This should complete successfully.
If you run into problems after the install stage has completed, but the Agent Configuration Assistant fails, you may be able to re-secure the agents individually, then re-run "agentca" after exiting OUI:
- Run through steps 1 through 6 above
- Secure each agent manually
- Go to the agent10g (or agent11g) home and cd to the bin directory
- Run the following command:
./agentca -f -n
The above command will configure and start each agent on each node when run from one of the cluster nodes.
- Check the status of agents on each node:
./emctl status agent
The agent can also be installed by executing the agentDownload script. on one node at a time using the correct arguments.
For more details, please refer to Grid Control Installation and Basic Configuration guide, section
5.5.1.1.1 Standalone Agent Install Using the agentDownload Script. if you prefer to use the agent download method of installation.
When installing the agent using agentDownload script, if you want to discover the cluster targets as part of the install then you must set the CLUSTER_NAME environment variable prior to executing the agentDownload script, or pass the cluster name to the agentDownload script. as follows:
agentDownload -n
./cemutlo -n
or
which will create a text file called OCRDUMPFILE
open that file and look for this entry
[SYSTEM.css.clustername]
ORATEXT : crs_cluster
In this case, "crs_cluster" is the cluster name.
Table 5–2 Command-line Options for Cluster Installation Options Description
-c This option is followed by a comma-separated list of the nodes in the cluster. It is possible to install a standalone agent that will still discover cluster targets by not specifying this option while still specifying the cluster name with the -n option.
-*n This option is followed by the name of the cluster. This option is required for 9i clusters; for 10g clusters, if this option is not specified, the default cluster name from the targets.xml file will be used.*
-l This option specifies that the install should be done just on the local node of the cluster.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-759068/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【GC】Grid Control Agent完整刪除方法GC
- 【RAC】How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]ASTStruct
- 【GC】OEL4.8部署安裝 Grid Control OMSGC
- Grid Control一些術語GC、OMS、OMR、OMA的概念GC
- 【GC】OEM Grid Control 11gR1部署之OMS部分GC
- 【GC】OEM Grid Control 11gR1部署之Agent部分GC
- 安裝Grid Control
- GoldenGate , Grid ControlGo
- 【GC】OEL4.8解除安裝重新部署安裝Grid Control OMSGC
- step by step install oracle grid control 10.2.0.1 on linux 5.4 x86OracleLinux
- Using Silent Mode to Install Oracle Enterprise Manager Grid Control 10.2.0.1.1Oracle
- How to Troubleshoot Grid Infrastructure Startup IssuesASTStruct
- How To Configure Notification Rules in Enterprise Manager Grid Control_429422.1
- How To Install An Oracle Database In An Active/Passive Configuration Without RAC? [ID 734361.1]OracleDatabase
- 安裝10.2.0.4 Grid Control之前需要安裝 10.2.0.3.0 Grid Control
- 【GC】OEM Grid Control 11gR1部署之WebLogic Server部分GCWebServer
- 【GC】使用 agentDownload.linux完成Grid Control Agent的快速部署安裝GCLinux
- Grid Control的安裝
- oracle grid control etc/hostsOracle
- 【GC】Grid Control 11gR1安裝過程中遭遇ERROR: invalid entry CRCGCError
- How a Database Is Mounted with Real Application Clusters (294)DatabaseAPP
- 淺談zabbix和Grid control
- 10g RAC: How to Clean Up After a Failed CRS InstallAI
- Step by step install grid control agent on linux 5.3 x86_64遠端安裝Linux
- 【GC】未建立或丟失密碼檔案導致 Grid Control OMS無法正常安裝GC密碼
- OCM實驗-grid control安裝
- Oracle /app/grid/grid11g/crs/install/roothas.pl execution failedOracleAPPAI
- Install Enterprise Manager Grid Control 10.2.0.5.0 Using a New Database-763314.1Database
- Step by step install grid control agent on linux 5.3 x86_64遠端安裝(二)Linux
- How To modify listener port in oracle 11g GridOracle
- How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]ASTStruct
- OCM實驗-grid control agent安裝
- 如何解除安裝Oracle Grid ControlOracle
- 【ACOUG】Oracle Grid Control的使用與技巧Oracle
- Oracle10g oem grid control (轉)Oracle
- Oracle Grid_Control Download LinkOracle
- Using Silent Mode to Install Oracle Enterprise Manager Grid Control 10.2.0.1.1 Using an Existing DaOracle
- Metlink:10g RAC How to Clean Up After a Failed CRS InstallAI