Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1009196.1
Update Date:2017-10-05
Keywords:

Solution Type  Technical Instruction Sure

Solution  1009196.1 :   Sun StorEdge 3510: How to Map Partitions to Multiple Hosts in a SAN Using Host Filters  


Related Items
  • Sun Storage 3511 SATA Array
  •  
  • Sun Storage 3510 FC Array
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Arrays>SN-DK: SE31xx_33xx_35xx
  •  
  • _Old GCS Categories>Sun Microsystems>Storage - Disk>Modular Disk - 3xxx Arrays
  •  

PreviouslyPublishedAs
212731


Applies to:

Sun Storage 3511 SATA Array - Version Not Applicable and later
Sun Storage 3510 FC Array - Version Not Applicable and later
All Platforms

Goal

This document explains how to implement host filters on the Sun Storage 3510 FC Storage Array. Host filters, also referred to as LUN security, restrict the visibility of a logical disk partition to a specific set of host bus adapters (HBAs) in the fabric. This implementation is performed using the sccli interface, either in-band or out-of-band, to the array.

Solution

Prior to starting, you must document:

  • The cabling scheme of the array, and any switch zoning if a switch is being used.
  • The World Wide Port Numbers (wwpn) of the HBA's on the servers.
  • The logical disks and any subsequent partitions available and ready to be mapped. 

With Solaris, there are many methods available to identify the wwpn of the HBA. Here, fcinfo is used.

# fcinfo  hba-port   (parsed output)
   HBA Port WWN: 210000e08b19f245
        Manufacturer: QLogic Corp.
        Model: QLA2340
   HBA Port WWN: 210000e08b098df6
        Manufacturer: QLogic Corp.
        Model: QLA2340

 
With sccli, you can document your drive channels and partitions.

sccli> show channel
Ch  Type    Media   Speed   Width  PID / SID
--------------------------------------------
 0  Host    FC(L)   2G      Serial  32 / 33
 1  Host    FC(L)   2G      Serial  34 / 35
 2  DRV+RCC FC(L)   2G      Serial  14 / 15
 3  DRV+RCC FC(L)   2G      Serial  14 / 15
 4  Host    FC(L)   2G      Serial  41 / 42
 5  Host    FC(L)   N/A     Serial  43 / 44
 6  Host    LAN     N/A     Serial  N/A / N/A


sccli> show partition
LD/LV    ID-Partition        Size
-------------------------------------
ld0-00   33605BBC-00     272.96GB
ld1-00   2AE47FC1-00     136.48GB
ld2-00   32B69784-00     340.48GB
ld2-01   32B69784-01         75MB
ld2-02   32B69784-02        141MB
ld2-03   32B69784-03         50MB
ld2-04   32B69784-04      68.69GB
ld3-00   1BB648CF-00     408.94GB

 
You are now ready to create your mappings. We start without any mappings and a reference to the syntax of the map command

sccli> show map
sccli>
sccli> help map
        map <partition> <ch>.<tgt>.<lun> [<wwpn> | <host-id>]

 

Let's map primary logical disk ld0-00 to the server, through host ports 0 and 4.

sccli> map 33605BBC-00 4.41.0 210000e08b19f245
sccli: mapping ld 33605BBC-00 to 4.41.0

sccli> map 33605BBC-00 0.32.0 210000e08b098df6
sccli: mapping ld 33605BBC-00 to 0.32.0

sccli> show maps
       Ch Tgt LUN   ld/lv   ID-Partition  Assigned  Filter Map
       ---------------------------------------------------------------------
        0  32   0   ld0     33605BBC-00   Primary   210000E08B098DF6
        4  41   0   ld0     33605BBC-00   Primary   210000E08B19F245

 All subsequent partitions may be mapped in a similar fashion.

If the array is set up in point-to-point mode, only one target ID (PID/SID) is allowed per host port. Furthermore, only one of the two ports (upper and lower) on each host channel will be enabled. As soon as one port, either upper or lower, performs a fabric login, the other port is disabled.

 This is a sub-set of <Document 1005313.1> Sun Storage 3000 Arrays: Troubleshooting Configuration Problems.


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback