microsoft / MSLab

Azure Stack HCI, Windows 10 and Windows Server rapid lab deployment scripts
MIT License
1.18k stars 284 forks source link

Problems on setting up the Hyperconverged S2D with Nano Servers #4

Closed TGC-GS closed 8 years ago

TGC-GS commented 8 years ago

Hi,

I have problems on setting up the Hyperconverged S2D with Nano Servers. The first issue is an error appearing on the configuration check for the cluster: error on check

Next issue is while I'm trying to set up a storage pool I get the following error: cluster-problem1

I checked the physical disks on S2D1 and got the following screen: listofdisks

So, where I'm doing wrong, I'd be happy if you'd help me out.

Byes TGC

jaromirk commented 8 years ago

you have to create s2d cluster with this command and manually create pool and tiers

TP5

Enable-ClusterS2D -CimSession $ClusterName -AutoConfig:0 -Confirm:$false -SkipEligibilityChecks

TP5 fix

Invoke-Command -ComputerName $servers -ScriptBlock {Get-ScheduledTask "SpaceManagerTask" | Disable-ScheduledTask}

register storage provider

Get-StorageProvider | Register-StorageSubsystem -ComputerName $ClusterName

create pool

$phydisk = Get-StorageSubSystem -FriendlyName *$ClusterName | Get-PhysicalDisk -CanPool $true Write-Host "Number of physical disks found:" $phydisk.count -ForegroundColor Cyan

$pool=New-StoragePool -FriendlyName DirectPool -PhysicalDisks $phydisk -StorageSubSystemFriendlyName *$ClusterName $pool | get-physicaldisk | where Size -le 900GB | Set-PhysicalDisk -MediaType SSD $pool | get-physicaldisk | where Size -ge 900GB | Set-PhysicalDisk -MediaType HDD

Create Tiers

$Perf = New-StorageTier -FriendlyName Performance -MediaType SSD -ResiliencySettingName Mirror -StoragePoolFriendlyName $pool.friendlyname -PhysicalDiskRedundancy 2 $Cap = New-StorageTier -FriendlyName Capacity -MediaType HDD -ResiliencySettingName Parity -StoragePoolFriendlyName $pool.friendlyname -PhysicalDiskRedundancy 2

create volumes

1..4 | ForEach-Object { New-Volume -StoragePoolFriendlyName $pool.friendlyname -FriendlyName MultiResiliencyDisk$_ -FileSystem CSVFS_ReFS -StorageTiers $perf,$cap -StorageTierSizes 1TB,10TB }

jaromirk commented 8 years ago

Take a look here https://github.com/Microsoft/ws2016lab/blob/master/Scenarios/S2D%20Hyperconverged%20TP5/s2d_hyperconverged_cluster_TP5.ps1 . I published whole script a minute ago.

TolliLF commented 8 years ago

Line 146 - I’d consider using Get-Clusternode in case they don’t call their nodes the same as you.

Tolli Lowell-Forker – Senior PM Cloud Platform Engineering Center (CPEC) Enterprise Cloud Group - CAT Team 425.421.1380 | My Calendar [HTMLhttps://outlook.office365.com/owa/calendar/5227b2b804a2415190096dd895c40261@microsoft.com/85335a745a694a57b6246a90013f4de212348976503993390238/calendar.html] [ICShttps://outlook.office365.com/owa/calendar/5227b2b804a2415190096dd895c40261@microsoft.com/85335a745a694a57b6246a90013f4de212348976503993390238/calendar.ics] TolliL@microsoft.commailto:TolliL@microsoft.com

From: Jaromir Kaspar [mailto:notifications@github.com] Sent: Tuesday, June 21, 2016 1:31 PM To: Microsoft/ws2016lab ws2016lab@noreply.github.com Subject: Re: [Microsoft/ws2016lab] Problems on setting up the Hyperconverged S2D with Nano Servers (#4)

Take a look here https://github.com/Microsoft/ws2016lab/blob/master/Scenarios/S2D%20Hyperconverged%20TP5/s2d_hyperconverged_cluster_TP5.ps1 . I published whole script a minute ago.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/ws2016lab/issues/4#issuecomment-227562248, or mute the threadhttps://github.com/notifications/unsubscribe/AQLlBO_S52va_VHt4--DNHLfKf5APezAks5qOEoNgaJpZM4I6huM.

TGC-GS commented 8 years ago

Thank you for your help. First Response helped me out, the enable-clusters2d didn't work for me until you posted your solution. And it's very gentle from you to make a whole script :)