<?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>Snapvault on BAFM</title><link>https://christian.blog.pakiheim.de/tags/snapvault/</link><description>Recent content in Snapvault on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Fri, 08 Aug 2014 08:25:56 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/snapvault/index.xml" rel="self" type="application/rss+xml"/><item><title>NetApp: Archive SnapManager SQL snapshots</title><link>https://christian.blog.pakiheim.de/posts/2014-08-08_netapp-archive-snapmanager-sql-snapshots/</link><pubDate>Fri, 08 Aug 2014 08:25:56 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4410</guid><description>&lt;p&gt;As I wrote before, we&amp;rsquo;re using SnapManager (for SQL/Oracle) to create consistent snapshots. However my database guys don&amp;rsquo;t want to name their snapshots daily.&lt;!-- raw HTML omitted --&gt; (which I can understand), as once you archive those snapshots to a secondary (and tertiary) system, the names become junk.&lt;/p&gt;
&lt;p&gt;So, they&amp;rsquo;re naming the snapshots like snap__vcsrv_29_12_2012-10.00.01. Sadly, when it comes to SnapVault, it expects the names in form of daily.&lt;!-- raw HTML omitted --&gt; otherwise you won&amp;rsquo;t be able to transfer the snapshots with the CLI (none that I have found anyway).&lt;/p&gt;
&lt;p&gt;But we didn&amp;rsquo;t want to move away from naming the snapshots the way they are, so I ended up writing a PowerShell script, that once triggered archives the Snapshots needed for a set of databases. It took me a while to figure a bunch of stuff out, but in the end I think I have a working way of archiving custom-named snapshots.&lt;/p&gt;</description></item><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: Establishing SnapVault relations</title><link>https://christian.blog.pakiheim.de/posts/2014-08-08_netapp-establishing-snapvault-relations/</link><pubDate>Fri, 08 Aug 2014 08:22:46 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4361</guid><description>&lt;p&gt;I&amp;rsquo;ve been spending a lot of my time the last week on getting SnapVault with out FAS-filers to work. Out came a script, which does this for a given volume (and of course SnapVault Primary and Secondary).&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.&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>Dealing with SnapVault replication issues</title><link>https://christian.blog.pakiheim.de/posts/2013-04-09_dealing-with-snapvault-replication-issues/</link><pubDate>Tue, 09 Apr 2013 16:05:30 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4596</guid><description>&lt;p&gt;Well, for the past two months I had a case open with NetApp to figure out this SnapVault replication issue we were seeing. The initial transfer of the SnapVault relation would complete with a hick up, manual snapshot transfers also work - just the scheduled, auto-created Snapshots won&amp;rsquo;t replicate.&lt;/p&gt;
&lt;p&gt;At first I (and the NetApp support) thought this was an issue with SnapVault itself, however after being away for the last four weeks I looked at the issue with fresh eyes. After a short peek into the logs, I found what I had found back when I first looked into this.&lt;/p&gt;</description></item><item><title>NetApp: SnapVault snapshot retention for non-standard snapshot names</title><link>https://christian.blog.pakiheim.de/posts/2012-12-29_netapp-snapvault-snapshot-retention-for-non-standard-snapshot-names/</link><pubDate>Sat, 29 Dec 2012 09:37:48 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4425</guid><description>&lt;p&gt;Well, the name says it pretty much. Once you rename the snapshot on the SnapVault destination from daily.0 to something else, the whole builtin SnapVault snapshot retention isn&amp;rsquo;t gonna work anymore.&lt;/p&gt;
&lt;p&gt;Back when I started all the code-writing, I wasn&amp;rsquo;t aware of this. One of my co-worker complained to me about it on Wednesday that there are an assfull of snapshots on the SnapVault destination (one snapshot each day since the end of October, meaning more than 50 snapshots per volume, in a total of 12 or so FlexVolumes, making the total about 500 snapshots).&lt;/p&gt;
&lt;p&gt;So I took the time to write this little Bash script (yeah, I know I&amp;rsquo;m mixing a bunch of languages - I really like the &lt;a href="http://en.wikipedia.org/wiki/KISS_principle"&gt;KISS&lt;/a&gt; principle), which will get the necessary information from the filer (snapvault snap sched needs to be set) and then deletes the over-aged snapshots.&lt;/p&gt;</description></item><item><title>NetApp: Archive SnapManager SQL Snapinfo</title><link>https://christian.blog.pakiheim.de/posts/2012-12-29_netapp-archive-snapmanager-sql-snapinfo/</link><pubDate>Sat, 29 Dec 2012 09:16:45 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4416</guid><description>The MSSQL admins decided to dump the SMSQL Snapinfo stuff on a separate volume, that SMSQL also snapshots. &lt;a href="http://christian.weblog.heimdaheim.de/2012/12/29/netapp-archive-snapmanager-sql-snapshots/" title="NetApp: Archive SnapManager SQL snapshots"&gt;Same as before&lt;/a&gt;, I need a PowerShell script that&amp;rsquo;ll archive the snapshot and rename it.</description></item><item><title>NetApp: Archive SnapManager Oracle Snapshots</title><link>https://christian.blog.pakiheim.de/posts/2012-12-29_netapp-archive-snapmanager-oracle-snapshots/</link><pubDate>Sat, 29 Dec 2012 09:12:57 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4413</guid><description>And here&amp;rsquo;s the script for SMO. However, since different people administrate the Oracle Databases, they don&amp;rsquo;t want me to tinker with the database like the MSSQL admins. They give me a CSV-list of volumes, that should be backed up and I work with that.</description></item></channel></rss>