This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Dec 26, 2014, 9:41 AM
13 Posts

domino start/stop script on linux

  • Category: Domino Server
  • Platform: Linux
  • Release: 9.0.1
  • Role: Administrator
  • Tags:
  • Replies: 4

Hi ben,

I can suggest using the script provided by nashcom.de (http://www.nashcom.de/nshweb/pages/startscript.htm)

I am using it on many servers and it's working very nice.

Dec 26, 2014, 2:45 PM
37 Posts
SOLVED
Thanks, Joe. I've been using those Daniel Nashed's scripts for years and I agree. Very good stuff. The root issue in this case was, however, that in RHEL 7, unless you are very careful, systemd will kill Domino on OS shutdown instead of shutting it down properly according to the script.

This is the case whether you install it with chkconfig or call it from one of the new-fangled service files in systemd.


Through painstaking trial and error, I've stumbled upon the correct combination of directives in the systemd service file. A systemd guru could probably improve upon this, but the basic, everyday functionality is there, and most importantly, the databases will not crash and have to go through recovery when Domino starts back up again. "domino_script" comes from the
Nashcom website you mentioned earlier, but the real magic in a RHEL 7 scenario are the directives, "KillMode=process" and "RemainAfterExit=yes":

[Unit]

Description=IBM Domino Server
Documentation=http://www-947.ibm.com/support/entry/portal/product/lotus/ibm_notes
After=syslog.target network.target

 

[Service]

Type=simple
User=notes
LimitNOFILE=60000
ExecStart=/opt/ibm/domino/bin/domino_script start
ExecStop=/opt/ibm/domino/bin/domino_script stop
TimeoutSec=300
KillMode=process
RemainAfterExit=yes

 

[Install]

WantedBy=multi-user.target


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal