In this article we will see how to Collect logs for analysing any problem that is seen on Spectrum Scale with respect to Authentication and FILE protocols. So in short we will see issues likely to be seen in the areas:
2. SMB Access
3. NFS Access
4. Data Ownership/Access problems
To diagnose any problem it is necessary to gather relevant information from the cluster. Collection of debugging information, such as configuration files and logs, can be achieved by using the gpfs.snap command. This command gathers data about GPFS, operating system information, and information for each of the protocols. It also collects AUTHENTICATION related data like Authentication configuration and logs. To collect only authentication traces use the following command,
# gpfs.snap -–protocol authentication
Authentication Data captured by gpfs.snap command
The following authentication data is always obtained by the gpfs.snap command:
1. The output of these commands:
2. The following files:
Collecting Logs for LDAP or NIS Based Authentication.
This will collect configuration files for the SSSD Component
Log files are:
Note: For more information on SSSD log files, see Red Hat Linux documentation
Winbind (AD based authentication schemes)
Configuration Files are:
Log files are:
Authentication configuration failures
— Network related
— Administrative credentials requirements
# mmuserauth service check –data-access-method all –nodes cesNodes
# mmuserauth service check –data-access-method all –nodes cesNodes –server-reachability
To help debug Access failures we must collect traces. These are Logs at high levels.
The command, #mmprotocoltrace is used for collecting traces.
Ideally we need to Start collecting trace, recreate the issue which we want to debug and then Immediately stop collecting trace.
We can collect traces for debugging problems related to SMB, Winbind, Network and Object tracing.
NFS tracing is achieved by increasing the log level, repeating the issue, capturing the log file, and then restoring the log level.
After the issue is recreated by running the gpfs.snap command either with no arguments or with the –protocol nfs argument, the NFS logs are captured.