<?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 Viewing volume encryption status for array in Array Setup and Networking</title>
    <link>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985609#M1779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;A unusual request I suspect, Is there a way to generate a results output to display confirmation that every volume has encryption enabled.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I know this is unavailable from the volumes page but is available if you ‘drill’ into the details of each individual volume.&amp;nbsp; Don’t particularly wish to do this for over 1000 volumes! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Via the cli vol –list does not provide it however vol –info &amp;lt;vol name&amp;gt; does – Is there a way you can perform this across every volume?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 14:37:40 GMT</pubDate>
    <dc:creator>geoffh58</dc:creator>
    <dc:date>2015-10-13T14:37:40Z</dc:date>
    <item>
      <title>Viewing volume encryption status for array</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985609#M1779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;A unusual request I suspect, Is there a way to generate a results output to display confirmation that every volume has encryption enabled.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I know this is unavailable from the volumes page but is available if you ‘drill’ into the details of each individual volume.&amp;nbsp; Don’t particularly wish to do this for over 1000 volumes! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Via the cli vol –list does not provide it however vol –info &amp;lt;vol name&amp;gt; does – Is there a way you can perform this across every volume?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985609#M1779</guid>
      <dc:creator>geoffh58</dc:creator>
      <dc:date>2015-10-13T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing volume encryption status for array</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985610#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;You could take a look at REST APIs that are available in 2.3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;More details in this post: &lt;A href="https://community.hpe.com/nimble-blogpost/1219"&gt;Nimble OS 2.3 – REST API&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;By updating the query to include a filter for volumes with encryption_cipher=none, you can make a list of any volumes that dont have encryption enabled. Here's the full script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14447518034631389 jive_text_macro" jivemacro_uid="_14447518034631389" modifiedtitle="true"&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;# Enable HTTPS&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;# Get Token&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$array = "&amp;lt;ARRAY&amp;gt;"&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$username = "admin"&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$password = "&amp;lt;PASSWORD&amp;gt;"&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$data = @{&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username = $username&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; password = $password&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$body = convertto-json (@{ data = $data })&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;$uri = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" + $array + ":5392/v1/tokens"&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$token = Invoke-RestMethod -Uri $uri -Method Post -Body $body&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$token = $token.data.session_token&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;# Get Volume List&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$header = @{ "X-Auth-Token" = $token }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;$uri = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" + $array + ":5392/v1/volumes?encryption_cipher=none"&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$volume_list = Invoke-RestMethod -Uri $uri -Method Get -Header $header&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$vol_array = @();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;foreach ($volume_id in $volume_list.data.id){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $uri = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" + $array + ":5392/v1/volumes/" + $volume_id&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $volume = Invoke-RestMethod&amp;nbsp; -Uri $uri -Method Get -Header $header&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vol_array += $volume.data&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;# Print Results&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;###########################&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$vol_array | sort-object name | select name,size,encryption_cipher | format-table -autosize&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985610#M1780</guid>
      <dc:creator>rshekar42</dc:creator>
      <dc:date>2015-10-13T15:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing volume encryption status for array</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985611#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's excellent - Totally forgot about the ability to perform this in the API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/6985611#M1781</guid>
      <dc:creator>geoffh58</dc:creator>
      <dc:date>2015-10-13T16:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing volume encryption status for array</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/7168059#M3006</link>
      <description>&lt;P&gt;I used the below today&lt;BR /&gt;&lt;BR /&gt;(1) Download and install Powershell modules for Nimble&lt;BR /&gt;&lt;A href="https://infosight.hpe.com/InfoSight/media/software/active/15/205/HPENimblePowerShellToolkit.210.zip" target="_blank" rel="noopener"&gt;https://infosight.hpe.com/InfoSight/media/software/active/15/205/HPENimblePowerShellToolkit.210.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(2) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Connect-NSGroup -group &amp;lt;my-nimble-ip&amp;gt;  -credential admin -IgnoreServerCertificate
Get-NSVolume   |select Name, Vol_state, encryption_cipher&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This looks far simpler&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 02:46:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/viewing-volume-encryption-status-for-array/m-p/7168059#M3006</guid>
      <dc:creator>s-sakthivel</dc:creator>
      <dc:date>2022-06-08T02:46:45Z</dc:date>
    </item>
  </channel>
</rss>

