Networker

Re: [Networker] automating the creation of multiple clients on a new nsrhost?

2006-04-27 13:57:39
Subject: Re: [Networker] automating the creation of multiple clients on a new nsrhost?
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 27 Apr 2006 10:56:17 -0700
> 
> Yeah, your script worked almost flawlessly.    Due to nature of my text
> file I had to chop the trailing CR in the third field, but it works great.
> Thx for saving me some time!

Right.. top of my head I didn't deal with it, but that's pretty simple
to add.

Now you can do the same thing in the future to 'update' clients instead
of 'create' them.  What's that?  We have to change the storage node for
all the hosts over here?  We put everything in but forgot to add a
'network server interface' field?  :-)

...
  print ". type:NSR client, name:$hostname\n";
  print "update server network interface: server-2\n";
...

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER