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

von 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 of What is the best practice to start Sametime in Linux / RHEL 7.8 automatically on boot up? Anthony Payne, HCL created a 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
ZIP-Datei herunterladen

The remaining commands for preparation and post processing 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:

Fachbeitrag HCL Sametime Administration Für Entwickler

Sie haben Fragen zu diesem Artikel? Kontaktieren Sie uns gerne: blog@assono.de

Sie haben Interesse an diesem Thema?

Gerne bieten wir Ihnen eine individuelle Beratung oder einen Workshop an.

Kontaktieren Sie uns

Weitere interessante Artikel

Sie haben Fragen?

Wenn Sie mehr über unsere Angebote erfahren möchten, können Sie uns jederzeit kontaktieren. Gerne erstellen wir eine individuelle Demo für Sie.

assono GmbH

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

Standort Hamburg
assono GmbH
Bornkampsweg 58
22761 Hamburg

Telefonnummern:
Zentrale: +49 4307 900 407
Vertrieb: +49 4307 900 402

E-Mail-Adressen:
kontakt@assono.de
bewerbung@assono.de