你好,
我试图在关闭并关闭CVM节点之前停止集群。我正在使用以下命令来阻止群集,但是,它似乎不起作用,命令和输出粘贴,请告诉我我在做什么错?
$ nutanixClusterStatus = Invoke -vmscript -vm $ cvms [0] -guestcredential $ nutanixlogincreds -scriptText {/usr/usr/bin/echo'i cluent'i Clues'clues'|/usr/local/nutanix/cluster/bin/cluster stop} -scripttype bash
ScriptOutput
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|/usr/bin/echo:/usr/bin/echo:无法执行二进制文件
|2020-12-05 04:30:17信息zookeeper_session.py:143集群正在尝试连接到Zookeeper
|2020-12-05 04:30:17信息群集:2716执行操作在SVMS上停止10.65.241.247,10.65.241.248,248,10.65.241.249,10.65.241.241.246
|2020-12-05 04:30:17警告Genesis_utils.py:279弃用:使用util.cluster.info.get_node_uuid()
|2020-12-05 04:30:17信息zookeeper_session.py:143集群正在尝试连接到Zookeeper
|2020-12-05 04:30:17信息群集:2763
|
|*****群集名称*****
|Lab-Prism01
|
|2020-12-05 04:30:17错误群集:2900无法执行操作停止。错误(读取行时的EOF),追溯:
|Trackback(最近的最新电话):
|文件“/usr/local/nutanix/cluster/bin/cluster”,第2889行,<模块>
|main(args,命令)
|文件“/usr/local/nutanix/cluster/bin/cluster”,第2792行
|确认= RAW_INPUT(提示)
|Eoferror:阅读一行时EOF
|
|退出...
|此操作将阻止Nutanix存储服务,并且使用Nutanix存储的任何VM都将变得不可用。你想继续吗?(我同意/[n]):
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------