# US 2008/0301333 A1 · System and article of manufacture 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/0301333 A1
- Document ID: US20080301333A1
- Status: Published application
- Kind: A1
- Application number: 11/757,902
- 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/US20080301333A1

## CPC

- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L 67/101: based on network conditions
- H04L 67/1023: based on a hash applied to IP addresses or costs
- G06F 2206/1012: Load balancing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided are a system and article of manufacture 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 system in communication with 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, comprising:
a processor;
computer readable media;
a path planner in the computer readable media executed by the processor to perform operations, the operations comprising:
gathering information on the ports on the at least one host, the ports on the at least one storage controller, and the at least one fabric over which the at least one host and storage controller ports connect;
gathering, for at least one of the 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 system of claim 1, wherein the operations further comprise:
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 system of claim 1, wherein the operations further comprise:
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 system 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 system 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 system of claim 1, wherein the operations further comprise:
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 system 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 system of claim 1, wherein the operations further comprise:
incrementing the selected storage controller port and host pair connection metric.

### Claim 9 (depends on 1)

The system of claim 1, wherein the operations further comprise:
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 system of claim 1, wherein the operations further comprise:
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 system of claim 10, wherein the operations further comprise:
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.

### Claim 12

An article of manufacture including code to communicate with 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 and to cause operations to be performed, the operations comprising:
gathering information on the ports on the at least one host, ports on the at least one storage controller managing access to storage volumes, and the 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 13 (depends on 12)

The article of manufacture of claim 12, wherein the operations further comprise:
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 14 (depends on 12)

The article of manufacture of claim 12, wherein the operations further comprise:
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 15 (depends on 14)

The article of manufacture of claim 14, 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 16 (depends on 15)

The article of manufacture of claim 15, 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 17 (depends on 12)

The article of manufacture of claim 12, wherein the operations further comprise:
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 18 (depends on 12)

The article of manufacture of claim 12, 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 19 (depends on 12)

The article of manufacture of claim 12, wherein the operations further comprise:
incrementing the selected storage controller port and host pair connection metric.

### Claim 20 (depends on 12)

The article of manufacture of claim 12, wherein the operations further comprise:
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 21 (depends on 12)

The article of manufacture of claim 12, wherein the operations further comprise:
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 22 (depends on 21)

The article of manufacture of claim 21, wherein the operations further comprise:
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.
