Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1800 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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? 

Posted

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.

Posted

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.

 

This topic is 1800 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.