

# Monitor appliance health

You monitor the appliance from the AWS Backup console and from Amazon CloudWatch.

## Appliance and node states
<a name="appliance-monitor-states"></a>

### Management status
<a name="appliance-monitor-mgmt-status"></a>

The management status shows the state of the appliance as AWS Backup manages it. AWS Backup sets it, and you can't change it directly. It's in the `ApplianceManagementStatus` field.


| Status | What it means | What you can do | 
| --- | --- | --- | 
| PENDING | The appliance is being created. AWS Backup is waiting for its nodes to be deployed, activated, and verified. | Deploy and verify the nodes. See [Deploy a backup appliance](appliance-deploy.md). | 
| AVAILABLE | The appliance is ready to run backup and restore work. | No action needed. | 
| UPDATING | AWS Backup is updating the appliance software. | No action needed. Backup and restore jobs continue to run. The status returns to AVAILABLE when the update finishes. You can't delete the appliance during an update. | 
| DISCONNECTED | AWS Backup can't reach the appliance and hasn't been able to for a while. New backup and copy jobs don't start. | Check that the appliance's nodes are running and can reach AWS. See [Local console and offline troubleshooting](appliance-local-console.md). When AWS Backup can reach the appliance again, the status returns to AVAILABLE on its own. | 
| SUSPENDED | The appliance hasn't installed a required software update for 90 days. New backup jobs, copies to the appliance, and resource syncs don't start. Restores and copies to the cloud still work. | Make sure the appliance is connected so that it can install the update. The status returns to AVAILABLE when the update completes. | 
| DELETING | AWS Backup is deleting the appliance. Backup, restore, copy, and sync jobs don't start. | No action needed. | 
| DELETED | The appliance is deleted. | No action needed. | 
| DELETE\_FAILED | AWS Backup couldn't delete the appliance, usually because its nodes couldn't be reached. You can't run or change the appliance. | Retry the deletion or force delete the appliance. See [Delete an appliance](appliance-delete.md). | 

Each node also has a management status, in the `NodeManagementStatus` field:


| Status | What it means | 
| --- | --- | 
| PENDING\_VERIFICATION | AWS Backup has discovered the node and is waiting for you to verify it. | 
| PENDING\_NODE\_ADDITION | You verified the node, and AWS Backup is adding it to the appliance. | 
| AVAILABLE | The node is part of the appliance and working. | 
| FAILED | The node couldn't be added to the appliance, for example because its IP address isn't in the appliance's subnet or its data and metadata disks are the same size. The node's notification gives the reason. Delete the node, fix the problem, and deploy a new node. | 
| UPDATING | AWS Backup is updating the node's software. | 
| DELETING, DELETED | The node is being deleted, or has been deleted. | 

### Operation mode
<a name="appliance-monitor-operation-mode"></a>

The operation mode is the setting you control to pause or resume new work on the appliance. It's in the `ApplianceOperationMode` field, and it changes independently of the management status.
+ PENDING: The appliance is being created. You can pause or resume it after it becomes AVAILABLE.
+ RUNNING: The appliance accepts new jobs.
+ PAUSED: The appliance doesn't start new backup jobs or copies to the appliance. Restores and other work continue.

