Академический Документы
Профессиональный Документы
Культура Документы
IBM AIX
SANsymphony-V
June 2015
Table of contents
Overview
Recent changes made to this document
List of qualified AIX Versions
3
3
4
Notes on qualification
AIX
AIX 5.2
AIX 5.3
Host Settings
Applies to any AIX Host
Appendix A
Notes on the Preferred Server & Preferred Path settings
Appendix B
9
9
11
11
13
13
13
Previous Changes
15
Overview
This document provides AIX-specific settings when serving Virtual Disks from a DataCore
Server.
Fundamental AIX administration skills are assumed; including how to connect AIX Hosts to
storage array target ports (i.e. DataCore Server Front End ports) using Fibre Channel, along
with the process of discovering, mounting and formatting disk devices in general.
Note: iSCSI connections from AIX are not currently supported
Page | 3
Qualified
AIX versions that are listed as qualified are considered fully supported with redundant,
mirrored Virtual Disks as long as all the configuration settings listed in this document, and
that are specific to your AIX versions have been followed.
Unqualified
AIX versions that are listed as unqualified have not been tested with SANsymphony-V and
so may not work (i.e. failover or failback) as expected with redundant, mirrored Virtual
Disks; even if all the configuration settings listed in this document, and that are specific to
your AIX version, have been followed.
Unqualified AIX versions can be self-qualified by following the process documented here:
DataCore Component Self-Qualification Process
http://datacore.custhelp.com/app/answers/detail/a_id/1506
Page | 4
AIX
The following table shows which specific versions of each version of AIX that are
considered Qualified (), Unqualified (?) or Not Supported with Mirrored or Dual Virtual
Disks (X) with SANsymphony-V 1
Note: iSCSI connections to AIX Hosts are not supported.
SANsymphony-V
Version 9.x
Version 10.x
AIX
ALUA
Non-ALUA
ALUA
Non-ALUA
5.2
5.3
6.1
7.1
See the section Notes on qualification on page 4 for definitions of Qualified, Unqualified and Not Supported
with Mirrored or Dual Virtual Disks
1
Page | 5
AIX 5.2
When registering the Host running AIX versions 5.2 with ML9 or earlier, choose the IBM
AIX Native MPIO Legacy entry.
When registering the Host running AIX versions 5.2 with TL10 or greater, choose the IBM
AIX entry.
AIX 5.3
When registering the Host running AIX versions 5.3 with ML5 or earlier, choose the IBM
AIX Native MPIO Legacy entry.
When registering the Host running AIX versions 5.3 with TL6 or greater, choose the IBM
AIX entry.
Page | 6
Port Roles
Ports used for serving Virtual Disks to Hosts should only have the Front End (FE) role
enabled. Mixing other Port Role types may cause unexpected results as Ports that only have
the FE role enabled will be turned off when the DataCore Server software is stopped (even
if the physical server remains running). This guarantees that any Hosts do not still try to
access FE Ports, for any reason, once the software is stopped.
Any Port with the Mirror and/or Back End role enabled do not shut off when the DataCore
Server software is stopped, but remain active.
Page | 7
Mappings
DataCore recommend that the same Virtual Disk served to more than one Host or Host Port
should use same LUN number for its mapping. While Virtual Disks have their own unique
Network Address Authority (NAA) identifier, DataCore cannot guarantee that this is
enough for a Host Operating System to identify the same Virtual Disk served to different
Paths on the same Host. Using the same LUN often guarantees some sort of consistency for
device identification in these cases.
Also see the SCSI Standard Inquiry Data section from the SANsymphony-V Help:
http://www.datacore.com/SSV-Webhelp/Changing_Virtual_Disk_Settings.htm
Note: The LUN number for Mirror Paths does not need to be the same as the Front End port
mappings (or indeed as other Mirror Path mappings for the same Virtual Disk) as the Host
does not see these.
Page | 8
Host Settings
These are the Host-specific settings that need to be configured directly on the Host Server.
Page | 9
Page | 10
Appendix A
Notes on the Preferred Server & Preferred Path settings
See the Preferred Servers and Preferred Paths sections from the SANsymphony-V Help:
http://www.datacore.com/SSV-Webhelp/Port_Connections_and_Paths.htm
Page | 11
In the case where the Preferred Server is set to All, then both DataCore Servers are
designated Active Optimized for Host IO.
All IO requests from a Host will use all Paths to all DataCore Servers equally, regardless of
the distance that the IO has to travel to the DataCore Server. For this reason, the All setting
is not normally recommended. If a Host has to send a WRITE IO to a remote DataCore
Server (where the IO Path is significantly distant compared to the other local DataCore
Server), then the WAIT times accrued by having to send the IO not only across the SAN to
the remote DataCore Server, but for the remote DataCore Server to mirror back to the local
DataCore Server and then for the mirror write to be acknowledged from the local DataCore
Server to the remote DataCore Server and finally for the acknowledgement to be sent to the
Host back across the SAN, can be significant.
The benefits of being able to use all Paths to all DataCore Servers for all Virtual Disks are
not always clear cut. Testing is advised.
For Preferred Path settings it is stated in the SANsymphony-V Help:
A preferred front-end path setting can also be set manually for a particular virtual disk. In
this case, the manual setting for a virtual disk overrides the preferred path created by the
preferred server setting for the host.
So for example, if the Preferred Server is designated as DataCore Server A and the
Preferred Paths are designated as DataCore Server B, then DataCore Server B will be the
Active Optimized Side not DataCore Server A.
In a two-node Server group there is usually nothing to be gained by making the Preferred
Path setting different to the Preferred Server setting and it may also cause confusion when
trying to diagnose path problems, or when redesigning your DataCore SAN with regard to
Host IO Paths.
Where there are three or more Servers in a Server Group, and where one or more of these
DataCore Servers shares Mirror Paths between different DataCore Servers then setting the
Preferred Path makes more sense. So for example, DataCore Server A has two mirrored
Virtual Disks, one with DataCore Server B, and one with DataCore Server C and
DataCore Server B also has a mirrored Virtual Disk with DataCore Server C then using
just the Preferred Server setting to designate the Active Optimized side for the Hosts
Virtual Disks becomes more complicated. In this case the Preferred Path setting can be used
to override the Preferred Server setting for a much more granular level of control.
Page | 12
Appendix B
Configuring Disk Pools
See Creating Disk Pools and Adding Physical Disks from the SANsymphony-V Help:
http://www.datacore.com/SSV-Webhelp/About_Disk_Pools.htm
The smaller the SAU size, the larger the number of indexes are required, by the Disk Pool
driver, to keep track of the equivalent amount of allocated storage compared to a Disk Pool
with a larger SAU size; e.g. there are potentially four times as many indexes required in a
Disk Pool using a 32MB SAU size compared to one using 128MB the default SAU size.
As SAUs are allocated for the very first time, the Disk Pool needs to update these indexes
and this may cause a slight delay for IO completion and might be noticeable on the Host.
However this will depend on a number of factors such as the speed of the physical disks,
the number of Hosts accessing the Disk Pool and their IO READ/WRITE patterns, the
number of Virtual Disks in the Disk Pool and their corresponding Storage Profiles.
Therefore, DataCore usually recommend using the default SAU size (128MB) as it is a good
compromise between physical storage allocation and IO overhead during the initial SAU
allocation index update. Should a smaller SAU size be preferred, the configuration should
be tested to make sure that a potential increased number of initial SAU allocations does not
impact the overall Host performance.
Automatic Reclamation
Since SANsymphony-V 9.0 PSP4 the DataCore Server will, in the background, continuously
scan each Physical Disk in a Pool for any SAUs that contain all-zero data which are then
reclaimed back into the Disk Pool. The Automatic Reclamation process runs at a low
priority, so as to not potentially interfere with overall Disk Pool performance, and so will
generally take longer to scan a Physical Disk in a Pool compared to a Manual Reclamation
request (see below). However no user intervention is required.
Page | 13
Manual Reclamation
For AIX Hosts that either do not support the fstrim command, or are using Virtual Disks
served from DataCore Servers running SANsymphony-V 9.0 PSP3 update2 or earlier
(including all versions of SANsymphony-V 8.x); a suggestion would be to create a sparse file
of an appropriate size (If there is enough free space available in the file system) and then
zero-fill it using the dd command.
This example will write zeroes within an empty file of 2GB in size (called my_file) using
the dd command:
Then either wait for an Automatic Reclamation to take place or run a Manual Reclamation.
See the Performing Reclamation section from the SANsymphony-V Help:
http://www.datacore.com/SSV-Webhelp/Reclaiming_Virtual_Disk_Space.htm
Note that it is also possible to script manual reclamation using the
Start-DcsVirtualDiskReclamation PowerShell Command.
Page | 14
Previous Changes
2015
February 2015
Updated section:
List of qualified AIX Versions
AIX 7.1 is now qualified with SANsymphony-V 10.x using non-ALUA settings.
Note: iSCSI is still not considered qualified at this time; all qualified versions are with Fibre Channel
only.
2014
December 2014
No new technical information has been added but this document now combines all of DataCores AIX-related
information from older Technical Bulletins into a single document including:
Technical Bulletin 6: AIX Hosts
Technical Bulletin 8: Formatting Hosts File Systems on Virtual Disks created from Disk Pools
Technical Bulletin 11: Disk Timeout Settings on Hosts
Technical Bulletin 16: Reclaiming Space in Disk Pools
Page | 15
2013
Technical Bulletin 6: AIX Hosts
April 2013
Removed all references to SANmelody as this is now End of Life of December 31 2012. Removed all
references to iSCSI as this is not supported with AIX.
July 2012
Updated for SANsymphony-V 9.x. No new technical information.
January 2012
Updated DataCore Server and Host minimum requirements. Removed all references to End of Life
SANsymphony and SANmelody versions that are no longer supported as of December 31 2011.
June 2011
Added AIX 7.1.
November 2011
Removed all references to End of Life SANsymphony and SANmelody versions that are no longer supported
as of July 31 2011.
October 2011
Added SANsymphony-V 8.x
July 2009
Added AIX 6.1.x.
March 2009
Initial publication of Technical Bulletin. Added AIX 5.2 TL10
Page | 16
COPYRIGHT
Copyright 2015 by DataCore Software Corporation. All rights reserved.
DataCore, the DataCore logo and SANsymphony are trademarks of DataCore Software Corporation.
Other DataCore product or service names or logos referenced herein are trademarks of DataCore
Software Corporation. All other products, services and company names mentioned herein may
be trademarks of their respective owners.
ALTHOUGH THE MATERIAL PRESENTED IN THIS DOCUMENT IS BELIEVED TO BE
ACCURATE, IT IS PROVIDED AS IS AND USERS MUST TAKE ALL RESPONSIBILITY FOR
THE USE OR APPLICATION OF THE PRODUCTS DESCRIBED AND THE INFORMATION
CONTAINED IN THIS DOCUMENT. NEITHER DATACORE NOR ITS SUPPLIERS MAKE ANY
EXPRESS OR IMPLIED REPRESENTATION, WARRANTY OR ENDORSEMENT REGARDING,
AND SHALL HAVE NO LIABILITY FOR, THE USE OR APPLICATION OF ANY DATACORE
OR THIRD PARTY PRODUCTS OR THE OTHER INFORMATION REFERRED TO IN THIS
DOCUMENT. ALL SUCH WARRANTIES (INCLUDING ANY IMPLIED WARRANTIES OF
MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE
AND AGAINST HIDDEN DEFECTS) AND LIABILITY ARE HEREBY DISCLAIMED TO
THE FULLEST EXTENT PERMITTED BY LAW.
No part of this document may be copied, reproduced, translated or
reduced to any electronic medium or machine-readable form
without the prior written consent of DataCore Software
Corporation