Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
7 posts • Page 1 of 1
7 posts
• Page 1 of 1
uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm
Send General Query with SNMP Manager on redundant system
Postby uxout »
Hello,
I'm using WinCC OA 3.15P1 on Win10 x64.
I'm using SNMP Driver on a redundant system and I want to send a GQ from the active (let's say server 1 here) server to SNMP agent 1 (correctly connected).
I tried:
Re: Send General Query with SNMP Manager on redundant system
Postby rglock »
Hello,
at first some general clarification:
_Driver1.GQ represents the driver with driver number 1 at the first redundant partner
_Driver1_2.GQ represents the driver with driver number 1 at the second redundant partner
Setting 1,2,3... at this GQ-Element in case of SNMP means the Agent Number, to which the GQ should be sent.
Example:
Setting _Driver1.GQ = 5 (via dpSet), means "send a GQ to the SNMPAgent 5, configured at the SNMP Manager, running with number 1"
Normally the config.redu of the WinCCOA-version contains the following line (and other DPEs in addition):
# Commands for the driver
[event]
copyDpType = "_DriverCommon.GQ"
Setting _Driver1.GQ = 5 will therefore lead to copying the value 5 to _Driver1_2.GQ and that's the reason, why the driver 1 at the second redundancy partner will also send a GQ (because it reacts on _Driver1_2.GQ-Element).
Re: Send General Query with SNMP Manager on redundant system
Postby leoknipp »
Modifying the config.redu-file for the WinCC OA installation is not the best idea.
When installing an update the settings will be changed.
With the config entry drvGQ you can defined which dp element shall be used to trigger a GQ. The default value is _Driver.GQ
You can define your own dp-element (which is not copied by the config.redu settings) for the SNMP driver to start a GQ.
Where is the problem if the GQ is send by both redundant servers?
Data received by the driver on the passive server will be discarded.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: Send General Query with SNMP Manager on redundant system
Postby uxout »
Ok, this could be better for my case, thanks.
Actually, it's not a problem, it is just one need in the project : only active server sends/receives SNMP message, passive do nothing. (even the traps must be discarded).