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

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

Recommended Posts

Posted

Hi,

I would like to know if these are the correct steps when the server is shuting down:


"C:Program Files (x86)FileMakerFileMaker Serverfmsadmin" close -m "Please save your data.  The server will shutdown.  This is an unplanned shutdown.  Please warn the db manager."

"C:Program Files (x86)FileMakerFileMaker Serverfmsadmin" stop

this is a shutdown script that will run under Windows 2003.

Why this? Because the fms is on a windows 2003 VPS and sometimes, but rarely, the VPS is restarting without warning...

Thanks for any advice

NB

Posted

What should I do then? I'm closing all the files and after the service.

Should it be the right steps?

  • 4 weeks later...
Posted

Hey,

In general, yes: those are the right steps. The only thing you're missing is that you're not checking that everything closed down fine. Not so easy to do from the command line, but you should be checking the Event Logs to make sure everything did as you expected to do.

Never assume anything. That's why the first 3 characters of "assume" are ASS :

Posted

Wim says:

Never assume anything. That's why the first 3 characters of "assume" are ASS

Not to mention that the remaining ones are u|me. Meaning, of course, that to assume to make an ass|u|me.

Good one, Wim.

Steven

Posted

Does anybody *have* a good script/bat file that can gracefully stop databases? I've been struggling to make this work correctly since setting up our v9 server.

This is very important for a variety of reasons - clean backup and power outtage/battery shutdown, VM server shutdown script are a few that come to mind.

It seems like the fmsadmin steps are pretty straightforward. What we need is a way to pause for 120 secs. between fmsadmin close and stopping the service.

Any help or advice greatly appreciated.

-mark

Posted

From the FMPug's Everything ReferenceB)

fmsadmin START SERVER

fmsadmin STOP {options}

-f force disconnect of all clients

-m message sends message to clients

-t seconds wait time before disconnect

--grace-time a specified number of seconds (minimum 120) before clients are disconnected. Clients receive a message asking them to disconnect

Example: fmsadmin STOP --grace-time 180

For more information review the FileMaker Server Help PDF document that comes with the product.

Steven

This topic is 6199 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.