A3510FC Host-LUN mapping

While in the process of updating the Controller firmware on a A3510FC with 2 jbods shared by 3 host systems I noticed that one ID is used by 2 channels i.e.

CHL 0ID 42 (primary)Lun 2, 3Host1

CHL 1ID 42 (secondary) Lun 5,6,7 Host 2

I find this a strange config as I would have expected

CHL 0 ID 40 (primary) Lun 2,3 Host1

CHL 1 ID 42 (secondary) Lun 5,6,7Host 2

The HBA connections from the host are:

ID 40 connects to Host1

ID 47 connects to Host1

ID 42 connects to Host2

ID 45 connects to Host2

My question is can a single ID be shared between channels?

[635 byte] By [kwoolard] at [2007-11-25 23:02:03]
# 1
No, you cannot share an ID across two channels. But you are allowed to configuremultiple IDs on a single channel. To better understand your config, please upload the following sccli commands: 'show channels' & 'show lun-maps'-Jojo
Jojo at 2007-7-5 17:51:29 > top of Java-index,Storage Forums,Storage General Discussion...
# 2

sccli> show lun-maps

Ch Tgt LUNld/lvID-Partition Assigned Filter Map

0 420ld21089078D-00Primary210000E08B18E268

0 421ld33B832055-00Primary210000E08B18E268

0 42 13ld45BD62C80-00Primary210000E08B18E268

1 420ld507F3C6D5-00Secondary 210000E08B18AB51

1 421ld67CCFA448-00Secondary 210000E08B18AB51

1 422ld701FB1159-00Secondary 210000E08B18AB51

4 440ld07AE45146-01Primary210000E08B122CB5

4 441ld11BE12B14-00Primary210000E08B122CB5

4 450ld507F3C6D5-00Secondary 210000E08B18AC66

4 451ld67CCFA448-00Secondary 210000E08B18AC66

4 452ld701FB1159-00Secondary 210000E08B18AC66

5 470ld21089078D-00Primary210000E08B18F367

5 471ld33B832055-00Primary210000E08B18F367

5 47 13ld45BD62C80-00Primary210000E08B18F367

sccli> show channels

Ch TypeMediaSpeedWidth PID / SID

--

0 HostFC(L)2GSerial 40,42 / 41

1 HostFC(L)2GSerial 43,44 / 42

2 DriveFC(L)2GSerial 14 / 15

3 DriveFC(L)2GSerial 14 / 15

4 HostFC(L)2GSerial 44 / 45

5 HostFC(L)2GSerial 47 / 46

6 HostLANN/ASerial N/A / N/A

kwoolard at 2007-7-5 17:51:30 > top of Java-index,Storage Forums,Storage General Discussion...
# 3

After looking at your configuration, you are correct in expecting that Ch 0 should have ID 40 (not 42). I've never seen

this configuration since it is not based on Sun's Best Practices (ref <a href="http://www.sun.com/products-n-solutions/hardware/docs/pdf/816-7325-16.pdf " target="_blank"> http://www.sun.com/products-n-solutions/hardware/docs/pdf/81 6-7325-16.pdf</a>).

The correct channel configuration for your setup should be:

Ch TypeMediaSpeedWidth PID / SID

--

0 HostFC(L)2GSerial 40 / 41

1 HostFC(L)2GSerial 43 / 42

2 DriveFC(L)2GSerial 14 / 15

3 DriveFC(L)2GSerial 14 / 15

4 HostFC(L)2GSerial 44 / 45

5 HostFC(L)2GSerial 47 / 46

6 HostLANN/ASerial N/A / N/A

If you wanted to fix that and configure according to Sun's Best Practices, it wouldn't be all that difficult. It would

just require down time since you would need to reset the controller and remap the luns on the host connected to Channel 0.

The steps would be as follows:

1) unmap the affected partition (unmap 0.42.0; unmap 0.42.1; unmap 0.42.13)

2) correct channel configuration per Sun's Best Practices

sccli> configure channel 0 host pid 40

sccli> configure channel 1 host pid 43

Note: A controller reset is required for the channel config to take into effect. So you'll need to make sure

no array activity is in place on those three hosts attached to the 3510 array.

3) re-map the partition (map 1089078D-00 0.40.0; map 3B832055-00 0.40.1; map 5BD62C80-00 0.40.2)

FYI, looks like you're also missing one lun mapping (for host connected to Ch4 primary ctrl,Ch1 secondary ctrl).

You can verify this from the OS side since it will NOT have dual path for those luns (LD0 & LD1). Unless of course, you

only have one fibre connection to that host. But if you did intend to have dual paths, it's easily correctable with

adding the appropriate lun maps:

sccli> map 7AE45146-01 1.43.0

sccli> map 1BE12B14-00 1.43.1

-Jojo Jaballas

Jojo at 2007-7-5 17:51:30 > top of Java-index,Storage Forums,Storage General Discussion...
# 4
Thanks for the detailed information Jojo - was really helpful and confirmed my doubts about the configuration.
kwoolard at 2007-7-5 17:51:30 > top of Java-index,Storage Forums,Storage General Discussion...