hello folks...
i need to add the scheduler of tsm to the inittab of one of my servers with sles 8.
start of the scheduler:
/opt/tivoli/tsm/client/ba/bin/startsched.sh start
stop of the scheduler:
/opt/tivoli/tsm/client/ba/bin/startsched.sh stop
i was googleing around and found this:
step 1:
create a script
Code:
# vi /etc/init.d/levanta-tsm.sh
# chmod 744 /etc/init.d/levanta-tsm.sh
step 2:
inside the script
Code:
#!/bin/bash
/opt/tivoli/tsm/client/ba/bin/startsched.sh start
step 3:
create a link on the run control
Code:
# cd /etc/init.d/rc3.d
# ln -s ../levanta-tsm.sh S99levanta-tsm.sh
step 4:
indicate the system to recognize the change
step 5:
verify on the chkconfig
Code:
# chkconfig -l |grep levanta-tsm.sh
levanta-tsm.sh 0:off 1:off 2:off 3:on 4:off 5:off
6:off
so far it seems easy and the right thing to do, but somebody told me that it would not work since it would erase it automatically, and that it was not the right thing to do, that i should use the skeleton...
i was checking out the skeleton but it seems hard to understand to someone like me with no experience on shell scripting...
can anyone help me?, is it or is it not the right thing to do?, does anyone has a skeleton-like script that can help me?
please....