Method for managing computer system, computer executing management program, storage device, displaying device, and storage system

A storage system comprising a host device, a storage device, a switching device, and a management terminal is provided. The host device has a plurality of first logical blocks. The storage device has a plurality of second logical blocks. The switching device transfers data between the host device and the storage device through a plurality of paths. The management terminal receives information on the first logical blocks from the host device, receives information on the second logical blocks from the storage device, and generates information showing connecting paths between the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received. Accordingly, it is possible to get hold of the connected configuration of the first logical blocks and the second logical blocks.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application claims priority upon Japanese Patent Application No. 2001-401706 filed on Dec. 28, 2001, which is herein incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a computer-system managing method for managing a state of connections between a host comprising first logical blocks and a storage device comprising second logical blocks. Further, the present invention relates to a computer capable of executing a management program used for the above-mentioned computer system, a storage device, a displaying device, and a storage system.

2. Description of the Related Art

With the rapid increase in the amount of data being handled by information systems, introduction of SANs (Storage Area Networks) is being promoted.

Currently, in system management for a SAN, management of a configuration regarding connections mainly among hardware devices, such as a configuration of connections between a host and a storage device, is being carried out.

A mainframe provides a platform for configuring a large-scale backbone system. In such a mainframe, there are cases in which a plurality of logical blocks operate independently. On the other hand, there are cases in which logical units divided into a plurality of regions operate in a storage device. Thus, it is expected to connect the devices, in which physical resources are shared among a plurality of logical processing units, to a SAN.

On the other hand, in a SAN, it is typical to redundantly configure paths for transferring data between a host and a storage device. In this case, path settings are carried out mainly in accordance with the connecting paths among the hardware devices. Since SANs have been developed mainly on platforms for constructing open systems, in conventional SAN-system management, the configuration of connections among hardware devices is mainly being managed.

Therefore, according to conventional SAN-system management, in cases where a device (such as a mainframe) in which physical resources are shared among a plurality of logical processing units is connected to a SAN, it was not possible for a system administrator to get hold of status on connections among logical processing units, and particularly, to visually grasp the connection status among the logical processing units.

SUMMARY OF THE INVENTION

An object of the present invention is to provide a computer-system managing method in which a system administrator can easily get hold of connection status in a logical configuration.

A main invention accomplishing the above and other objects is a method for managing a computer system in which data can be transferred between a first device and a second device through a plurality of paths. The first device has a plurality of first logical blocks. The second device has a plurality of second logical blocks. The method comprises the steps of: receiving information on the first logical blocks from the first device; receiving information on the second logical blocks from the second device; and generating information showing a connected configuration of the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received.

Another main invention accomplishing the above and other objects is a computer capable of executing a management program for managing a computer system in which data can be transferred between a first device and a second device through a plurality of paths. The management program makes the computer system in which the first device has a plurality of first logical blocks and the second device has a plurality of second logical blocks to perform the functions of: receiving information on the first logical blocks from the first device; receiving information on the second logical blocks from the second device; and generating information showing a connected configuration of the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received.

Another main invention accomplishing the above and other objects is a storage device capable of transferring data with a host device having a plurality of host logical blocks. The storage device comprises: a plurality of logical blocks; and a section sending information on the plurality of logical blocks to a management terminal.

Another main invention accomplishing the above and other objects is a display device of a computer system in which data can be transferred between a first device having a plurality of first logical blocks and a second device having a plurality of second logical blocks through a plurality of paths. The display device displays information showing a connected configuration of the first logical blocks and the second logical blocks based on information on the first logical blocks received from the first device and information on the second logical blocks received from the second device.

Another main invention accomplishing the above and other objects is a storage system comprising: a host device having a plurality of first logical blocks; a storage device having a plurality of second logical blocks; a switching device transferring data between the host device and the storage device through a plurality of paths; and a computer receiving information on the first logical blocks from the host device, receiving information on the second logical blocks from the storage device, and generating information showing connecting paths between the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received.

