<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Snapmirror on BAFM</title><link>https://christian.blog.pakiheim.de/tags/snapmirror/</link><description>Recent content in Snapmirror on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Fri, 08 Aug 2014 08:25:10 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/snapmirror/index.xml" rel="self" type="application/rss+xml"/><item><title>Implementing SnapVault backups - the hard way</title><link>https://christian.blog.pakiheim.de/posts/2014-08-08_implementing-snapvault-backups-the-hard-way/</link><pubDate>Fri, 08 Aug 2014 08:25:10 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4372</guid><description>&lt;p&gt;Well, I recently had the pleasant task of implementing SnapVault backups, that are being shipped to an offsite location with SnapMirror.&lt;/p&gt;
&lt;p&gt;That in itself isn&amp;rsquo;t the bad thing, however we decided against Protection Manager (since it was a charged product back when we decided on this). So I basically had the three tasks:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Actually implement the SnapVault stuff (and learn my way around it and also document it)&lt;/li&gt;
&lt;li&gt;Write a bunch of scripts, that help us in creating scheduled backups of our databases&lt;/li&gt;
&lt;li&gt;Create a monitoring script, that&amp;rsquo;ll fit into our Nagios environment already in place&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Well, two months later (sadly it still has some kinks - I can&amp;rsquo;t figure out this one bug though for the life of it) and a few hundred hours of working on/with it and out came four things:&lt;/p&gt;</description></item><item><title>NetApp: Monitoring of SnapVault/SnapMirror/LUN/Snapshot information with Nagios</title><link>https://christian.blog.pakiheim.de/posts/2013-12-15_netapp-monitoring-of-snapvault-snapmirror-lun-snapshot-information-with-nagios/</link><pubDate>Sun, 15 Dec 2013 15:51:03 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4422</guid><description>&lt;p&gt;&lt;a href="http://christian.weblog.heimdaheim.de/2012/12/29/implementing-snapvault-backups-the-hard-way/" title="Implementing SnapVault backups – the hard way"&gt;As I wrote before&lt;/a&gt;, we have a bunch of filers (and a ton of volumes w/ luns on them), that I need to monitor. At first, I tried the existing NetApp Nagios-Plugin(s), but they all use SNMP and with that I can either watch all volumes or none. And that didn&amp;rsquo;t satisfy me.&lt;/p&gt;
&lt;p&gt;Don&amp;rsquo;t get me wrong, the existing plugins are okay and I still use them for stuff (like GLOBALSTATUS or FAN/CPU/POWER) which isn&amp;rsquo;t present in the API or real hard to get at, however I wanted more. So I ended up looking at the NetApp API, and ended up writing a &amp;ldquo;short&amp;rdquo; plugin for Nagios using Perl.&lt;/p&gt;
&lt;p&gt;Maybe if I&amp;rsquo;m ever bored, I&amp;rsquo;ll rewrite it using C, but for now the Perl plugin has to suffice.&lt;/p&gt;
&lt;p&gt;So far the plugin supports the following things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Monitoring FlexVolumes (simply watching the free space)&lt;/li&gt;
&lt;li&gt;Monitoring LUN space (the allocated space inside a FlexVolume for iSCSI/FC LUNs)&lt;/li&gt;
&lt;li&gt;Monitoring Snapshot space (the allocated space inside a FlexVolume for Snapshots)&lt;/li&gt;
&lt;li&gt;Monitoring SnapVault relations (and their age)&lt;/li&gt;
&lt;li&gt;Monitoring SnapMirror relations (and their age)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The plugin will return performance data for most (if not all) of those classes. It needs a user on the filer you wish to monitor - which sadly needs to have the admin role.&lt;/p&gt;</description></item><item><title>NetApp: Establishing SnapMirror relationships</title><link>https://christian.blog.pakiheim.de/posts/2012-12-31_netapp-establishing-snapmirror-relationships/</link><pubDate>Mon, 31 Dec 2012 09:44:19 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4428</guid><description>&lt;p&gt;After &lt;a href="http://christian.weblog.heimdaheim.de/2012/12/30/netapp-establishing-snapvault-relations/" title="NetApp: Establishing SnapVault relations"&gt;figuring out the SnapVault stuff&lt;/a&gt;, I needed to implement a whole bunch of SnapMirror relations. As I am lazy (as in click-lazy), I ended up writing a somewhat short Bash script, that&amp;rsquo;ll either establish a bunch of SnapMirror relations (for a single host) or just for a single volume.&lt;/p&gt;
&lt;p&gt;The script expects, that &lt;a href="http://christian.weblog.heimdaheim.de/2012/03/07/netapp-fasdata-ontap-public-key-authentification-with-cifsnfs-license/" title="NetApp FAS/Data ONTAP public key authentification with CIFS/NFS license"&gt;SSH public key authentification&lt;/a&gt; has been set up, and that the source for the SnapMirror exists and is online/not-restricted.&lt;/p&gt;</description></item><item><title>TSM and NetApp - Another Quick Hint</title><link>https://christian.blog.pakiheim.de/posts/2012-05-27_tsm-and-netapp-another-quick-hint/</link><pubDate>Sun, 27 May 2012 13:45:22 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4290</guid><description>&lt;p&gt;Well, we&amp;rsquo;ve been trying to come up with a decent way to backup NetApp snapshots to tape (SnapMirror To Tape), so we evaluated all the available methods of using NDMP backups.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;There&amp;rsquo;s Image Backup in two different variants - FULL and DIFFerntial&lt;/li&gt;
&lt;li&gt;There&amp;rsquo;s SnapMirror To Tape&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So the Image Backup is one of the ways. However the DIFFerntial backup only works for CIFS and NFS shares (which we don&amp;rsquo;t use). We only have FC luns (or rather FCoE luns), so there&amp;rsquo;s only a single (or in case of the boot luns more than one) file in each volume. With that however, each run of the Image Backup with the DIFFerential option, it&amp;rsquo;s gonna backup the full size of the volume (plus the deduplicated amount).&lt;/p&gt;</description></item></channel></rss>