Skip to main content
A newer release of this product is available.

system node virtual-machine hypervisor show-credentials

Contributors
Suggest changes

Display hypervisor IP address and its credentials

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The system node virtual-machine hypervisor show-credentials command displays the current vSphere authentication information (except the password). This consists of the vSphere server and username. The vSphere password is not displayed for security reasons. vSphere authentication information is required to use (system node virtual-machine hypervisor show-node`<node> , system node virtual-machine instance show-system-disks-node<node> and storage disk show -virtual-machine-disk-info-node<node> ) to be able to gather information about the physical host machine. It also attempts to verify the current vSphere authentication information with the vSphere host. If the check succeeds and the credentials are correct, the command displays the following information. If you want to see details about a single node, use the `-node parameter.

  • Node

  • Hypervisor name or IP Address

  • vSphere Username

  • Credentials Correct?: true

If the check fails or credentials are incorrect, the command displays an additional Error .

  • Node

  • Hypervisor name or IP Address

  • vSphere Username

  • Credentials Correct?: false

  • Error:

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

This optional parameter represents the name of the Data ONTAP node running in a virtual machine for which information is to be displayed. If this parameter is not specified, the command displays information about all nodes in the cluster.

[-server <text>] - Hypervisor IP Address or Hostname

Use this parameter to only display the Data ONTAP nodes in the cluster whose vSphere server matches this value.

[-username <text>] - Hypervisor Username

Use this parameter to only display the Data ONTAP nodes in the cluster whose vSphere username matches this value.

[-are-credentials-correct {true|false}] - Credentials Correct?

Get a list of Data ONTAP nodes running with either incorrect (false) or correct (true) vSphere credentials.

[-error <text>] - Error

Get a list of nodes with the specified error. This parameter is most useful when entered with wildcards.

Examples

The following example shows the vSphere server and vSphere username. It also displays whether the server address or its credentials are correct and displays an error if they are not.

cluster1::> system node virtual-machine hypervisor show-credentials
                 Node: node1
Hypervisor IP Address: 192.168.0.1
     vSphere Username: administrator
 Credentials Correct?: true
Node: node2
Hypervisor IP Address:
     vSphere Username: admin
 Credentials Correct?: false
Error: [13166] could not find IP addr for host.
Correct the vSphere credentials with the
"system node virtual-machine hypervisor modify-credentials -node" command.

2 entries were displayed.