[rancid] Rancid with an F5
Jeffrey d'Ambly
jeffrey.dambly at jasper.com
Tue Mar 29 20:52:36 UTC 2016
Here is the output, am I using the wrong version of f5rancid?
[rancid at sjc-corp-net01 configs]$ eval `/usr/libexec/rancid/f5rancid -C
sjc-lb01`
sjc-lb01
spawn ssh -i /var/rancid/.ssh/id_dsa -c 3des -x -l admin sjc-lb01
Warning: Identity file /var/rancid/.ssh/id_dsa not accessible: No such
file or directory.
Password:
Last login: Tue Mar 29 11:04:48 2016 from 192.168.201.51
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# terminal length
0
Syntax Error: unexpected argument "terminal"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# terminal width
132
Syntax Error: unexpected argument "terminal"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe version
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe platform
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# cat
/config/bigip.license
Syntax Error: unexpected argument "cat"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe monitor
list all
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe profile
list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe base
list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe db show
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe route
static show
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# ls --full-time
--color=never /config/ssl/ssl.crt
Syntax Error: unexpected argument "ls"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# ls --full-time
--color=never /config/ssl/ssl.key
Syntax Error: unexpected argument "ls"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#
^C[rancid at sjc-corp-net01 configs]$
On 3/29/16, 1:45 PM, "heasley" <heas at shrubbery.net> wrote:
>Tue, Mar 29, 2016 at 08:04:28PM +0000, Jeffrey d'Ambly:
>> So that would mean the commands are not working, how do I troubleshoot
>> that?
>
>yes, i expect so. you will need to run the commands to check for
>yourself.
>like
>eval `f5rancid -C hostname`
>
>> ‹Jeff
>>
>> On 3/29/16, 11:33 AM, "heasley" <heas at shrubbery.net> wrote:
>>
>> >Tue, Mar 29, 2016 at 05:31:06PM +0000, Jeffrey d'Ambly:
>> >>
>> >> I¹m having some issues getting rancid working with my F5 load
>>balancers.
>> >>
>> >> Here is what my routers.db looks like
>> >>
>> >> [root at sjc-corp-net01 observium]# cat router.db | grep lb
>> >> atl-lb01;f5;up
>> >> atl-lb02;f5;up
>> >> gz-lb01;f5;up
>> >> gz-lb02;f5;up
>> >> jed-lb01;f5;up
>> >> jed-lb02;f5;up
>> >> nj-lb01;f5;up
>> >> nj-lb02;f5;up
>> >> phx-lb01;f5;up
>> >> phx-lb02;f5;up
>> >> ryd-lb01;f5;up
>> >> ryd-lb02;f5;up
>> >> sjc-lb01;f5;up
>> >> sjc-lb02;f5;up
>> >> [root at sjc-corp-net01 observium]#
>> >>
>> >> When I run rancid I get the following
>> >>
>> >> [root at sjc-corp-net01 rancid]# cat observium.20160329.101355
>> >> starting: Tue Mar 29 10:13:55 PDT 2016
>> >>
>> >>
>> >>
>> >> Trying to get all of the configs.
>> >> ERROR: sjc-lb01 configuration appears truncated.
>> >>
>> >> Is this because I have partitions configured on my f5, and if so how
>>do
>> >>I resolve this?
>> >
>> >it does so if receives less than 3 lines of configuration.
More information about the Rancid-discuss
mailing list