To pause or resume, call `UpdateAppliance` with `ApplianceOperationMode` set to `PAUSED` or `RUNNING`. The management status can also stop new work. See [Management status](#appliance-monitor-mgmt-status).

### Health status
<a name="appliance-monitor-health-status"></a>

Health status tells you whether your backup appliance is working: whether AWS Backup can reach it, whether it's connected, and whether it can take on and run backup and restore work. Each node in the appliance also has its own health status. It's in the `HealthStatus` field.

Health status describes the appliance itself, not the results of your jobs. A healthy appliance can still have a job that fails. For example, a backup might fail because a protected resource is offline or a permission for that resource is missing. When that happens, the appliance is doing its job correctly: it ran the work and reported the result. The job shows the failure and the reason, and health status doesn't change. To track job results, check each job's status, and use the job metrics that AWS Backup publishes to CloudWatch in your account.

Health status changes only when something affects the whole appliance, such as lost connectivity or low storage. It stays that way until the problem is fixed, then returns to HEALTHY on its own.


| Status | What it means | Typical causes | 
| --- | --- | --- | 
| HEALTHY | The appliance or node is reachable, connected, and able to run backup and restore work. | No issues are active. | 
| WARNING | An issue needs your attention but doesn't yet stop the appliance from running jobs. If you leave it unresolved, it can affect performance or data protection later. | Storage or metadata capacity running low, a disk reporting errors, a node below the minimum CPU or memory, a node that is unhealthy while the appliance can still tolerate it, or a configuration or software update that didn't complete. | 
| CRITICAL | An issue is stopping, or is likely to stop, the appliance or node from running jobs or communicating with AWS Backup. Act now. | The appliance, or a node that is part of the appliance, has stopped responding; a required network endpoint, DNS server, or gateway can't be reached; the appliance IAM role can't be used; more nodes are unhealthy than the appliance's node fault tolerance allows; or an internal appliance error that needs AWS Support. | 
| UNKNOWN | Health can't be determined yet. | The appliance or node is being created, deleted, or disconnected, or a node is being added or couldn't be added to the appliance. Check the node's notifications for the reason. | 

One permission problem does affect health status. If AWS Backup can't use the appliance IAM role, or the role is missing the permissions the appliance needs to communicate with AWS Backup, the appliance can't run any work or report its status. Because this stops the whole appliance and only you can fix it, the appliance's health status changes to CRITICAL. The notification says that the role is the cause. To fix it, check that the role's trust policy allows `backup-external.amazonaws.com`, and that the role allows `backup-external:AppliancePlatform`, for example by attaching the `AWSBackupServiceRolePolicyForBackupAppliance` managed policy. For details, see [Create the appliance IAM role](appliance-deploy.md#appliance-deploy-iam-role).

Losing access to the local vault's AWS KMS key doesn't change health status. Jobs that need the key fail, and each job shows the error.

## How node health affects appliance health
<a name="appliance-monitor-node-health"></a>

Each node has its own health status. The appliance's health also reflects the health of its nodes. If any node is WARNING or CRITICAL, the appliance shows at least WARNING. If more nodes are unhealthy than the appliance's node fault tolerance allows, the appliance becomes CRITICAL. The appliance always shows the more severe of its own status and the status that comes from its nodes.

## Where to see health status
<a name="appliance-monitor-where"></a>
+ AWS Backup console: on the appliance details page, and for each node in the appliance's node list.
+ API: the `HealthStatus` field in the responses to `GetAppliance`, `ListAppliances`, `GetNode`, and `ListNodes`.
+ Amazon CloudWatch: the `HealthStatusHealthy`, `HealthStatusWarning`, `HealthStatusCritical`, and `HealthStatusUnknown` metrics. For details, see [Backup appliance metrics](cloudwatch.md#cloudwatch-appliance-metrics).

## Notifications
<a name="appliance-monitor-notifications"></a>

The notifications explain why an appliance or node has its current health status. Each notification describes one active issue: what was detected and what you can do about it, for example checking network access to an endpoint, adding disks or nodes, or contacting AWS Support.
+ Where to find them: on the appliance and node details pages in the AWS Backup console, and in the `Notifications` field of the `GetAppliance`, `ListAppliances`, `GetNode`, and `ListNodes` responses. Each notification has a `Message`.
+ When they clear: a notification disappears when its issue is resolved. Many notifications include the time they are expected to clear if the issue is resolved. If the issue continues, the notification stays. A notification for a node that couldn't be added to the appliance stays until you delete the node. Deleted nodes still appear in the node list with a status of DELETED and their last notification. You can ignore notifications on deleted nodes.
+ Where they appear: a notification is attached to the appliance or node that the issue is on. When enough nodes are affected to change the appliance's health, the appliance also shows a notification.
+ A HEALTHY appliance or node usually has no notifications. A node may still show an informational notification, for example that a new disk is available.

## Pause and resume an appliance
<a name="appliance-monitor-pause"></a>

To stop new backup jobs and copies to the appliance from starting, pause it. Backup jobs that are already running on the appliance complete. Restores, copies to the cloud, and resource syncs continue. In the AWS Backup console, open the details page of the appliance and choose **Pause appliance**. To resume, choose **Resume appliance**. The **Operation mode** field on the details page shows the current mode, for example **Running**.

With the API, call `UpdateAppliance` with `ApplianceOperationMode` set to `PAUSED` to pause, or to `RUNNING` to resume. `GetAppliance` and `ListAppliances` return the appliance's current operation mode.

## Disconnected behavior
<a name="appliance-monitor-disconnected"></a>

If the appliance's management status is DISCONNECTED:
+ No new backup or copy jobs start. New backups fail with a status message.
+ Local-vault restores and deletes fail.
+ Queued jobs remain in a created state and start when the appliance reconnects.
+ In-flight backups keep trying to complete locally until the backup window or an internal timeout. If the appliance does not reconnect in time, the job expires. If it reconnects in time, the job completes or fails. If the appliance stays disconnected, in-flight copy jobs fail.
+ Local recovery points are not lifecycled while disconnected. Over-retention recovery points are cleaned up after the appliance reconnects.
+ Appliance and node management operations might not complete until the appliance reconnects.