...
Stop replication on Test (disable scheduler, manually execute Receive and Import only). Because the Replicator Scheduler stores the settings in the DB, turn off all Replicator Services in the Test environment.
Take full Production DB backups on all sites that are represented on Test. Start taking backups from the Main Site.
Save all needed links (settings) from Global Options of the Test system (URL to Crew Portal in Web Services).
Restore backups for on the Test DBs SQL server by either restoring as a new database or using the overwrite option. Pay attention to the destination database name and files.
Once all backups are restored, a superuser should open Adonis Control Center and retype passwords for inbuilt DB users (ADPW, REPL, AD_UPGRADE). You can skip this step if passwords match between the Prod and Test.
The Adonis DB version on Production often differs from Test; run the APM upgrade to the desired version. If APM versions on Production and Test are the same, you can skip this step.
Login to APM and remove any link or reference to Production services and add saved ones for Test system
Web Service
Crewlink (if applicable)
Global Options ,
Notification tasks
Remove all files from in\Receive, in\ImportStorage, in\archive, out\send, and out\Archive of all Replicator instances on Test. Start Replicator Service. Run the full replication circle manually, starting from the Main Site. If some replication files appear missing, take copy them from the Production Main Site corresponding Archive folder. Enable After the complete replication cycle, enable Replicator Schedulers.
Note |
---|
This method requires database backups to be taken as close in time as possible. Otherwise, between steps 6 and 7, superuser would need to synchronize the last import\export file numbers and times between al sites. |
...
Info |
---|
Backup and Restore the office and reset the replication date. Install / backup an empty database on each vessel site and set the last replication cab file nr for each site based on the nr found in the office database. The replicator Replicator continues replicating to the vessel, and the first cab file created contains all data for the vessel from 01/01/1900 |
...
Stop replication on Test (disable scheduler, manually execute Receive and Import only). Because Replicator Scheduler stores the settings in the DB, turn off all Replicator Services in the Test environment.
Take full Production DB backup from the Main Site.
Restore backup over the Test Main Site DB. Use You can use the overwrite option. Pay attention to the destination database name and files.
Once the backup is restored, a superuser should open Adonis Control Center and retype passwords for inbuilt DB users (ADPW, REPL, AD_UPGRADE). You can skip this step if passwords match between the Prod and Test.
The Adonis DB version on Production often differs from Test; run the APM upgrade to the desired version. If APM versions on Production and Test are the same, you can skip this step.
Login to APM and remove any link to Production services (Web Service, Crewlink, etc.) Manually restore necessary Test settings (Global Options, Notification tasks, etc.)
Login to APM on the Main Site, and set all vessel sites , and clear the last Export/Import file numbers and times for all channels.
Clean satellite sites. Login to APM, choose root level as a current client, and open Standard crew list view showing both employed and terminated crew. Tag all crew, call right-click menu and choose to delete selected crew.
To prevent spreading deletion from the Satellite sites, set the last export time to 'now' after deletion.
and corresponding channels to inactive.
Create new sites and channels for the Test vessels keeping the Organization’s assignment.
On satellite sites, uninstall all Adonis applications.
Clean the Adonis application folders from any remaining files.
Rename or delete the old Test vessel Adonis database.Continue by installing all necessary Adonis applications on the Test vessels using the new site numbers. Follow the same procedure as for creating a new vessel installation.
Execute the script below on the Main Site database.
Remove all files from in\Receive, in\ImportStorage, in\archive, out\send, and out\Archive of all Replicator instances on Test. Start Replicator Service. Run the full replication circle manually, starting from the Main Site. Enable Replicator Schedulers.
...
Tip |
---|
This method can be challenging due to needing to process and resend the whole database. Ensure that you have enough free space on the drive where the Replicator is installed. |
- The first method could be used for systems without replication.