Post-migration Checks

After migration is completed, you should verify that the transferred resources are available on the destination server. To do this, issue the following command:

panel-migrator test-all config.ini

It generates a report and save it into a file - sessions/migration-session/test-all-report.<date>. This report has a tree structure that represents a hierarchy of clients, subscriptions, and subscription services. For details on how to process it refer to the corresponding section of this guide.

Post migration checks verify the following aspects:

Websites

Web pages and Web applications need to function in the same manner on the source and destination servers. For this reason, the main page and links to the same website (or relative links) located on the main page are checked.

For each migrated domain, the following items are checked:

For each site, the main page is requested from the source server and destination server. The contents of the main page are analyzed and all the relative links of the elements of the type <a href="RELATIVE_URL"> series are divided into groups according to two criteria:

From each group, one RELATIVE_URL is selected and addresses like http(s)://DOMAIN/RELATIVE_URL are compiled. For each selected object, a request is sent to the appropriate address on the source and destination servers. The resulting web page is analyzed for the presence of HTTP errors.

A result is considered positive if both of these conditions are met:

A result is considered negative if at least one of these conditions is met:

Mail

For each migrated domain, all mail accounts of the source server must be present on the destination server.

DNS

Resource records should be transferred from the source server to the destination server, and IP addresses of the source should be replaced with addresses of the destination, according to the IP mapping file compiled during migration. The list of the main DNS records includes A, MX, NS records, records for domains and subdomains with the prefixes www, ipv4, ipv6, ftp, and webmail.

For each migrated domain, a list of the main DNS server entries is retrieved with the dig utility. After that, the values for the main DNS records are compared with the IP address or domain name used by the service.

Databases

For each migrated domain, all databases from the source must be present on the destination server. The following checks are performed:

System users

System users - users that can connect to the server over remote access protocols (FTP, and SSH / RDP) and manage files in a webspace. By default, when you create a webspace, the main system user is created, whose account can be used to log in over FTP, SSH or RDP. Also, customers can create additional users that can access the webspace only via FTP.