Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 5. Verifying external OpenShift Data Foundation storage cluster deployment
Use this section to verify that the OpenShift Data Foundation deployed as external storage is deployed correctly.
5.1. Verifying the state of the pods Link kopierenLink in die Zwischenablage kopiert!
-
Click Workloads
Pods from the left pane of the OpenShift Web Console. Select
openshift-storagefrom the Project drop-down list.NoteIf the Show default projects option is disabled, use the toggle button to list all the default projects.
For more information on the expected number of pods for each component and how it varies depending on the number of nodes, see Table 5.1, “Pods corresponding to OpenShift Data Foundation components”
Verify that the following pods are in running state:
Expand Table 5.1. Pods corresponding to OpenShift Data Foundation components Component Corresponding pods OpenShift Data Foundation Operator
-
ocs-operator-* (1 pod on any worker node) ocs-metrics-exporter-* (1 pod on any worker node)NoteThis pod must be present in
openshift-storage-extendednamespace as well such that there is 1 pod in eachopenshift-storageandopenshift-storage extendednamespace.-
odf-operator-controller-manager-* (1 pod on any worker node) -
odf-console-* (1 pod on any worker node) -
csi-addons-controller-manager-* (1 pod on any worker node)
Rook-ceph Operator
-
rook-ceph-operator-* (1 pod on any worker node)
CSI
cephfs-
openshift-storage.cephfs.csi.ceph.com-ctrlplugin-* (2 pods distributed across storage nodes) -
openshift-storage.cephfs.csi.ceph.com-nodeplugin-* (1 pod on each storage node)
-
nfs-
openshift-storage.nfs.csi.ceph.com-ctrlplugin-* (2 pods distributed across storage nodes) -
openshift-storage.nfs.csi.ceph.com-nodeplugin-* (1 pod on each storage node)
-
rbd-
openshift-storage.rbd.csi.ceph.com-ctrlplugin-* (2 pods distributed across storage nodes) -
openshift-storage.rbd.csi.ceph.com-nodeplugin-* (1 pod on each storage node)
-
-
5.2. Verifying that the OpenShift Data Foundation cluster is healthy Link kopierenLink in die Zwischenablage kopiert!
-
In the OpenShift Web Console, click Storage
Data Foundation. - In the Status card of the Overview tab, click Storage System and verify that you can now see two storage system links in the pop up that appears.
Click each of the storage system links and verify the following:
- In the Status card of the Block and File tab, verify that the Storage Cluster has a green tick.
- In the Details card, verify that the cluster information is displayed.
For more information on the health of the OpenShift Data Foundation cluster using the Block and File dashboard, see Monitoring OpenShift Data Foundation.
5.3. Verifying that the Multicloud Object Gateway is healthy Link kopierenLink in die Zwischenablage kopiert!
-
In the OpenShift Web Console, click Storage
Data Foundation. In the Status card of the Overview tab, click Storage System and then click the storage system link from the pop up that appears.
- In the Status card of the Object tab, verify that both Object Service and Data Resiliency have a green tick.
- In the Details card, verify that the Multicloud Object Gateway (MCG) information is displayed.
The RADOS Object Gateway is only listed in case RADOS Object Gateway endpoint details are included while deploying OpenShift Data Foundation in external mode.
For more information on the health of OpenShift Data Foundation cluster using the object dashboard, see Monitoring OpenShift Data Foundation.
5.4. Verifying that the storage classes are created and listed Link kopierenLink in die Zwischenablage kopiert!
-
Click Storage
Storage Classes from the left pane of the OpenShift Web Console. Verify that the following storage classes are created with the OpenShift Data Foundation cluster creation:
-
ocs-external-storagecluster-ceph-rbd -
ocs-external-storagecluster-ceph-rgw -
ocs-external-storagecluster-cephfs
-
-
If an MDS is not deployed in the external cluster,
ocs-external-storagecluster-cephfsstorage class will not be created. -
If RGW is not deployed in the external cluster, the
ocs-external-storagecluster-ceph-rgwstorage class will not be created.
For more information regarding MDS and RGW, see Red Hat Ceph Storage documentation
5.5. Verifying that Ceph cluster is connected Link kopierenLink in die Zwischenablage kopiert!
Run the following command to verify if the OpenShift Data Foundation cluster is connected to the external Red Hat Ceph Storage cluster.
$ oc get cephcluster -n openshift-storage-extended
NAME DATADIRHOSTPATH MONCOUNT AGE PHASE MESSAGE HEALTH EXTERNAL FSID
ocs-external-storagecluster-cephcluster 51m Connected Cluster connected successfully HEALTH_OK true 8f01d842-d4b2-11ee-b43c-0050568fb522
5.6. Verifying that storage cluster is ready Link kopierenLink in die Zwischenablage kopiert!
Run the following command to verify if the storage cluster is ready and the External option is set to true.
$ oc get storagecluster -n openshift-storage-extended
NAME AGE PHASE EXTERNAL CREATED AT VERSION
ocs-external-storagecluster 51m Ready true 2024-02-28T10:05:54Z 4.17.0