Skip to content

Commit 8bf44a7

Browse files
authored
Merge pull request #15899 from MicrosoftDocs/main
9/23/2024 PM Publish
2 parents ad6e446 + 419de57 commit 8bf44a7

File tree

1 file changed

+35
-11
lines changed

1 file changed

+35
-11
lines changed

azure-stack/hci/manage/suspend-resume-cluster-maintenance.md

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ To suspend a cluster node, follow these steps:
2828
1. To suspend the cluster node, run this command:
2929

3030
```powershell
31-
Suspend-clusternode -name “MachineName”
31+
Suspend-Clusternode -name “MachineName” -drain
3232
```
3333
3434
Here's example output:
3535
3636
```console
37-
PS C:\programdata\wssdagent> Suspend-ClusterNode ASRRlS3lRl5ull
37+
PS C:\programdata\wssdagent> Suspend-Clusternode -name ASRRlS3lRl5ull -drain
3838
3939
Name State Type
4040
---- ----- ----
@@ -47,13 +47,13 @@ To suspend a cluster node, follow these steps:
4747
1. Confirm that the node is successfully suspended.
4848
4949
```powershell
50-
Get-clusternode
50+
Get-Clusternode
5151
```
5252
5353
Here's example output:
5454
5555
```console
56-
PS C:\programdata\wssdagent> get-clusternode
56+
PS C:\programdata\wssdagent> Get-Clusternode
5757
5858
Name State Type
5959
---- ----- ----
@@ -67,6 +67,12 @@ To suspend a cluster node, follow these steps:
6767
Remove-MocPhysicalNode -nodeName “MachineName”
6868
```
6969
70+
Here's example output:
71+
72+
```console
73+
PS C:\programdata\wssdagent> Remove-MocPhysicalNode -nodename ASRRlS3lRl5Ull
74+
```
75+
7076
## Resume a cluster node
7177
7278
To resume a cluster node, first resume the cluster node in Windows Failover Clustering. You can use various tools for this step, such as Windows Admin Center, Failover Cluster Manager, or PowerShell. We recommend using PowerShell as some steps can only be performed using that tool.
@@ -77,13 +83,13 @@ To resume a cluster node, follow these steps:
7783
1. To resume the cluster node, run this command:
7884
7985
```powershell
80-
Resume-clusternode -name “MachineName”
86+
Resume-Clusternode -name “MachineName”
8187
```
8288
8389
Here's example output:
8490
8591
```console
86-
PS C:\programdata\wssdagent> Resume-ClusterNode ASRRlS3lRl5ull
92+
PS C:\programdata\wssdagent> Resume-Clusternode -name ASRRlS3lRl5ull
8793
8894
Name State Type
8995
---- ----- ----
@@ -96,24 +102,42 @@ To resume a cluster node, follow these steps:
96102
1. Confirm that the node is successfully resumed.
97103
98104
```powershell
99-
Get-clusternode
105+
Get-Clusternode
100106
```
101107
102108
Here's example output:
103109
104110
```console
105-
PS C:\programdata\wssdagent> Get-clusternode
111+
PS C:\programdata\wssdagent> Get-Clusternode
106112
107113
Name State Type
108114
---- ----- ----
109115
ASRRlS3lRl5u09 Up Node
110-
ASRRlS3lRl5Ull Paused Node
116+
ASRRlS3lRl5Ull Up Node
111117
```
112118
113119
1. Add the node to the active Arc VM Configuration. **This step can only be done using PowerShell**.
114120
115121
```powershell
116-
Remove-MocPhysicalNode -nodeName “MachineName”
122+
New-MocPhysicalNode -nodeName “MachineName”
123+
```
124+
125+
Here's example output:
126+
127+
```console
128+
PS C:\programdata\wssdagent> New-MocPhysicalNode -nodename ASRRlS3lRl5ull
129+
130+
ElementName : HV Socket Agent Communication
131+
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Virtualization\GuestCommunicationServices\00000001-facb-lle6-b
132+
d58-64006a7986d3
133+
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersions\Virtualization\GuestCommunicationServices
134+
PSChildName : 00000001-facb-lle6-bd58-64006a7986d3
135+
PSDrive : HKLM
136+
PSProvider : Microsoft.PowerShell.Core\Registry
137+
PSComputerName : ASRRlS3lRl5ull
138+
RunspaceId : 05c0eaad-0747-4912-a6e9-el09d975c444
139+
140+
True
117141
```
118142
119143
1. Verify that your storage pool is healthy.
@@ -125,7 +149,7 @@ To resume a cluster node, follow these steps:
125149
Here's example output:
126150
127151
```console
128-
PS C : \programdata\wssdagent> get-storagepool -FriendlyName "SU1_Pool"
152+
PS C : \programdata\wssdagent> Get-Storagepool -friendlyname "SU1_Pool"
129153
130154
FriendlyName Operationalstatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize
131155
------------ ----------------- ------------ ------------ ---------- ---- -------------

0 commit comments

Comments
 (0)