-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Microsoft/master
Syncing
- Loading branch information
Showing
259 changed files
with
7,790 additions
and
54,650 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
$LabConfig=@{ DomainAdminName='LabAdmin'; AdminPassword='LS1setup!'; Prefix = 'WSLabInsider-'; SwitchName = 'LabSwitch'; DCEdition='4' ; Internet=$false ;AdditionalNetworksConfig=@(); VMs=@(); ServerVHDs=@()} | ||
|
||
1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2019Core_17744.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=512MB }} | ||
#optional Win10 management machine | ||
#$LabConfig.VMs += @{ VMName = 'WinAdminCenter' ; Configuration = 'Simple' ; ParentVHD = 'Win10RS4_G2.vhdx' ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB ; AddToolsVHD=$True ; DisableWCF=$True } | ||
#or with nested virtualization enabled | ||
#1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2019Core_17744.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 2GB ; NestedVirt=$True }} | ||
|
||
$LabConfig.ServerVHDs += @{ | ||
Edition="4" | ||
VHDName="Win2019_17744.vhdx" | ||
Size=60GB | ||
} | ||
$LabConfig.ServerVHDs += @{ | ||
Edition="3" | ||
VHDName="Win2019Core_17744.vhdx" | ||
Size=30GB | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,54 @@ | ||
# Server Insider lab 17623 | ||
# Server Insider lab 17744 | ||
|
||
## Howto | ||
To create Insider lab, you can reuse your already hydrated lab (DC can be reused), or hydrate all from scratch. You can use both VHD or ISO. VHD can be copied to Parent disks, and then its reused or ISO can be chosen during create parent disk phase (if not present in parent disks) | ||
|
||
[Download location](https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver) | ||
|
||
You can create Win10 VHD with script provided in tools folder. You can then give a try to project Honolulu (just uncomment Win10 machine in labconfig and deploy honolulu there) | ||
You can create Win10 VHD with script provided in tools folder. You can then give a try to Windows Admin Center (former project Honolulu). Just uncomment Win10 machine in labconfig and deploy Win Admin Center there. | ||
|
||
## Note | ||
|
||
If hydrating from scratch, make sure you use latest scripts as DSC needed some adjustments. | ||
known bug: **S2D fails to enable in 17623 inside VMs** | ||
|
||
![](/Insider/Screenshots/enableS2Dfail.png) | ||
|
||
**Workaround - EnableClusterS2D using following script** However if you have Rack fault domain/Chassis fault domain, it would be more complex. | ||
|
||
````PowerShell | ||
Enable-ClusterS2D -CimSession $ClusterName -AutoConfig:0 -Confirm:$false -Verbose -SkipEligibilityChecks | ||
Invoke-Command -ComputerName $ClusterName -ScriptBlock { | ||
#Create Pool | ||
$phydisks = Get-StorageSubSystem -FriendlyName "*$using:ClusterName" | Get-PhysicalDisk -CanPool $true | ||
$pool=New-StoragePool -FriendlyName "S2D on $using:ClusterName" -PhysicalDisks $phydisks -StorageSubSystemFriendlyName "*$using:ClusterName" | ||
#Set mediatype to HDD | ||
$pool | get-physicaldisk | Set-PhysicalDisk -MediaType HDD | ||
#Create tiers | ||
if (($using:Servers).count -eq 2){ | ||
New-StorageTier -FriendlyName Capacity -MediaType HDD -ResiliencySettingName Mirror -StoragePoolFriendlyName "S2D on $using:ClusterName" -PhysicalDiskRedundancy 1 | ||
}elseif(($using:Servers).count -eq 3){ | ||
New-StorageTier -FriendlyName Capacity -MediaType HDD -ResiliencySettingName Mirror -StoragePoolFriendlyName "S2D on $using:ClusterName" -PhysicalDiskRedundancy 2 | ||
}elseif(($using:servers).count -gt 3){ | ||
New-StorageTier -FriendlyName Capacity -MediaType HDD -ResiliencySettingName Parity -StoragePoolFriendlyName "S2D on $using:ClusterName" -PhysicalDiskRedundancy 2 | ||
New-StorageTier -FriendlyName Performance -MediaType HDD -ResiliencySettingName Mirror -StoragePoolFriendlyName "S2D on $using:ClusterName" -PhysicalDiskRedundancy 2 | ||
} | ||
} | ||
```` | ||
If hydrating from scratch, make sure you use latest scripts as DSC needed some adjustments. I also fixed NestedVirt CPU issue, so make sure deploy.ps1 is latest. | ||
|
||
## LabConfig for vNext LTSC preview | ||
|
||
````PowerShell | ||
$LabConfig=@{ DomainAdminName='LabAdmin'; AdminPassword='LS1setup!'; Prefix = 'ws2016labInsider-'; SwitchName = 'LabSwitch'; DCEdition='DataCenter'; CreateClientParent=$false ; ClientEdition='Enterprise'; PullServerDC=$false ; Internet=$false ;AdditionalNetworksConfig=@(); VMs=@(); ServerVHDs=@()} | ||
```PowerShell | ||
$LabConfig=@{ DomainAdminName='LabAdmin'; AdminPassword='LS1setup!'; Prefix = 'WSLabInsider-'; SwitchName = 'LabSwitch'; DCEdition='4' ; PullServerDC=$false ; Internet=$false ;AdditionalNetworksConfig=@(); VMs=@(); ServerVHDs=@()} | ||
1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2019Core_17623.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB }} | ||
#$LabConfig.VMs += @{ VMName = 'Honolulu' ; Configuration = 'Simple' ; ParentVHD = 'Win10_G2.vhdx' ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB ; AddToolsVHD=$True ; DisableWCF=$True } | ||
1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2019Core_17744.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=512MB }} | ||
#optional Win10 management machine | ||
#$LabConfig.VMs += @{ VMName = 'WinAdminCenter' ; Configuration = 'Simple' ; ParentVHD = 'Win10RS4_G2.vhdx' ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB ; AddToolsVHD=$True ; DisableWCF=$True } | ||
#or with nested virtualization enabled | ||
#1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2019Core_17744.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 2GB ; NestedVirt=$True }} | ||
$LabConfig.ServerVHDs += @{ | ||
Edition="DataCenter" | ||
VHDName="Win2019_17623.vhdx" | ||
Edition="4" | ||
VHDName="Win2019_17744.vhdx" | ||
Size=60GB | ||
} | ||
$LabConfig.ServerVHDs += @{ | ||
Edition="DataCenterCore" | ||
VHDName="Win2019Core_17623.vhdx" | ||
Edition="3" | ||
VHDName="Win2019Core_17744.vhdx" | ||
Size=30GB | ||
} | ||
```` | ||
``` | ||
|
||
## LabConfig for SAC (if you reuse DC from 14393 and just copy VHD to parent disks) | ||
|
||
````PowerShell | ||
```PowerShell | ||
$LabConfig=@{ DomainAdminName='LabAdmin'; AdminPassword='LS1setup!'; Prefix = 'ws2016lab-'; SwitchName = 'LabSwitch'; DCEdition='DataCenter'; AdditionalNetworksConfig=@(); VMs=@(); ServerVHDs=@()} | ||
1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Windows_InsiderPreview_Server_VHDX_17623.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB }} | ||
$LabConfig.VMs += @{ VMName = 'PasteScriptsHere' ; Configuration = 'Simple' ; ParentVHD = 'Windows_InsiderPreview_Server_VHDX_17623.vhdx'; MemoryStartupBytes= 1GB ;MemoryMinimumBytes=1GB } | ||
$LabConfig.VMs += @{ VMName = 'Honolulu' ; Configuration = 'Simple' ; ParentVHD = 'Win10_G2.vhdx' ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB ; AddToolsVHD=$True ; DisableWCF=$True } | ||
1..4 | % {$VMNames="S2D"; $LABConfig.VMs += @{ VMName = "$VMNames$_" ; Configuration = 'S2D' ; ParentVHD = 'Windows_InsiderPreview_Server_VHDX_17744.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB }} | ||
$LabConfig.VMs += @{ VMName = 'PasteScriptsHere' ; Configuration = 'Simple' ; ParentVHD = 'Windows_InsiderPreview_Server_VHDX_17744.vhdx'; MemoryStartupBytes= 1GB ;MemoryMinimumBytes=1GB } | ||
#optional Win10 management machine | ||
#$LabConfig.VMs += @{ VMName = 'WinAdminCenter' ; Configuration = 'Simple' ; ParentVHD = 'Win10RS4_G2.vhdx' ; MemoryStartupBytes= 1GB ; MemoryMinimumBytes=1GB ; AddToolsVHD=$True ; DisableWCF=$True } | ||
```` | ||
``` | ||
|
||
## Result | ||
|
||
![](/Insider//Screenshots/cluadmin.png) | ||
|
||
|
||
## Known issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.