Configuring Auto Heal

Overview

Auto Heal lets your site take an administrative action, such as recycling its application pool, when a condition you care about is raised. For what those conditions and actions are, see The Auto Heal setting.

There are two ways to configure it:

  • The Control Panel setting. A single Enabled or Disabled choice. Use this if you just want Auto Heal switched on.
  • Your site's web.config. Use this if you want to define your own triggers, thresholds and actions.

Enabling Auto Heal in the Control Panel

Auto Heal is available on every site, including sites on the Shared Cloud. It does not require a Reserved Cloud Server.

  1. Log in to the Everleap Control Panel at cp.everleap.com.
  2. From the top menu click Shared Sites.
  3. On the Shared Cloud Sites Overview page, click Manage next to the applicable site.
  4. On the Site Overview page, click the SETTINGS tab.
  5. Click the General tab.
  6. Set Auto Heal to Enabled.
  7. Click Update General Settings.
The Auto Heal setting on the General tab of Site Settings, a dropdown set to Enabled

Defining triggers and actions in web.config

The Auto Heal triggers and actions can be manually defined in the root web.config file of your web site.

For a list of elements, attributes and settings, please see this Microsoft blog post.

Verify it worked

For the Control Panel method, return to the General tab and confirm Auto Heal reads Enabled.

For the web.config method, confirm the file uploaded without error and the site still loads. A malformed web.config will take the site down with an HTTP 500, so keep a copy of the working file before you edit it.

Notes

  • Recycling an application pool ends in-progress requests and clears anything held in memory, including in-process session state. Set thresholds with that in mind.
  • Do not confuse Auto Heal with Always On, which sits directly below it on the same page and does require a Reserved Cloud Server. See The Always On setting.

Related articles