El_Pablo Posted October 31, 2007 Posted October 31, 2007 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
Steven H. Blackwell Posted October 31, 2007 Posted October 31, 2007 This does not appear to be correct. Steven
El_Pablo Posted November 7, 2007 Author Posted November 7, 2007 What should I do then? I'm closing all the files and after the service. Should it be the right steps?
Wim Decorte Posted November 30, 2007 Posted November 30, 2007 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 :
Steven H. Blackwell Posted November 30, 2007 Posted November 30, 2007 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
markmaytum Posted December 2, 2007 Posted December 2, 2007 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
Steven H. Blackwell Posted December 2, 2007 Posted December 2, 2007 From the FMPug's Everything Reference 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now