3.3. 高可用性クラスターでのバンドルステータスの確認
アンダークラウドノードからバンドルのステータスを確認することも、コントローラーノードのいずれかにログインして直接バンドルのステータスを確認することもできます。
前提条件
- 高可用性がデプロイされ、動作している。
手順
以下のオプションのいずれかを使用します。
アンダークラウドノードにログインし、バンドルのステータスを確認します (以下の例では
haproxy-bundle)。$ sudo podman exec -it haproxy-bundle-podman-0 ps -efww | grep haproxy*
出力例:
root 7 1 0 06:08 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws haproxy 11 7 0 06:08 ? 00:00:17 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws
この出力は、コンテナー内で
haproxyプロセスが実行されていることを示しています。コントローラーノードにログインし、バンドルのステータスを確認します (以下の例では
haproxy)。$ ps -ef | grep haproxy*
出力例:
root 17774 17729 0 06:08 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws 42454 17819 17774 0 06:08 ? 00:00:21 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws root 288508 237714 0 07:04 pts/0 00:00:00 grep --color=auto haproxy* [root@controller-0 ~]# ps -ef | grep -e 17774 -e 17819 root 17774 17729 0 06:08 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws 42454 17819 17774 0 06:08 ? 00:00:22 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws root 301950 237714 0 07:07 pts/0 00:00:00 grep --color=auto -e 17774 -e 17819