Score:0

How to start and stop SAP instances (including databases) automatically with OS boot and shutdown, respectively?

it flag

Running SLES15 (uses systemd), how can I make SAP instances and databases start automatically on system boot, and stop them properly on system shutdown or reboot?

One example I found is for the obsolete LSB start mechanism.

U. Windl avatar
it flag
Maybe someone with higher reputation create a "sles15" tag, please! I had to use tag "sles12".
diya avatar
la flag
To start a service like SAP on boot and stopping it again with SLWS 15 and systemd is not really rocket science. You just need to deploy and enable one or more *"systemd service unit"* files. See https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-systemd.html - https://blogs.sap.com/2021/08/12/using-systemd-to-start-stop-sap-services-on-suse-linux/
U. Windl avatar
it flag
The thing is that systemd required "reasonable" (definition a matter of taste) programs, that SAP programs hardly fulfill. In short. I know what a systemd unit is, but what are the proper commands to run?
dexter avatar
ru flag
How do you start/stop/restart program, databases currently? Use it to move it to systemd. Here is a example and good start [link](https://www.suse.com/support/kb/doc/?id=000019672). Try it and come with the results.
U. Windl avatar
it flag
There is the obsolete `startsap`/`stopsap` that still works and the "modern" `sapcontrol` that is harder to use (mostly because it's asynchronous).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.