<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><div>I use a python script via cron job, it checks how many snapshots exist and removes those that<br data-mce-bogus="1"></div><div>exceed a configurable limit, then creates a new one.<br data-mce-bogus="1"></div><div>Deployed via puppet it's much less hassle than click around in a GUI/<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Kidger, Daniel" <daniel.kidger@hpe.com><br><b>To: </b>"gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org><br><b>Sent: </b>Wednesday, 2 February, 2022 11:07:25<br><b>Subject: </b>[gpfsug-discuss] Automating Snapshots : cron jobs or use the GUI ?<br></blockquote></div><div><style style="display:none">/*<![CDATA[*/P {
        margin-top: 0;
        margin-bottom: 0;
}
/*]]>*/</style></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Hi all,</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Since the subject of snapshots has come up, I also have a question ...</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Snapshots can be created from the command line with <b>mmcrsnapshot, </b>and hence can be automated via con jobs etc.</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Snapshots can also be created from the Scale GUI. The GUI also provides its own automation for the creation, retention, and deletion of snapshots.</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
My question is: do most customers use the former or the latter for automation?</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
(I also note that <b>/usr/lpp/mmfs/gui/cli/mksnaprule </b>exists and appears to do exactly the same as what the GUI does it terms of creating automated snapshots. It is a relic of V7000 Unified but still works fine in Spectrum Scale 5.1.2.2. How many customers
 also use the commands found in <b>/usr/lpp/mmfs/gui/cli</b>/  ? )</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Daniel<br>
</div>
<div>
<div style="font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br>
</div>
<div id="Signature">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="line-height:12pt"><b><span style="font-size:10pt;font-family:'arial' , sans-serif;color:black">Daniel Kidger</span></b><br>
<span style="color:black">HPC Storage Solutions Architect, EMEA</span><span style="font-size:10pt;font-family:'arial' , sans-serif;color:black"><br>
</span><span style="font-size:10pt;font-family:'arial' , sans-serif;color:#040400"><a href="mailto:daniel.kidger@hpe.com" rel="noopener noreferrer nofollow noopener noreferrer" target="_blank">daniel.kidger@hpe.com</a><br>
<br>
</span><span style="font-size:10pt;font-family:'arial' , sans-serif;color:black">+44 (0)7818 522266  <br>
<br>
</span><span style="font-size:10pt;font-family:'arial' , sans-serif;color:#040400"><a href="http://www.hpe.com/" rel="noopener noreferrer nofollow noopener noreferrer" target="_blank"><b><span style="color:black">hpe.com</span></b></a><br>
<br>
<br>
</span><img style="width:1.9791in;height:1in" src="cid:548be828-dcc2-4a88-ac2e-ff5106b3f802" width="190" height="96"></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br>http://gpfsug.org/mailman/listinfo/gpfsug-discuss<br></blockquote></div></div></body></html>