The instructions below explain how to configure a DCE agent installed by HP Operations Manager for UNIX so that it will send messages to, and accept instruction from, an HP Operations Manager for Windows management server. (HP Operations Manager for Windows will not be able to install policies on the managed node.) Depending on the 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.
TIP:
To configure an HTTPS agent installed by HPOM for UNIX so that it
sends messages to an HPOM for Windows management server, switch the
agent's primary management server. (See Switch
the primary management server.)
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.