[rancid] Re: Netscaler RANCID
john heasley
heas at shrubbery.net
Fri Mar 24 22:28:31 UTC 2006
Thu, Mar 23, 2006 at 03:47:11PM -0800, mark_scheuber at yahoo.com:
> Hi Guys,
> I have a preliminary script for the netscalers that a co-worker (Patrick Pirwitz) created. He's the guy using these devices. This assumes SSH keys have already been set up. (ssh keys on the netscaler are in /root/.ssh - there's a permission issue in that only root has access to ns.conf) It copies all of the SSL certs (In case the box goes down hard and you need to recover) and the config ns.conf.
Is the existing netscalar, ie: device type netscalar, support insufficient?
i do not have one, so I really do not know what it looks like or if you're
telling us that the certs are not in the data already being collected.
> I'm just working on scripting a cvs check in at the end as incorporating this into rancid's script archetecture looked like a lot of work. Any pointers on that John? The script is below
the cvs should be handled by control_rancid, not the/a netscalar rancid
script.
>
> #!/usr/bin/ksh
> LIST="10.10.10.1 10.10.10.2"
> FILE="/nsconfig/ssl/*"
> FILE2="/nsconfig/ns.conf"
> USER="nsroot"
> for NODE in $LIST
> do
> #echo xfer $FILE to $NODE
> scp -p $USER@$NODE:$FILE /export/home/rancid/var/rancid/Netscaler/SSL/$NODE
> scp -p $USER@$NODE:$FILE2 /export/home/rancid/var/rancid/Netscaler/configs/$NODE
> done
>
>
> Thanks
>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list