VMware vSphere

 View Only
  • 1.  issue with pre-freeze script

    Posted Aug 29, 2019 01:01 PM

    Ok i'm having issues getting a pre-freeze  script to return a value indicating success.  We're trying to freeze our mariadb databases and i'm using the script from veeam.found here: Consistent Protection of MySQL/MariaDB with Veeam

    We're using vmware tools version:10346  on a host running VMware ESXi, 6.7.0, 13981272.  If i run the script from the command line it properly completes.  If I take a snapshot it does run but vsphere reports it failed.  I know the script does run because the log entries get made.  I've tried to see if it's just a logic error someplace by placing an exit 0 statement on the 2nd line of the script but it still fails.  So what did i miss?



  • 2.  RE: issue with pre-freeze script

    Posted Aug 29, 2019 01:38 PM

    Hi,

    Can you review the link below?

    Consistent Protection of MySQL/MariaDB with Veeam



  • 3.  RE: issue with pre-freeze script

    Posted Aug 29, 2019 04:15 PM

    I am well aware that that white paper requires a free registration to download.  Since i had to do the same I'm not conformable posting the actual code.  Besides when i went and put a exit 0 statement in as the 2nd line, the rest of the code is rendered moot.



  • 4.  RE: issue with pre-freeze script
    Best Answer

    Posted Sep 13, 2019 01:37 PM

    ok so the solution turned out to call fsfreeze inside the pre script.  This works even if the command errors out.  Do not do what i did the first attempt and freeze /.  I'm using a garbage path to freeze and the script will now complete/

    ---------------------------------------------------------------------------------------------------------

    Was it helpful? Let us know by completing this short survey here.