<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Simon,</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);">
Thanks - that is a good insight.</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);">
The HA 'feature' of the snapshot automation is perhaps a key feature as Linux still lacks a decent 'cluster cron'</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Also, If "HA" do we know where the state is centrally kept?<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);">
On the point of snapshots being left undeleted, do you ever use <i>/usr/lpp/mmfs/gui/cli/lssnapops</i> to see what the queue of outstanding actions is like?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(There is also a notification tool:  <i>lssnapnotify</i> in that directory that is supposed to alert on failed snapshot actions, although personally I have never used it)
<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:12.0pt"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Daniel Kidger<br>
</span></b><br>
<span style="color:black">HPC Storage Solutions Architect, EMEA</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#040400"><a href="mailto:daniel.kidger@hpe.com" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="0"><span>daniel.kidger@hpe.com</span></a><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">+44 (0)7818 522266  <br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#040400"><a href="http://www.hpe.com/" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="1"><b><span style="color:black">hpe.com</span></b></a><br>
<br>
<br>
</span><span><img style="width:1.9791in;height:1in;cursor:pointer" width="190" height="96" data-outlook-trace="F:1|T:1" src="cid:fce0ce85-6ae4-44ce-aa94-d7d099e68acb"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> on behalf of Simon Thompson2 <sthompson2@lenovo.com><br>
<b>Sent:</b> 02 February 2022 10:52<br>
<b>To:</b> gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Subject:</b> Re: [gpfsug-discuss] [External] Automating Snapshots : cron jobs or use the GUI ?</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Helvetica}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
span.x_EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="">I always used the GUI for automating snapshots that were tagged with the YYMMDD format so that they were accessible via the previous versions tab from CES access.</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">This requires no locking if you have multiple GUI servers running, so in theory the snapshots creation is “HA”. BUT if you shutdown the GUI servers (say you are waiting for a log4j patch …) then you have no snapshot automation.</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">Due to the way we structured independent filesets, this could be 50 or so to automate and we wanted to set a say 4 day retention policy. So clicking in the GUI was pretty simple to do this for.</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">What we did found is it a snapshot failed to delete for some reason (quiesce etc), then the GUI never tried again to clean it up so we have monitoring to look for unexpected snapshots that needed cleaning up.</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">Simon</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<div>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td colspan="3" style="padding:0cm 0cm 0cm 0cm">
<div style="margin-top:15.0pt; margin-bottom:15.0pt">
<div class="x_MsoNormal" align="center" style="text-align:center"><span style="font-size:10.5pt; font-family:"Helvetica",sans-serif; color:#333333">
<hr size="1" width="100%" align="center">
</span></div>
</div>
</td>
</tr>
<tr>
<td width="400" valign="top" style="width:300.0pt; padding:0cm 0cm 0cm 0cm">
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width:300.0pt; border-collapse:collapse">
<tbody>
<tr>
<td width="200" valign="top" style="width:150.0pt; padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#404040">Simon Thompson</span></b><br>
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#404040">He/Him/His</span><br>
<span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#404040">Senior Storage Performance
</span><br>
<span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#404040">WW HPC Customer Solutions<br>
Lenovo UK</span></p>
</td>
<td width="200" valign="top" style="width:150.0pt; padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><img width="23" height="9" id="x_Picture_x0020_2" alt="Phone" style="width:.243in; height:.0972in" data-outlook-trace="F:1|T:1" src="cid:image001.gif@01D81822.F63BAB90"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#404040">+44
 7788 320635</span><br>
<img width="23" height="9" id="x_Picture_x0020_3" alt="Email" style="width:.243in; height:.0972in" data-outlook-trace="F:1|T:1" src="cid:image002.gif@01D81822.F63BAB90"><a href="mailto:sthompson2@lenovo.com" target="_blank"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#404040; text-decoration:none">sthompson2@lenovo.com</span></a></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"> </p>
</td>
</tr>
<tr>
<td colspan="2" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040"><a href="http://www.lenovo.com/" target="_blank"><span style="color:#404040">Lenovo.com</span></a><br>
<a href="http://twitter.com/lenovo" target="_blank"><span style="color:#404040">Twitter</span></a></span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040">|</span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040"><a href="https://instagram.com/lenovo" target="_blank"><span style="color:#404040">Instagram</span></a></span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040">|</span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040"><a href="http://www.facebook.com/lenovo" target="_blank"><span style="color:#404040">Facebook</span></a></span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040">|</span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040"><a href="http://www.linkedin.com/company/lenovo" target="_blank"><span style="color:#404040">Linkedin</span></a></span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040">|</span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040"><a href="http://www.youtube.com/lenovovision" target="_blank"><span style="color:#404040">YouTube</span></a></span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040">|</span><span style="font-size:5.0pt; font-family:"Arial",sans-serif; color:#404040"> </span><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#404040"><a href="https://www.lenovo.com/gb/en/privacy-selector/" target="_blank"><span style="color:#404040">Privacy</span></a></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="background:white; padding:0cm 0cm 0cm 0cm">
<div align="right">
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><img border="0" width="324" height="164" id="x__x0000_i1028" style="width:3.375in; height:1.7083in" data-outlook-trace="F:1|T:1" src="cid:image003.png@01D81822.F63BAB90"></p>
</td>
</tr>
</tbody>
</table>
</div>
</td>
<td style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"> </p>
</div>
<p class="x_MsoNormal"><span style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org>
<b>On Behalf Of </b>Kidger, Daniel<br>
<b>Sent:</b> 02 February 2022 10:07<br>
<b>To:</b> gpfsug-discuss@spectrumscale.org<br>
<b>Subject:</b> [External] [gpfsug-discuss] Automating Snapshots : cron jobs or use the GUI ?</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Hi all,</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Since the subject of snapshots has come up, I also have a question ...</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Snapshots can be created from the command line with
<b>mmcrsnapshot, </b>and hence can be automated via con jobs etc.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Snapshots can also be created from the Scale GUI. The GUI also provides its own automation for the creation, retention, and deletion of snapshots.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">My question is: do most customers use the former or the latter for automation?</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">(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>/  ? )</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Daniel</span></p>
</div>
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div id="x_Signature">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="line-height:12.0pt"><b><span style="font-size:10.0pt; 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:10.0pt; font-family:"Arial",sans-serif; color:black"><br>
</span><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#040400"><a href="mailto:daniel.kidger@hpe.com" target="_blank">daniel.kidger@hpe.com</a><br>
<br>
</span><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">+44 (0)7818 522266  <br>
<br>
</span><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#040400"><a href="https://apc01.safelinks.protection.outlook.com/?url=http://www.hpe.com/&data=04|01|sthompson2@lenovo.com|51f07ae3d10e4b72b3f508d9e6376ade|5c7d0b28bdf8410caa934df372b16203|1|0|637793948599274589|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0=|2000&sdata=POLEOGqPow4lBYq4jkLfTwDY5xpIJGe0FzOBoRMiVmo=&reserved=0" target="_blank"><b><span style="color:black">hpe.com</span></b></a><br>
<br>
<br>
</span><img border="0" width="190" height="96" id="x_Picture_x0020_1" style="width:1.9791in; height:1.0in" data-outlook-trace="F:1|T:1" src="cid:image004.png@01D81822.F63BAB90"></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>