Troubleshooting issues with DataSync agents (original) (raw)

Use the following information to help you troubleshoot issues with AWS DataSync agents. Some of these issues can include:

How do I connect to an Amazon EC2 agent's local console?

To connect to an Amazon EC2 agent's local console, you must use SSH. Make sure that your EC2 instance's security group allows access with SSH (TCP port 22).

In a terminal, run the following ssh command to connect to the instance:

ssh -i /path/key-pair-name.pem instance-user-name@instance-public-ip-address

What does the Failed to retrieve agent activation key error mean?

When activating your DataSync agent, the agent connects to the service endpoint that you specify to request an activation key. This error likely means that your network security settings are blocking the connection.

Action to take

If you're using a virtual private cloud (VPC) service endpoint, verify that your security group settings allow your agent to connect to the VPC endpoint. For information about required ports, see Network requirements for VPC service endpoints.

If you're using a public or Federal Information Processing Standard (FIPS) endpoint, check that your firewall and router settings allow your agent to connect to the endpoint. For information, see Network requirements for public or FIPS service endpoints.

I still can't activate an agent by using a VPC service endpoint

If you're still having issues activating a DataSync agent with a VPC service endpoint, see I don't know what's going on with my agent. Can someone help me?

What do I do if my agent is offline?

Your DataSync agent can be offline for a few reasons, but you might be able to get it back online. Before you delete the agent and create a new one, go through the following checklist to help you understand what might have happened.

If none of these seem to be the reason that the agent is offline, you likely need to replace the agent.

I don't know what's going on with my agent. Can someone help me?

You can allow AWS Support to access your DataSync agent and help troubleshoot agent-related issues. You must enable this access through the agent's local console.

To provide Support access to your agent
  1. Log in to your agent's local console.
  2. At the prompt, enter 5 to open the command prompt (for VMware VMs, use 6).
  3. Enter h to open the AVAILABLE COMMANDS window.
  4. In the AVAILABLE COMMANDS window, enter the following to connect to Support:
    `open-support-channel`
    If you are using the agent with VPC endpoints, you must provide a VPC endpoint IP address for your support channel, as follows:

`` open-support-channel`vpc-ip-address` ``
Your firewall must allow the outbound TCP port 22 to initiate a support channel to AWS. When you connect to Support, DataSync assigns you a support number. Make a note of your support number.

Note

The channel number isn't a Transmission Control Protocol/User Datagram Protocol (TCP/UDP) port number. Instead, it makes an SSH (TCP 22) connection to servers and provides the support channel for the connection. 5. When the support channel is established, provide your support service number to Support so that they can provide troubleshooting assistance. 6. When the support session is finished, press Enter to end it. 7. Enter exit to log out of the DataSync local console. 8. Follow the prompts to exit the local console.