Este conteúdo não está disponível no idioma selecionado.
Chapter 8. Monitoring a high availability Red Hat Ceph Storage cluster
When you deploy an overcloud with Red Hat Ceph Storage, Red Hat OpenStack Platform uses the ceph-mon
monitor daemon to manage the Ceph cluster. Director deploys the daemon on all Controller nodes.
8.1. Checking Red Hat Ceph monitoring service status Copiar o linkLink copiado para a área de transferência!
To check the status of the Red Hat Ceph Storage monitoring service, log in to a Controller node and run the service ceph status
command.
Procedure
Log in to a Controller node and check that the Ceph Monitoring service is running:
sudo service ceph status
$ sudo service ceph status === mon.overcloud-controller-0 === mon.overcloud-controller-0: running {"version":"0.94.1"}
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
8.2. Checking Red Hat Ceph monitoring configuration Copiar o linkLink copiado para a área de transferência!
To check the configuration of the Red Hat Ceph Storage monitoring service, log in to a Controller node or a Red Hat Ceph node and open the /etc/ceph/ceph.conf
file.
Procedure
Log in to a Controller nodes or on a Ceph node and open the
/etc/ceph/ceph.conf
file to view the monitoring configuration parameters:Copy to Clipboard Copied! Toggle word wrap Toggle overflow This example shows the following information:
- All three Controller nodes are configured to monitor the Red Hat Ceph Storage cluster with the mon_initial_members parameter.
- The 172.19.0.11/24 network is configured to provide a communication path between the Controller nodes and the Red Hat Ceph Storage nodes.
- The Red Hat Ceph Storage nodes are assigned to a separate network from the Controller nodes, and the IP addresses for the monitoring Controller nodes are 172.18.0.15, 172.18.0.16, and 172.18.0.17.
8.3. Checking Red Hat Ceph node status Copiar o linkLink copiado para a área de transferência!
To check the status of a specific Red Hat Ceph Storage node, log in to the node and run the ceph -s
command.
Procedure
Log in to the Ceph node and run the
ceph -s
command:Copy to Clipboard Copied! Toggle word wrap Toggle overflow This example output shows that the health parameter value is HEALTH_OK, which indicates that the Ceph node is active and healthy. The output also shows three Ceph monitor services that are running on the three overcloud-controller nodes and the IP addresses and ports of the services.