<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SnapCentre VMware Backup - Ensure VM powered Off in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SnapCentre-VMware-Backup-Ensure-VM-powered-Off/m-p/156419#M12851</link>
    <description>&lt;P&gt;Not hugely familiar with this product. Can SnapCenter ensure VMs are powered off before being snapped and power on thereafter? I have some Linux appliances that only support snapshots when powered off.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 11:08:36 GMT</pubDate>
    <dc:creator>darraghos</dc:creator>
    <dc:date>2025-06-04T11:08:36Z</dc:date>
    <item>
      <title>SnapCentre VMware Backup - Ensure VM powered Off</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCentre-VMware-Backup-Ensure-VM-powered-Off/m-p/156419#M12851</link>
      <description>&lt;P&gt;Not hugely familiar with this product. Can SnapCenter ensure VMs are powered off before being snapped and power on thereafter? I have some Linux appliances that only support snapshots when powered off.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:08:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCentre-VMware-Backup-Ensure-VM-powered-Off/m-p/156419#M12851</guid>
      <dc:creator>darraghos</dc:creator>
      <dc:date>2025-06-04T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: SnapCentre VMware Backup - Ensure VM powered Off</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCentre-VMware-Backup-Ensure-VM-powered-Off/m-p/156436#M12852</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I doubt SnapCenter for VMware can - Power-off and Power-on VMs, it will only take snapshots based on the point-in-time state of the VMs i.e On, off or suspended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it does have a provision for pre/post scripts but it has pre-defined Environmental variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Support for prescripts and postscripts:&lt;BR /&gt;&lt;A href="http://docs.netapp.com/ocsc-40/index.jsp?topic=%2Fcom.netapp.doc.ocsc-dpg-vm%2FGUID-6DF35CD2-7396-40FC-8E45-C464FA1A36F3.html" target="_blank"&gt;http://docs.netapp.com/ocsc-40/index.jsp?topic=%2Fcom.netapp.doc.ocsc-dpg-vm%2FGUID-6DF35CD2-7396-40FC-8E45-C464FA1A36F3.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Scripts are executed according to the value set for BACKUP_PHASE.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;BACKUP_PHASE=PRE_BACKUP&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Environment variables passed to scripts:&lt;BR /&gt;&lt;EM&gt;VIRTUAL_MACHINE.# &amp;lt;power-state&amp;gt;|&amp;lt;VM snapshot&amp;gt;|&lt;/EM&gt;&lt;BR /&gt;power-state = has the values POWERED_ON, POWERED_OFF, or SUSPENDED&lt;BR /&gt;VM snapshot = has the values true or false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't tested/tried, but I am guessing: If you set the value for - power-state to 'off' and 'VM snapshot 'true'. Then, it will take snapshot &lt;EM&gt;only when the state is powered-off.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, if your intention is to - Trigger Power-off VMs (specific) before snap and Power-on post Snapcenter backups. You may be able to customise and schedule it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;In Theory:&lt;/STRONG&gt;&lt;BR /&gt;1) Create a separate resource group (name it say -linux-specific) and add the specific Vms (linux ones) to it, set it to run, let's say &lt;STRONG&gt;@21&lt;/STRONG&gt; Hrs everyday.&lt;BR /&gt;2) Create a custom pre-script : That checks the state of the VMs in that resource group and if the VMs are power-on, it will be powered-off. Run this script &lt;STRONG&gt;@20:45&lt;/STRONG&gt;hrs, so that it will power-off the VMs before the snapcenter job kicks-off.&lt;BR /&gt;3) Create a custom post-script : That will power-on the VMs in that resource group. Run this script &lt;STRONG&gt;@21:15&lt;/STRONG&gt;. Usually, SnapCenter backup takes less than a minute, so 15 mints are more than enough, you might be able to set it to 21:10hrs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:44:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCentre-VMware-Backup-Ensure-VM-powered-Off/m-p/156436#M12852</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2020-05-22T10:44:13Z</dc:date>
    </item>
  </channel>
</rss>

