此内容没有您所选择的语言版本。
Chapter 3. Verifying successful CephFS through NFS deployment
When you deploy CephFS through NFS as a back end of the Shared File Systems service (manila), you add the following new elements to the overcloud environment:
- StorageNFS network
- Ceph MDS service on the controllers
- NFS-Ganesha service on the controllers
For more information about using the Shared File Systems service with CephFS through NFS, see Shared File Systems service in the Storage Guide.
As the cloud administrator, you must verify the stability of the CephFS through NFS environment before you make it available to service users.
3.1. Verifying creation of isolated StorageNFS network 复制链接链接已复制到粘贴板!
The network_data_ganesha.yaml file used to deploy CephFS through NFS as a Shared File Systems service back end creates the StorageNFS VLAN. Complete the following steps to verify the existence of the isolated StorageNFS network.
Prerequisites
- Complete the steps in Chapter 2, CephFS through NFS installation
Procedure
- Log in to one of the controllers in the overcloud.
Enter 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 复制链接链接已复制到粘贴板!
Use the systemctl status command to verify the Ceph MDS service status.
Procedure
Enter the following command on all Controller nodes to check the status of the MDS container:
systemctl status ceph-mds@<CONTROLLER-HOST>
$ systemctl status ceph-mds@<CONTROLLER-HOST>Copy to Clipboard Copied! Toggle word wrap Toggle overflow ceph-mds@controller-0.service - Ceph MDS Loaded: loaded (/etc/systemd/system/ceph-mds@.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2018-09-18 20:11:53 UTC; 6 days ago Main PID: 65066 (conmon)
ceph-mds@controller-0.service - Ceph MDS Loaded: loaded (/etc/systemd/system/ceph-mds@.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2018-09-18 20:11:53 UTC; 6 days ago Main PID: 65066 (conmon)Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.3. Verifying Ceph cluster status 复制链接链接已复制到粘贴板!
Complete the following steps to verify Ceph cluster status.
Procedure
- Log in to the active Controller node.
Enter the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Result
- Notice there is one active MDS and two MDSs on standby.
To check the status of the Ceph file system in more detail, enter the following command and replace
<cephfs>with 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
Complete the following steps to confirm the manila-api service acknowledges the scheduler and share services.
Procedure
- Log in to the undercloud.
Enter the following command:
source /home/stack/overcloudrc
$ source /home/stack/overcloudrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow Enter the following command to confirm
manila-schedulerandmanila-shareare enabled:Copy to Clipboard Copied! Toggle word wrap Toggle overflow