Rocket U2 | UniVerse & UniData

 View Only
  • 1.  Question Re – MVX.

    Posted 4 days ago

    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]
    ------------------------------


  • 2.  RE: Question Re – MVX.

    Posted yesterday

    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
    ------------------------------



  • 3.  RE: Question Re – MVX.

    Posted 22 hours ago
      |   view attached

    I've attached my ShutdownUniData bat file, for the exception action script for replication please see the knowledge base article https://my.rocketsoftware.com/RocketCommunity/s/article/U2-Replication-Exception-Script-and-Monitoring-Phantoms



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    Attachment(s)

    txt
    ShutdownUniData.txt   7 KB 1 version


  • 4.  RE: Question Re – MVX.

    Posted 12 hours ago

    Thanks Jonathan,



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    ------------------------------