Troubleshoot agents
Use the following guidance when an agent is not behaving as expected. You see each resource provider's agent status on the Download and manage agents page for your appliance, and its synchronization status in the Resource providers table on the appliance details page.
Synchronization fails or a resource's status is stale
AWS Backup doesn't report a connected or disconnected state for agents. To see whether the appliance can work with an agent, check when the resource provider last synchronized. In the AWS Backup console, open the details page of the appliance. The Resource providers table shows each resource provider's Status, for example Sync completed, and its Last completed sync at time. With the API, call GetResourceProvider and check LastSyncStartedAt and LastSyncCompletedAt.
AWS Backup synchronizes registered resources with the appliance on a periodic cycle, so newly registered resources and status changes might not appear right away. To refresh sooner, start a synchronization in the AWS Backup console or with StartResourceProviderSync.
If synchronization fails or hasn't completed recently, check the following:
-
If this is the first synchronization after you registered the resource, the agent might hold another appliance's certificate. Replace it with the certificate of the appliance that you registered the resource with, and start the synchronization again. See Move a host to a different appliance.
-
The host is powered on and the agent service is running.
-
The host can reach the appliance on your network. Agents communicate only with the appliance, not with AWS directly.
-
The agent's stored certificate and configuration are still on the host. See If you lose or delete the certificate.
-
The agent is up to date. See Agent version compliance.
-
For a clustered resource, the agent is installed and up to date on every node.
The agent doesn't start after you install it
If the install succeeds but the agent service doesn't start, the certificate file that you passed to the installer might not be a valid agent certificate, for example because the download didn't finish. Download the certificate again from the AWS Backup console or with GetAgentDownload, and reinstall the agent.
Backups of an agent-based resource fail
Work through the checks in Synchronization fails or a resource's status is stale. If the agent compliance status is UPGRADE_AVAILABLE, upgrade the agent, because compatibility is guaranteed only for agents up to two versions behind. See Upgrade backup agents.
An agent upgrade failed
If an agent upgrade fails, the agent's upgrade status is FAILED. For a clustered resource, the upgrade status is reported for the resource provider, not for each node. The status message (AgentUpgradeStatusMessage in GetResourceProvider) names the nodes where the upgrade failed. Remediate the identified host and start the upgrade again in the AWS Backup console or with StartResourceProviderAgentUpgrade.
Get support
If you cannot resolve an agent issue, open a case with AWS Support. You engage only AWS Support for agent and appliance issues.