The instructions below explain how to configure an DCE agent that was deployed by HP Operations Manager for Windows, so that it sends messages to, and carries out actions from, an HP Operations Manager for UNIX management server. (HP Operations Manager for UNIX will not be able to deploy policies to this node.) Depending on the agent-based flexible management template that is used, all messages, or a subset of messages can be sent to the HP Operations Manager for Windows management server. In this example, messages are sent to different management servers based on their message group. (For more information about agent-based flexible management configuration, see the HP Operations Manager for UNIX documentation.)
/opt/OV/bin/OpC/opcsw -installed <node>
/opt/OV/bin/OpC/opchbp -start <node>
As user root, copy the template below to the working directory:
/etc/opt/OV/share/conf/OpC/mgmt_sv/work_respmgrs/
# This template sets the following configuration: # # - send messages with message group OpC to Unix management server # - send messages with message group VPW to Windows management server # - allow both servers to run actions on the node # TIMETEMPLATES # none RESPMGRCONFIGS RESPMGRCONFIG DESCRIPTION "responsible mgrs for messages and agents" SECONDARYMANAGERS SECONDARYMANAGER NODE IP 0.0.0.0 "unix.bbn.hp.com" DESCRIPTION "HP Operations Manager for UNIX management server" SECONDARYMANAGER NODE IP 0.0.0.0 "windows.bbn.hp.com" DESCRIPTION "HP Operations Manager for Windows management server" ACTIONALLOWMANAGERS ACTIONALLOWMANAGER NODE IP 0.0.0.0 "unix.bbn.hp.com" DESCRIPTION "HP Operations Manager for UNIX management server" ACTIONALLOWMANAGER NODE IP 0.0.0.0 "windows.bbn.hp.com" DESCRIPTION "HP Operations Manager for Windows management server" MSGTARGETRULES MSGTARGETRULE DESCRIPTION "Unix responsibility" MSGTARGETRULECONDS MSGTARGETRULECOND DESCRIPTION "Unix messages" MSGGRP "OpC" MSGTARGETMANAGERS MSGTARGETMANAGER TIMETEMPLATE "$OPC_ALWAYS" OPCMGR IP 0.0.0.0 "unix.bbn.hp.com" MSGTARGETRULE DESCRIPTION "Windows responsibility" MSGTARGETRULECONDS MSGTARGETRULECOND DESCRIPTION "Windows messages" MSGGRP "VPW" MSGTARGETMANAGERS MSGTARGETMANAGER TIMETEMPLATE "$OPC_ALWAYS" OPCMGR IP 0.0.0.0 "windows.bbn.hp.com" MSGTARGETRULE DESCRIPTION "Rest of News" MSGTARGETRULECONDS MSGTARGETMANAGERS MSGTARGETMANAGER TIMETEMPLATE "$OPC_ALWAYS" OPCMGR IP 0.0.0.0 "$OPC_PRIMARY_MGR"
Rename the file either allnodes, if the file applies to
all nodes, or the IP address of an individual managed node in Hex
notation, generated using the command
/opt/OV/bin/OpC/install/opc_ip_addr
(use
opc_ip_addr -h
for more information).
/opt/OV/bin/OpC/opcmomchk <file_name>
See the man page opcmomchk(1) for more information.
cp <file_name>
/etc/opt/OV/share/conf/OpC/mgmt_sv/respmgrs/
NOTE:
If several, but not all, managed nodes have the same configuration,
you can apply a symbolic link to the Hex file name of the related
managed node. In addition, the same configuration directory can
contain both an allnodes file and files for specific managed nodes.
If configuration files for specific nodes are present, they are
used in preference to the allnodes file for those nodes.
/var/opt/OV/conf/OpC/mgmt_sv.sh
(on a UNIX
node) or Program Files\HP\HP BTO Software\Installed
Packages\{790C06B4-844E-11D2-972B-080009EF8C2A}\bin\OpC\install\mgmt_sv.vbs
(on a Windows node) to make the HP Operations Manager for UNIX
management server responsible for this node. The script has no
parameters, it will ask for the complete name of the HP Operations
Manager for UNIX management server.Or use the command line:
opcragt -distrib -templates -force <name of HP
Operations Manager for Windows managed node>
Execute above script again, now with the name of the HP Operations Manager for Windows management server.