Features and objects of the present invention other than the above will become clear by reading the description of the present specification with reference to the accompanying drawings.

DETAILED DESCRIPTION OF THE INVENTION

At least the following matters will be made clear by the explanation in the present specification and the description of the accompanying drawings.

An invention is a method for managing a computer system in which data can be transferred between a first device and a second device through a plurality of paths. The first device has a plurality of first logical blocks. The second device has a plurality of second logical blocks. The method comprises the steps of: receiving information on the first logical blocks from the first device; receiving information on the second logical blocks from the second device; and generating information showing a connected configuration of the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received.

According to the method for managing a computer system, it becomes possible to get hold of the connected configuration between the first logical blocks and the second logical blocks.

The method for managing a computer system may further comprise the step of displaying the information showing the connected configuration of the first logical blocks and the second logical blocks.

According to the method for managing a computer system, it becomes possible for a system administrator to get hold of the connected configuration between the first logical blocks and the second logical blocks.

In the method for managing a computer system, it may be possible for the computer system to comprise a switching device connected between the first device and the second device; the method to further comprise the step of receiving information on connections of the switching device; and the information showing the connected configuration of the first logical blocks and the second logical blocks to be generated based on the information on connections of the switching device received.

According to the method for managing a computer system, it becomes possible to get hold of the paths through which data is transferred between the first logical blocks and the second logical blocks.

Another invention is a computer capable of executing a management program for a computer system in which data can be transferred between a first device and a second device through a plurality of paths. The management program makes the computer system in which the first device has a plurality of first logical blocks and the second device has a plurality of second logical blocks to perform the functions of: receiving information on the first logical blocks from the first device; receiving information on the second logical blocks from the second device; and generating information showing a connected configuration of the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received.

According to the computer capable of executing such a management program, it becomes possible to control a computer system so that the connected configuration between the first logical blocks and the second logical blocks can be grasped.

In the computer capable of executing a management program, the program may make the computer system to further perform the function of displaying the information showing the connected configuration of the first logical blocks and the second logical blocks.

According to the computer capable of executing such a management program, it becomes possible to control a computer system so that a system administrator can get hold of the connected configuration between the first logical blocks and the second logical blocks.

In the computer capable of executing a management program, the program may make the computer system further comprising a switching device connected between the first device and the second device to further perform the functions of: receiving information on connections of the switching device; and generating the information showing the connected configuration of the first logical blocks and the second logical blocks based on the information on connections of the switching device received.

According to the computer capable of executing such a management program, it becomes possible to control a computer system so that the paths through which data is transferred between the first logical blocks and the second logical blocks can be grasped.

Another invention is a storage device capable of transferring data with a host device having a plurality of host logical blocks. The storage device comprises: a plurality of logical blocks; and a section sending information on the plurality of logical blocks to a management terminal.

According to the storage device, the management terminal can obtain information on the logical blocks of the storage device.

The storage device may further comprise a section storing information for relating together the logical blocks and identifiers for connecting paths between the host logical blocks and the logical blocks.

According to the storage device, it becomes possible to specify the logical blocks based on the identifiers.

Another invention is a display device of a computer system in which data can be transferred between a first device having a plurality of first logical blocks and a second device having a plurality of second logical blocks through a plurality of paths. The display device displays information showing a connected configuration of the first logical blocks and the second logical blocks based on information on the first logical blocks received from the first device and information on the second logical blocks received from the second device.

According to the displaying device, it becomes possible for a system administrator to get hold of the connected configuration between the first logical blocks and the second logical blocks.

In the display device, the second logical blocks that have data-transferring paths with the first logical block designated may be displayed, if one first logical block among the plurality of first logical blocks being displayed is designated.

According to the displaying device, it becomes possible for a system administrator to get hold of the connected configuration between a certain first logical block and the second logical blocks.

In the display device, the first logical blocks that have data-transferring paths with the second logical block designated may be displayed, if one second logical block among the plurality of second logical blocks being displayed is designated.

