I

What is a SAN?

A Storage Area Network (SAN) is a dedicated network that is separate from Local Area Networks (LANs) and Wide Area Networks (WANs). The primary purpose of a SAN is to interconnect storage-related resources, such as storage devices, servers, and backup systems, to enable efficient and high-performance data storage and retrieval.

Key Characteristics of a SAN

  • High-Speed Interconnects: SANs typically use high-speed interfaces like Fibre Channel or iSCSI to enable fast data transfer rates, often in the range of Gigabits per second.
  • Scalability: SANs are designed to be highly scalable, allowing organizations to easily add more storage capacity and resources as needed.
  • Centralized Storage: SANs enable the centralization of data storage, making it easier to manage and maintain storage resources.
  • Improved Reliability: SANs can provide enhanced reliability through features like redundant paths, server clustering, and data replication.

SAN Protocols and Technologies

The most common SAN protocols and technologies include:

  • Fibre Channel (FC): The de facto standard for SAN interconnects, providing high-speed, low-latency data transfer.
  • iSCSI (Internet Small Computer System Interface): An alternative to Fibre Channel that uses standard Ethernet networks to connect storage devices.
  • SCSI (Small Computer System Interface): A set of standards used for data transfer between storage devices and servers within a SAN.
  • RAID (Redundant Array of Independent Disks): A data storage virtualization technology that combines multiple physical disk drives into a single logical unit for improved performance, reliability, and capacity.

Benefits of SAN Storage

The main benefits of implementing a SAN include:

  • Improved Performance: SANs can provide significantly higher data transfer rates compared to traditional direct-attached storage.
  • Increased Reliability: SANs offer features like redundant paths and data replication to ensure data and application availability.
  • Scalability: SANs can easily accommodate additional storage capacity and resources as needed.
  • Centralized Management: SANs allow for the centralized management of storage resources, reducing complexity and costs.

Key Components of SAN Storage:

The main components that make up a SAN storage system are:

  1. Host Servers: The servers or computers that access the shared storage devices over the SAN network.
  2. Storage Arrays: The specialized storage devices, often called storage arrays or storage appliances, that provide the centralized pool of storage capacity.
  3. SAN Switches: The network switches that connect the host servers to the storage arrays, enabling high-speed data transfer over the dedicated SAN network.
  4. Cabling: The optical fiber cables used to physically connect the various SAN components, typically Fibre Channel or Ethernet-based cables.
  5. SAN Management Software: The software used to configure, monitor, and manage the overall SAN infrastructure, including provisioning storage, setting access controls, and managing data protection.

The key purpose of these components is to create a high-performance, highly available, and scalable storage network that allows multiple servers to access a common pool of shared storage. This provides benefits like increased storage capacity, better data protection, and higher I/O performance compared to direct-attached storage on individual servers.

What is SAN Zoning?

SAN zoning is a fabric-based service in Storage Area Networks (SANs) that groups host and storage devices that need to communicate with each other. Zoning is required in SANs because SAN end-devices do not respond well to a fully open and dynamic network like Ethernet.

The main purposes of SAN zoning are:

  • Isolation: Zoning keeps devices isolated from each other, preventing unauthorized access to storage resources and stopping undesired host-to-host communication.
  • Fabric Stability: Zoning helps maintain fabric stability by limiting Registered State Change Notifications (RSCNs) that can disrupt the SAN when devices are added or removed.
  • Security: Zoning controls which hosts can access which storage devices, ensuring data is only available to specified hosts.

There are two main types of SAN zoning:

  1. WWN Zoning (Soft Zoning): Zones are defined by the World Wide Names (WWNs) of the connected devices, rather than the specific switch ports. This allows more flexibility if devices are moved to different ports.
  2. Port Zoning (Hard Zoning): Zones are defined by the specific switch ports that devices are connected to. This provides more security but requires reconfiguration if devices are moved.

Zoning can also be implemented in different modes on Cisco SAN switches, such as Enhanced Zoning, Basic Zoning with full zoneset distribution, and Basic Zoning with active-only zoneset distribution.

Overall, SAN zoning is a critical feature that helps manage, secure, and stabilize SAN fabrics as they grow in size and complexity.

Cisco SAN Zoning Steps:

Collect Necessary Information:
  1. Identify the VSAN where you want to configure the zoning.
  2. Collect the active zoneset information in the VSAN: show zoneset active inc zoneset.
  3. Gather the WWPN details of the host(s) you want to zone.
  4. Collect the WWPN or alias names of the storage ports you want to zone.
Create a Device Alias:
configure terminal
device-alias database
device-alias name HOST_NAME pwwn 21:00:00:00:00:00:00:00
device-alias commit

This creates a device alias named "HOST_NAME" with the specified WWPN.

Create a Zone:
configure terminal
zone name ZONE_NAME vsan VSAN_ID
member device-alias HOST_NAME
member pwwn 10:00:00:00:c9:32:8b:a8 (Storage Port WWPN)

This creates a zone named "ZONE_NAME" in the specified VSAN, with the host and storage port as members.

Create a Zoneset:
configure terminal
zoneset name ZONESET_NAME vsan VSAN_ID
member ZONE_NAME

This creates a zoneset named "ZONESET_NAME" in the specified VSAN, with the previously created zone as a member.

Activate the Zoneset:
zoneset activate name ZONESET_NAME vsan VSAN_ID

This activates the zoneset, making the zoning configuration effective.

Verify the Zoning Configuration:
show zone member pwwn HOST_WWPN

This command verifies that the host WWPN is a member of the configured zone.