我已经运行下面的命令从一个CVM显示我的hypervisor密码,但密码不出来,有人可以帮助吗?
命令:zeus_config_printer 2> /dev/null | grep "hypervisor {" -A 3
结果:
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"}
除此之外,任何人都可以分享在nutanix系统中的密码配置Hypervisor和CVM存储在哪里?(书上说商店在ZEUS,但我不知道确切的路径位置)
谢谢。;)
问候,
扎克
最佳答案shuguet
\n\nZeus is the Nutanix name for their wrapper around Apache Zookeeper.
\nYou will not find a specific \"file\" with the password in it.
\n
\nAs far as I can tell, the passwords are stored encrypted in the znode \"\/appliance\/physical\/configuration\".
\n
\nYou 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'
\n
\nNote: the host id can be retrived from the command below, and the host name is the \"Hypervizor Key\":
\n$ ncli host list
\n
\nI 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.
\n
\nSylvain.","className":"post__content__best_answer"}">