According to the displaying device, it becomes possible for a system administrator to get hold of the connected configuration between a certain second logical block and the first logical blocks.

Another invention is a storage system comprising: a host device having a plurality of first logical blocks; a storage device having a plurality of second logical blocks; a switching device transferring data between the host device and the storage device through a plurality of paths; and a computer receiving information on the first logical blocks from the host device, receiving information on the second logical blocks from the storage device, and generating information showing connecting paths between the first logical blocks and the second logical blocks based on the information on the first logical blocks received and the information on the second logical blocks received.

Configuration of System

FIG. 1is a schematic diagram of a computer system according to one aspect of the present invention.

The computer system1comprises: hosts10; a SAN20; storage devices30; and a management terminal40. The computer system1manages, with the management terminal40, a network dedicated to storage input/output where the SAN20connects the hosts10as a first device and the storage devices30as a second device.

The host10serves as the first device, and is composed of, for example, a mainframe computer or a personal computer. In the present system, a plurality of hosts10are provided. At least one of the hosts10comprises a plurality of logical blocks as a mainframe. Note that explanation regarding the logical blocks will be made later. The other hosts may use platforms for constructing an open system. That is, the hosts10may be a mixed system of mainframes and open systems.

The SAN20is provided between the hosts10and the storage devices30, and transfers data between them through an interface such as Fibre Channel. Further, the SAN20configures a plurality of transferring paths (or access routes) between the hosts10and the storage devices30. The SAN20comprises at least one switch. Note that explanation regarding the switch will be made later.

The storage device30serves as a storing device, which is the second device. The storage device30stores transferred data when there is a write-in instruction from the host10, and transfers stored data when there is a read-out instruction from the host10. The storage device30may be composed of, for example, a storage subsystem such as a disk array device. In the present system, a plurality of storage devices30may be provided. Further a tape library, for example, may be provided as other storing devices. The storage device30comprises a plurality of logical units (or, second logical blocks) which are formed using a plurality of storage regions. Note that explanation regarding the logical units will be made later.

The management terminal40manages a state of connections between the logical blocks of the hosts10and the logical units of the storage devices30, and is composed of, for example, a mainframe computer or a personal computer. The management terminal40is connected to the hosts10, the SAN20, and the storage devices30through, for example, a LAN. Accordingly, the management terminal40can: receive information on the logical blocks from the hosts10; receive information on the connections of the switches from the SAN20; and receive information on the logical units from the storage devices30. Explanation regarding receiving the above information will be made later. Note that the management terminal40may be, for example, other client terminals connected through the LAN. Based on the information received, the management terminal40generates information showing the state of connections between the logical blocks of the hosts10and the logical units of the storage devices30, and displays a result of the connected configuration on a displaying device, but the detail will be described later. Note that a program for executing the above-mentioned functions is installed in the management terminal40.

Configuration of Host

FIG. 2is a schematic diagram of a host used in the computer system according to one aspect of the present invention.

The host10shown inFIG. 2comprises: a plurality of logical blocks LB; a port controller14; a plurality of ports Ph; and a communication section18.

The logical block LB is a logical processing unit. The logical blocks LB share physical resources such as CPUs and memories. A state in which a plurality of operating systems are operating in a mainframe may be considered as an example of a state in which a plurality of logical blocks LB are operating in the host10.

The port controller14is for controlling the ports Ph.

A plurality of ports Ph are provided in the host10and are shared among the above-mentioned plurality of logical blocks LB. In the case where the ports Ph are shared among the logical blocks LB, even if a path is designated based on a port, which is hardware, like conventional cases, it does not mean that the logical block LB is also be specified along therewith. Thus, in the present embodiment, using a path-group ID which will be explained later, identification of a connecting path of logical blocks, which are logical processing units, is to be made.

The communication section18is for sending information which relates to, for example, the logical blocks which is stored in a memory (not shown) of the host10to the management terminal40. It is, for example, the LAN, which connects the management terminal40and the communication section18, through which the information is sent to the management terminal40.

