Patent ID: 8706885

Claim:
A method for a device intermediary to a plurality of clients and a plurality of services to determine a health of a virtual server, the method comprising: (a) establishing, by a device intermediary to a plurality of a clients and a plurality of services executing on one or more servers, a virtual server to manage the plurality of services, each service of the plurality of services has a configuration on the device that specifies a weight and whether the configuration is enabled or disabled; (b) identifying, by the device via monitoring of the plurality of services, that a service of the plurality of services, with a configuration that is disabled, has a status of up; and (c) determining, by the device for the virtual server, a health comprising a first sum of each weight specified by the configuration on the device for each of the plurality services that has the status of up divided by a second sum of each weight specified by the configuration on the device for each of the plurality of services for which the configuration is enabled, the second sum excluding the weight of the service with the configuration that is disabled.