

# Manage source server records

Use the **Source servers** page to add new source servers, edit the details of existing servers, and organize servers by using the **Actions** menu.

To add a server, choose **Add server**. The **Add servers** prompt opens, allowing you to create a custom installation command.

To create a custom installation command:

1. Select your operating system. The installation command is different for Windows and Linux
**Note**  
If you want to install the AWS Replication Agent on a legacy Windows OS (Windows Server 2003, Windows Server 2008 or Windows Server 2008 R2), you must choose the **Legacy OS: Windows Server 2003 or Windows Server 2008** box. This downloads a unique version of the AWS Replication Agent installer that is only valid for legacy Windows OSs (`AwsReplicationWindowsLegacyInstaller.exe`). **Do not** use this installer file to install the agent on any other OS types.

1. Select your replication preferences for the source server. The selected preferences are added as installation prompts to the custom installation command that is generated by this form.

   Choose the **Replicate all disks** option to replicate all of the disks of the source server. This is the default option. This option adds the `--no-prompt` prompt to the installation command.

   Select the **Choose which disks to replicate** option to choose which specific disks you want to replicate. You are prompted to select which disks to replicate during agent installation.

1. Enter the credentials [you previously generated for AWS Replication Agent installation](credentials.md). The form does not send the secret, but does add it to the installation command.

1. If you are adding a Windows source server to AWS MGN, download the installer onto the source server. The installer is downloaded from the AWS Region of your account. If you're adding a Linux source server, skip this step.

1. Copy the generated custom installation command and input it into the command line on your source server. Proceed with [AWS Replication Agent installation as instructed in the documentation](agent-installation.md).

To run a variety of commands on your source servers, select one or more servers and choose the **Actions**, **Replication**, or **Test and cutover** menu.

## Edit server
<a name="server-edit-main"></a>

To edit a source server, select the server and choose **Edit**. You can edit the following fields:
+ **User-provided ID** – Edit the user-provided identifier for the source server. This value is case insensitive.
+ **FQDN** – Edit the fully qualified domain name for the source server.
+ **Platform** – Edit the platform of the source server. This field is editable only for imported servers. Once a server begins replicating, the platform is automatically detected and cannot be modified.

## Actions menu
<a name="server-actions-main"></a>

The **Actions** menu allows you to perform these actions:
+ **View server details** – Choose this option to see the server details view for the selected server. This option is only available when a single server is selected.
+ **Add server to application** – Choose this option to easily add servers to an application.
+ **Disconnect from service** – Uninstall the AWS Replication Agent from the selected servers and stop data replication. [Learn more about disconnecting a source server](server-post-migration.md#server-post-migration-disconnect).
+ **Mark as archived** – Archive servers for which you have already performed a cutover. [Learn more about archiving a source server](server-post-migration.md#server-post-migration-archive).
+ **Delete from service** – Remove the selected servers from MGN. Only servers that are not actively replicating can be deleted. [Learn more about deleting a source server](server-post-migration.md#server-post-migration-delete).