


For simplicity sake I’m going to create a shell script that assumes that there is a power outage and you need to close all the databases and disconnect all the users before the power shuts off. You will point the UPS setting to run the shell script that we’ll create next.
#Stop filemaker server mac software
You’ll also need to configure the UPS software to run a shell script to power off FileMaker Server since it can’t communicate directly with FileMaker Server to shut down the service. That way if the power comes back on the server won’t be shut down just because of a quick power outage or brownout. The most important setting will be when to have the UPS software shut down the server, such as how much time or charge is left on the battery. If not, you may be able to access the settings through the UPS software. If you have a USB connection with the UPS backup power supply and have installed their software on the server you’ll most likely find the controls to power down the server in the System Preferences>Energy Saver screen. You’ll need to reference their documentation to enable their software to power down your server either through a direct USB or network connection. The most common vendor is APC andĮven they have multiple versions of their backup software. There are many flavors of UPS backup hardware and software available. This article will also provide additional reference material regarding the fmsadmin commands if you need to control the server from the command line.
#Stop filemaker server mac how to
This article will show you how to use the fmsadmin command line on OS X to create a shell script that can be used in conjunction with your UPS backup software to safely power down your server so the databases won’t become corrupted as a result of the power inadvertently being shut off. That’s obviously a problem if the power goes out in the middle of the night, which seems to be the most common time when it happens. The problem is if you don’t have a sophisticated power backup system, such as a generator, you may only have a few minutes to power down your servers. Just having a UPS power backup isn’t enough. FileMaker Server UPS Shutdown Using the Command Line Create a OS X shell script to safely shut down FileMaker Server in the event of a power outage.Ĭomes a point as a FileMaker administrator when you have to address the issue of how to automate the safe shut down of your FileMaker Server in the event of a power failure.
