December 17, 20196 yr 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?
December 18, 20196 yr 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.
December 18, 20196 yr 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.
Create an account or sign in to comment