<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Thank  you very much!  I’ll let you know how it goes in the next couple weeks.  </div>
<div><br>
</div>
<div> — Matt</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Scott Granados <<a href="mailto:scott.granados@gmail.com">scott.granados@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, June 10, 2015 at 7:40 AM<br>
<span style="font-weight:bold">To: </span>Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>><br>
<span style="font-weight:bold">Cc: </span>Alan McKinnon <<a href="mailto:alan.mckinnon@gmail.com">alan.mckinnon@gmail.com</a>>, "<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [rancid] Backing up F5 BigIP LTM with rancid?<br>
</div>
<div><br>
</div>
<div>
<div>
<div style="word-wrap:break-word">I have 3.5 working.
<div><br>
</div>
<div>Basically using the internal library / included.  I will attach the f5rancid file I’m using though and earlier in this thread there’s an F5 part 2 line script you’ll need.</div>
<div><br>
</div>
<div>I will cut and paste the contents of that in the file.</div>
<div><br>
</div>
<div>First, creat a file called f5part in the /config dir of your F5.  This is needed if you use partitions only.</div>
<div><br>
</div>
<div>put the contents that follow in to this file and save</div>
<div><br>
</div>
<div>
<div style="margin:0px; font-size:11px; font-family:Menlo">#!/bin/bash</div>
<div style="margin:0px; font-size:11px; font-family:Menlo">tmsh -q -c "cd /;list recursive"</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Make sure the file can be executed and then use the attached f5rancid which should pull down what you need.  Let me know how you make out, will be glad to help more if I can.</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div></div>
</div>
<div style="word-wrap:break-word">
<div><br>
<div>
<div>On Jun 10, 2015, at 10:19 AM, Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<blockquote type="cite"><br>
<br>
Yup, I did.  I too am using 11.5.x with TMSH and HA.  I was hoping that<br>
since you had already done the lions share of the work and had something<br>
working (or in progress), you would be able to share what you have with<br>
the rest of us.  <br>
<br>
I have a working Rancid copy of 2.8.x working well with f5 LTM, but have<br>
heard there were some problems with 3.2 and was just waiting until all the<br>
kinks have been worked out. Sounds like we¹re almost there.<br>
<br>
‹ Matt<br>
<br>
<br>
<br>
<br>
<br>
On 6/10/15, 7:14 AM, "Scott Granados" <<a href="mailto:scott.granados@gmail.com">scott.granados@gmail.com</a>> wrote:<br>
<br>
<blockquote type="cite">If you follow the thread between Josh and myself he helped me get to<br>
where I needed to be with a pair of F5 BigIPs with HA and partitioning<br>
enabled.  Also it¹s important to note you need an f5rancid file that¹s<br>
based on tmsh instead of bagpipe as bagpipe is deprecated.<br>
<br>
<br>
<br>
On Jun 10, 2015, at 9:36 AM, Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>> wrote:<br>
<br>
<blockquote type="cite">Jos and Alan, if you get this working, can you please share the<br>
f5rancid file with me?  I'll be setting up a 3.2 installation in the<br>
next couple weeks.<br>
<br>
Much thanks!<br>
<br>
--iMatt<br>
<br>
<blockquote type="cite">On Jun 9, 2015, at 10:55 PM, Alan McKinnon <<a href="mailto:alan.mckinnon@gmail.com">alan.mckinnon@gmail.com</a>><br>
wrote:<br>
<br>
<blockquote type="cite">On 10/06/2015 07:43, Jos wrote:<br>
Hi Scott<br>
<br>
I trust you got this sorted by now, but you were not alone with this.<br>
I<br>
have finally managed to get this going on a Centos 6.5 machine with<br>
the<br>
config attached (a hacked amalgam of 3.2 rancid and the github tmsh<br>
stuff), hoping it¹s helpful to someone, the F5¹s we have that this<br>
works<br>
for are running 11.5.1 Build 4.123.128. It¹s currently producing<br>
noise,<br>
specifically the encrypted passwords for a couple local user accounts<br>
keep<br>
getting flagged in cvs as changing, but otherwise works well.<br>
<br>
If I can figure out the regex to remove the encrypted passwords that<br>
follow:<br>
<br>
auth-password-encrypted<br>
<br>
Or<br>
privacy-password-encrypted<br>
<br>
<br>
I can share.<br>
</blockquote>
<br>
<br>
<br>
The rancid scripts are peppered with these sort of checks. Something<br>
like this:<br>
<br>
if (/^(\s*auth|privacy)-password-encrypted/ && $filter_pwds >= 1) {<br>
ProcessHistory("whatever}","","","$1-password-encrypted <removed>\n");<br>
}<br>
next;<br>
<br>
Regex gets complicated. There's a few examples aready in sub WriteTerm.<br>
You'll obviously have to adapt the regex to cater for all the multiple<br>
and various outputs different models from your vendor spit out.<br>
<br>
-- <br>
Alan McKinnon<br>
<a href="mailto:alan.mckinnon@gmail.com">alan.mckinnon@gmail.com</a><br>
<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</blockquote>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>