Questo contenuto non è disponibile nella lingua selezionata.
Chapter 9. Post-deployment
The following subsections describe several post-deployment operations for managing the Ceph cluster.
9.1. Accessing the overcloud Copia collegamentoCollegamento copiato negli appunti!
Director generates a script to configure and help authenticate interactions with your overcloud from the undercloud. Director saves this file, overcloudrc, in the home directory of the stack user.
Run the following command to use this file:
source ~/overcloudrc
$ source ~/overcloudrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow This loads the necessary environment variables to interact with your overcloud from the undercloud CLI. To return to interacting with the undercloud, run the following command:
source ~/stackrc
$ source ~/stackrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow
9.2. Monitoring Ceph Storage nodes Copia collegamentoCollegamento copiato negli appunti!
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-adminuser:nova list ssh heat-admin@192.168.0.25
$ nova list $ ssh heat-admin@192.168.0.25Copy 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 healthCopy 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 treeCopy to Clipboard Copied! Toggle word wrap Toggle overflow Check the status of the Ceph Monitor quorum:
sudo podman exec ceph-mon-<HOSTNAME> ceph quorum_status
$ sudo podman exec ceph-mon-<HOSTNAME> ceph quorum_statusCopy 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:
sudo podman exec ceph-mon-<HOSTNAME> ceph osd stat
$ sudo podman exec ceph-mon-<HOSTNAME> ceph osd statCopy 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.