<?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 Re: Query: New-HPESALogicalDrive  multiple logical drives within single RAID5 set in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170587#M9439</link>
    <description>&lt;P style="margin: 0;"&gt;Greetings!&lt;/P&gt;
&lt;P style="margin: 0;"&gt;It looks like New-HPESALogicalDrive is designed to create the initial OS logical drive. It will accept multiple objects to enable multiple Logical drives to be created on multiple iLO destinations, but not multiple drives to a single iLO destination. &amp;nbsp;The limitation is iLO REST will only accept a single Logical Drive creation operation at a time and purely for the purpose of creating the initial OS drive.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Having said that, I would advise you to log a support ticket so that this scenario of creating multiple logical drives can be tested further in the lab.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 02:21:31 GMT</pubDate>
    <dc:creator>BPSingh</dc:creator>
    <dc:date>2022-07-18T02:21:31Z</dc:date>
    <item>
      <title>New-HPESALogicalDrive  multiple logical drives within single RAID5 set</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170358#M9432</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to create multiple logical drives within one RAID5 set using the PowerShell HPE SmartArray cmdlets. Doing this in the GUI is easy, but I'm struggling with the automation. It will create the first logical drive and then overwrite it with the second logical drive. Is there any way to create multiple logical drives in one RAID5 set? See code below.&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;$Servers= "Server1.domain.local"&lt;BR /&gt;$Credential=Get-Credential&lt;BR /&gt;ForEach ($Server in $Servers)&lt;BR /&gt;{&lt;BR /&gt;$SAConnection= Connect-HPESA -IP $Server -Credential $Credential -DisableCertificateAuthentication&lt;BR /&gt;$iLOConnection= Connect-HPEiLO -IP $Server -Credential $Credential -DisableCertificateAuthentication&lt;BR /&gt;Start-Sleep -s 60&lt;BR /&gt;$HostPower= Get-HPEiLoServerPower -Connection $iLOConnection&lt;BR /&gt;If ($HostPower.Power -eq "Off")&lt;BR /&gt;{&lt;BR /&gt;Set-HPEiLoServerPower -Connection $iLOConnection -Power on&lt;BR /&gt;}&lt;BR /&gt;Else&lt;BR /&gt;{&lt;BR /&gt;Reset-HPEiLO -Connection $iLOConnection -Device Server -Confirm:$false&lt;BR /&gt;}&lt;BR /&gt;Start-Sleep -s 60&lt;BR /&gt;$ControllerConfiguration= Get-HPESAConfigurationStatus -Connection $SAConnection&lt;BR /&gt;$SlotNumber= $ControllerConfiguration.ConfigurationStatus.ControllerLocation&lt;BR /&gt;$LogicalDrive= Get-HPESALogicalDrive -Connection $SAConnection&lt;BR /&gt;$RemoveLogicalDrives= $LogicalDrive.LogicalDrive.VolumeUniqueIdentifier&lt;BR /&gt;ForEach ($RemoveLogicalDrive in $RemoveLogicalDrives)&lt;BR /&gt;{&lt;BR /&gt;Remove-HPESALogicalDrive -Connection $SAConnection -ControllerLocation $SlotNumber -VolumeUniqueIdentifier $RemoveLogicalDrive&lt;BR /&gt;}&lt;BR /&gt;Start-Sleep -s 60&lt;BR /&gt;$HostPower= Get-HPEiLoServerPower -Connection $iLOConnection&lt;BR /&gt;If ($HostPower.Power -eq "Off")&lt;BR /&gt;{&lt;BR /&gt;Set-HPEiLoServerPower -Connection $iLOConnection -Power on&lt;BR /&gt;}&lt;BR /&gt;Else&lt;BR /&gt;{&lt;BR /&gt;Reset-HPEiLO -Connection $iLOConnection -Device Server -Confirm:$false&lt;BR /&gt;}&lt;BR /&gt;Start-Sleep -s 30&lt;BR /&gt;$PhysicalDrives= Get-HPESAPhysicalDrive -Connection $SAConnection -ControllerLocation $SlotNumber&lt;BR /&gt;$PhysicalDrivesSorted= $PhysicalDrives.PhysicalDrive.Location | Sort-Object&lt;BR /&gt;$Drive0= $PhysicalDrivesSorted[0]&lt;BR /&gt;$Drive1= $PhysicalDrivesSorted[1]&lt;BR /&gt;$Drive2= $PhysicalDrivesSorted[2]&lt;BR /&gt;$Drive3= $PhysicalDrivesSorted[3]&lt;BR /&gt;New-HPESALogicalDrive -Connection $SAConnection -ControllerLocation $SlotNumber -LogicalDriveName LogicalDrive1 -Raid Raid5 -DataDrive @(,@("$Drive0","$Drive1","$Drive2","$Drive3")) -CapacityGiB 150&lt;BR /&gt;Start-Sleep -s 30&lt;BR /&gt;Set-HPEiLoServerPower -Connection $iLOConnection -Power Off&lt;BR /&gt;Start-Sleep -s 30&lt;BR /&gt;Set-HPEiLoServerPower -Connection $iLOConnection -Power On&lt;BR /&gt;Start-Sleep -s 120&lt;BR /&gt;New-HPESALogicalDrive -Connection $SAConnection -ControllerLocation $SlotNumber -LogicalDriveName LogicalDrive2 -Raid Raid5 -DataDrive @(,@("$Drive0","$Drive1","$Drive2","$Drive3")) -CapacityGiB -1&lt;BR /&gt;Start-Sleep -s 30&lt;BR /&gt;Set-HPEiLoServerPower -Connection $iLOConnection -Power Off&lt;BR /&gt;Start-Sleep -s 60&lt;BR /&gt;$HostPower= Get-HPEiLoServerPower -Connection $iLOConnection&lt;BR /&gt;If ($HostPower.Power -eq "Off")&lt;BR /&gt;{&lt;BR /&gt;Set-HPEiLoServerPower -Connection $iLOConnection -Power on&lt;BR /&gt;}&lt;BR /&gt;Else&lt;BR /&gt;{&lt;BR /&gt;Reset-HPEiLO -Connection $iLOConnection -Device Server -Confirm:$false&lt;BR /&gt;}&lt;BR /&gt;Disconnect-HPEiLO -Connection $iLOConnection&lt;BR /&gt;Disconnect-HPESA -Connection $SAConnection&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Todd&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170358#M9432</guid>
      <dc:creator>Todd Lauder</dc:creator>
      <dc:date>2022-07-19T16:13:57Z</dc:date>
    </item>
    <item>
      <title>Query: New-HPESALogicalDrive  multiple logical drives within single RAID5 set</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170361#M9433</link>
      <description>&lt;P style="margin: 0;"&gt;&lt;STRONG&gt;System recommended content:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;1. &lt;A href="https://hpe.to/6608zSlUA" target="_blank" rel="noopener"&gt;HPE XP Storage RAID Manager Reference Guide (01.67.01)&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;2. &lt;A href="https://hpe.to/6600zSlUC" target="_blank" rel="noopener"&gt;HPE XP Storage RAID Manager Installation and Configuration User Guide (1.67.00)&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Thank you for being a HPE valuable community member.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 20:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170361#M9433</guid>
      <dc:creator>support_s</dc:creator>
      <dc:date>2022-07-12T20:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Query: New-HPESALogicalDrive  multiple logical drives within single RAID5 set</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170362#M9434</link>
      <description>&lt;P&gt;Hello - thank you for your response, but is on a Gen10 server, not XP storage device.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 20:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170362#M9434</guid>
      <dc:creator>Todd Lauder</dc:creator>
      <dc:date>2022-07-12T20:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query: New-HPESALogicalDrive  multiple logical drives within single RAID5 set</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170587#M9439</link>
      <description>&lt;P style="margin: 0;"&gt;Greetings!&lt;/P&gt;
&lt;P style="margin: 0;"&gt;It looks like New-HPESALogicalDrive is designed to create the initial OS logical drive. It will accept multiple objects to enable multiple Logical drives to be created on multiple iLO destinations, but not multiple drives to a single iLO destination. &amp;nbsp;The limitation is iLO REST will only accept a single Logical Drive creation operation at a time and purely for the purpose of creating the initial OS drive.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Having said that, I would advise you to log a support ticket so that this scenario of creating multiple logical drives can be tested further in the lab.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 02:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-multiple-logical-drives-within-single/m-p/7170587#M9439</guid>
      <dc:creator>BPSingh</dc:creator>
      <dc:date>2022-07-18T02:21:31Z</dc:date>
    </item>
  </channel>
</rss>

