az arcappliance troubleshoot command
Note
This reference is part of the arcappliance extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az arcappliance troubleshoot command command. Learn more about extensions.
Command group for troubleshooting an Appliance cluster by executing a shell command.
Commands
Name | Description | Type | Status |
---|---|---|---|
az arcappliance troubleshoot command hci |
Command to execute a shell command on an HCI cluster for troubleshooting. Either --ip or --kubeconfig must be provided. If both are passed in, --ip will be used. |
Extension | GA |
az arcappliance troubleshoot command scvmm |
Command to execute a shell command on an SCVMM cluster for troubleshooting. Either --ip or --kubeconfig must be provided. If both are passed in, --ip will be used. |
Extension | GA |
az arcappliance troubleshoot command vmware |
Command to execute a shell command on an VMWare cluster for troubleshooting. Either --ip or --kubeconfig must be provided. If both are passed in, --ip will be used. |
Extension | GA |
az arcappliance troubleshoot command hci
Command to execute a shell command on an HCI cluster for troubleshooting. Either --ip or --kubeconfig must be provided. If both are passed in, --ip will be used.
az arcappliance troubleshoot command hci [--cloudagent]
[--command]
[--credentials-dir]
[--ip]
[--kubeconfig]
[--loginconfigfile]
Examples
Execute a troubleshooting command on an HCI cluster passing in ip
az arcappliance troubleshoot command hci --command [REQUIRED] --ip [REQUIRED] --credentials-dir [OPTIONAL]
Execute a troubleshooting command on an HCI cluster passing in kubeconfig
az arcappliance troubleshoot command hci --command [REQUIRED] --kubeconfig [REQUIRED] --credentials-dir [OPTIONAL]
Execute a troubleshooting command on an HCI cluster passing in --ip
az arcappliance troubleshoot command hci --command [REQUIRED] --ip [REQUIRED] --credentials-dir [OPTIONAL] --cloudagent [OPTIONAL] --loginconfigfile [OPTIONAL]
Optional Parameters
FQDN or IP address of the Azure Stack HCI MOC cloud agent service used by Arc resource bridge. This can be found in the -infra.yaml configuration file stored locally on the HCI cluster.
This is the shell command to be executed.
This is the path to the log key directory, which stores credentials for your Resource Bridge. Once a scoped access key has been generated, use the az arcappliance get-credentials command to download it.
Arc resource bridge on-premises appliance VM IP or its control plane IP.
Path to kubeconfig.
File path for the Azure Stack HCI login configuration file, kvatoken.tok. By default, it is stored locally on the HCI cluster.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az arcappliance troubleshoot command scvmm
Command to execute a shell command on an SCVMM cluster for troubleshooting. Either --ip or --kubeconfig must be provided. If both are passed in, --ip will be used.
az arcappliance troubleshoot command scvmm [--address]
[--command]
[--credentials-dir]
[--ip]
[--kubeconfig]
[--password]
[--port]
[--username]
Examples
Execute a troubleshooting command on an SCVMM cluster passing in ip
az arcappliance troubleshoot command scvmm --command [REQUIRED] --ip [REQUIRED] --credentials-dir [OPTIONAL]
Execute a troubleshooting command on an SCVMM cluster passing in kubeconfig
az arcappliance troubleshoot command scvmm --command [REQUIRED] --kubeconfig [REQUIRED] --credentials-dir [OPTIONAL]
Execute a troubleshooting command on an SCVMM cluster using noninteractive credentials parameters passing in --ip
az arcappliance troubleshoot command scvmm --command [REQUIRED] --ip [REQUIRED] --credentials-dir [OPTIONAL] --address [OPTIONAL] --port [OPTIONAL] --username [OPTIONAL] --password [OPTIONAL]
Optional Parameters
SCVMM Server FQDN (e.g. vmmuser001.contoso.lab) or IPv4 address. If you have a Highly Available VMM setup, enter the role name.
This is the shell command to be executed.
This is the path to the log key directory, which stores credentials for your Resource Bridge. Once a scoped access key has been generated, use the az arcappliance get-credentials command to download it.
Arc resource bridge on-premises appliance VM IP or its control plane IP.
Path to kubeconfig.
SCVMM Administrator Password.
SCVMM server port number (Default: 8100).
SCVMM Administrator Username (domain\username).
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az arcappliance troubleshoot command vmware
Command to execute a shell command on an VMWare cluster for troubleshooting. Either --ip or --kubeconfig must be provided. If both are passed in, --ip will be used.
az arcappliance troubleshoot command vmware [--address]
[--command]
[--credentials-dir]
[--ip]
[--kubeconfig]
[--password]
[--username]
Examples
Execute a troubleshooting command on an VMWare cluster passing in ip
az arcappliance troubleshoot command vmware --command [REQUIRED] --ip [REQUIRED] --credentials-dir [OPTIONAL]
Execute a troubleshooting command on an VMWare cluster passing in kubeconfig
az arcappliance troubleshoot command vmware --command [REQUIRED] --kubeconfig [REQUIRED] --credentials-dir [OPTIONAL]
Execute a troubleshooting command on an VMWare cluster using noninteractive credentials parameters passing in --ip
az arcappliance troubleshoot command vmware --command [REQUIRED] --ip [REQUIRED] --credentials-dir [OPTIONAL] --address [OPTIONAL] --username [OPTIONAL] --password [OPTIONAL]
Optional Parameters
FQDN or IP address for vCenter Server instance. Ex: 10.160.0.1.
This is the shell command to be executed.
This is the path to the log key directory, which stores credentials for your Resource Bridge. Once a scoped access key has been generated, use the az arcappliance get-credentials command to download it.
Arc resource bridge on-premises appliance VM IP or its control plane IP.
Path to kubeconfig.
Password for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.
Username for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI