Skip to content

Commit 5b380f3

Browse files
author
Jaromir Kaspar
authored
Dev (#367)
* formatting * Revert "formatting" This reverts commit 41dabc9. * added Azure Registration * TOC Updated
1 parent a53fda1 commit 5b380f3

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

Scenarios/AzSHCI and Stretch Cluster/Scenario.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,4 +622,15 @@ Install-WindowsFeature -name RSAT-Storage-Replica -ComputerName $GatewayServerNa
622622
$Location=Get-AzLocation | Where-Object Providers -Contains "Microsoft.AzureStackHCI" | Out-GridView -OutputMode Single
623623
Register-AzStackHCI -SubscriptionID $subscriptionID -Region $location.location -ComputerName $ClusterName
624624
#>
625+
626+
#Install Azure Stack HCI RSAT Tools to all nodes
627+
$Servers=(Get-ClusterNode -Cluster $ClusterName).Name
628+
Invoke-Command -ComputerName $Servers -ScriptBlock {
629+
Install-WindowsFeature -Name RSAT-Azure-Stack-HCI
630+
}
631+
632+
#Validate registration (query on just one node is needed)
633+
Invoke-Command -ComputerName $ClusterName -ScriptBlock {
634+
Get-AzureStackHCI
635+
}
625636
#endregion
71.2 KB
Loading
18.8 KB
Loading

Scenarios/AzSHCI and Stretch Cluster/readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
- [Region create some VMs](#region-create-some-vms)
1717
- [Region move odd CSVs and it's respective VMs to site1 and even to site2](#region-move-odd-csvs-and-its-respective-vms-to-site1-and-even-to-site2)
1818
- [Region configure Affinity rules](#region-configure-affinity-rules)
19+
- [Region install Windows Admin Center Gateway](#region-install-windows-admin-center-gateway)
20+
- [Region Register Azure Stack HCI with Azure and validate](#region-register-azure-stack-hci-with-azure-and-validate)
1921

2022
<!-- /TOC -->
2123

@@ -187,7 +189,10 @@ In this region will install Windows Admin Center into WACGW server and install E
187189

188190
![](/Scenarios/AzSHCI%20and%20Stretch%20Cluster/Screenshots/WAC02.png)
189191

190-
### Region Register Azure Stack HCI with Azure
192+
### Region Register Azure Stack HCI with Azure and validate
191193

192194
In this region your Azure Stack HCI cluster will be registered to Azure
193195

196+
![](/Scenarios/AzSHCI%20and%20Stretch%20Cluster/Screenshots/AzurePortal01.png)
197+
198+
![](/Scenarios/AzSHCI%20and%20Stretch%20Cluster/Screenshots/PowerShell11.png)

0 commit comments

Comments
 (0)