|
Pages: 1 - 2 | » Next Last Updated August 08, 2007 XPert: Solaris Fibre Channel Connectivity, Configuration and TuningPage 1 (1-12 of 22 questions)
A:
Users connect to Fibre Channel SANs through a PCI card commonly known as Host Bus Adapter. These are provided by two major Sun OEM vendors, Qlogic (www.qlogic.com) and Emulex (www.emulex.com). Each of these vendors offer a variety of different HBAs with different speeds and port counts. Check out their web sites for more information. The device driver for all of the Qlogic's HBAs is 'qlc' which resides under
The majority of the Fibre Channel protocol is handled by a kernel software layer, known as the Leadville Stack or Sun StorEdge SAN Foundation Software. This is composed of two kernel modules, 'fp' and 'fctl'. fp resides in the
How target drivers communicate with 'fcp' (or 'iscsi' in the case of iSCSI SAN) is another story. It varies based on whether or not Solaris multipathing software, known as 'MPxIO' is enabled or not. In the absence of MPxIO, FCP registers every HBA port with 'scsa' (which stands for Sun Common SCSI Architecture), which resides under the
Various applications talk to the 'target drivers' directly by opening the More information on the structure of the stack can be found in the SDN article Updating Fibre Channel Drivers to Use Sun StorEdge SAN Foundation Software. May 14, 2007
Q: What is the difference between Solaris 8/9 and Solaris 10 releases with regards to Fibre Channel SAN support? A: In the Solaris 8 and 9 releases, the support for Fibre Channel SAN is divided into two parts. One part is integrated into the Solaris OS and is installed along with the rest of the system. This part has bare minimal support for FC connectivity. It only works with direct attach storage. The 2nd part is the complete and current FC support which is distributed as SAN patches. These patches can be obtained from http://www.sun.com/storagetek/networking.jsp. Move down to the section named "SAN x.x release Software". In the Solaris 10 release, the FC SAN support is fully integrated into the OS and gets installed as part of the standard Solaris installation. As updates for Solaris 10 are released, they contain newer features and bug fixes. In between updates customers can download the SAN patch (patch ID 119130 for SPARC and 119131 for x86) which is planned to be part of the next update. The other difference is in the area of booting. Since in Solaris 8 and 9 the support for 2G and 4G HBAs is not integrated into Solaris, customers cannot use the standard solaris installation method to install and boot from a FC device connected through 2G and 4G HBAs. However it is still possible to boot from these devices using the "dump/restore method" described in the ref. section (Sun StorageTek PCI-X Enterprise 2 Gb FC Single Port Host Bus Adapter Installation Guide).
The other big difference between Solaris 8/9 and Solaris 10 support is that in Solaris 8/9 users will have to configure devices manually i.e. after a device is connected to FC SAN, the user will use the command May 14, 2007
Q: What are the main advantages of the Leadville driver in the Solaris 10 OS? Does the new framework negate the requirement for lpfc.conf and sd.conf configuration files?
A:
With monolithic drivers like
On the other hand, the Leadville framework in the Solaris 10 OS uses dynamic discovery. This means that whenever a device is connected to the SAN, it is detected by the framework and automatically enumerated (creation of nodes under
For more information, please see Chapter 8 of the Solaris Fibre Channel Storage Configuration and Multipathing Administration Guide (in the "Useful Links" section of this session). Also, dynamic SAN configuration is not the only feature available with Leadville. There are many additional advantages, e.g. you also get Solaris Multipathing support (MPxIO) for free. For more information see the article Updating Fibre Channel Drivers to Use Sun StorEdge SAN Foundation Software in the "Useful Links" section. Alan Anderson - May 22, 2007
Q: Is there a good tool to determine how utilized your FC link(s) are? (We have a single Sun Fire v490 server connected to a single Sun StorEdge 3510 FC Array with one 2Gig adapter. We are trying to determine if we need to migrate/upgrade to a dual connection for added performance.)
A:
If you have a FC switch connected between the HBA port and the storage, you can launch the switch management GUI and monitor the port activity from there. Most switches have very nice graph displays to show port activity and port utilization. You can also use the
Replace Tim Z - May 25, 2007
Q: How can we ensure that the Emulex driver for LP10000DC-x running on the Solaris 8 OS is totally removed before upgrading from the Solaris 8 release to Solaris 10? The goal is to make installing the latest driver for Emulex go smoothly.
A:
Emulex has two drivers for the Solaris 8 OS. One is their old monolithic driver 'lpfc' and the second one is the new Leadville driver 'emlxs'. Neither of these drivers is part of the Solaris 8 distribution. Both of them are available as patches. So depending upon which patch you are using, doing a
If you were running 'lpfc' before (on the Solaris 8 release) and now you install Solaris 10, you will get the emlxs driver by default because unlike Solaris 8, Solaris 10 has the emlxs driver integrated, that is, the emlxs driver comes with the default Solaris 10 distribution. Moving forward, that is the driver customers should be using. However you can get 'lpfc' for the Solaris 10 OS from Emulex and it contains documentation on how to revert back to 'lpfc' on Solaris 10. Also the device naming scheme is different in the case of the 'emlxs' driver. So if you were using the 'lpfc' driver, you will have to migrate the device paths. For more information see Updating Fibre Channel Drivers to Use Sun StorEdge SAN Foundation Software in the Useful Links section of this session.
Here's another thing I have noticed (this is specific to SPARC platforms only). If you are running old FCode on the card, the device path for the HBA (shown by Ajay Parandkar - May 25, 2007
Q: What is your opinion about fixed settings for Fibre Channel topology and speed in emlxs.conf and qlc.conf? In the past, we saw some problems with autonegotiation of these parameters and therefore we recommended using fixed settings. A: There are two problems with fixed settings:
Before you decide to go for fixed settings, devote some attention to the nature of the problems seen. If the problems were related to port speed, i.e., a 4G link did not work well as a 4G link but worked well when forced to be a 2G link, then I think the problem is with the GBIC/SFP or the cable or the HBA hardware. Otherwise the problem is related to topology. The only topology-related issue I am aware of is HBA port coming up in loop topology even when it is connected directly to the switch. Mostly that can be solved by just setting the switch port to mon - May 25, 2007
Q: What is the relationship of MPxIO and ZFS - and then ZFS and SAN device configuration? A: MPxIO and ZFS are two different technologies that are independent of each other. We'll look at MPxIO first.
When a Fibre Channel HBA inside a Solaris host is connected to SAN, the host sees the devices on the SAN through that HBA port. This view of devices through a HBA port is called a 'path'. If another HBA port in the same host is connected to the same SAN, the host will see the same set of devices again but this time through a different 'path'. Now you have two paths to the same device. In the absence of MPxIO (or any other multipathing software), the host does not know that it is seeing the same set of devices again. The applications running on the host also see multiple
When MPxIO is used, applications only see one node in the
ZFS, on the other hand, is a file system like UFS but of course much more advanced and sophisticated. You use the devices under the david - May 27, 2007
Q: On the Solaris 8, 9, and 10 OS, what tools are available to monitor HBA performance and statistics? I'm using the Sun-branded Emulex cards with the emlxs driver. I'm interested in knowing how many requests are queued at the card, the number of reads and writes, the I/O wait (how long is a request in the queue), etc.
A:
So far there are no tools to provide that information at the HBA level. The main tool on the host side to get performance data is Edward Farrar - May 29, 2007
Q: Why does Sun use so many different management interfaces with its storage devices? I have Sun StorEdge T3, 3511 and 6130 arrays, and each is totally different. The 6130... is hopefully not the direction Sun continues to go in -- it requires software on the Solaris box to provide a web interface to manage the machine. IMHO the best solution would be a local web interface similar to the text menu interface on the Sun StorEdge 3511 array, with SNMP agent capability for status. I also like the command-line interface on the Sun StorEdge T3 arrays. We wrote a script that telnet's into a T3 and parses fru stat to report status in "Big Brother". I can see folks liking a menu similar to the 3511. I don't see any advantage for the slow and klunky 6130 interface.
A: Sun is definitely aware of the differences in management interfaces among our storage array products. There is an effort underway to ensure more commonality among these interfaces. Sun StorageTek Common Array Manager software was a first step toward that goal. Robert Eden - May 29, 2007
Q: Sun has recently implemented TPGS into STMS. Is there any formal documentation available that describes the details? A: The work is in progress to do the same. The document is scheduled to be posted as an Infodoc. Hans-Paul Drumm - May 29, 2007
Q: In the context of STMS/Leadville, the ssd stack is employed, otherwise it is the sd stack. There are some ssd and sd parameters that can be employed in order to deviate from the defaults. Is there any documentation that describes all the sd/ssd parameters? (I am aware of (s)sd_max_throttle, (s)sd_min_throttle, (s)sd_retry_count, and (s)sd_io_time -- what about the others?)
A:
There are different retry counts for sd/ssd which can be set by the Hans-Paul Drumm - May 29, 2007
Q: With the Solaris 10 OS, (s)sd_retry_count does not seem to exist anymore. Is this correct, and if so, why?A: This has already been identified as a bug and work is in progress to fix this issue. See the bug report at http://bugs.opensolaris.org/view_bug.do?bug_id=6518995. Hans-Paul Drumm - May 29, 2007
|
| ||