You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn about the Azure CLI commands which can be used to manage your Azure Arc resource bridge (preview) deployment.
3
+
description: Learn about the Azure CLI commands that can be used to manage your Azure Arc resource bridge (preview) deployment.
4
4
ms.date: 02/06/2023
5
5
ms.topic: overview
6
6
---
@@ -17,12 +17,11 @@ ms.topic: overview
17
17
18
18
This topic provides an overview of the [Azure CLI commands](/cli/azure/arcappliance) that are used to manage Arc resource bridge (preview) deployment, in the order in which they are typically used for deployment.
19
19
20
-
21
20
## az arcappliance createconfig
22
21
23
22
This command creates the configuration files used by Arc resource bridge. Credentials that are provided during `createconfig`, such as vCenter credentials for VMware vSphere, are stored in a configuration file and locally within Arc resource bridge. These credentials should be a separate user account used only by Arc resource bridge, with permission to view, create, delete, and manage on-premises resources. If the credentials change, then the credentials on the resource bridge should be updated.
24
23
25
-
The `createconfig` command features two modes: interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. To initiate interactive mode, pass only the three required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted, which saves time and is useful for automation scripts.
24
+
The `createconfig` command features two modes: interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. To initiate interactive mode, pass only the three required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted, which saves time and is useful for automation scripts.
26
25
27
26
Three configuration files are generated: resource.yaml, appliance.yaml and infra.yaml. These files should be kept and stored in a secure location, as they're required for maintenance of Arc resource bridge.
28
27
@@ -31,51 +30,44 @@ This command also calls the `validate` command to check the configuration files.
31
30
> [!NOTE]
32
31
> Azure Stack HCI and Hybrid AKS use different commands to create the Arc resource bridge configuration files.
33
32
34
-
35
33
## az arcappliance validate
36
34
37
-
The `validate` command checks the configuration files for a valid schema, cloud and core validations (such as management machine connectivity to required URLs), network settings, and proxy settings. It also performs tests on identity privileges and role assignments, network configuration, loadbalancer configuration and content delivery network connectivity.
38
-
35
+
The `validate` command checks the configuration files for a valid schema, cloud and core validations (such as management machine connectivity to required URLs), network settings, and proxy settings. It also performs tests on identity privileges and role assignments, network configuration, load balancer configuration and content delivery network connectivity.
39
36
40
37
## az arcappliance prepare
41
38
42
39
This command downloads the OS images from Microsoft that are used to deploy the on-premises appliance VM. Once downloaded, the images are then uploaded to the local cloud image gallery to prepare for the creation of the appliance VM.
43
40
44
41
This command takes about 10-30+ minutes to complete, depending on the network speed. Allow the command to complete before continuing with the deployment.
45
42
46
-
47
43
## az arcappliance deploy
48
44
49
-
The `deploy` command deploys an on-premises instance of Arc resource bridge as an appliance VM, bootstrapped to be a Kubernetes management cluster. This command gets all necessary pods and agents within the Kubernetes cluster into a running state. Once the appliance VM is up, the kubeconfig file is generated.
50
-
45
+
The `deploy` command deploys an on-premises instance of Arc resource bridge as an appliance VM, bootstrapped to be a Kubernetes management cluster. This command gets all necessary pods and agents within the Kubernetes cluster into a running state. Once the appliance VM is up, the kubeconfig file is generated.
51
46
52
47
## az arcappliance create
53
48
54
49
This command creates Arc resource bridge in Azure as an ARM resource, then establishes the connection between the ARM resource and on-premises appliance VM.
55
50
56
-
Once the `create` command initiates the connection, it will return in the terminal even though the connection between the ARM resource and on-premises appliance VM is not yet complete. The resource bridge needs about 5 minutes to establish the connection between the ARM resource and the on-premises VM.
57
-
51
+
Once the `create` command initiates the connection, it will return in the terminal, even though the connection between the ARM resource and on-premises appliance VM is not yet complete. The resource bridge needs about 5 minutes to establish the connection between the ARM resource and the on-premises VM.
58
52
59
53
## az arcappliance show
60
54
61
55
The `show` command gets the status of the Arc resource bridge and ARM resource information. It can be used to check the progress of the connection between the ARM resource and on-premises appliance VM.
62
56
63
-
While the Arc resource bridge is connecting the ARM resource to the on-premises VM, the resource bridge will progress through the stages below:
57
+
While the Arc resource bridge is connecting the ARM resource to the on-premises VM, the resource bridge progresses through the following stages:
64
58
65
-
`ProvisioningState`will be `Creating`, `Created`, `Failed`, `Deleting`, or `Succeeded`.
59
+
`ProvisioningState`may be `Creating`, `Created`, `Failed`, `Deleting`, or `Succeeded`.
66
60
67
-
`Status`will transition between `WaitingForHeartbeat` -> `Validating` -> `Connected` -> `Running`.
61
+
`Status`transitions between `WaitingForHeartbeat` -> `Validating` -> `Connected` -> `Running`.
68
62
69
63
Successful Arc resource bridge creation results in `ProvisioningState = Succeeded` and `Status = Running`.
70
64
71
-
72
65
## az arcappliance delete
73
66
74
67
This command deletes the appliance VM and Azure resources. It doesn't clean up the OS image, which remains in the on-premises cloud gallery.
75
68
76
69
If a deployment fails, run this command to clean up the environment before you attempt to deploy again.
77
70
78
-
79
71
## Next steps
80
72
81
73
- Explore the full list of [Azure CLI commands and required parameters](/cli/azure/arcappliance) for Arc resource bridge.
To keep your Azure Arc resource bridge (preview) deployment online and operational, you may need to perform maintenance operations such as updating credentials or monitoring upgrades.
11
+
12
+
To maintain the on-premises appliance VM, the [appliance configuration files generated during deployment](deploy-cli.md#az-arcappliance-createconfig) need to be saved in a secure location and made available on the management machine. The management machine used to perform maintenance operations must meet all of [the Arc resource bridge (preview) requirements](system-requirements.md).
13
+
14
+
The following sections describe some of the most common maintenance tasks for Arc resource bridge (preview).
15
+
16
+
## Update credentials in the Appliance VM
17
+
18
+
Arc resource bridge consists of an on-premises appliance VM. The appliance VM [stores credentials](system-requirements.md#user-account-and-credentials) (for example, a user account for VMware vCenter) used to access the control center of the on-premises infrastructure to view and manage on-premises resources.
19
+
20
+
The credentials used by Arc resource bridge are the same ones provided during deployment of the bridge. This allows the bridge visibility to on-premises resources for guest management in Azure.
21
+
22
+
If the credentials change, the credentials stored in the Arc resource bridge need to be updated with the [`update-infracredentials` command](/cli/azure/arcappliance/update-infracredentials). This command must be run from the management machine, and it requires a [kubeconfig file](system-requirements.md#kubeconfig).
23
+
24
+
## Troubleshoot Arc resource bridge
25
+
26
+
If you experience problems with the appliance VM, the appliance configuration files may help with troubleshooting. You can include these files when you [open an Azure support request](../../azure-portal/supportability/how-to-create-azure-support-request.md).
27
+
28
+
You may also want to [collect logs](/cli/azure/arcappliance/logs#az-arcappliance-logs-vmware), which requires you to pass credentials to the on-premises control center:
29
+
30
+
- For VMWare vSphere, use the username and password provided to Arc resource bridge at deployment.
31
+
- For Azure Stack HCI, use the cloud service IP and HCI login configuration file path.
32
+
33
+
## Delete Arc resource bridge
34
+
35
+
You may need to delete Arc resource bridge due to deployment failures or when no longer needed. To do so, you'll need the appliance configuration files. The [delete command](deploy-cli.md#az-arcappliance-delete) is the recommended way to delete the bridge. This command deletes the on-premises appliance VM as well as the Azure resource and underlying components across the two environments.
36
+
37
+
## Next steps
38
+
39
+
- Review the [Azure Arc resource bridge (preview) overview](overview.md) to understand more about requirements and technical details.
40
+
- Learn about [system requirements for Azure Arc resource bridge (preview)](system-requirements.md).
Copy file name to clipboardExpand all lines: articles/azure-arc/resource-bridge/system-requirements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ The control plane IP has the following requirements:
88
88
89
89
Arc resource bridge may require a separate user account with the necessary roles to view and manage resources in the on-premises infrastructure (such as Arc-enabled VMware vSphere or Arc-enabled SCVMM). If so, during creation of the configuration files, the `username` and `password` parameters will be required. The account credentials are then stored in a configuration file locally within the appliance VM.
90
90
91
-
If the user account is set to periodically change passwords, the credentials must be immediately updated on the resource bridge. This user account may also be set with a lockout policy to protect the on-premises infrastructure, in case the credentials aren't updated and the resource bridge makes multiple attempts to use expired credentials to access the on-premises control center.
91
+
If the user account is set to periodically change passwords, [the credentials must be immediately updated on the resource bridge](maintenance.md#update-credentials-in-the-appliance-vm). This user account may also be set with a lockout policy to protect the on-premises infrastructure, in case the credentials aren't updated and the resource bridge makes multiple attempts to use expired credentials to access the on-premises control center.
92
92
93
93
For example, with Arc-enabled VMware, Arc resource bridge needs a separate user account for vCenter with the necessary roles. If the [credentials for the user account change](troubleshoot-resource-bridge.md#insufficient-permissions), then the credentials stored in Arc resource bridge must be immediately updated by running `az arcappliance update-infracredentials` from the [management machine](#management-machine-requirements). Otherwise, the appliance will make repeated attempts to use the expired credentials to access vCenter, which will result in a lockout of the account.
0 commit comments