FIG. 5is an explanatory diagram showing an example of information stored in the memory of each host10.

InFIG. 5, the information stored in the memory of each host10relates together the path-group IDs, the logical blocks, and the host ports. In the figure, the path-group IDs (for example, AAAA through FFFF) are identifiers by which the logical blocks and the host ports are related. The logical-block information indicates the respective logical blocks LB1through LB3of the host10. The port information indicates the numbers (Ph1through Phn) of the respective ports provided in the host10. Accordingly, if a path-group ID is specified, the logical block LB and the host port Ph will be uniquely determined along therewith.

The above-mentioned information stored in the memory of the respective hosts10is sent to the management terminal40through the LAN by a communication interface of each host10. Note that, as information for making a match with the logical blocks other than the above-mentioned logical-block information etc., the host10may send, for example, the following information to the management terminal40: information on a serial number of the host10; information on channel paths; information on connections of the channel paths and logical paths; information on definitions of the storage device; and/or port numbers.

Configuration of Switch

FIG. 3is a schematic diagram of a switch used in the computer system according to one aspect of the present invention.

The switch22inFIG. 3has a function as a switching device. The switch22is connected between the hosts10and the storage devices30, and is used to configure the SAN shown inFIG. 1. switch22comprises a plurality of ports24and a communication section26.

The communication section26is for sending port information stored in a memory (not shown) of the switch22to the management terminal40. It is, for example, the LAN, which connects the management terminal40and the communication section26, through which the information is sent to the management terminal40.

FIG. 6is an explanatory diagram showing an example of the information stored in the memory of the switch22.

InFIG. 6, the information that the switch22stores in its memory relates together the path-group IDs, input ports, and output ports. In the figure, the path-group IDs (for example, AAAA through FFFF) are identifiers by which the input ports and the output ports are related. The input-port information indicates the number of a port to which signals are input among the ports (Psw1through Pswn) provided in the switch22. The output-port information indicates the number of a port from which signals are output among the ports (Psw1through Pswn) provided in the switch22. Accordingly, if a path-group ID is specified, the input port and the output port will be uniquely determined along therewith.

When the switch receives a packet, it specifies a port through which the packet is to be passed based on the path-group ID that the packet header contains, and sends the packet out from the specified port. Concerning packet transferring by the switch22, the switch22may either determine a port just by reading only the path-group ID in the header (or only the header) and transfer a packet through that port, or the switch22may first receive the whole packet in its buffer, regenerate a signal, and then transfer the packet from the determined port.

The above-mentioned information stored in each of the switches22provided in the SAN is sent by a communication interface of each switch22to the management terminal40through the LAN. Note that, as information for making a match with the ports other than the above-mentioned port information etc., the switch22may send, for example, the following information to the management terminal40: serial-number information on the switch22; zone-defining information; and/or operational information on each of the switches/ports.

Configuration of Storage Device

FIG. 4is a schematic diagram of a storage device used in the computer system according to one aspect of the present invention.

InFIG. 4, the storage device30comprises: a plurality of logical units LU; a logical-unit controller34; a plurality of ports Pl; and a communication section38.

The logical unit LU is a logical processing unit. The logical units LU share physical resources such as storage media and CPUs.

The logical-unit controller34is for controlling the logical units LU.

A plurality of ports Pl are provided in the storage device30, and are shared among the above-mentioned plurality of logical units LU. In the case where the ports Pl are shared among the logical units LU, even if a path is designated based on a port, which is hardware, like conventional cases, it does not mean that the logical unit LU is also be specified along therewith. Thus, in the present embodiment, using a path-group ID which is to be explained later, identification of a connecting path of logical units LU, which are logical processing units, is to be made.

The communication section38is for sending information on, for example, the logical units which is stored in a memory (not shown) of the storage device30to the management terminal40. It is, for example, the LAN, which connects the management terminal40and the communication section38, through which the information is sent to the management terminal40.

