Startup Process¶
This section explains how to perform the DataSync startup process, which consists in preparing DataSync in all the sites that need to be connected.
Hub Initialization¶
The first step in the startup process is to initialize DataSync on what will be the Hub site. To do this, the first thing to do is to install the sites in the Hub.
Once the Sites have been installed, all of them will be in an "Uninitialized" state, which means that no exports will be performed to them until they change their state to "Active".
The next step is to configure DataSync as an application desired to be replicated through its own rules, this can be done by executing the "InitializeHub" end-point in the Initialization app-service:
Info
This process can only be executed at the Hub site.
Satellite Initialization¶
Once DataSync has been correctly configured in the Hub, the startup on the Satellite site/s can be started:
First it is needed to execute the "StartupData" end-point method in the Initialization app-service, indicating which is the Satellite site wanted to be configured. Once this process ends Save the data returned by the end-point, as it will be needed to initialize DataSync on the Satellite.
Finally, run the "InitializeSatellite" end-point in the Satellite wanted to be configured, providing the StartupData generated in the previous step.
Once this process is completed, the Satellite site will be marked as "Active" through the auto-replication process, allowing the Hub to start performing exports to it.