Darren,
MVX does not provide any facility to do this.
For Windows (as with Unix) the method to do this would be to write your own script to do this. In terms of which route you take on shutting down UniData or suspending replication and leave UniData running, that is up to you depending on what type of patching and rebooting you are doing.
This would mean writing a powershell script or bat file that ensures UniData is completely shutdown and all the UniData process removed from the system. Replication will be suspended on the other machines because of the UniData shutdown. If you have AUTORESUME set to 1 in the replication config, replication will auto resync when UniData is restarted. I have written a bat file which ensures a complete shutdown of UniData on Windows and use it all of my internal machines here at Rocket (means no more Windows reboots for a stuck UniData, as it ensures ALL UniData processes are gone during the UniData shutdown).
In terms of replication, you could write a script to make sure replication is suspended before doing any update. If you reference the knowledge base article on the replication exception script and monitoring phantoms, you will find an example script where part of the code in that ensures all the replication groups are fully suspended.
Regards,
Jonathan
------------------------------
Jonathan Smith
UniData ATS
Rocket Support
------------------------------
Original Message:
Sent: 11-28-2024 19:06
From: Darren Johnson
Subject: Question Re – MVX.
We are running Unidata 8.3 on Windows Server 2022 & Azure Cloud Windows Server.
We also operate Replication.
Our challenge is to create a scheduled shutdown procedure that will support out of hours Windows Server Patching Shutdowns & Reboots.
Can MVX support this challenge or is there a best practice guide available.
Thanks Darren
------------------------------
[Darren] [Johnson] [Australia]
[Snr Dev Engineer]
------------------------------