Discussion:
[rancid] f5 bigIP part 2
k***@accenture.com
2009-02-03 21:10:14 UTC
Permalink
Using rancid--2.3.2a9 on freebsd 7.1, I can successfully clogin into the
device.



Getting anything off the device via bin/rancid or bin/control-rancid is
another story. I'm getting timeout errors and I've tried timeouts of
180s and 300s. Neither of which change the outcome. I did have to
tweak bin/clogin to fix an issue from this post:
http://www.shrubbery.net/pipermail/rancid-discuss/2007-August/002437.htm
l.



I'm using the defined f5 device type in router.db. Any ideas? Below is
a sh -x output from control_rancid on my defined network list.



sh -x bin/control_rancid /usr/home/rancid/var/SSRC_test/

+ alt_mailrcpt=0

+ [ 1 -ge 1 ]

+ [ 1 ]

+ break

+ [ 1 -lt 1 ]

+ GROUP=/usr/home/rancid/var/SSRC_test/

+ DIR=//usr/home/rancid/var/SSRC_test/

+ TMP=/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

+ trap rm -fr $TMP; 1 2 15

+ unset noclobber

+ RCSSYS=cvs

+ [ cvs != cvs -a cvs != svn ]

+ mailrcpt=rancid-/usr/home/rancid/var/SSRC_test/

+ export mailrcpt

+ adminmailrcpt=rancid-admin-/usr/home/rancid/var/SSRC_test/

+ export adminmailrcpt

+ set

+ grep MAILHEADERS=

+ [ 1 -ne 0 ]

+ MAILHEADERS=Precedence: bulk\n

+ export MAILHEADERS

+ PAR_COUNT=5

+ MAX_ROUNDS=4

+ [ 4 -lt 1 ]

