Shut down Domino Server

Is there a way to close down the server using a batch file ? We can start a server using nserver.exe or from the iSeries STRDOMSVR.We are running ND6 on a IXS card using W2000 - I need to have a process the will shut down the server from a dos command. Can anybody help

Subject: Shut down Domino Server

Under W2K you have the following options:

First you want shut down domino by itself. Create a Programdocument with the following parameters:

Program name: nserver

Command line: -c “exit”

Second option:

Domino should stopped by a script from another aplication or the AT-command:

Create a batch-script. Note this should use path to your programm and data directory!:

d:

cd lotus\domino\data

c:\lotus\domino\nserver.exe -q

exit

The same can be used for any other os. You only have to change the path to the data and program directory and the name of the executable for the nserver.exe (for example on solaris only “server”).

Hope this helps.

Regards Rico

Subject: Shut down Domino Server

Well you can stop the server via the net stop command, but domino has to be running as a service.

HTH – Cheers

Subject: Shut down Domino Server

What will be used to invoke this procedure?

Typically, it is during backups when an Administrator wants to “down” the Domino Server unless there’s an OFA installed.

The backup software should also have a pre and post batch job option which it can invoke.

The pre batch job can point to a file called backup.bat with the contents “net stop Lotus Domino Server”

The post batch job can point to a file called finished.bat with the contents “net start Lotus Domino Server”.

Backup starts at pre-determined time, runs backup.bat (shuts down Domino). The backup completes then runs finished.bat which brings Domino up again.

As another poster mentioned, Domino must be running as a service for this to work.