Shared server guidance · Question & answer

What safeguards should automated server remediation have?

Automated remediation should act only on a well-defined condition with a predictable, tested response. A broad restart or cleanup loop can turn a small fault into an outage or hide the evidence needed to diagnose it. Start with narrow, observable actions and a way to stop them.

AdvancedLinux and Windows dedicated servers and VPSs; planning guidance
Go to the answer

Before you start

  • A reviewed runbook, test environment, service owner and the automation platform’s supported controls.

Instructions

1. Define the permitted action

Specify the exact service or resource, preconditions and success signal. Use the minimum required permissions and ensure repeating the action does not create additional harm. Avoid automating destructive deletion, account-wide changes or database promotion from a vague CPU or reachability alert.

2. Bound repetition and scope

Set timeouts, a maximum number of attempts and an appropriate cooldown. Use backoff where repeated attempts could overload a dependency. Prevent overlapping executions and ensure the automation distinguishes its own failed health check from a confirmed service fault.

3. Test failure and escalation paths

Rehearse successful repair, unsuccessful repair and loss of monitoring data. Record each decision and result, and send unresolved conditions to the responsible team. Provide a controlled disable mechanism, preserve diagnostic evidence and review the action after platform or application changes.

Check the result

  • The action is scoped, repeat-safe where required and stops after the defined unsuccessful attempts.
  • A failure reaches a human responder with the recorded evidence.

Troubleshooting

The service repeatedly restarts without recovering
Stop the authorised remediation loop, preserve its history and investigate the underlying failure. Repeated restarts may worsen load, lose work and conceal the original error.

Official references

Use the documentation for your installed version when a flag, service name or platform feature differs.