Skip main navigation (Press Enter).
Log in
Toggle navigation
Log in
Community
Topic Groups
Champions
Directory
Program overview
Rising Champions
IBM Champions group
User Groups
Directory
Benefits
Events
Dev Days
Conference
Community events
User Groups events
All TechXchange events
Participate
TechXchange Group
Welcome Corner
Blogging
Member directory
Community leaders
Resources
IBM TechXchange
Community
Conference
Events
IBM Developer
IBM Training
IBM TechXchange
Community
Conference
Events
IBM Developer
IBM Training
File and Object Storage
×
File and Object Storage
Software-defined storage for building a global AI, HPC and analytics data platform
Group Home
Threads
168
Blogs
526
Events
0
Library
19
Members
2.9K
View Only
Share
Share on LinkedIn
Share on X
Share on Facebook
Back to Blog List
Useful Tools for Spectrum Scale CES NFS
By
Archive User
posted
Mon July 22, 2019 06:20 AM
Like
IBM Spectrum Scale is a cluster file system that supports concurrent access from multiple nodes. Its Cluster Export Services (CES) provide highly available file services to the General Parallel File System (GPFS) cluster via different protocols and Network File System (NFS) is one of them.
This NFS support is based on the Ganesha NFS server which operates in user space. There are multiple commands/tools available for configuring, administering, capturing performance and troubleshooting CES NFS.
A summary of the most commonly used ones is as follows:
Configuration/Administration Related:
This is mostly done via the below GPFS commands:-
mmnfs
: Helps manage your NFS configuration and all the exports.
mmces
: Administer the CES configuration and check the CES state or events.
mmauth
: Helps handle authentication needs.
Troubleshooting Related:
Logs: The NFS server writes log messages to the "/var/log/ganesha.log" file.
One can decide the amount of logging needed at runtime based on below flexible options:
-- Log level. Eg- select CRIT (critical), INFO (informational), EVENT or DEBUG level messages.
-- Components of interest. Eg- select V4 ACL or NLM locking messages etc.
ganesha_mgr
utility: This is a command line utility provided by the Ganesha open source community project.
It can be used for displaying all the NFS exports and the current NFS clients. It can help control the logging feature (that was described in the previous section), and to purge various internal caches as well.
tcpdump
: If applications running on NFS clients see any errors, this commonly used tool helps to determine a possible root cause. It can tell you whether the client or server is at fault. As a best practice it is recommended to collect tcpdump from both the client and server side, so that no frames are dropped. And to use the "-w" option for capture, so that
tshark
can be used to analyze the packets later.
Performance Related:
ganesha_stats
utility: This is another tool provided by the Ganesha open source community project. It helps extract NFS server statistics. It can tell you the statistics based per export. One can see protocol specific details. Eg- V3 or V4 or NLM protocol related. And for filesystem specific operations as well.
It is being enhanced constantly, so that it can capture more details for various different components to identify any potential bottlenecks.
mmfsadm vfsstats
: This is a command that helps extract the GPFS statistics. It tells you the time taken for each of the various calls. Eg- reads, opens, writes, removes etc.
Miscellaneous
:
Administrators may sometimes have to check firewall/port settings,
syslog
,
systemd
(especially for any startup issues)
netstat
for any network related problems.
Please see below links for more details:
https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.3/com.ibm.spectrum.scale.v5r03.doc/bl1adv_ces_nfssupport.htm
https://ganltc.github.io/data-collection-for-nfs-ganesha-hang-or-performance-issue.html
Ack: Thanks to Malahal Naineni for his review.
#IBMSpectrumStorage
#NFSAccessforSpectrumScale
#Softwaredefinedstorage
#ibmstorage
#IBMSpectrumScale
0 comments
14 views
Permalink
Copy
Powered by Higher Logic