NTNX>日記

個人的な趣味による Nutanix Community Edition 日記。Japanese のみですみません。

Nutanix CE の VIP のいる CVM を探す。

Nutanix CE の、Cluster Virtual IP Address と iSCSI Data Services IP が付与されている CVM を探してみます。

CVM のどれかにログインして、allssh で探してみます。
それぞれ、IP アドレスはこれです。

  • External IP Address → Cluster Virtual IP Address
  • External Data Services →  iSCSI Data Services IP
nutanix@NTNX-bd018e94-A-CVM:192.168.1.194:~$ ncli cluster info | grep Ext
    External IP Address       : 192.168.1.190
    External Data Services... : 192.168.1.195
nutanix@NTNX-bd018e94-A-CVM:192.168.1.194:~$

今回の環境では、192.168.1.194 の CVM に付与されていました。

nutanix@NTNX-bd018e94-A-CVM:192.168.1.194:~$ allssh "ip a show eth0 | grep :.$"
Executing ip a show eth0 | grep :.$ on the cluster
================== 192.168.1.191 =================
Connection to 192.168.1.191 closed.
================== 192.168.1.192 =================
Connection to 192.168.1.192 closed.
================== 192.168.1.193 =================
Connection to 192.168.1.193 closed.
================== 192.168.1.194 =================
    inet 192.168.1.190/32 brd 192.168.1.190 scope global eth0:1
    inet 192.168.1.195/32 brd 192.168.1.195 scope global eth0:2
Connection to 192.168.1.194 closed.
nutanix@NTNX-bd018e94-A-CVM:192.168.1.194:~$

以上。

©2023 gowatana
クリエイティブ・コモンズ・ライセンスこの 作品 は クリエイティブ・コモンズ 表示 4.0 国際 ライセンスの下に提供されています。