ADSM-L

Re: [ADSM-L] How does dsmserv daemon start

2009-12-29 00:21:30
Subject: Re: [ADSM-L] How does dsmserv daemon start
From: William ZHANG <william.zhang AT ST DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 29 Dec 2009 13:20:09 +0800
Great! Got it :

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
isc6:23:boot:/opt/IBM/ISC601/PortalServer/bin/startISC.sh ISC_Portal
scsi:23:boot:/opt/tivoli/tsm/devices/bin/autoconf
tsm:23:boot:/opt/tivoli/tsm/server-SHITSM01/bin/dsmserv.rc start
dsm:23:respawn:/usr/bin/dsmc sched >/dev/null 2>&1

Many thanks

Best Regards,
william

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Howard Coles
Sent: Tuesday, December 29, 2009 12:49 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] How does dsmserv daemon start

-----Original Message-----
> From: ADSM: Dist Stor Manager on behalf of William ZHANG
> Sent: Mon 12/28/2009 8:58 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: [ADSM-L] How does dsmserv daemon start
>
> Hi All,
> I am not fully understand how does dsmserv daemon start from my tsmserver:
>
> From manual doc, put dsmserv.rc into /etc/rc.d/init.d and make link from
> /etc/rc3.d/S90dsmserv to it.
>
> But I can not get the link and daemon script in /etc/init.d
>
> And get the file from :
>
> /opt/tivoli/tsm/server/bin/dsmserv.rc
>
> /opt/tivoli/tsm/server-SHITSM01/bin/dsmserv.rc.orig
>
> /opt/tivoli/tsm/server-SHITSM01/bin/dsmserv.rc
>
> [root]# echo $PATH:
>
>
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b
>
in:/opt/IBM/ISC601/AppServer/java/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/roo
> t/bin
>
>Does you know how does dsmserv start?

Are you running AIX, some form of Linux, or ???

Normally on AIX it's added to the /etc/inittab file.

On Linux you would copy or link the startup script to /etc/init.d
Assuming the file "dsmserv.rc" isn't already in the init.d directory, run
the following:

ln -s /opt/tivoli/tsm/server/bin/dsmserv.rc /etc/init.d/dsmserv.rc

which links the script to the init.d directory.
Then run (as root)

/etc/init.d/dsmserv.rc start

The server processes should start in the background.  Then you can go about
creating the links in the various runlevels.  Or use a runlevel management
utility to create the links for you. (Such as chkconfig in RedHat)

However, if it's already there, and the server will not start when you run
"/etc/init.d/dsmserv.rc start" what errors do you get?  (check your
dsmserv.opt file and any appropriate log files for info on why it's not
starting).

---

See Ya'
Howard Coles Jr.
Sr. Systems Engineer
(615) 296-3416
John 3:16!

<Prev in Thread] Current Thread [Next in Thread>