Skip to content

Commit aef331e

Browse files
authored
Merge pull request #15235 from alkohli/psoutput
Updated the sample output of Arc registration script for Azure Stack HCI
2 parents 463c3f8 + ea31101 commit aef331e

File tree

1 file changed

+24
-56
lines changed

1 file changed

+24
-56
lines changed

azure-stack/hci/deploy/deployment-arc-register-server-permissions.md

Lines changed: 24 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Register your Azure Stack HCI servers with Azure Arc and assign permissio
33
description: Learn how to Register your Azure Stack HCI servers with Azure Arc and assign permissions for deployment.
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 05/21/2024
6+
ms.date: 06/03/2024
77
ms.author: alkohli
88
ms.subservice: azure-stack-hci
99
ms.custom: devx-track-azurepowershell
@@ -177,62 +177,30 @@ Before you begin, make sure you've completed the following prerequisites:
177177
Here's a sample output of a successful registration of your servers:
178178
179179
```output
180-
PS C:\DeploymentPackage> Invoke-AzStackHciArcInitialization -SubscriptionID $Subscription -ResourceGroup $RG -TenantID $Tenant -Region $Region -Cloud "AzureCloud" -ArmAccessToken $ARMtoken -AccountID $id -Force
181-
Installing and Running Azure Stack HCI Environment Checker
182-
All the environment validation checks succeeded
183-
Installing Hyper-V Management Tools
180+
PS C:\Users\Administrator> Invoke-AzStackHciArcInitialization -SubscriptionID $Subscription -ResourceGroup $RG -TenantID $Tenant -Region $Region -Cloud "AzureCloud" -ArmAccessToken $ARMtoken -AccountID $id
181+
>>
184182
Starting AzStackHci ArcIntegration Initialization
185-
Installing Azure Connected Machine Agent
186-
Total Physical Memory: 588,419 MB
187-
PowerShell version: 5.1.25398.469
188-
.NET Framework version: 4.8.9032
189-
Downloading agent package from https://aka.ms/AzureConnectedMachineAgent to C:\Users\AzureConnectedMachineAgent.msi
190-
Installing agent package
191-
Installation of azcmagent completed successfully
192-
0
193-
Connecting to Azure using ARM Access Token
194-
Connected to Azure successfully
195-
Microsoft.HybridCompute RP already registered, skipping registration
196-
Microsoft.GuestConfiguration RP already registered, skipping registration
197-
Microsoft.HybridConnectivity RP already registered, skipping registration
198-
Microsoft.AzureStackHCI RP already registered, skipping registration
199-
INFO Connecting machine to Azure... This might take a few minutes.
200-
INFO Testing connectivity to endpoints that are needed to connect to Azure... This might take a few minutes.
201-
20% [==> ]
202-
30% [===> ]
203-
INFO Creating resource in Azure...
204-
Correlation ID=<Correlation ID>=/subscriptions/<Subscription ID>/resourceGroups/myashci-rg/providers/Microsoft.HybridCompute/machines/ms309
205-
60% [========> ]
206-
80% [===========> ]
207-
100% [===============]
208-
INFO Connected machine to Azure
209-
INFO Machine overview page: https://portal.azure.com/
210-
Connected Azure ARC agent successfully
211-
Successfully got the content from IMDS endpoint
212-
Successfully got Object Id for Arc Installation <Object ID>
213-
$Checking if Azure Stack HCI Device Management Role is assigned already for SPN with Object ID: <Object ID>
214-
Assigning Azure Stack HCI Device Management Role to Object : <Object ID>
215-
$Successfully assigned Azure Stack HCI Device Management Role to Object Id <Object ID>
216-
Successfully assigned permission Azure Stack HCI Device Management Service Role to create or update Edge Devices on the resource group
217-
$Checking if Azure Connected Machine Resource Manager is assigned already for SPN with Object ID: <Object ID>
218-
Assigning Azure Connected Machine Resource Manager to Object : <Object ID>
219-
$Successfully assigned Azure Connected Machine Resource Manager to Object Id <Object ID>
220-
Successfully assigned the Azure Connected Machine Resource Manager role on the resource group
221-
$Checking if Reader is assigned already for SPN with Object ID: <Object ID>
222-
Assigning Reader to Object : <Object ID>
223-
$Successfully assigned Reader to Object Id <Object ID>
224-
Successfully assigned the reader Resource Manager role on the resource group
225-
Installing TelemetryAndDiagnostics Extension
226-
Successfully triggered TelemetryAndDiagnostics Extension installation
227-
Installing DeviceManagement Extension
228-
Successfully triggered DeviceManagementExtension installation
229-
Installing LcmController Extension
230-
Successfully triggered LCMController Extension installation
231-
Please verify that the extensions are successfully installed before continuing...
232-
233-
Log location: C:\Users\Administrator\.AzStackHci\AzStackHciEnvironmentChecker.log
234-
Report location: C:\Users\Administrator\.AzStackHci\AzStackHciEnvironmentReport.json
235-
Use -Passthru parameter to return results as a PSObject.
183+
Constructing node config using ARM Access Token
184+
Waiting for bootstrap to complete: InProgress
185+
=========SNIPPED=========SNIPPED=============
186+
Waiting for bootstrap to complete: InProgress
187+
Waiting for bootstrap to complete: InProgress
188+
Waiting for bootstrap to complete: Succeeded
189+
190+
Log location: C:\Users\Administrator\.AzStackHci\AzStackHciArcIntegration.log
191+
Version Response
192+
------- --------
193+
V1 Microsoft.Azure.Edge.Bootstrap.ServiceContract.Data.Response
194+
V1 Microsoft.Azure.Edge.Bootstrap.ServiceContract.Data.Response
195+
Successfully triggered Arc boostrap support log collection. Waiting for 600 seconds to complete.
196+
Waiting for Arc bootstrap support logs to complete on '', retry count: 0.
197+
Arc bootstrap support log collection status is InProgress. Sleep for 10 seconds.
198+
Waiting for Arc bootstrap support logs to complete on '', retry count: 1.
199+
Arc bootstrap support log collection status is InProgress. Sleep for 10 seconds.
200+
Waiting for Arc bootstrap support logs to complete on '', retry count: 2.
201+
Arc boostrap support log collection completed successfully.
202+
203+
PS C:\Users\Administrator>
236204
```
237205
---
238206

0 commit comments

Comments
 (0)