FIG. 7is an explanatory diagram showing an example of information stored in the memory of each storage device30.

InFIG. 7, the information stored in the memory of each of the storage devices30relates together the path-group IDs, the storage-device ports, and the logical units. In the figure, the path-group IDs (for example, AAAA through FFFF) are identifiers by which the logical units and the storage-device ports are related. The logical-unit information indicates the numbers (LU1through LUn) of the respective logical units in the storage device30. The storage-device port information indicates a port number among the numbers (Pl1through Pln) for the ports provided in the storage device30and through which signals are to be input (or output). Accordingly, if a path-group ID is specified, the logical unit and the storage-device port will be uniquely determined along therewith.

The above-mentioned information stored in the memory of each storage device30is sent to the management terminal40through the LAN by a communication interface of each storage device30. Note that, as information for making a match with the logical units other than the above-mentioned logical-unit information etc., the storage device30may send, for example, the following information to the management terminal40: information on the respective logical units LU and their addresses; information on the configuration of the ports; information on the configuration of physical devices; operational information on each of the channels and/or the physical devices; a serial number; a volume address; and/or a port number.

When the storage device30receives a packet, the storage device30specifies a logical unit LU to which the packet is to be sent based on the path-group ID that the packet header contains, and sends the packet out to the specified logical unit LU. Upon packet transferring by the storage device30, the storage device30may either determine a logical unit just by reading only the path-group ID in the header (or only the header) and transfer a packet through that port, or the storage device30may first receive the whole packet in its buffer, regenerate a signal, and then determine the logical unit.

In the present embodiment, the path-group IDs are incorporated in the headers of the respective packets. However, the configuration is not limited to the above. For example, if the packet contains information on the source port address and the designation port address and the respective devices are provided with information on a relationship between a combination of the source/destination port addresses and a path-group ID, the respective devices will be able to determine the path-group ID. That is, if the packet contains information necessary for determining a path-group ID, it will be possible to specify the path-group ID.

Generating Data of Connection State

The management terminal40: receives information on the logical blocks etc. (seeFIG. 5) from the hosts10; receives the port information etc. (seeFIG. 6) from the switch22of the SAN20; and receives information on the logical units etc. (seeFIG. 7) from the storage devices30. The management terminal40will be able to generate information showing a connected configuration between the logical blocks LB and the logical units LU based on the information received.

FIG. 8shows an example of information showing the connected configuration between the logical blocks LB and the logical units LU generated by the management terminal40based on the information received.

FIG. 8shows an example of the data generated based on the path-group IDs by gathering the information shown inFIG. 5throughFIG. 7received by the management terminal40. As a result of gathering the information shown inFIG. 5throughFIG. 7based on the path-group IDs, the path-group ID functions as an identifier for indicating a path from a logical block LB to a logical unit LU, as shown inFIG. 8. Further, since the path-group ID will uniquely specify a path from a logical block LB to a logical unit LU, it will function as a unique identifier for each path.

Conventionally, for example, each of the hosts connected to the SAN managed the connected configuration of its own. Therefore, conventionally, it took time and efforts for a system administrator to confirm the connected configuration between the logical blocks and the logical units. However, according to the present embodiment, it becomes easy for the system administrator to manage the connected configuration of the whole system, and thus, it becomes convenient upon constructing a system in which the system administrator can efficiently use resources.

Further, even if one of the hosts10(seeFIG. 1) is an open system, it is possible to similarly specify the connecting paths between the logical blocks and the logical units, which are logical processing units, using the path-group IDs. On the contrary, by introducing the method of specifying a connecting path between a logical block and a logical unit using a path-group ID, as shown inFIG. 8, to a conventional system, it will become easy to configure a SAN to be a mixed system in which both mainframes and open systems reside.

Explanation of Display

In a computer system including a mainframe, it will be convenient if it would be possible to show information showing the connected configuration between the logical blocks LB and the logical units LU to a system administrator.