+ [ ! -d //usr/home/rancid/var/SSRC_test/ ]

+ cd //usr/home/rancid/var/SSRC_test/

+ [ ! -f .cvsignore ]

+ cvs update router.db

bin/control_rancid: cannot create
/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or
directory

+ grep ^C /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

grep: /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or
directory

+ [ 2 -eq 0 ]

+ rm -f /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

+ [ ! -f //usr/home/rancid/var/SSRC_test//router.db ]

+ cd //usr/home/rancid/var/SSRC_test/

+ trap rm -fr routers.db routers.all.new routers.down.new routers.up.new
\

routers.mail routers.added routers.deleted $TMP; 1 2 15

+ sed -e /^#/d -e s/^ *// -e s/ *$// -e s/ *: */:/g router.db

+ sort -u

+ cut -d: -f1,2 routers.db

+ [ ! -f routers.all ]

+ diff -u -4 routers.all routers.all.new

+ RALL=0

+ perl5 -F: -ane {($F[0] =~ ***@A-***@a-z@,print $_)

if ($F[2] !~ /^up$/i);} routers.db

+ [ ! -f routers.down ]

+ diff -u -4 routers.down routers.down.new

+ RDOWN=0

+ perl5 -F: -ane {($F[0] =~ ***@A-***@a-z@,print "$F[0]:$F[1]\n")

if ($F[2] =~ /^up$/i);} routers.db

+ [ ! -f routers.up ]

+ diff -u -4 routers.up routers.up.new

+ RUP=0

+ [ 0 -ne 0 -o 0 -ne 0 -o 0 -ne 0 ]

+ mv -f routers.all.new routers.all

+ [ 0 -ne 0 ]

+ mv -f routers.down.new routers.down

+ [ 0 -ne 0 ]

+ mv -f routers.up.new routers.up

+ [ 0 -ne 0 ]

+ rm -f routers.db

+ trap rm -fr $TMP; 1 2 15

+ cd //usr/home/rancid/var/SSRC_test//configs

+ cut -d: -f1 ../routers.up

+ [ cvs = cvs ]

+ cvs status bigip01

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status ns50

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status swt01

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status swt02

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ echo



+ find . ( -name *.new -prune -o -name CVS -prune -o -name .svn -prune )
-o -type f -print

+ sed -e s/^.\///

+ grep -i ^ns50: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^swt01: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^swt02: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^bigip01: ../router.db

+ [ 0 -eq 1 ]

+ cd //usr/home/rancid/var/SSRC_test/

+ [ ! -s routers.up ]

+ [ X != X ]

+ devlistfile=//usr/home/rancid/var/SSRC_test//routers.up

+ cd //usr/home/rancid/var/SSRC_test//configs

+ echo



+ echo Trying to get all of the configs.

Trying to get all of the configs.

+ par -q -n 5 -c rancid-fe {}
//usr/home/rancid/var/SSRC_test//routers.up

bigip01: missed cmd(s): ls --full-time --color=never
/config/ssl/ssl.crt,bigpipe route static show,bigpipe base list,bigpipe
db show,bigpipe monitor list all,ls --full-time --color=never
/config/ssl/ssl.key,bigpipe profile list,bigpipe list

bigip01: End of run not found

# Error: TIMEOUT reached



Ken Sain

Accenture @ MyFloridaMarketPlace

(850) 414-7580 (office)

(850) 508-4227 (cell)

kensainwork on Yahoo/AOL IM







This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
Jethro R Binks
2009-02-03 21:27:35 UTC
Permalink
Post by k***@accenture.com
Using rancid--2.3.2a9 on freebsd 7.1, I can successfully clogin into the
device.
Getting anything off the device via bin/rancid or bin/control-rancid is
another story.
...

Don't worry about control-rancid etc just now, just concentrate on running
rancid by hand.

When I want to know what it is really doing, I might do:

env NOPIPE=y PATH=${PATH}:/usr/local/libexec/rancid rancid -d devicename

(modify PATH to taste).

This will leave devicename.raw and devicename.new files in your current
working dir. The raw file is the output of the session for connecting and
sending the commands. Take a look through it: presumably the timeout is
occurring because rancid isn't detecting a prompt after a command run, or
something is confusing expect. It may or not be obvious, but take a look
and see. If you see where it breaks down but don't understand why, repost
the relevant part of the output.

Jethro.
--
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks
Computing Officer, IT Services, University Of Strathclyde, Glasgow, UK
Mike Ashcraft
2009-02-03 21:37:41 UTC
Permalink
Looks rancid is not setting the term type properly on the F5.

Two options:

If you don't terminate SSL connections on the F5 (Or don't want rancid to track ssl certificate changes) drop those two ls commands from f5rancid.

Fix rancid to set the term type on the F5 to vt100.

Mike

From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of ***@accenture.com
Sent: Tuesday, February 03, 2009 2:10 PM
To: rancid-***@shrubbery.net
Subject: [rancid] f5 bigIP part 2

Using rancid--2.3.2a9 on freebsd 7.1, I can successfully clogin into the device.

Getting anything off the device via bin/rancid or bin/control-rancid is another story. I'm getting timeout errors and I've tried timeouts of 180s and 300s. Neither of which change the outcome. I did have to tweak bin/clogin to fix an issue from this post: http://www.shrubbery.net/pipermail/rancid-discuss/2007-August/002437.html.

I'm using the defined f5 device type in router.db. Any ideas? Below is a sh -x output from control_rancid on my defined network list.

sh -x bin/control_rancid /usr/home/rancid/var/SSRC_test/
+ alt_mailrcpt=0
+ [ 1 -ge 1 ]
+ [ 1 ]
+ break
+ [ 1 -lt 1 ]
+ GROUP=/usr/home/rancid/var/SSRC_test/
+ DIR=//usr/home/rancid/var/SSRC_test/
+ TMP=/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201
+ trap rm -fr $TMP; 1 2 15
+ unset noclobber
+ RCSSYS=cvs
+ [ cvs != cvs -a cvs != svn ]
+ mailrcpt=rancid-/usr/home/rancid/var/SSRC_test/
+ export mailrcpt
+ adminmailrcpt=rancid-admin-/usr/home/rancid/var/SSRC_test/
+ export adminmailrcpt
+ set
+ grep MAILHEADERS=
+ [ 1 -ne 0 ]
+ MAILHEADERS=Precedence: bulk\n
+ export MAILHEADERS
+ PAR_COUNT=5
+ MAX_ROUNDS=4
+ [ 4 -lt 1 ]
+ [ ! -d //usr/home/rancid/var/SSRC_test/ ]
+ cd //usr/home/rancid/var/SSRC_test/
+ [ ! -f .cvsignore ]
+ cvs update router.db
bin/control_rancid: cannot create /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or directory
+ grep ^C /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201
grep: /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or directory
+ [ 2 -eq 0 ]
+ rm -f /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201
+ [ ! -f //usr/home/rancid/var/SSRC_test//router.db ]
+ cd //usr/home/rancid/var/SSRC_test/
+ trap rm -fr routers.db routers.all.new routers.down.new routers.up.new \
routers.mail routers.added routers.deleted $TMP; 1 2 15
+ sed -e /^#/d -e s/^ *// -e s/ *$// -e s/ *: */:/g router.db
+ sort -u
+ cut -d: -f1,2 routers.db
+ [ ! -f routers.all ]
+ diff -u -4 routers.all routers.all.new
+ RALL=0
+ perl5 -F: -ane {($F[0] =~ ***@A-***@a-z@,print $_)
if ($F[2] !~ /^up$/i);} routers.db
+ [ ! -f routers.down ]
+ diff -u -4 routers.down routers.down.new
+ RDOWN=0
+ perl5 -F: -ane {($F[0] =~ ***@A-***@a-z@,print "$F[0]:$F[1]\n")
if ($F[2] =~ /^up$/i);} routers.db
+ [ ! -f routers.up ]
+ diff -u -4 routers.up routers.up.new
+ RUP=0
+ [ 0 -ne 0 -o 0 -ne 0 -o 0 -ne 0 ]
+ mv -f routers.all.new routers.all
+ [ 0 -ne 0 ]
+ mv -f routers.down.new routers.down
+ [ 0 -ne 0 ]
+ mv -f routers.up.new routers.up
+ [ 0 -ne 0 ]
+ rm -f routers.db
+ trap rm -fr $TMP; 1 2 15
+ cd //usr/home/rancid/var/SSRC_test//configs
+ cut -d: -f1 ../routers.up
+ [ cvs = cvs ]
+ cvs status bigip01
+ grep -i status: unknown
+ [ 1 -eq 0 ]
+ [ cvs = cvs ]
+ cvs status ns50
+ grep -i status: unknown
+ [ 1 -eq 0 ]
+ [ cvs = cvs ]
+ cvs status swt01
+ grep -i status: unknown
+ [ 1 -eq 0 ]
+ [ cvs = cvs ]
+ cvs status swt02
+ grep -i status: unknown
+ [ 1 -eq 0 ]
+ echo

+ find . ( -name *.new -prune -o -name CVS -prune -o -name .svn -prune ) -o -type f -print
+ sed -e s/^.\///
+ grep -i ^ns50: ../router.db
+ [ 0 -eq 1 ]
+ grep -i ^swt01: ../router.db
+ [ 0 -eq 1 ]
+ grep -i ^swt02: ../router.db
+ [ 0 -eq 1 ]
+ grep -i ^bigip01: ../router.db
+ [ 0 -eq 1 ]
+ cd //usr/home/rancid/var/SSRC_test/
+ [ ! -s routers.up ]
+ [ X != X ]
+ devlistfile=//usr/home/rancid/var/SSRC_test//routers.up
+ cd //usr/home/rancid/var/SSRC_test//configs
+ echo

+ echo Trying to get all of the configs.
Trying to get all of the configs.
+ par -q -n 5 -c rancid-fe {} //usr/home/rancid/var/SSRC_test//routers.up
bigip01: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,bigpipe route static show,bigpipe base list,bigpipe db show,bigpipe monitor list all,ls --full-time --color=never /config/ssl/ssl.key,bigpipe profile list,bigpipe list
bigip01: End of run not found
# Error: TIMEOUT reached

Ken Sain
Accenture @ MyFloridaMarketPlace
(850) 414-7580 (office)
(850) 508-4227 (cell)
kensainwork on Yahoo/AOL IM



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
k***@accenture.com
2009-02-03 21:50:42 UTC
Permalink
Hrm, I already hardcoded clogin to provide vt100, just like the other
poster in the URL I provided. And I've confirmed that it works via a
bin/clogin bigip01.



$ bin/clogin bigip01

bigip01

spawn ssh -c 3des -x -l admin bigip01

***@bigip01's password:

Last login: Tue Feb 3 16:44:12 2009 from



<login splash screen deleted>



Terminal type? [xterm] vt100

Terminal type is vt100.



bigip01:~#

bigip01:~#



For testing, I removed the two ls check commands, and re-ran sh -x
bin/control-rancid. Still hangs up on the par line.



+ echo Trying to get all of the configs.

Trying to get all of the configs.

+ par -q -n 5 -c rancid-fe {}
//usr/home/rancid/var/SSRC_test//routers.up

bigip01: missed cmd(s): bigpipe monitor list all



Any other ideas?



Ken Sain



________________________________

From: Mike Ashcraft [mailto:***@omniture.com]
Sent: Tuesday, February 03, 2009 4:38 PM
To: Sain, Kenneth W.; rancid-***@shrubbery.net
Subject: RE: f5 bigIP part 2



Looks rancid is not setting the term type properly on the F5.



Two options:



If you don't terminate SSL connections on the F5 (Or don't want rancid
to track ssl certificate changes) drop those two ls commands from
f5rancid.



Fix rancid to set the term type on the F5 to vt100.



Mike



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of
***@accenture.com
Sent: Tuesday, February 03, 2009 2:10 PM
To: rancid-***@shrubbery.net
Subject: [rancid] f5 bigIP part 2



Using rancid--2.3.2a9 on freebsd 7.1, I can successfully clogin into the
device.



Getting anything off the device via bin/rancid or bin/control-rancid is
another story. I'm getting timeout errors and I've tried timeouts of
180s and 300s. Neither of which change the outcome. I did have to
tweak bin/clogin to fix an issue from this post:
http://www.shrubbery.net/pipermail/rancid-discuss/2007-August/002437.htm
l.



I'm using the defined f5 device type in router.db. Any ideas? Below is
a sh -x output from control_rancid on my defined network list.



sh -x bin/control_rancid /usr/home/rancid/var/SSRC_test/

+ alt_mailrcpt=0

+ [ 1 -ge 1 ]

+ [ 1 ]

+ break

+ [ 1 -lt 1 ]

+ GROUP=/usr/home/rancid/var/SSRC_test/

+ DIR=//usr/home/rancid/var/SSRC_test/

+ TMP=/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

+ trap rm -fr $TMP; 1 2 15

+ unset noclobber

+ RCSSYS=cvs

+ [ cvs != cvs -a cvs != svn ]

+ mailrcpt=rancid-/usr/home/rancid/var/SSRC_test/

+ export mailrcpt

+ adminmailrcpt=rancid-admin-/usr/home/rancid/var/SSRC_test/

+ export adminmailrcpt

+ set

+ grep MAILHEADERS=

+ [ 1 -ne 0 ]

+ MAILHEADERS=Precedence: bulk\n

+ export MAILHEADERS

+ PAR_COUNT=5

+ MAX_ROUNDS=4

+ [ 4 -lt 1 ]

+ [ ! -d //usr/home/rancid/var/SSRC_test/ ]

+ cd //usr/home/rancid/var/SSRC_test/

+ [ ! -f .cvsignore ]

+ cvs update router.db

bin/control_rancid: cannot create
/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or
directory

+ grep ^C /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

grep: /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or
directory

+ [ 2 -eq 0 ]

+ rm -f /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

+ [ ! -f //usr/home/rancid/var/SSRC_test//router.db ]

+ cd //usr/home/rancid/var/SSRC_test/

+ trap rm -fr routers.db routers.all.new routers.down.new routers.up.new
\

routers.mail routers.added routers.deleted $TMP; 1 2 15

+ sed -e /^#/d -e s/^ *// -e s/ *$// -e s/ *: */:/g router.db

+ sort -u

+ cut -d: -f1,2 routers.db

+ [ ! -f routers.all ]

+ diff -u -4 routers.all routers.all.new

+ RALL=0

+ perl5 -F: -ane {($F[0] =~ ***@A-***@a-z@,print $_)

if ($F[2] !~ /^up$/i);} routers.db

+ [ ! -f routers.down ]

+ diff -u -4 routers.down routers.down.new

+ RDOWN=0

+ perl5 -F: -ane {($F[0] =~ ***@A-***@a-z@,print "$F[0]:$F[1]\n")

if ($F[2] =~ /^up$/i);} routers.db

+ [ ! -f routers.up ]

+ diff -u -4 routers.up routers.up.new

+ RUP=0

+ [ 0 -ne 0 -o 0 -ne 0 -o 0 -ne 0 ]

+ mv -f routers.all.new routers.all

+ [ 0 -ne 0 ]

+ mv -f routers.down.new routers.down

+ [ 0 -ne 0 ]

+ mv -f routers.up.new routers.up

+ [ 0 -ne 0 ]

+ rm -f routers.db

+ trap rm -fr $TMP; 1 2 15

+ cd //usr/home/rancid/var/SSRC_test//configs

+ cut -d: -f1 ../routers.up

+ [ cvs = cvs ]

+ cvs status bigip01

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status ns50

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status swt01

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status swt02

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ echo



+ find . ( -name *.new -prune -o -name CVS -prune -o -name .svn -prune )
-o -type f -print

+ sed -e s/^.\///

+ grep -i ^ns50: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^swt01: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^swt02: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^bigip01: ../router.db

+ [ 0 -eq 1 ]

+ cd //usr/home/rancid/var/SSRC_test/

+ [ ! -s routers.up ]

+ [ X != X ]

+ devlistfile=//usr/home/rancid/var/SSRC_test//routers.up

+ cd //usr/home/rancid/var/SSRC_test//configs

+ echo



+ echo Trying to get all of the configs.

Trying to get all of the configs.

+ par -q -n 5 -c rancid-fe {}
//usr/home/rancid/var/SSRC_test//routers.up

bigip01: missed cmd(s): ls --full-time --color=never
/config/ssl/ssl.crt,bigpipe route static show,bigpipe base list,bigpipe
db show,bigpipe monitor list all,ls --full-time --color=never
/config/ssl/ssl.key,bigpipe profile list,bigpipe list

bigip01: End of run not found

# Error: TIMEOUT reached



Ken Sain

Accenture @ MyFloridaMarketPlace

(850) 414-7580 (office)

(850) 508-4227 (cell)

kensainwork on Yahoo/AOL IM





This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.
john heasley
2009-02-04 03:15:36 UTC
Permalink
Post by k***@accenture.com
Hrm, I already hardcoded clogin to provide vt100, just like the other
poster in the URL I provided. And I've confirmed that it works via a
bin/clogin bigip01.
any change like setting TERM should be done in f5rancid, NOT clogin. Let
clogin inherit it.
k***@accenture.com
2009-02-04 14:06:42 UTC
Permalink
I'm not sure how that would be accomplished.

f5rancid contains no expect send commands, it calls clogin to handle
that work. I have no idea where or how I'd accomplish this inside
bin/f5rancid.

Interestingly, f5rancind does contain the lines:
# force a terminal type so as not to confuse the POS
$ENV{'TERM'} = "vt100";

But it doesn't seem to have any affect on the login process.

I did find that some of the @commandtable entries had syntax errors for
the older 4.5 bigIP code. Commenting those out and using the vt100 hack
in clogin is working for me now.


Ken Sain
Accenture @ MyFloridaMarketPlace
(850) 414-7580 (office)
(850) 508-4227 (cell)
kensainwork on Yahoo/AOL IM


-----Original Message-----
From: john heasley [mailto:***@shrubbery.net]
Sent: Tuesday, February 03, 2009 10:16 PM
To: Sain, Kenneth W.
Cc: ***@omniture.com; rancid-***@shrubbery.net
Subject: Re: [rancid] Re: f5 bigIP part 2
Post by k***@accenture.com
Hrm, I already hardcoded clogin to provide vt100, just like the other
poster in the URL I provided. And I've confirmed that it works via a
bin/clogin bigip01.
any change like setting TERM should be done in f5rancid, NOT clogin.
Let
clogin inherit it.



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
john heasley
2009-02-04 22:40:39 UTC
Permalink
Post by k***@accenture.com
I'm not sure how that would be accomplished.
f5rancid contains no expect send commands, it calls clogin to handle
that work. I have no idea where or how I'd accomplish this inside
bin/f5rancid.
# force a terminal type so as not to confuse the POS
$ENV{'TERM'} = "vt100";
But it doesn't seem to have any affect on the login process.
telnet/rsh/ssh, variables such as TERM are normally exchanged with the
server/daemon. so, why isnt it happening here?
Post by k***@accenture.com
the older 4.5 bigIP code. Commenting those out and using the vt100 hack
in clogin is working for me now.
is that the old code? I was told by another user that the old code has
antiquated and that folks could just upgrade. I'd rather not support
the old code.
Post by k***@accenture.com
Ken Sain
(850) 414-7580 (office)
(850) 508-4227 (cell)
kensainwork on Yahoo/AOL IM
-----Original Message-----
Sent: Tuesday, February 03, 2009 10:16 PM
To: Sain, Kenneth W.
Subject: Re: [rancid] Re: f5 bigIP part 2
Post by k***@accenture.com
Hrm, I already hardcoded clogin to provide vt100, just like the other
poster in the URL I provided. And I've confirmed that it works via a
bin/clogin bigip01.
any change like setting TERM should be done in f5rancid, NOT clogin.
Let
clogin inherit it.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
john heasley
2009-02-04 03:19:37 UTC
Permalink
Post by k***@accenture.com
bigip01:~#
remind me; is this thing based on linux?
Randy Bush
2009-02-04 03:24:09 UTC
Permalink
Post by john heasley
Post by k***@accenture.com
bigip01:~#
remind me; is this thing based on linux?
dunno now, but used to be BSDOS

randy
Lance Vermilion
2009-02-04 03:26:06 UTC
Permalink
One of these days I will get back to the backup f5 scripts I am using.
I have john's working one, but not sure what rancid version I have it
implemented with.
Post by Randy Bush
Post by john heasley
Post by k***@accenture.com
bigip01:~#
remind me; is this thing based on linux?
dunno now, but used to be BSDOS
randy
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2009-02-04 06:30:59 UTC
Permalink
I think that if you take the script in the 2.3.2a9, but not installed,
and change the login script to hlogin ... it might just work without
any further changes. someone with an f5, please try this.
Post by Lance Vermilion
One of these days I will get back to the backup f5 scripts I am using.
I have john's working one, but not sure what rancid version I have it
implemented with.
Post by Randy Bush
Post by john heasley
Post by k***@accenture.com
bigip01:~#
remind me; is this thing based on linux?
dunno now, but used to be BSDOS
randy
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Sam Munzani
2009-02-04 04:57:10 UTC
Permalink
Here is sanitized uname -a output from a bigup 6400 ltm box.

Linux host-name 2.4.21-9.4.5.1049.0smp #2 SMP Wed May 14 12:50:53 PDT
2008 i686 athlon i386 GNU/Linux

I guess its linux now. I remember it used to be FreeBSD.

Thanks,
sam
Post by Randy Bush
Post by john heasley
Post by k***@accenture.com
bigip01:~#
remind me; is this thing based on linux?
dunno now, but used to be BSDOS
randy
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Teun Vink
2009-02-04 15:36:12 UTC
Permalink
Post by Sam Munzani
Here is sanitized uname -a output from a bigup 6400 ltm box.
Linux host-name 2.4.21-9.4.5.1049.0smp #2 SMP Wed May 14 12:50:53 PDT
2008 i686 athlon i386 GNU/Linux
I guess its linux now. I remember it used to be FreeBSD.
The LTM 9.x series are redhat-based. The old 4.x series were BSD.
I run that rancid script, but get some strange diffs every run, which
are getting quite annoying. It seems as if the commands are executed in
a different order every time.

Regards,

Teun
john heasley
2009-02-04 22:43:38 UTC
Permalink
Post by Teun Vink
Post by Sam Munzani
Here is sanitized uname -a output from a bigup 6400 ltm box.
Linux host-name 2.4.21-9.4.5.1049.0smp #2 SMP Wed May 14 12:50:53 PDT
2008 i686 athlon i386 GNU/Linux
I guess its linux now. I remember it used to be FreeBSD.
The LTM 9.x series are redhat-based. The old 4.x series were BSD.
I run that rancid script, but get some strange diffs every run, which
are getting quite annoying. It seems as if the commands are executed in
a different order every time.
thats sounds like something in the o/p screwing up the login script such
that prompt matching isn't functioning correctly. you could verify that
with hlogin -d -c 'listofcommandsfromfrancid.in' host > debugoutput 2>&1
look at the output for inproper prompt matching.

k***@accenture.com
2009-02-04 14:12:37 UTC
Permalink
I do believe the older 4.5 code was netbsd based, whilst their newer 9.x
code is linux based. Not very helpful, but...
bigip01:/# uname -ar
BIG-IP bigip01 BIG-IP 4.5.14 BIG-IP Kernel 4.5.14 Build5 i386


Ken Sain

-----Original Message-----
From: john heasley [mailto:***@shrubbery.net]
Sent: Tuesday, February 03, 2009 10:20 PM
To: Sain, Kenneth W.
Cc: ***@omniture.com; rancid-***@shrubbery.net
Subject: Re: [rancid] Re: f5 bigIP part 2
Post by k***@accenture.com
bigip01:~#
remind me; is this thing based on linux?



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
Loading...