[rancid] rancid not working with partitions v11.x tmsh F5 LTM
Shaun Krok
Shaun.Krok at 888holdings.com
Fri Feb 6 18:51:06 UTC 2015
Thanks John --- this worked
Much appreciated
Shaun
From: John Kougoulos [mailto:john.kougoulos at gmail.com]
Sent: Wednesday, February 04, 2015 12:57 PM
To: Shaun Krok
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] rancid not working with partitions v11.x tmsh F5 LTM
Hi,
I had a similar problem with the width of the terminal, so when the device was out of sync, the prompt was becoming longer and some of the commands failed to be parsed.
I had to change in f5rancid the line:
$ENV{'TERM'} = "vt100";
to:
$ENV{'TERM'} = "vt100-w";
Regards,
John
On Wed, Feb 4, 2015 at 8:33 AM, Shaun Krok <Shaun.Krok at 888holdings.com<mailto: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<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<mailto: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<mailto: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<http://gmail.com> [1]>
>> wrote:
>>
>> Shaun Krok
>> Network Team
>>
>> --
>> Shaun Krok
>> Tel: 050 2424 381
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net<mailto: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<mailto:Rancid-discuss at shrubbery.net>
> [3] http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> [4] mailto:krok at krok.za.net<mailto:krok at krok.za.net>
--
Shaun Krok
Tel: 050 2424 381
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net<mailto: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<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150206/63c70ba4/attachment.html>
More information about the Rancid-discuss
mailing list