Auf dieser Website werden Cookies gesetzt, die für den sicheren Betrieb technisch erforderlich sind. Siehe: Datenschutz

Start and stop Sametime Proxy Server V11 automatically with Linux systemd service

by Thomas,
assono GmbH, Standort Kiel,

I have already expressed my joy in several articles here that Sametime now works without the WebSphere Application Server (WAS) and without Db2. And that because of this fundamental change there were some gaps in the short term, which all could be closed/repaired quickly and easily. This article also fits into this category:

In the past, the wasservice.sh shell script made let you install services for everything (except the Db2 instance) under Linux. This way Sametime was started automatically when the operating system was started. But without WAS there is no wasservice.sh.

For the Sametime Community Server, which runs as a task in the Domino server, there is a proven option, although not published by HCL: Domino on Unix/Linux Start Script by Daniel Nashed.

But for the new Sametime Proxy Server there is no such thing yet. Not officially. In response to the question What is the best practice to start Sametime in Linux / RHEL 7.8 automatically on boot up? Anthony Payne, HCL created an systemd configuration: Sametime v11 on Linux - How to create a service for the Sametime Proxy.

For myself, I

For me I have made a few small adjustments:

  • User, group and service are called sametimeproxy. I find this more suitable than tomcat.
  • As a dependency I added syslog.target to ensure that this service is already running..
  • With PIDFile=/opt/hcl/sametimeproxy/temp/tomcat.pid I specify that the process ID of the Tomcat server should be stored in this file.
  • With Restart=on-failure I tell the service to restart automatically in case of a crash or unclean exit.
  • I refer to the new OpenJDK with Environment="JAVA_HOME=/opt/hcl/sametimeproxy/openjdk" instead of the IBM JDK 8.

sametimeproxy.service
Download ZIP file

The remaining commands for preparation and postprocessing only need to be adapted to the name change.

As root (or with sudo):

adduser -m -U -d /opt/hcl/sametimeproxy -s /bin/false sametimeproxy
chown -R sametimeproxy:sametimeproxy /opt/hcl/sametimeproxy
nano /etc/systemd/system/sametimeproxy.service

systemctl daemon-reload
systemctl enable sametimeproxy
systemctl start sametimeproxy

systemctl stop sametimeproxy

Anthony writes in his answer, that with version 11.5 a corresponding start script should be included in the installation again.

Quellen:

Technical article Sametime Administration Für Entwickler

You have questions about this article? Contact us: blog@assono.de

Sie wollen eine individuelle Beratung oder einen Workshop? Read more

More interesting entries

Any questions? Contact us.

If you want to know more about our offers, you can contact us at any time. There are several ways to contact us for a non-binding first consultation.

We don’t sell your data. 100% guaranteed. See: Privacy Policy
assono GmbH

Location Kiel (headquarters)
assono GmbH
Lise-Meitner-Straße 1–7
24223 Schwentinental

Location Hamburg
assono GmbH
Bornkampsweg 58
22761 Hamburg

Phone numbers:
Human resources department: +49 4307 900 407
Marketing department: +49 4307 900 402

E-Mail adresses:
contact@assono.de
bewerbung@assono.de