fileman922 Posted December 17, 2019 Posted December 17, 2019 Hello, we have filemaker server 18 hosted on windows server 2012, the server is connected to an APC ups thats keeps the server running for 40 minutes when power is loss, after power is loss we have to manually close the databases and stop the FM server , then we shutdown the windows server .... i would like to know if there is an automated command that close the databases and stop FM server when power loss is detected?
OlgerDiekstra Posted December 18, 2019 Posted December 18, 2019 Your APC client will need to issue the command "fmsadmin stop server", which will close the databases and stop the server. On Win2012 you probably have to do this from an elevated prompt.
Wim Decorte Posted December 18, 2019 Posted December 18, 2019 I would probably use something like this VBscript to be called from the APC even after only a few minutes of power-out. Given that the network equipment and the clients probably won't be on battery power, all clients sessions will be 'ghosts' and it may take FMS a while to agree to disconnect them. Using all the fmsadmin tools gives you more options to log what is going on when and especially handle any errors or send out notifications. I prefer this over the more brute force stop command. shutDownFMS.pdf You can build out the VBS to do exactly what you need with plenty of options along the way. Don't count on the UPS to keep your FMS alive until the power comes back, shut it down as quickly as you can.
Recommended Posts
This topic is 2054 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now