Wednesday, May 18, 2011

Citrix: Error - Health Monitoring and Recovery test failed

Access Management Console is showing the following error message.




Consequence
Server is not showing in QFARM /LOAD command and users unable to access published applications from that server.

Reason
This is due to the Farm Properties settings. One of the recovery actions is to remove the server from load balancing. Citrix included a range limiter to not remove more thant X% of servers from load balancing basically to prevent a complete farm failure.


































If XML Service Test fails to the meet the required condition, the server will be out of QFARM /LOAD command. If you select XML Service Test and then click on Modify button, you will get the Recovery Option is set to Remove Server from load balancing. This is the defult settings.

Note: You can modify the settings by selecting the Task Name and then set the recovery option by clicking on the Modify button and then select the Recovery action from the drop-down list.



























Steps to add server in the QFARM /LOAD
  1. Open Command Prompt.
  2. Execute the following command:

    ENABLENLB <ServerName>
Notes:
  • HMR is available only on the Windows platform.
     
  • What methodology does HMR use to remove a server from load balancing?
    Citrix makes a call to IMA service to tell the server to remove itself. This is not stored in the Data Store, it is dynamic data. The server in question will then alert the DC that it has been removed.
     
  • Is there a way to setup e-mail alerts or at least upon a failure to have the ability to run a batch or other commands (i.e. scripts, etc.) ?
    The HMR service writes entries to the event log when the tests fail. These are picked up by EdgeSight 5.0 and you can use the EdgeSight alerting capability to set alerts for those events.

No comments:

Post a Comment