MIDServerCluster - Global

Finds the MID server clusters for a given MID server and reassigns the jobs if necessary.

If the MID server agent is up, this class gathers all MID servers (including the original agent) in the load balance clusters that the original agent is part of. If the MID server agent is down and the cluster is load balanced, the class gathers the other agents. If the server agent is down, and the cluster is failover, it gathers the next failover agent. The class then randomly returns the MID server in the final list of MID servers.

Use in server scripts to get MID server cluster information.