The HPOM managed nodes can be remotely administered from the management server.
opcragt -<options> <node_name>
Using the above command without any options will return the status of all the agent processes on the managed node. There is a long list of options that can be used with this command. We shall see the most commonly used ones.
On the managed node, ovcd and ovbbccb should be running for the management server to access the agent process information remotely.
The commonly used options are :
# opcragt [ -help | -start | -stop | -status | -primmgr | -distrib | -agent_version | -cleanstart ] <-all | -managed_node | -managed_node_group>
-help : Displays the usage message.
-start / -stop / -status : As we have seen in earlier posts ( and as the name suggests), these are to start the agent, stop the agent and check the status of the agent.
C:\Documents and Settings\lawrence>opcragt <managed node>
Node: <managed node>
OVO Managed Node status :
-------------------------
OV Control ovcd (2092) is running
OV Performance Core coda (3252) is running
OV Communication Broker ovbbccb (2528) is running
OV Config and Deploy ovconfd (2760) is running
Subagent EA:
Message Agent opcmsga (3312) is running
Message Interceptor opcmsgi (3352) is running
Action Agent opcacta (3408) is running
Remote administration completed successfully on all nodes.
-cleanstart : Removes all the files in the temp directory of the managed node. Start or Restart the agent on the specified managed node.
-distrib : Used to distribute templates, monitors, commands, actions, instrumentation to the managed node. This command can be used with specific options -templates / -actions / -monitors / -commands. -force or -purge can also be used with this command.
-agent_version : Returns the version number of the HPOM agent software that is currently installed on the managed node.
-version : Returns the version of the opcragt tool.
-primmgr : Updates the primary management server of the managed nodes to the this server. This can run for all nodes, specific node or for a node group.
/opt/OV/bin/OpC/opcragt -primmgr [-all | [-nodegrp <group>…] <node>…]
>> Refer the man page of opcragt for more detailed explanation.
No comments:
Post a Comment