ADSM-L

Re: [ADSM-L] Inittab and Restarting TSM instance

2008-01-24 00:43:32
Subject: Re: [ADSM-L] Inittab and Restarting TSM instance
From: Steven Harris <sjharris AT AU1.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 24 Jan 2008 16:40:24 +1100
Hi David

My favourite way to restart  on AIX  (ksh) is

chitab $(lsitab autosrvr | sed -e "s/once/respawn/")

and then after it has started

chitab $(lsitab autosrvr | sed -e "s/respawn/once/")


but one site I worked the guy who had set up TSM was a serious AIX nerd -
CATE and all that - and had set up the TSM Servers and multiple TSM clients
for multiple domino partitions as AIX subsystems, so you could use the AIX
startsrc, lssrc and stopsrc commands to manipulate them.  They were also in
a subsystem group so they could all be started and stopped with a single
command,  Very neat, though to make a subsystem needed a little bit of C
voodoo.

It would be nice if IBM could leverage some of its AIX expertise to add
such niceties.... I suppose I can dream.


Steven Harris

TSM Admin, Sydney Australia
and now AIX admin is strictly verboten...

> James R Owen wrote:
> >
> > I'm also looking for advice: how best to make an inoperative AUTOSRVR
> > entry in /etc/inittab?  We leave the tiny default TSM service in the
> > installation directory for upgrade processing, and never want it to
> > start up automatically, but the upgrade process recreates the entry if
> > it has been removed.
>
> Change the "once" to "off" in the inittab entry.  I'm not sure if the
> installation/upgrade process will change it back or not, though.
>
> But don't do this if the running dsmserv was started by that autosrvr
> entry, or init will kill the running server!
>
> (Related trick for starting the TSM server after a TSM halt without
>  rebooting or manually running the dsmserv process:  change the "2"
>  to "2a" in inittab, then use "telinit a" to make init start the TSM
>  server the same way it would at boot.)
>
> --
> Hello World.                                    David Bronder - Systems
Admin
> Segmentation Fault                                     ITS-SPA, Univ. of
Iowa
> Core dumped, disk trashed, quota filled, soda warm.
david-bronder AT uiowa DOT edu