Which server am I connected to?

I have seen a lot of functions that give information on the servers, but the one i am looking for is elusive.

ServerIsOnline wil give me the status of the servers - both the primary and standby.

However, I am only communicating to one of them at a time.

How would I find out which one I am talking to?

Parents
  • The way I have always thought about this is that one server was doing the bulk of the communications, and the standby was monitoring it. The Alarm server is redundant, with 2 running at the same time, where the Trend and Report have 1 running and one not.
    I've worked thorugh this pretty well with the servers. Still having trouble in the I/O.
    For example, I would like to read the number of errors from an I/O device.
    IODeviceInfo("Device",20,sCluster)
    Client side functions (3) work fine, but it seems that the number of errors is a server side function.
    MsgRPC should get this, but if it is set as unblocked, it does not return a result and if it is set as blocked, the code trips an error and doesn't complete.
    How would you display the number of errors for an IODevice on the graphics?
Reply
  • The way I have always thought about this is that one server was doing the bulk of the communications, and the standby was monitoring it. The Alarm server is redundant, with 2 running at the same time, where the Trend and Report have 1 running and one not.
    I've worked thorugh this pretty well with the servers. Still having trouble in the I/O.
    For example, I would like to read the number of errors from an I/O device.
    IODeviceInfo("Device",20,sCluster)
    Client side functions (3) work fine, but it seems that the number of errors is a server side function.
    MsgRPC should get this, but if it is set as unblocked, it does not return a result and if it is set as blocked, the code trips an error and doesn't complete.
    How would you display the number of errors for an IODevice on the graphics?
Children
No Data