<?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 Powershell Command to Change Performance Policies on Cloned Volume in Array Setup and Networking</title>
    <link>https://community.hpe.com/t5/array-setup-and-networking/powershell-command-to-change-performance-policies-on-cloned/m-p/6984912#M1526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been looking to take the burden off of my Windows 2012 serve cluster for backup snapshots.&amp;nbsp; Up to this point using Vice Versa and Windows VSS to backup data to a whitebox over 10gig.&amp;nbsp; Surprisingly effective but drains resources from a file server that is busy serving up files.&amp;nbsp; I've come up with a way to mount these NTFS iSCSI volumes on a different host using powershell but would like to set these cloned volumes to a non-cached performance policy. The reasoning is that any data that is pulled from these clones won't contribute to cache churn.&amp;nbsp; I'm hoping there is a flag I can set that will allow me to change the performance policy of a cloned volume.&amp;nbsp; Up till this point I've only seen that option on creation of new volumes in powershell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the scripts I am using to Mount and Unmount cloned NTFS volumes to another host.&amp;nbsp; If you use a file based backup solution like Vice Versa this should work well.&amp;nbsp; Thanks to the code examples I'd seen on Nimble Connect for getting me most of the way there.&amp;nbsp; Thanks to Technet for the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to create a clone, update iSCSI on windows server, and mount a drive with a specific letter.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NSArray -SystemName 1.1.1.1 -Password ********&lt;/P&gt;&lt;P&gt;Get-NSSnapShot -Volume MainDisk&lt;/P&gt;&lt;P&gt;Get-NSVolume -Name MainDisk | New-NSSnapshot -Name MainDiskClone | New-NSClone -Name MainDiskClone&lt;/P&gt;&lt;P&gt;Add-NSInitiatorGroupToVolume -InitiatorGroup backup-server -Volume MainDiskClone -Access Volume&lt;/P&gt;&lt;P&gt;Update-IscsiTarget&lt;/P&gt;&lt;P&gt;$tar = Get-IscsiTarget -NodeAddress *MainDiskClone*&lt;/P&gt;&lt;P&gt;Connect-IscsiTarget -NodeAddress $tar.NodeAddress&lt;/P&gt;&lt;P&gt;$disk = Get-Disk | ? OperationalStatus -EQ Offline&lt;/P&gt;&lt;P&gt;set-disk -InputObject $disk -IsOffline $false&lt;/P&gt;&lt;P&gt;set-disk -InputObject $disk –IsReadOnly $false&lt;/P&gt;&lt;P&gt;$drivename = gwmi win32_volume -Filter "Label = 'MainDiskClone'"&lt;/P&gt;&lt;P&gt;$drivename.DriveLetter = "V:"&lt;/P&gt;&lt;P&gt;$drivename.put()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unmounting a clone from windows server and destroying it on the Nimble Array&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NSArray -SystemName 1.1.1.1 -Password ********&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;$tardrop = Get-IscsiTarget -NodeAddress *MainDisk*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Disconnect-IscsiTarget -NodeAddress $tardrop.NodeAddress -confirm:$false&lt;/P&gt;&lt;P&gt;Remove-NSVolume MainDiskClone –Force&lt;/P&gt;&lt;P&gt;Get-NSVolume MainDisk | Get-NSSnapShot | Remove-NSSnapShot -Force&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help somebody and if anybody has any interest in revealing or adding the functionality of changing the performance policy for a cloned volume I would be very interested to hear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Oct 2014 07:05:00 GMT</pubDate>
    <dc:creator>dmccurley82</dc:creator>
    <dc:date>2014-10-26T07:05:00Z</dc:date>
    <item>
      <title>Powershell Command to Change Performance Policies on Cloned Volume</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/powershell-command-to-change-performance-policies-on-cloned/m-p/6984912#M1526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been looking to take the burden off of my Windows 2012 serve cluster for backup snapshots.&amp;nbsp; Up to this point using Vice Versa and Windows VSS to backup data to a whitebox over 10gig.&amp;nbsp; Surprisingly effective but drains resources from a file server that is busy serving up files.&amp;nbsp; I've come up with a way to mount these NTFS iSCSI volumes on a different host using powershell but would like to set these cloned volumes to a non-cached performance policy. The reasoning is that any data that is pulled from these clones won't contribute to cache churn.&amp;nbsp; I'm hoping there is a flag I can set that will allow me to change the performance policy of a cloned volume.&amp;nbsp; Up till this point I've only seen that option on creation of new volumes in powershell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the scripts I am using to Mount and Unmount cloned NTFS volumes to another host.&amp;nbsp; If you use a file based backup solution like Vice Versa this should work well.&amp;nbsp; Thanks to the code examples I'd seen on Nimble Connect for getting me most of the way there.&amp;nbsp; Thanks to Technet for the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to create a clone, update iSCSI on windows server, and mount a drive with a specific letter.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NSArray -SystemName 1.1.1.1 -Password ********&lt;/P&gt;&lt;P&gt;Get-NSSnapShot -Volume MainDisk&lt;/P&gt;&lt;P&gt;Get-NSVolume -Name MainDisk | New-NSSnapshot -Name MainDiskClone | New-NSClone -Name MainDiskClone&lt;/P&gt;&lt;P&gt;Add-NSInitiatorGroupToVolume -InitiatorGroup backup-server -Volume MainDiskClone -Access Volume&lt;/P&gt;&lt;P&gt;Update-IscsiTarget&lt;/P&gt;&lt;P&gt;$tar = Get-IscsiTarget -NodeAddress *MainDiskClone*&lt;/P&gt;&lt;P&gt;Connect-IscsiTarget -NodeAddress $tar.NodeAddress&lt;/P&gt;&lt;P&gt;$disk = Get-Disk | ? OperationalStatus -EQ Offline&lt;/P&gt;&lt;P&gt;set-disk -InputObject $disk -IsOffline $false&lt;/P&gt;&lt;P&gt;set-disk -InputObject $disk –IsReadOnly $false&lt;/P&gt;&lt;P&gt;$drivename = gwmi win32_volume -Filter "Label = 'MainDiskClone'"&lt;/P&gt;&lt;P&gt;$drivename.DriveLetter = "V:"&lt;/P&gt;&lt;P&gt;$drivename.put()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unmounting a clone from windows server and destroying it on the Nimble Array&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NSArray -SystemName 1.1.1.1 -Password ********&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;$tardrop = Get-IscsiTarget -NodeAddress *MainDisk*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Disconnect-IscsiTarget -NodeAddress $tardrop.NodeAddress -confirm:$false&lt;/P&gt;&lt;P&gt;Remove-NSVolume MainDiskClone –Force&lt;/P&gt;&lt;P&gt;Get-NSVolume MainDisk | Get-NSSnapShot | Remove-NSSnapShot -Force&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help somebody and if anybody has any interest in revealing or adding the functionality of changing the performance policy for a cloned volume I would be very interested to hear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 07:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/powershell-command-to-change-performance-policies-on-cloned/m-p/6984912#M1526</guid>
      <dc:creator>dmccurley82</dc:creator>
      <dc:date>2014-10-26T07:05:00Z</dc:date>
    </item>
  </channel>
</rss>

