az arcappliance logs

Note

This reference is part of the arcappliance extension for the Azure CLI (version 2.41.0 or higher). The extension will automatically install the first time you run an az arcappliance logs command. Learn more about extensions.

Command group for collecting logs for an Appliance cluster.

Commands

az arcappliance logs hci

Command to collect logs for an Appliance on Azure Stack HCI.

az arcappliance logs kubevirt

Command to collect logs for Appliance on KubeVirt.

az arcappliance logs scvmm

Command to collect logs for Arc Appliance on SCVMM.

az arcappliance logs vmware

Command to collect logs for Appliance on VMware.

az arcappliance logs hci

Command to collect logs for an Appliance on Azure Stack HCI.

az arcappliance logs hci [--cloudagent]
                         [--ip]
                         [--kubeconfig]
                         [--loginconfigfile]
                         [--out-dir]

Examples

Collect Appliance logs on HCI using IP

az arcappliance logs hci --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]

Collect Appliance logs on HCI using kubeconfig

az arcappliance logs hci --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]

Collect Appliance logs using noninteractive feature on HCI using HCI credentials as parameters

az arcappliance logs hci --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL] --cloudagent [REQUIRED] --loginconfigfile [REQUIRED]

Optional Parameters

--cloudagent

FQDN or IP address of cloud agent service for Arc Resource Bridge.

--ip

IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.

--kubeconfig

Path to kubeconfig output from deploy command.

--loginconfigfile

File path for HCI login configuration.

--out-dir

Output directory where log files should be output, defaults to ./ (current directory).

az arcappliance logs kubevirt

Command to collect logs for Appliance on KubeVirt.

az arcappliance logs kubevirt [--ip]
                              [--kubeconfig]
                              [--out-dir]

Examples

Collect Appliance logs on kubevirt using IP

az arcappliance logs kubevirt --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]

Collect Appliance logs on kubevirt using kubeconfig

az arcappliance logs kubevirt --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]

Optional Parameters

--ip

IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.

--kubeconfig

Path to kubeconfig output from deploy command.

--out-dir

Output directory where log files should be output, defaults to ./ (current directory).

az arcappliance logs scvmm

Command to collect logs for Arc Appliance on SCVMM.

az arcappliance logs scvmm [--ip]
                           [--kubeconfig]
                           [--out-dir]

Examples

Collect Arc Appliance logs on SCVMM using IP

az arcappliance logs scvmm --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]

Collect Appliance logs on SCVMM using kubeconfig

az arcappliance logs scvmm --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]

Optional Parameters

--ip

IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.

--kubeconfig

Path to kubeconfig output from deploy command.

--out-dir

Output directory where log files should be output, defaults to ./ (current directory).

az arcappliance logs vmware

Command to collect logs for Appliance on VMware.

az arcappliance logs vmware [--address]
                            [--ip]
                            [--kubeconfig]
                            [--out-dir]
                            [--password]
                            [--username]

Examples

Collect Appliance logs on VMware using IP

az arcappliance logs vmware --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]

Collect Appliance logs on VMware using kubeconfig

az arcappliance logs vmware --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]

Collect Appliance logs using noninteractive feature on VMware using vmware credentials parameters

az arcappliance logs vmware --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL] --address [REQUIRED] --username [REQUIRED] --password [REQUIRED]

Optional Parameters

--address

FQDN or IP address for vCenter Server instance. Ex: 10.160.0.1.

--ip

IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.

--kubeconfig

Path to kubeconfig output from deploy command.

--out-dir

Output directory where log files should be output, defaults to ./ (current directory).

--password

Password for vSphere account.

--username

Username for vSphere account.