Discussion:
[rancid] Grab the f5 UCS file and check it into CVS
Matt Almgren
2015-08-02 03:02:10 UTC
Permalink
Resending as I didn't see this make it to the mailing list.


--

Matt Almgren, Sr. Networking Engineer

101 Lytton Ave., Palo Alto. CA 94301

***@surveymonkey.com

408.499.9669


________________________________
From: Matt Almgren
Sent: Saturday, August 1, 2015 4:06 PM
To: rancid-***@shrubbery.net
Subject: Grab the f5 UCS file and check it into CVS


Is there any way Rancid can grab the UCS file from an f5 and then store that in CVS? I'm sure I can figure out a way to issue the command. But I'm not sure how to dump it (is it even in text?) and then store it into CVS.


Thanks!


--

Matt Almgren, Sr. Networking Engineer

101 Lytton Ave., Palo Alto. CA 94301

***@surveymonkey.com

408.499.9669
Chris Moody
2015-08-04 21:14:34 UTC
Permalink
UCS files are just "fancy tarballs" of various bits on an F5 (configs,
certs, etc). As such, they are self-contained entities.

I wrote a separate routine to generate and back up datestamped UCS
files across all my client's F5's. These lent themselves to quick
restoration of a failed/replaced unit.

RANCID's place on the other hand was not so much for copy/paste type
config restores (as one would do on say, a Cisco IOS node), but more
from the perspective of change tracking across the enterprise.

- -Chris

On 8/1/15 8:02 PM, Matt Almgren wrote:
> Resending as I didn't see this make it to the mailing list.
>
>
> --
>
> Matt Almgren, Sr. Networking Engineer
>
> 101 Lytton Ave., Palo Alto. CA 94301
>
> ***@surveymonkey.com
>
> 408.499.9669
>
>
>
> ----------------------------------------------------------------------
- --
>
>
*From:* Matt Almgren
> *Sent:* Saturday, August 1, 2015 4:06 PM *To:*
> rancid-***@shrubbery.net *Subject:* Grab the f5 UCS file and
> check it into CVS
>
>
> Is there any way Rancid can grab the UCS file from an f5 and then
> store that in CVS? I'm sure I can figure out a way to issue the
> command. But I'm not sure how to dump it (is it even in text?) and
> then store it into CVS.
>
>
> Thanks!
>
>
> --
>
> Matt Almgren, Sr. Networking Engineer
>
> 101 Lytton Ave., Palo Alto. CA 94301
>
> ***@surveymonkey.com
>
> 408.499.9669
>
>
>
> _______________________________________________ Rancid-discuss
> mailing list Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
Matt Almgren
2015-08-04 22:31:19 UTC
Permalink
I just stumbled across this. It might work better than Rancid since it's pushing the config tarballs out.


https://devcentral.f5.com/wiki/AdvDesignConfig.LTM_Backup_Shell_Script.ashx?lc=1#_Script_-_backup_cron_scriptvBBsh__6


-- Matt



________________________________
From: Matt Almgren
Sent: Tuesday, August 4, 2015 3:17 PM
To: Deny IP Any Any; rancid-***@shrubbery.net
Subject: Re: [rancid] Grab the f5 UCS file and check it into CVS


Yes, it's a compressed file. I'm not looking to check it in to CVS. Perhaps just add something to the script to grab it and store the last 7 days worth. This might not even be remotely related to rancid, but thought I'd pose the question here before diving into scripting this myself.


-- Matt



________________________________
From: Deny IP Any Any <***@gmail.com>
Sent: Tuesday, August 4, 2015 7:43 AM
To: Matt Almgren
Subject: Re: [rancid] Grab the f5 UCS file and check it into CVS

the ucs files appear to be gzip'ed tarballs.

$ file f5-backup-12Jun2015-0301.ucs
f5-backup-12Jun2015-0301.ucs: gzip compressed data, was "configsync-2.0-1-Linux-2.6.1816", from Unix, last modified: Fri Jun 12 03:01:06 2015, max speed


On Sat, Aug 1, 2015 at 7:06 PM, Matt Almgren <***@surveymonkey.com<mailto:***@surveymonkey.com>> wrote:

Is there any way Rancid can grab the UCS file from an f5 and then store that in CVS? I'm sure I can figure out a way to issue the command. But I'm not sure how to dump it (is it even in text?) and then store it into CVS.


Thanks!


--

Matt Almgren, Sr. Networking Engineer

101 Lytton Ave., Palo Alto. CA 94301

***@surveymonkey.com<mailto:***@surveymonkey.com>

408.499.9669<tel:408.499.9669>

_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss



--
deny ip any any (4393649193 matches)
Loading...