Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sun Storedge 3310 Redundant Path Tip

Status
Not open for further replies.

kwachtler

MIS
Feb 1, 2002
2
0
0
US
Sun's new 3310 HW Raid Array can be configured with dual Raid controllers and redundant SCSI channels between server and 3310. When combined with Veritas VxVM/DMP host software, automatic (transparent) LUN failover is achieved.

The 3310 Install Guide does not provide adequate information on how to configure the 3310, SCSI cabling and host software (VxVM) to achieve redundant path load-balancing and fail-over. Here is how I did it.

The config:
V480 Server
X6758A USCSI-160 HBA (2)
Solaris 8 2/02
VxVM 3.5
SE3310 Dual Controller Array (XTA3310R01A2R436)

Ken Wachtler
Midwave Corp
Chanhassen MN

~~~~~~~~~~~~~~~~~~~~~~~~~~

I. MULTI-PATH SETUP
-------------------

1. Cabled up for 2 SCSI channels between a single 3310-2Raid and a single host, as per Installation Guide pg 5-9. Note that the Install Guide does NOT show a single host with 2 SCSI channels as we have.

2. Assign both controllers to both host SCSI channels. This is an undocumented step (and unknown to Sun Tech Support). There is a hint provided in the Install Guide, page 6-10 "Creating Additional Host ID's".

Before:
Channel 1, ID 0 (primary controller)
Channel 3, ID 1 (secondary controller)
After:
Channel 1, ID 0 & 1 (primary & secondary controller)
Channel 3, ID 1 & 0 (secondary & primary controller)

3. Create a Logical Disk, as per Install Guide.

4. Assign Logical disk to Primary or Secondary controller, as per Install Guide.

5. Map the Logical disk to host LUNs, one for each host channel, as per Install Guide pg 6-27. The Install Guide notes "redundant path environments":

Install Guide Note:
"The same partition might be mapped to multiple LUNs on multiple
host channels. This feature is necessary for clustered environments
and redundant path environments."

6. Make VxVM aware of the 3310 Array multipathing characteristics, as per Installation Guide pg 6-32.

vxddladm addjbod vid=SUN pid="StorEdge 3310"

7. Standard Solaris LUN discovery steps, create/mount filesystem on c2t0d0.



II. MULTIPATH TESTING
--------------------


1. My script tar's up /usr/share/man, then writes it to a filesystem on the 3310 LUN, repeating indefinetely, with a unique filename each time.

2. "iostat -xcn" showed two channels actively load balancing

c2t0d0 20mb/s
c4t0d0 20mb/s

3. "Cable pull" test caused all I/O to pause, then after 1 minute it resumed, but only in short bursts, with 1 minute between bursts. Finally the Vx disk groups went offline, and a reboot was needed to clear it. My conclusion is that a SCSI cable pull is NOT tolerable during high I/O.

4. Restarted tests, then performed a "manual" controller disable (through 3310 firmware).

5. "iostat -xcn' shows that i/o resumes after a 1 minute, using the surviving path.

c2t0d0 0mb/s
c4t0d0 40mb/s



III. MULTIPATH TEST INTERPRETATION
----------------------------------


Initially it was thought that both 3310 controllers are writing to the same Logical disk, at the same time (#2). Then when a controller is disabled, the surviving controller takes all the i/o (#5).

After thought, I believe that c2t0d0 and c4t0d0 represent two front-end ports of the SAME controller, allowing DMP to active-active load balance between ports of the same controller (#2). When the active controller for the Logical disk is disabled, the surviving controller assumes the id (the t#) of the failed controller, in addition to the t# of it's own. I/o automatically resumes using a single port on the surviving controller (#5). Unfortunately, the 3310 multipath load balancing and fail-over are not documented anywhere.

END


 
Hello.

I have been trying to setup redundant path in a E450 with Solaris 8 and a Sun StorEdge 3310 through 2 Dual Ultra SCSI dual host adapders.

If I have understood correctly, these are the steps:
1.- Setup the 3310 in DualBus Conf.
C0 and C2 Drive Controlers--> C2 to DualBus
C1 and C3 Host Controlers --> cabled to the E450
2.-Connect the two host drives of the 3310 to the server E450.
3.-Adding SCSI Drives to an Existing Logical Drive. I have to create 2. One for Ch1 (Id 1) and other for Ch3 (Id 0).

Channel 1, ID 0 & 1 (primary & secondary controller)
Channel 3, ID 1 & 0 (secondary & primary controller)

4. Create a Logical Disk, as per Install Guide. I don't understand what you mean with Logical Disk (LUN or Logical Drive)

5. Assign Logical disk to Primary or Secondary controller, as per Install Guide.(What happens if the array is already installed and I want to preserve the Data?)

6. Map the Logical disk to host LUNs, one for each host channel, as per Install Guide pg 6-27. The Install Guide notes "redundant path environments"

The main problem I have is that I want to preserve the data contained in the array, and I am not experience with this array and I can't practice with it becouse is in the client. So I would be gratefull if you could send me the instructions of how to configure the array step by step.

Thanks in advanced.

Alex
 
awesome tip! I'd been puzzling through the documentation for a while while anticipating the arrival of our 3310s. Now I have a dumb question. Do you need the dual RAID cards in order to do this, or can a standard JBOD 3310 be configured to have 2 paths, with 2 host connections from a single host?
 
What document are you refering to UnixAdminis, I couldn't find documentation about this on Sun Site :(
Any help would be appreciated.
 
scottythebody, i don't think that makes much sense, since you wan't to have the maximum troughput and at the same time reliability.

You will need a Storedege 3310 with two raid controllers :) and also a pci ultra 3 with two U160 SCSI controllers. This way you can have two paths to reach the 3310 and if you balance the load of both RAID controllers, you could almost reach a u320 performance ;) (in theory at least) nice isn't it :) ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top