Este conteúdo não está disponível no idioma selecionado.
Chapter 8. Post-deployment
The following subsections describe several post-deployment operations for managing the Ceph cluster.
8.1. Accessing the overcloud Copiar o linkLink copiado para a área de transferência!
The director generates a script to configure and help authenticate interactions with your overcloud from the director host. The director saves this file (overcloudrc
) in your stack
user’s home directory. Run the following command to use this file:
source ~/overcloudrc
$ source ~/overcloudrc
This loads the necessary environment variables to interact with your overcloud from the director host’s CLI. To return to interacting with the director’s host, run the following command:
source ~/stackrc
$ source ~/stackrc
8.2. Monitoring Ceph Storage nodes Copiar o linkLink copiado para a área de transferência!
After you create the overcloud, check the status of the Ceph Storage Cluster to ensure that it works correctly.
Procedure
Log in to a Controller node as the
heat-admin
user:nova list ssh heat-admin@192.168.0.25
$ nova list $ ssh heat-admin@192.168.0.25
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check the health of the cluster:
sudo podman exec ceph-mon-$HOSTNAME ceph health
$ sudo podman exec ceph-mon-$HOSTNAME ceph health
Copy to Clipboard Copied! Toggle word wrap Toggle overflow If the cluster has no issues, the command reports back
HEALTH_OK
. This means the cluster is safe to use.Log in to an overcloud node that runs the Ceph monitor service and check the status of all OSDs in the cluster:
sudo podman exec ceph-mon-$HOSTNAME ceph osd tree
$ sudo podman exec ceph-mon-$HOSTNAME ceph osd tree
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check the status of the Ceph Monitor quorum:
sudo ceph quorum_status
$ sudo ceph quorum_status
Copy to Clipboard Copied! Toggle word wrap Toggle overflow This shows the monitors participating in the quorum and which one is the leader.
Verify that all Ceph OSDs are running:
ceph osd stat
$ ceph osd stat
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information on monitoring Ceph Storage clusters, see Monitoring in the Red Hat Ceph Storage Administration Guide.