IBM Support

Setting up the Client scheduler on Solaris using startup script.

Question & Answer


Question

Customer has implemented a Korn shell script to start the Tivoli Storage Manager Client scheduler on Solaris, except upon a system restart the scheduler does not start.

Answer

Startup scripts found in the /etc/rc[0-6].d directories are the scripts that start with a capital S + two digits + an identifier name. In Solaris, these scripts follow the standard Bourne shell syntax. Even though the script specifies the Korn shell using "#!/bin/ksh", in the first line, the script will execute "#!/sbin/sh". If the script author uses Korn shell syntax, that is not acceptable by the Bourne shell, the script will terminate execution and the Tivoli Storage Manager client daemon will not start.

Korn shell syntax:
export DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt

The Korn shell syntax above is not valid to the Bourne shell and will cause the script to error out.

The syntax should be changed to use the following syntax that is acceptable to both the Korn shell and the Bourne shell:
DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt
export DSM_CONFIG

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"All Supported Versions","Edition":"All Editions","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

More support for:
Tivoli Storage Manager

Software version:
All Supported Versions

Operating system(s):
Solaris

Document number:
332177

Modified date:
17 June 2018

UID

swg21143799