Partilhar via


Manage Arc-enabled Azure VMware private cloud

In this article, learn how to update the Arc appliance credentials, upgrade the Arc resource bridge, and collect logs from the Arc resource bridge.

Update Arc appliance credential

When cloud admin credentials are updated, use the following steps to update the credentials in the appliance store.

  1. Sign in to the Management VM from where the onboard process was performed. Change the directory to onboarding directory.

  2. Run the following command: For Windows-based Management VM.

    ./.temp/.env/Scripts/activate

    For Linux-based Management VM

    `./.temp/.env/bin/activate

  3. Execute o seguinte comando:

    az arcappliance update-infracredentials vmware --kubeconfig <kubeconfig file>

  4. Execute o seguinte comando:

az connectedvmware vcenter connect --debug --resource-group {resource-group} --name {vcenter-name-in-azure} --location {vcenter-location-in-azure} --custom-location {custom-location-name} --fqdn {vcenter-ip} --port {vcenter-port} --username cloudadmin@vsphere.local --password {vcenter-password}

Observação

Customers need to ensure kubeconfig and SSH keys remain available as they will be required for log collection, appliance Upgrade, and credential rotation. These parameters will be required at the time of upgrade, log collection, and credential update scenarios.

Parâmetros

Parâmetros necessários

-kubeconfig # kubeconfig of Appliance resource

Exemplos

The following command invokes the set credential for the specified appliance resource.

az arcappliance setcredential <provider> --kubeconfig <kubeconfig>

Upgrade the Arc resource bridge

Observação

Arc resource bridges, on a supported private cloud provider with an appliance version 1.0.15 or higher, are automatically opted in to cloud-managed upgrade. 

Azure Arc-enabled Azure VMware Private Cloud requires the Arc resource bridge to connect your VMware vSphere environment with Azure. Periodicamente, novas imagens do Arc resource bridge são lançadas para incluir atualizações de segurança e recursos. A ponte de recursos Arc pode ser atualizada manualmente a partir do servidor vCenter. Você deve atender a todos os pré-requisitos de atualização antes de tentar atualizar. O servidor vCenter deve ter os arquivos de configuração kubeconfig e appliance armazenados localmente. If the cloudadmin credentials change after the initial deployment of the resource bridge, update the Arc appliance credential before you attempt a manual upgrade.

A ponte de recursos Arc pode ser atualizada manualmente a partir da máquina de gerenciamento. The manual upgrade generally takes between 30-90 minutes, depending on the network speed. O comando upgrade leva sua ponte de recursos Arc para a próxima versão imediata, que pode não ser a versão mais recente disponível. Várias atualizações podem ser necessárias para alcançar uma versão suportada. Verify your resource bridge version by checking the Azure resource of your Arc resource bridge.

Collect logs from the Arc resource bridge

Perform ongoing administration for Arc-enabled VMware vSphere by collecting logs from the Arc resource bridge.