Patent ID: 7996509

Claim:
A computer program product comprising a non-transitory computer useable storage medium having a computer readable program stored thereon, wherein the computer readable program, when executed on a zone manager in a Serial Attached SCSI (SAS) protocol subsystem of a storage area network (SAN), causes the zone manager to: automatically assign a host system of a chassis, in a storage area network (SAN) implementing a zoning protocol which comprises grouping and mapping components, to a first zone group of the SAN; automatically assign a second zone group of the SAN to a plurality of SAS storage devices in the chassis; and automatically map the assigned first zone group and the second zone group to each other such that the host system is mapped to the plurality of SAS storage devices by automatically updating a zone permissions table associated with one or more SAS expanders of the SAN, wherein communication between the host system and the plurality of SAS storage devices is controlled based on the mapping of the assigned first zone group to the assigned second zone group; wherein the computer readable program causes the zone manager to automatically map the assigned first zone group and the second zone group to each other by: enumerating zone groups of storage device enclosures within the chassis to thereby generate an enumerated list; determining, for each storage device enclosure zone group in the enumerated list, whether a storage system controller is present in a same chassis as a storage device enclosure of the storage device enclosure zone group; and mapping the storage device enclosure zone group to a storage system controller zone group having a smallest number of storage device enclosure zone groups mapped to it.