Converting IBM Storage Protect server and storage agent services from System V to systemd
The scripts that are used to automatically start the server and storage agent on Linux operating systems were originally on the System V initialization system. The later versions of Linux are in systemd format. Compatibility code is available to support the previous System V scripts. However, it is preferable to move to the systemd initialization system.
Before you begin
- Red Hat Enterprise Linux 7 and later
- SUSE Linux Enterprise Server 12
- Ubuntu version 13.04
About this task
You can run a shell script to convert the services for server instances and the storage agent from System V to systemd. If the script does not work in your system environment, you can convert the services manually. For instructions, see Manually converting server instance services from System V to systemd and Manually converting a storage agent service from System V to systemd.
Procedure
To use the script, see the following instructions:
./ConvertInitToSystemd.sh [-c | -p] [-D][-d dir][-h][-H][-s][-S]
-c - Convert the server instance or storage agent service from the System V operating system to systemd (a system and service manager). The -c option cannot be used with the -p option.
-D - Enable debug mode, which turns on tracing.
-d <dir> - Specify the installation directory for the server or storage agent.
Example: -d /opt/tivoli/tsm
-h -H - Display usage.
-p - Generate a preview. Similar to the convert option, but
displays only commands and output. No service conversion occurs.
-s - Specify the server instance service. Must be used with either the -c or -p option.
-S - Specify the storage agent service. Must be used with either the -c or -p option.Manually converting server instance services from System V to systemd
The preferred method for converting an IBM Storage Protect server instance from System V to systemd is to run the ConvertInitToSystemd.sh script. However, if the script does not run in your system environment, follow the manual instructions for converting the instance service.
Before you begin
Procedure
Manually converting a storage agent service from System V to systemd
The preferred method for converting an IBM Storage Protect storage agent service from System V to systemd is to run the ConvertInitToSystemd.sh script. However, if the script does not run in your environment, you can convert the storage agent service manually.