[rancid] rancid not working with partitions v11.x tmsh F5 LTM

Annie Lee lsy.annie at gmail.com
Wed Feb 4 11:03:45 UTC 2015


Hi shaun,

Do you mind sharing how to make it work with partitions ?

Thanks

On Wed, Feb 4, 2015 at 6:33 PM, Shaun Krok <Shaun.Krok at 888holdings.com>
wrote:

> Hi there
>
> I was hoping someone had come across this issue.
>
> We are using Rancid to collect diffs from our  BIG-IP clusters (as per
> bash script below)
> It works really well but are now facing an issue for reason unknown that
> when the cluster is not synced the rancid fails and reports fetcher issues.
> If I run the bash script below manually on each device it works without
> issue.
> As soon the cluster is synced it works fine ..
>
> It appears that TMSH is not allowing the script to work but it works fine
> if I run it manually on the BIG-IP
>
> What could be the problem ?
>
> Thank you
>
> Shaun
>
> -----Original Message-----
> From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On
> Behalf Of Shaun Krok
> Sent: Monday, October 13, 2014 8:13 AM
> To: Mick O'Rourke
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] rancid not working with partitions v11.x tmsh F5 LTM
>
> Thank your for the reply ---
>
> i have created a bash script on the F5 and it works creating a
> test.file with all the config
> the file is in /root/f5part
>
> #!/bin/bash
> tmsh -q -c 'cd / ;list recursive'
>
> how do i call from f5rancid or do i have this all wrong ?
>
>
> {'tmsh -q list' => 'WriteTermTMSH'},
> #{'tmsh -q -c /"cd /;list recursive"/' => 'WriteTermTMSH'},
>
>
>
> On 2014-10-13 06:13, Mick O'Rourke wrote:
> > We found easiestquickest way to modify rancid-f5 - post 11.x version
> > checkdetect, call a bash script under /root/bin which runs "tmsh -q
> > -c
> > cd / ;list recursive" working around the rancid limitationerrors that
> > resulted when  cd / ;list recursive was added to rancid-f5 itself.
> >
> > On 12 October 2014 15:27, Shaun Krok <krok at krok.za.net [4]> wrote:
> >
> >> Hi
> >>
> >> I am busy to integrate Rancid into our network and have an issue
> >> with partitions on BIG IP LTM v11.x
> >> All  works fine but Rancid does not backup all partitions …
> >> I am using the script from GIT with TMSH commands
> >>
> >> This command work from bash : tmsh -q -c "cd /; list recursive" but
> >> does not from the script ..
> >>
> >> This is a snip from the forum where the issue was identified but is
> >> anyone aware if there is a fix :
> >>
> >> Thanks
> >>
> >> Shaun
> >>
> >> here is a working tmsh version in the rancid git repo.
> >>
> >> The only thing that doesnt work when adjusting the script to list
> >> all
> >> partition co config is a tmsh -q -c "cd /; list recursive" - it
> >> errors out
> >> due to extra double quotes required by the -c option.
> >> On Dec 6, 2012 8:57 PM, "Darius Seroka" <dariusjs at gmail.com [1]>
> >> wrote:
> >>
> >> Shaun Krok
> >> Network Team
> >>
> >> --
> >> Shaun Krok
> >> Tel: 050 2424 381
> >> _______________________________________________
> >> Rancid-discuss mailing list
> >> Rancid-discuss at shrubbery.net [2]
> >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss [3]
> >
> >
> >
> > Links:
> > ------
> > [1] http://gmail.com
> > [2] mailto:Rancid-discuss at shrubbery.net
> > [3] http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> > [4] mailto:krok at krok.za.net
>
> --
> Shaun Krok
> Tel: 050 2424 381
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
> This email message and its attachments are for the sole use of the
> intended recipient(s) and may not be shared with any other party. They may
> contain confidential information of 888 Holdings plc or its direct and
> indirect subsidiaries (together, the “888 Group”) and are to be regarded as
> confidential information under any non-disclosure agreement. Any review,
> use, disclosure or distribution by persons or entities other than the
> intended recipient(s) is prohibited. Nothing in this message is capable of
> or intended to create any legally binding obligation. The 888 Group will
> only ever assume a legally binding obligation where recorded in a written
> agreement duly executed by the authorized signatories of the relevant 888
> Group company. The 888 Group accepts no liability for any personal views
> expressed in this message. If you are not the intended recipient, please
> contact the sender by return and destroy all copies of the original message
> and its attachments. Thank you
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150204/982da531/attachment.html>


More information about the Rancid-discuss mailing list