We have a requirement to stop and start the Domino Server from a cron script to enable unattended backups of the server. Both previously and in D6 we have successfully done this by putting the /lotus/domino/server in the startup and /lotus/domino/server -q in the shutdown scripts.
With the advent of the Java Console Controller we’d like to use that (our ops are not Domino people, so it makes sense for us Domino admins to have Java Console access to the server). When we are sure there is no other Domino server process running it seems to work fine to put /lotus/domino/server -jc -c into the startup script. But we are having difficulty shutting this down cleanly in such a way that the startup after a backup works properly. We tried putting /lotus/domino/server -q in the shotdown script, but it seemed to leave something running so that trying to start it using the server -jc -c command threw an error that another Domino process was running.
So my question:
Is there a recommended way to stop the Java Controller that is not just server -q?
Alternatively, is there a better way, such as leaving the Java Controller running all the time but somehow sending it a signal to stop and start the server process from within the backup script?
Any help appreciated - it would be nice to use the Java Console at last!
Jock