ADSM-L

Re: Sun TSM client

2001-10-09 23:01:19
Subject: Re: Sun TSM client
From: Scotty Logan <swl AT STANFORD DOT EDU>
Date: Tue, 9 Oct 2001 19:56:53 -0700
I just use the following little script in /etc/init.d/dsmsched:

#! /bin/ksh

case "$1" in

  start)
    /usr/bin/dsmc sched >/var/log/dsmsched.out 2>/var/log/dsmsched.err &
    ;;

  stop)
    ps -e -o pid,comm|awk '$2 ~ /dsmc/ { print $1}'|xargs kill
    ;;

  *)
    echo "Usage: $0 [start|stop]"
    ;;
esac
exit 0

I use links in /etc/rc3.d to start it (ln -s /etc/init.d/dsmsched
/etc/rc3.d/S50dsmsched)

  Scotty

--
Scotty Logan <swl AT stanford DOT edu>
Scotty Logan <swl AT stanford DOT edu>
ITSS-CSS http://www.stanford.edu/group/itss/css/

> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On
> Behalf Of
> Bern Ruelas
> Sent: Tuesday, October 09, 2001 16:54
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: Sun TSM client
>
>
> I too would be interested in the answer....
>
> -Bern
>
> At 03:41 PM 10/9/2001 -0500, you wrote:
> >I have installed the TSM 4.1 client on a Solaris 2.8 computer.
> >
> >I am trying to get the client to autostart as in "dsmc
> sched" running in
> >the background.
> >
> >Manually running the client from the command line works OK
> and we get a
> >good backup.  Its the background task we're having no luck
> with.  We've
> >tried to put it in /etc/inittab, but that doesn't work.  PW
> access is set
> >to "generate."
> >
> >What am I missing?
> >
> >Thanks in advance.
> >
> >Tab Trepagnier
> >TSM administrator
> >Laitram Corporation
>
<Prev in Thread] Current Thread [Next in Thread>