Chapter 3. Verifying successful CephFS via NFS deployment
Deploying CephFS via NFS as a back end of OpenStack Shared File System service (manila) adds new elements to the overcloud environment.
The new overcloud elements are:
- StorageNFS network
- Ceph MDS service on the controllers
- NFS-Ganesha service on the controllers
See the Shared File System service chapter in the Storage Guide for additional information about using the Shared File System service with CephFS via NFS.
The cloud administrator must verify the stability of the CephFS via NFS environment before making it available to service users.
Prerequisites
- Completing the steps in Chapter 2, CephFS via NFS Installation
3.1. Verifying creation of isolated StorageNFS network Copy linkLink copied to clipboard!
The network_data_ganesha.yaml file used to deploy CephFS via NFS as a Shared File Services system back end creates the StorageNFS VLAN:
Complete the following steps to verify the existence of the isolated StorageNFS network.
Procedure
- Log in to one of the controllers in the overcloud.
Run the following command to check the connected networks and verify the existence of the VLAN as set in
network_data_ganesha.yaml:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.2. Verifying Ceph MDS service Copy linkLink copied to clipboard!
Use the systemctl status command to verify the Ceph MDS service status.
Procedure
Run the following command on all controllers to check the status of the MDS docker container:
systemctl status ceph-mds@<CONTROLLER-HOST>
$ systemctl status ceph-mds@<CONTROLLER-HOST>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.3. Verifying Ceph cluster status Copy linkLink copied to clipboard!
Complete the following steps to verify Ceph cluster status.
Procedure
- Log in to the active controller.
Run the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteNotice there is one active MDS and two MDSs on standby.
To check the status of the Ceph file system in more detail, run the following command where
<cephfs>is the name of the Ceph file system:sudo ceph fs ls name: cephfs, metadata pool: manila_metadata, data pools: [manila_data]
$ sudo ceph fs ls name: cephfs, metadata pool: manila_metadata, data pools: [manila_data]Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.5. Verifying manila-api services acknowledges scheduler and share services Copy linkLink copied to clipboard!
Complete the following steps to confirm the manila-api service acknowledges the scheduler and share services.
Procedure
- Log in to the undercloud.
Run the following command:
source /home/stack/overcloudrc
$ source /home/stack/overcloudrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command to confirm
manila-schedulerandmanila-shareare enabled:Copy to Clipboard Copied! Toggle word wrap Toggle overflow