Starting dsmc sched on RedHat RHEL6

ohnielse

Newcomer
Joined
Jan 24, 2011
Messages
4
Reaction score
2
Points
0
The usual way to start "dsmc sched" from the Linux /etc/inittab at boot time doesn't work on RedHat RHEL6 because a new init system "Upstart" is used. We found the following solution:

Create a /etc/init/dsm-sched.conf daemon startup script:

# dsm-sched
start on runlevel [2345]
stop on runlevel [016]
respawn
respawn limit 10 120
script
export LANG=en_US
export LC_ALL=en_US
exec /opt/tivoli/tsm/client/ba/bin/dsmc sched >/dev/null 2>&1
end script

This service is started at boot time. You can also ask init to start the new service now:

initctl start dsm-sched
 
Nice and helpful post.

What about RedHat RHEL7? I do not want to use tsm client acceptor (dsmcad file is placed under /etc/init.d)
Where should I place the script?
 
Back
Top