# US 2008/0301332 A1 · Method for using host and storage controller port information to configure paths between a host and storage controller

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0301332 A1
- Document ID: US20080301332A1
- Status: Published application
- Kind: A1
- Application number: 11/757,896
- Filed: 2007-06-04
- Published: 2008-12-04
- Earliest claimed: 2007-06-04
- Assignees: International Business Machines Corporation
- Inventors: Eric Kevin Butler; Pi-Wei Chin; Scott J. Colbeck; Kaladhar Voruganti
- Web page: https://patentgrep.com/patent/US20080301332A1

## CPC

- H04L 49/35: Switches specially adapted for specific applications
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 41/0853: by actively collecting configuration information or by backing up configuration information
- H04L 45/00: Routing or path finding of packets in data switching networks (routing or path finding in wireless networks H04W40/00)
- H04L 49/253: using establishment or release of connections between ports
- H04L 49/552: by ensuring the integrity of packets received through redundant connections
- H04L 49/65: Re-configuration of fast packet switches
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided is a method for using host and storage controller port information to configure paths between a host and storage controller. Information is gathered on ports on at least one host, ports on at least one storage controller managing access to storage volumes, and at least one fabric over which the at least one host and storage controller ports connect. For at least one host port and storage controller port, information is gathered on a connection metric related to a number of paths in which the port is configured and a traffic metric indicating Input/Output (I/O) traffic at the port. A determination is made of available ports for one host and storage controller that are available to provide paths between one host and storage controller. The connection and traffic metrics for the available host ports are processed to select at least one host port. The connection and traffic metrics for the available storage controller ports are processed to select at least one storage controller port. The at least one selected host and storage controller port pair are configured to provide at least one path enabling the host to communicate with the selected storage controller port to access at least one storage volume managed by the selected storage controller.

## Claims

### Claim 1

A method, comprising:
gathering information on ports on at least one host, ports on at least one storage controller managing access to storage volumes, and at least one fabric over which the at least one host and storage controller ports connect;
gathering, for at least one host port and storage controller port, information on a connection metric related to a number of paths in which the port is configured and a traffic metric indicating Input/Output (I/O) traffic at the port;
determining available ports for one host and storage controller that are available to provide paths between one host and storage controller;
processing the connection and traffic metrics for the available host ports to select at least one host port;
processing the connection and traffic metrics for the available storage controller ports to select at least one storage controller port; and
configuring the at least one selected host and storage controller port pair to provide at least one path enabling the host to communicate with the selected storage controller port to access at least one storage volume managed by the selected storage controller.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining a path policy indicating a number of paths to configure between the host and the storage controller, wherein a number of the selected at least one host and storage controller port pairs comprise the number of paths required by the determined path policy, and wherein the indicated number of paths are configured between selected host and storage controller ports.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
for at least one port, calculating a port metric as a function of the connection metric and the traffic metric, wherein selecting the host port comprises selecting the host port based on the port metrics of the available host ports, and wherein selecting the storage controller port comprises selecting the storage controller based on the port metrics of the storage controller port.

### Claim 4 (depends on 3)

The method of claim 3, wherein calculating the port metric comprises:
determining a connection usage indicating a relative value for a number of paths in which the port is configured; and
determining a traffic usage comprising a relative value of the I/O traffic at the port; wherein the port metric comprises a function of the connection usage and the traffic usage values.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the connection usage value for a host and storage controller port comprises determining a ratio of the connection metric and a maximum number of connections permitted at the port and wherein determining the traffic usage comprises determining a ratio of the traffic at the port and a total traffic at all the ports in the storage controller, wherein the selected host port comprises the host port having a lowest port metric of the available host port metrics and wherein the selected storage controller port comprises the storage controller port having a lowest port metric of the available storage controller port metrics.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining an estimated increase in traffic at the at least one selected host port and storage controller pair resulting from configuring the at least one selected host and storage controller port pair to provide the at least one path; and
adjusting the traffic metric of the selected at least one host and storage controller port pair to include the determined estimated increase in traffic.

### Claim 7 (depends on 1)

The method of claim 1, wherein gathering the information further comprises:
querying host bus adaptor (HBA) drivers in the at least one host to obtain information on the host ports;
querying a network manager to obtain information on the storage controller ports.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
incrementing the selected storage controller port and host pair connection metric.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving a request to provide one host access to a storage volume managed by one of the storage controllers, wherein the available ports are determined for the host indicated in the request and the storage controller providing access to the storage volume indicated in the request, and wherein the configured path enables the host indicated in the request to access the storage volume indicated in the request.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
processing the connection and traffic metrics for host ports to determine one host or storage controller port having a high usage relative to other host or storage controller ports; and
removing one path configured for the determined high usage host or storage controller port, wherein the available and selected host and storage controller ports for which the path is configured are on the host and storage controller connected by the removed path, wherein the configured at least one path replaces the removed path.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
determining an estimated decrease in I/O traffic at the host and storage controller ports in the removed path;
adjusting the traffic metric of the host and storage controller ports in the removed path by subtracting the estimated decrease in I/O traffic; and
decrementing the host and storage controller ports in the removed path.
