Skip to content

Commit 609c402

Browse files
Merge pull request #229833 from JnHs/jh-arcrb-maintenance
maintenance page
2 parents 8b5a842 + c96232a commit 609c402

File tree

4 files changed

+51
-17
lines changed

4 files changed

+51
-17
lines changed

articles/azure-arc/resource-bridge/deploy-cli.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Azure Arc resource bridge (preview) deployment command overview
3-
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.
44
ms.date: 02/06/2023
55
ms.topic: overview
66
---
@@ -17,12 +17,11 @@ ms.topic: overview
1717

1818
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.
1919

20-
2120
## az arcappliance createconfig
2221

2322
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.
2423

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.
2625

2726
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.
2827

@@ -31,51 +30,44 @@ This command also calls the `validate` command to check the configuration files.
3130
> [!NOTE]
3231
> Azure Stack HCI and Hybrid AKS use different commands to create the Arc resource bridge configuration files.
3332
34-
3533
## az arcappliance validate
3634

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.
3936

4037
## az arcappliance prepare
4138

4239
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.
4340

4441
This command takes about 10-30+ minutes to complete, depending on the network speed. Allow the command to complete before continuing with the deployment.
4542

46-
4743
## az arcappliance deploy
4844

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.
5146

5247
## az arcappliance create
5348

5449
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.
5550

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.
5852

5953
## az arcappliance show
6054

6155
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.
6256

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:
6458

65-
`ProvisioningState` will be `Creating`, `Created`, `Failed`, `Deleting`, or `Succeeded`.
59+
`ProvisioningState` may be `Creating`, `Created`, `Failed`, `Deleting`, or `Succeeded`.
6660

67-
`Status` will transition between `WaitingForHeartbeat` -> `Validating` -> `Connected` -> `Running`.
61+
`Status` transitions between `WaitingForHeartbeat` -> `Validating` -> `Connected` -> `Running`.
6862

6963
Successful Arc resource bridge creation results in `ProvisioningState = Succeeded` and `Status = Running`.
7064

71-
7265
## az arcappliance delete
7366

7467
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.
7568

7669
If a deployment fails, run this command to clean up the environment before you attempt to deploy again.
7770

78-
7971
## Next steps
8072

8173
- Explore the full list of [Azure CLI commands and required parameters](/cli/azure/arcappliance) for Arc resource bridge.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Azure Arc resource bridge (preview) maintenance operations
3+
description: Learn how to manage Azure Arc resource bridge (preview) so that it remains online and operational.
4+
ms.topic: conceptual
5+
ms.date: 03/08/2023
6+
---
7+
8+
# Azure Arc resource bridge (preview) maintenance operations
9+
10+
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).

articles/azure-arc/resource-bridge/system-requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The control plane IP has the following requirements:
8888

8989
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.
9090

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.
9292

9393
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.
9494

articles/azure-arc/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
href: ./resource-bridge/security-overview.md
2525
- name: Deployment overview
2626
href: ./resource-bridge/deploy-cli.md
27+
- name: Maintenance
28+
href: ./resource-bridge/maintenance.md
2729
- name: Troubleshoot
2830
href: ./resource-bridge/troubleshoot-resource-bridge.md
2931
- name: Azure Arc-enabled servers >

0 commit comments

Comments
 (0)