To understand how to install CloudMigrator in a multi-server environment, it is useful to understand the architecture and how CloudMigrator operates in a multi-server environment.
Multi-server CloudMigrator can be setup on in-house servers or can be setup using any of the cloud hosting providers such as Google Cloud Compute, Microsoft Azure and Amazon EC2. Installation is straightforward as long as the servers are all installed within the same network and some simple rules are followed when cloning any secondary services.
If you have any problems installing CloudMigrator, please refer to the installation issues article.
Multi-Server Connection Issues
If you have problems getting a multi-server environment setup, or issues with communication between servers, check the troubleshooting checklist.
The user interface is the central point of administration for CloudMigrator in both single and multi-server modes. Migrations are started and stopped from the interface, and feedback on the progress of the migration is provided through the interface. The user interface is always installed to the same server as the primary service. In CloudMigrator 3.0 you have the choice of a browser interface or a desktop application.
The primary service is the main point of control for migration processes. The user interface communicates with the primary service to start and stop migrations. The primary service allocates individual user migrations to secondary services and provides control and load balancing of user migrations. The primary service is always installed to the same server as the user interface.
Only one primary service per network should be installed.
Please note that the primary Server's name shouldn't be longer than 15 characters
Secondary services perform the actual migration of data from the source and destination platforms. They are controlled by the primary service. A secondary service can also be installed on the same server as the primary service in a simple setup but in a multi-server configuration this is not recommended. Usually they are installed on many servers to provide massive scalability for CloudMigrator. You must have at least one secondary service in the system to perform migrations.
Secondary services are installed within the same network as the primary server, whether that be on a migration farm built within your own network infrastructure or built on Google Cloud Compute, Microsoft Azure or Amazon EC2.
Source and Destination Platforms
The source and destination platforms are your platforms where your data is being migrated from and to. CloudMigrator supports the widest range of source and destination platforms for migration from almost any platform.
The following components make up and are used by CloudMigrator
- Desktop Application and Primary Service
- Secondary Service
- SQL Server Express 2014
Performing a Multi-Server Installation
The most common way to setup CloudMigrator in a multi-server environment is as follows:
- Install the user interface and primary service on a server
- Install many secondary services on many servers
Following installation of one or more services you should start CloudMigrator and check that the services can communicate with each other. To do this perform the following:
- Open CloudMigrator (available from the start menu)
- Ensure multi-server migrations are enabled
- Open the Remote Migration Connections dialog from the tools menu (Desktop: CloudMigrator Service Manager > Remote Connections, or Web: Burger Icon > Remote Connections)
- Check your servers are connected. If you have installed secondary servers and they are not visible then refer to the multi-server troubleshooting section.
- For more information about the Remote Connections dialog, see the documentation.
When CloudMigrator is running and servers are connected, you are ready to complete configuration or start a migration.
You should install a primary service before installing secondary services.
Ensure that primary and secondary systems can communicate via their DNS names. This may require adding HOST file references, in environments without working DNS.
How a Multi-Server Migration Works
When a multi-server migration is ran the following takes place:
- CloudMigrator allocates the migration to the primary service
- The primary service allocates user migrations to the secondary servers depending on their configuration and current capacity
- The secondary servers process the migrations and report back status during a migration and when it completes
- When a migration completes on a secondary service, it will automatically run another migration if there are more to be ran
- If for any reason a secondary service fails to run a migration, if the secondary service or secondary server crashes or is restarted, then the migrations being processed on that secondary will be allocated to another secondary
- When the migration completes reports are generated on the primary server