Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A guide to achieving high levels of CIFS scalability on a PROTOCOL SPECIFIC CONFIGURATION TO MAXIMIZE
CONCURRENT CIFS CONNECTIONS .......................................5
SONAS system
LEASES, LOCKING AND SHARE MODES ..........................................5
June 2013 Leases..............................................................................5
Locking ............................................................................6
Share Modes ...................................................................6
HOME DIRECTORY EXPORTS USING SUBSTITUTION VARIABLES ............7
SHARING FILES AND DIRECTORIES AMONG CIFS CLIENTS ...................7
CIFS share coherency options..........................................8
OTHER CONSIDERATIONS.....................................................9
REFERENCES .......................................................................13
Page 1
Common Internet File system (CIFS) File
Serving
The IBM Scale Out Network Attached Storage (SONAS) system
provides CIFS file serving to Window client computers via CIFS
shares defined on the SONAS system. A maximum of 1000 CIFS
shares may be defined on each SONAS system.
Page 2
given SONAS system may vary based on a number of factors that
are described later. However, if the maximum number of
concurrent connections goes beyond the maximum recommended
or the limit that your SONAS system is capable of supporting, CIFS
clients may experience longer response times, session disconnect,
or other symptoms.
Page 3
SONAS System Configuration
Two important factors in determining the maximum number of
active CIFS connections per interface node that your SONAS system
can support are the configuration of the SONAS interface node and
the underlying configuration of the storage system(s) on which the
file system containing the CIFS share (or shares) reside.
Page 4
The recommended maximum number of active concurrent CIFS
connections assumes that the file system containing the CIFS share
(or shares) resides on a file system that has a minimum of twelve
(12) file system disks (known as a GPFS Network Shared Disk or
NSD) for meta-data and data usage regardless of the workload
characteristics. The required number of file system disks must be
determined based on the factors described above.
Leases
Leases are enabled by default when a CIFS share is created. When
leases are enabled it specifies that clients accessing the file over
other NAS protocols can break the opportunistic lock of a CIFS
Page 5
client, so the CIFS client is informed when another client is now
accessing the same file at the same time using a non-CIFS protocol.
Locking
Locking is enabled by default when a CIFS share is created. When
locking is enabled it specifies that before granting a byte range lock
to a CIFS client, a determination is made as to whether a byte range
file control lock is already present on the requested portion of the
file.
Clients that access the same file using another NAS protocol, such as
NFS, are able to determine whether a CIFS client has set a lock on
that file.
Share Modes
The CIFS protocol allows an application to permit simultaneous
access to a file by defining share modes when the file is first
opened, which can be any combination of SHARE_READ,
SHARE_WRITE, and SHARE_DELETE. If no share mode is specified, all
simultaneous access attempts by another application or client to
open a file in a manner that conflicts with the existing open mode is
denied, even if the user has the appropriate permissions granted by
share and file system access control lists.
Page 6
are respected by other NAS protocols. When disabled, it specifies
that the share modes apply only to access by CIFS clients, and
clients using all other NAS protocols are granted or denied access to
a file without regard to any share mode defined by a CIFS client.
Page 7
based on the specific needs of the environment. Consider the
following as options to optimize performance:
Page 8
useful for scenario where large set of connections are accessing
different subdirectories within the same share.
The most common scenario for this value is when a single share
used for home directories of a large number of users like
/ibm/gpfs0/homeroot which then contains a sub-directory for each
user.
Other Considerations
Planning for fail-over scenarios and upgrade
When planning for a SONAS system that will have a high number of
active concurrent CIFS connections, sufficient consideration must
be given to the potential performance impact during fail-over
scenarios.
Page 9
Therefore, when planning a SONAS system that will have a high
number of active concurrent CIFS connections, some buffer (in
terms of maximum active concurrent CIFS connections) needs to be
factored into the overall system configuration to account for the
potential performance implications during these fail-over scenarios.
Ensure that you have some period of time of lower CIFS file serving
activity and that this time window is sufficient for the desired
advanced functions to complete.
Page 10
You can adjust the scheduling of async replications using the
mkrepltask, lsrepltask and rmrepltask CLI
commands
As you plan data management tasks for your SONAS system, you
need to ensure adequate resources are available to complete all
data management tasks. If these tasks do not complete in the
expected time window or impact overall performance of the system
during peak hours, consider adding additional resources (like
dedicated interface nodes for backup or additional storage
resources to enhance storage response time) to eliminate
bottlenecks.
Page 11
- Move certain advanced functions, such as TSM or NDMP
backups and async replications, to periods of time when CIFS
file serving activity will be lower
- Reduce the frequency at which file set and/or file system level
snapshot are being created and deleted, especially during the
periods of highest CIFS user activity
Page 12
more disk storage systems and extending the GPFS file
system (on which the CIFS shares reside) by adding new
file system disks (residing on the new disk storage
systems) to it.
References
SONAS Concepts, Architecture, and Planning Guide
Redbook, IBM publication number SC24-7963
SONAS Implementation Guide Redbook, IBM publication
number SC24-7962
SONAS Copy Services Asynchronous Replication Best
Practices, Version 1.4
SONAS Active Cloud Engine (ACE) White Paper
Page 13