10-11-2011 08:02 AM
We are configuring comtek to trigger the alerts in case of any events on OpenVMS to AIX boxes. We are supposed to alert from different nodes on OpenVMS to different nodes on AIX.
We need to configure SNMP on a clustered environment with same system disk so that traps from NOde01 should go to one IP address and Traps from NOde02 should go to a different IP address.
But SNMP configuration file is in common directory.
community xxxxxprivate 0.0.0.0 read
trap v2c xxxxxprivate 0.0.0.0
community xxxxxpublic 18.104.22.168 read
trap v2c xxxxxpublic 22.214.171.124
community xxxxxpublic 126.96.36.199 read
trap v2c xxxxxpublic 188.8.131.52
for example the above 184.108.40.206 and 220.127.116.11 should be for two different nodes on the cluster as destination. Both are getting updated on the same, we suspect the alerts will be triggered to both the nodes for single event.
Command used is
$ tcpip set conf snmp /address="ip"/community="name"
In a cluster we need to create seperate community for each system
currently what ever community we are adding is reflecting on all the cluster node as we are using single system disk
Please provide us your inputs to fix this...
How to configure SNMP to be node specific on cluster systems with commom system disk?
10-11-2011 08:39 AM
Call HP support. This looks like a gap in the features and capabilities of their SNMP tool chain configuration design and documentation.
As for one potential work-around, try defining a logical name TCPIP$SNMP_CONF first. Probably in the SYLOGICALS.COM file. See if you can use that logical name to reference a host-specific configuration file. (I haven't tested this, and I haven't researched the internal details of how SNMP references its configuration file. If it does it per VMS filename and default name specification norms, this will work. If they've hard-coded the directory path, not so much.)
Then (if that logical name redirection doesn't work) set up the SNMP user with a searchlist logical name for the login. (Based on your question and your phrasing, I'm guessing you're not familiar with OpenVMS and with clustering; this workaround is based on the configuration of the cluster logical names.)
Then (failing either of these) wait for what HP support might suggest, or look to use an SNMP tool that better meets your needs, or configure your SNMP server to forward messages.
10-12-2011 01:40 AM
Hi Jos, welcome to the OpenVMS forum!
If I understand this environment correctly, you are probably looking for Comtek traps from one site to go to a particular address, and traps from cluster members in the second site to go to another address.
Analysing the SNMP images suggests that SYS$SYSDEVICE is hard coded within the image.
A possible mechanism, to make your configuration site specific, is to make use of SYS$STARTUP:TCPIP$SNMP_SYSTARTUP.COM, which is called from SYS$STARTUP:TCPIP$SNMP_STARTUP.COM.
Within the site startup procedure you could create a site-dependent TCPIP$VMS_SNMP_CONF.DAT, although this could causing timing issues when two nodes from different sites are starting SNMP at the same time. You might also look at logical names for the trap destination.
Finally, you paid Comtek for support (I know!) and they were very happy to oblige when this client was first set up, so try giving them a call.