I am in the process of developing some Power Handling Programs and wondering what people think would be the best way to cummunicate bewteen 2 iSeries Servers on the same network in the same domain ?
Software/Hardware used:
ASKED:
May 6, 2008 7:01 PM
UPDATED:
May 7, 2008 3:41 PM
Again, as I stated I’m developing some Power Handling Programs, so I am using CL and want to communicate each systems status to the other. These systems each have Dual Power Supplies, but are in the same rack and share UPS’s.
In the case of being notified that there has been a Power Failure I want to check to see if the other system has received the same CPF message and make decisions based upon that info.
Any other thoughts,
Thanks,
Bill
Thank you for supplying the additional information. Given a CL base and very small data requirements I believe the easiest solution for you is to use remote data queues.
Your CL program uses the Send Data Queue CL command and on the other system a CL program uses the Receive Data Queue command (specifying a wait time of forever) to receive status information from the sending system. Set up two remote data queues (one from System A to System B, one from System B to System A) and you’re in action. This type of approach, and how to set everything up (which isn’t much), is also in the APIs at Work 2nd Edition book I referenced earlier.
Bruce Vining
http://www.brucevining.com/