Check Hypervisor Password from CVM | Nutanix Community
Skip to main content
Solved

Check Hypervisor Password from CVM


Forum|alt.badge.img+6
Hi ,

I have run below command to show my hypervisor password from one of the CVM , but the password doesn't come out , anyone can help ?

Command : zeus_config_printer 2> /dev/null | grep "hypervisor {" -A 3
Result:

nutanix@NTNX-14SM36060045-A-CVM:192.168.1.208:~$ zeus_config_printer 2> /dev/null | grep "hypervisor {" -A 3 hypervisor { address_list: "192.168.1.204" username: "root" }-- hypervisor { address_list: "192.168.1.206" username: "root" }-- hypervisor { address_list: "192.168.1.207" username: "root" }
Apart of it , can anyone share where is the password configuration Hypervisor and CVM store in nutanix system? (from book it said store in ZEUS , but i don't know exactly the path location )

Thank. ;)

Regards,
Zack

Best answer by shuguet

Hello,

Zeus is the Nutanix name for their wrapper around Apache Zookeeper.
You will not find a specific "file" with the password in it.

As far as I can tell, the passwords are stored encrypted in the znode "/appliance/physical/configuration".

You can change them by using ncli:$ ncli managementserver edit name=host_name password='host_password'$ ncli host edit id=host_id hypervisor-password='host_password'

Note: the host id can be retrived from the command below, and the host name is the "Hypervizor Key":
$ ncli host list

I think it's wise not to display the passwords as plain text, as it would be a security nightmare if you were able to easiliy retrive them by simply listing all the cluster configuration.

Sylvain.
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

shuguet
Forum|alt.badge.img+20
  • Trailblazer
  • 32 replies
  • Answer
  • May 14, 2014
Hello,

Zeus is the Nutanix name for their wrapper around Apache Zookeeper.
You will not find a specific "file" with the password in it.

As far as I can tell, the passwords are stored encrypted in the znode "/appliance/physical/configuration".

You can change them by using ncli:$ ncli managementserver edit name=host_name password='host_password'$ ncli host edit id=host_id hypervisor-password='host_password'

Note: the host id can be retrived from the command below, and the host name is the "Hypervizor Key":
$ ncli host list

I think it's wise not to display the passwords as plain text, as it would be a security nightmare if you were able to easiliy retrive them by simply listing all the cluster configuration.

Sylvain.

Forum|alt.badge.img+6
  • Author
  • Voyager
  • 1 reply
  • May 15, 2014
Hi dude,

Once again , thank for your explanation. 😃

shuguet
Forum|alt.badge.img+20
  • Trailblazer
  • 32 replies
  • May 15, 2014
My pleasure :)Sylvain.

Forum|alt.badge.img+8
  • Nutanix Employee
  • 2 replies
  • May 15, 2014
zacklee89, the reason you are not seeing the password is because the CVMs have recently switched to using SSH keys to access the hypervisor. We've also hidden the password so that it is not displayed when you print the zeus config. The command you've used is no longer in the upgrade guide as of NOS 3.5.3.1.