In the present embodiment, a displaying device, such as a display, provided in the management terminal shows the data shown inFIG. 8on the connected configuration between the logical blocks LB and the logical units LU.

Further, there may be cases where it would be difficult for the system administrator to get hold of the connected configuration of the system only by viewing a table as shown inFIG. 8regarding the connected configuration of the system.

FIG. 9shows an example of displaying the connected configuration of the system. The connected configuration shown inFIG. 9will be shown if, for example, the system administrator designates “LB1” of the “LOGICAL BLOCK” when the table ofFIG. 8is being shown on the display.FIG. 9visually indicates logical units LU to which the logical block LB1is connected, and paths for transferring data to the logical units LU.

When the system administrator designates “LB1” of the “LOGICAL BLOCK”, the management terminal40searches for path-group IDs in which the “LOGICAL BLOCK” is “LB1” based on the data ofFIG. 8that has already been generated. Assume that “AAAA”, “CCCC”, “FFFF”, and other certain path-group IDs meet the condition as a result of the search. Next, the management terminal40searches for the logical units LU that are connected to the logical block LB1based on the path-group IDs retrieved. Then, on the display, the management terminal40shows the logical block LB1, the logical units LU that are connected to the logical block LB1, and the associated path-group IDs.

Further,FIG. 10shows an example of displaying the connected configuration of the system. The connected configuration shown inFIG. 10will be shown on the display if, for example: (1) the system administrator designates “LU1” of the “LOGICAL UNIT” when the table ofFIG. 8is being shown on the display, or (2) the system administrator designates “LU1” when the display ofFIG. 9is being shown on the display.FIG. 10visually indicates logical blocks to which the logical unit LU1is connected, and paths for transferring data to the logical blocks.

When the system administrator designates “LU1” of the “LOGICAL UNIT” in the screens shown inFIG. 8orFIG. 9, the management terminal40searches for path-group IDs in which the “LOGICAL UNIT” is “LU1” based on the data ofFIG. 8that has already been generated. Assume that “AAAA”, “DDDD”, and other certain path-group IDs meet the condition as a result of the search. Next, the management terminal40searches for the logical blocks that are connected to the logical unit LU1based on the path-group IDs retrieved. Then, on the display, the management terminal40shows the logical unit LU1, the logical blocks LB that are connected to the logical unit LU1, and the associated path-group IDs.

It is to be noted that displaying of the connected configuration of the system is not to be limited to those shown inFIG. 8throughFIG. 10. For example, it is possible to delete, add, or change any item inFIG. 8. Further, inFIG. 9andFIG. 10, it is possible to show ports and/or switches instead of the path-group IDs. Further, inFIG. 9andFIG. 10, displaying may be made in a tree structure in which expanding/contracting operations by clicking on a node, or branch point, are made possible. In short, it is important that the connected configuration of the logical processing units is displayed in a manner that can be easily appreciated by the system administrator.

Further, it is not limited to the display focusing on the logical block inFIG. 8and that focusing on the logical unit inFIG. 9. For example, there may be shown a display focusing on the port or switches22.

Further, it may display information on operational status such as traffic in each transferring path, along with displaying of the connected configuration of the system. Accordingly, with reference to the traffic regarding the current connected configuration, the system administrator will be able to configure a system in which its resources can more efficiently be used. Note that such information on the operational status may be shown for each of the transferring paths. Further, the information may be shown in real time. It is particularly preferred for the information on the operational status to be shown in real time in case there is a change in the connected configuration due to some failure.

The displaying device such as the display comprises the above-mentioned functions since the management terminal40is controlled by a program installed in the management terminal to which the displaying device is connected. However, the program may be installed in the host10, and a displaying device connected to the host10may comprise the above-mentioned functions.

Further, this program may be recorded on a storage medium that the management terminal40is capable of reading.

As apparent from the above explanation, according to the present embodiment, it becomes possible to get hold of the connected configuration between first logical blocks and second logical blocks.