SAN Client Deployment
SAN Client Deployment
SAN Client Deployment
Note: This is a living document and will be subject to periodic updates. Please
check the data and version number to ensure you are referencing the latest
version.
This document is provided for informational purposes only and is intended for distribution only by Symantec employees to selected
partners and customers. All warranties relating to the information in this document, either express or implied, are disclaimed to the
maximum extent allowed by law. The information in this document is subject to change without notice. Copyright © 2010 Symantec
Corporation. All rights reserved. Symantec, the Symantec logo and NetBackup are trademarks or registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
Contents
INTRODUCTION............................................................................................................................1
1.1 ADDITIONAL READING...................................................................................................................1
PERFORMANCE PARAMETERS FOR CONFIGURING THE SAN CLIENT................................2
1.2 SAN INTERCONNECT...................................................................................................................2
1.3 SAN CLIENT SCALABILITY AND ZONING BEST PRACTICES .....................................................................2
1.4 MEDIA SERVER PROFILE..............................................................................................................3
1.5 CLIENT PROFILE..........................................................................................................................3
BEST PRACTICES.........................................................................................................................5
1.6 SEGREGATED FT MEDIA SERVERS.................................................................................................5
1.7 COMBINED FT/LAN MEDIA SERVERS.............................................................................................6
1.8 MULTI-STREAMING BACKUP...........................................................................................................7
1.8.1 Stream distribution..........................................................................................................7
1.8.2 Connection restrictions on the FT Media Server.............................................................7
1.8.3 Increasing the maximum target ports available to a SAN Client.....................................8
1.8.4 Increasing the number of SAN clients per target port.....................................................8
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page i
Introduction
In today’s 24/7 business environment, corporations are looking for ways to protect their data
without disrupting business operations. This eliminates the options of using the LAN during of
peak hours to backup and protect the data. To address this issue we have introduced a new
feature in the 6.5 release of NetBackup called “SAN Client”.
The SAN Client takes advantage of Fiber Channel Storage Area Network (SAN) connections to
perform a fast backup of a client machine directly to a Media Server, moving data transfers off the
LAN and away from conflicting traffic. The SAN Client provides a high performance data transfer
for the client and offloads the LAN with the backup traffic.
The primary purpose of the SAN Client is to back up large applications and file systems faster
and more efficiently than is possible using LAN based backup or locally attached backup devices
(a SAN Media Server). However the SAN Client architecture does not allow the same degrees of
parallel backup operation as the alternative approaches and is therefore less suited to handling
large numbers of small backup jobs. As a general rule SAN Client should be deployed selectively
on servers where the data volumes are such that LAN backup within a reasonable time period is
impractical – it should not be deployed with a very large number of clients with a wide range
of backup sizes and a small number of FT Media Servers target ports (grouped together) as this
may lead to excessive resource contention on the FT Media Servers when there is a wide range
of job sizes.
This document describes the NetBackup SAN Client feature and provides some information on
performance considerations and best practices when deploy the SAN Client. The document is
intended to provide backup administrators with the necessary information to help our customers
take full advantage of this advanced feature and maximize their ROI.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 1
Performance Parameters for configuring the SAN Client
To implement the SAN Client, the user needs to deploy a Fiber Channel based SAN between the
client and the Media Server. The Server and Clients can each have multiple SAN ports zoned
together.
A Media Server that can receive data from a SAN Client is referred to as a Fiber Transport or FT
Media Server. The HBAs on the Media Server that receive the data are referred to as Fiber
Transport Targets and must be of a supported type (the HBAs used on the SAN Client itself can
be of any type).
If configured correctly the feature allows a client transfer rate exceeding two Terabytes of data in
an hour. Obtaining this type of performance requires using the right hardware not only for the
connectivity between the client and the Media Server but also for the front end client data and the
back end storage disks. The whole system must be configured and tuned to achieve the desired
performance requirement.
The rest of this document lists the profile of the appropriate hardware and how to configure the
system to deliver the optimum performance.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 2
Symantec recommends a maximum of 30 SAN Client initiator ports zoned with a Fibre Transport
target port because of the effective queue depth of about 60 for a QLogic hardware/firmware
target port. Because the NetBackup Fibre Transport media server will simulate two "pseudo tape
devices" on each Fibre Transport target port, the number of commands arriving will be two times
the number of initiators. Keeping the number of SAN Clients per port at 30 or below prevents
each target port from having to queue more than 60 low-level fibre channel commands at any
point in time.
Limiting the number of initiator ports for each target port to 30 will prevent the queue from being
overflowed. With more than 30 clients per port there is risk that the Fibre Transport Media Server
will not respond to a SCSI inquiry. This could have undesirable results on the client operating
system during boot or device discovery.
While all inclusive zoning is supported for SAN Client configurations, it is not recommended. An
all inclusive zone runs a risk of a single miss-configured client or server affecting all the other
SAN Clients in the zone.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 4
Best practices
One question that usually comes to mind when designing and implementing SAN Client in a
backup environment is should I mix regular clients with SAN Clients on the same Media Servers
or should I segregate them. The answer to this question depends on your environment and
performance requirements.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 5
1.7 Combined FT/LAN Media Servers
In this scenario the same FT Media Servers are used to backup both SAN and LAN based
clients. Using Media Servers in this way addresses the principle disadvantage of the segregated
model by making more Media Servers available for both FT and LAN backup, thus reducing the
number of Media Servers required and/or increasing the number available for SAN and LAN
backups. This is particularly useful in environments where some client platforms are not
supported with the SAN Media Server.
However it should be noted that LAN jobs utilize more CPU per MB of data transferred and the
LAN protocol interrupt load can adversely affect interrupt latency and reduce FT data rates.
Additional CPU's may or may not help depending on the affinity of the interrupt processing for one
CPU on some operating systems.
A major advantage to this model is that it utilizes a larger group of servers with lower performance
requirements for a cost savings on a per-server basis. Since the pool of FT servers is more
distributed, it is expected that each server will have a smaller data transfer load while still
maintaining the same overall throughput performance due to the cumulative effect of having more
active Media Servers.
The downside to this model is that it makes it harder to guarantee a higher Quality of Service to
individual large application servers. An individual application server may support 600 MB/s of
backup I/O, but if the selected Media Server is already writing many streams of LAN based
backups from multiple clients there will be a performance impact to both the SAN Clients and
LAN Clients.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 6
1.8 Multi-Streaming backup
The typical maximum practical transfer rate for a single 2 gigabit Fiber Channel port is around
160 MB/sec and this is the maximum transfer rate you can expect to see between the SAN Client
and FT Media Server over a single port.
The read speed of a single backup stream from the disk system on the client may be significantly
less than this maximum figure, resulting in apparently poor performance. However it is possible
to run multiple backup streams over the same port between the client and server and thus better
backup performance may be achieved by using multi-streamed backups.
The performance of individual backup streams will vary depending on the read speed of the
source data. This can be established (on UNIX and Linux clients) by running a performance test
using a dd command of the form:
time dd if=<path> of=/dev/zero bs=256k count=8192
Specifying the path to be backed up should be specified in place of <path>. This will return a
value for the elapsed backup time which, in turn, will enable you to calculate the read speed of
that stream. Once you have a feel for the read speed of each stream you should be able to
configure a policy with sufficient parallel streams to achieve the maximum throughput on the Fiber
Channel port.
Note that in some cases multiple streams may contend with each other for disk controller
resources resulting in further performance degradation when streams are run in parallel and
further tuning may be required.
If transfer rates greater than 160 MB/s are required it is possible to use multiple HBA Ports for the
client and the server in conjunction with multiple streams. The ratio of client ports to server ports
depends on the speed of the HBA cards in the client. For example, if you have to transfer 300
Megabytes per second from a SAN Client to an FT Media Server, you will need to have 2 x two
gigabit client ports and the Media Server will require 2 x two gigabit target ports.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 7
1.8.3 Increasing the maximum target ports available to a SAN Client
By default, SAN Clients supports a maximum of two Fiber Transport ports at any given time; this
allows FT Media Servers to balance an I/O load fairly among multiple SAN Clients.
If a particular client requires a higher Quality of Services than is provided by two Fiber Channel
ports then it is possible to increase the number of ports per server the client is allowed to use by
executing the following command.
nbftconfig -changeclient -np 4 -C <clientName>
The above command changes the number of ports for the specific client <clientName>. To
change it for all clients the setconfig option is used:
nbftconfig –setconfig –np 4
Note that setting –np 4 will have no effect on a client that only has a 2 port HBA.
SAN Client Deployment - Best Practices and Performance Metrics 10th March 2010
Page 8