A storage system is connected to at least one host computer and has a plurality of logical units therein. Further, the external storage system includes at least one or plural disk devices. The storage system and the host computer constitute a computer system. They are connected using an SCSI. Even in the case of a Fibre Channel or the like using no SCSI interface, a logical interface may be SCSI.
Such an external storage system in current use has coupling functions and is capable of copying logical units (LUs) between the present system and another external storage system. These coupling functions include a plurality of coupling operations. Commands for giving instructions for the respective operations are prepared. These coupling operations have been normally executed according to issuance of their corresponding commands from dedicated terminals. However, a method using command devices has also been considered as a method of directly executing coupling operations from a host computer. The host computer issues commands for performing the coupling operations to the command devices as data to be written into the external storage system. The command devices are shared logical units exclusively used for communication with the host computer. The host computer writes the commands into the dedicated command devices as data, whereas the external storage system processes the data written into the command devices as commands. Such coupling-operation instructions made from the host computer are executed by writing the commands into their corresponding command devices through an operation application (hereinafter abbreviated as RM) or an operation API (hereinafter abbreviated as RMLIB) on the host computer. The host computer is capable of giving instructions for the coupling operations from the command devices to all the logical units lying within the external storage system.
Meanwhile, if the instructions are written into the command devices, then they can be issued to all the logical units in the external storage system in the above related art. However, the following problems arise in reverse due to it.
While the external storage system can be connected to a plurality of host computers, accessible logical units are restricted for every host computer. It is thus necessary to limit instructions for coupling operations from a given host computer only to logical units accessible by the host computer. However, since the application on the conventional host computer is not provided with means for confirming whether a logical unit to be operated corresponds to the logical unit to be actually operated, which has been handled by the host computer, there is a possibility that the host computer will give instructions to a logical unit handled by another host computer, thus resulting in data corruption.
Connections of the logical units have heretofore been performed by confirming to which connection port the host computer is physically connected, confirming by means of a service processor, or the like, the configuration in which the host computer is connected, and manually developing the result thereof to a defined file on the host computer. Therefore, the possibility that data corruption will occur due to typing errors of a supervisor, still remains.
Therefore, a specific group, which makes use of a system (hereinafter called LUN security) implemented by Japanese Patent Application Laid-Open No. 2000-322369 at present, and which comprises a set of logical units in an external storage system, can be set so as to be recognized only by a specific Fibre Channel Port of a host computer. Further, the LUN security is extended even to command devices, and only command devices that belong to the same group, are applied so as to be able to operate their corresponding logical units.
Thus, when only one Fibre Channel Port is used in the host computer, the group of logical units recognized by the host computer is one, and all the logical units recognized by the host computer belong to one group. Therefore, the host computer is capable of operating all the logical units through the use of command devices that belong to the group.
However, the current LUN security is used not only in security applications but also in switching between alternate paths. It is therefore necessary to define it as a group 1: WWN-A (World Wide Name corresponding to an address inherent in Fibre Channel Port is hereinafter abbreviated as WWN) and a group 2: WWN-B from the relationship of the alternate paths.
Thus, when the LUN security is not in use, command devices that belong to the group of WWN-A, can be used with command devices that belong to WWN-B as their alternatives. However, when the LUN security is used, the command devices that belong to group 2: WWN-B, allow the group 1: WWN-A (i.e., the different group) to disappear from view. Therefore, it is not possible to use them as alternate command devices.
When the security is defined as a group 1: WWN-A and a group 2: WWN-B from the relationship of path definition as shown in
Therefore, when the LUN security is used, there exists a case that the recognized command devices cannot necessarily operate the logical units recognized from the host computer side.
On the other hand, the current LUN security may also be used for path control under a Fibre-Switch environment, and thus, for other than the original purpose of security. This means that the LUN security function is no more than logic path setting. Using this function and applying it to security for each command device yields execution of security by the logic path setting alone, which can cause inconvenience.
An object of the present invention is to propose an additional mechanism necessary for an external storage system and an additional process for an application of each host computer in order to, in a computer system in which a plurality of the host computers share the use of one or plural disk devices, limit control of logical units from each of the host computers to logical units recognized by the host computer, and allow the logical units recognized by the host computer to operate without restrictions.
To this end, the external storage system is configured so as to provide extended inquiry information for specifying each logical unit for the host computer.
The external storage system according to the present invention comprises one or plural disk array controllers and a plurality of hard disk drives. Logical units having no relevance to a plurality of physical hard disk drives are virtually defined. The host computer is capable of recognizing the logical units as the hard disk drives and using the same.
At least one of the logical units is dedicated for coupling control and is distinguished from logical units read and written or programmed from and to a normal host. A host program for controlling coupling issues coupling control according to the reading and writing from and to the logical unit (command device) dedicated for the coupling control. The host computers are also capable of using the control-dedicated logical unit (command device) with shared taking place between other ports. When discrete groups share the use of one logical unit at this time, they function as command devices independent of each host computer.
Now the external storage system according to the invention of the present application defines extended LU numbers (LUNs) as management information on logical units as viewed from outside in order to achieve the object of the invention of the present application that each of the host computers can specify logical units.
The extended LU number comprises a combination of a connection port, a target ID and a logical unit number. Thus, a mechanism whereby the host computer is capable of specifying the logical units, is constructed. An extended logical unit number storage unit for obtaining correspondence between the extended LU numbers and the logical units is made up of a CPU and a built-in memory.
A first embodiment of the present invention will be explained using
Logical units 240, 241, 242 and 243 exist within the external storage system. I/O and coupling operations are carried out in units of such logical units. CPUs 220 and 221 lying within the external storage system interpret and execute SCSI commands in the units of the logical units.
It is possible to allow each of the logical units to have a function for the coupling operation. The logical unit having such a function is called a command device (CMs 230, 231) and is capable of receiving read and write (RAN) accesses from the host computer 100. The logical units can be shared between a plurality of ports. In the logical units 242 and 243, for example, the same logical units are shared between a plurality of ports and respectively viewed as discrete logical units from the host side. The CMs 230 and 231 are also similar and respectively seen as discrete CMs from the host computer.
A RM 110 (operation application) for controlling the coupling operation, and an application 101 for giving instructions to the RM 110 are in operation on the host computer 100. The host computer reads and writes the contents of control from and to the CMs 230 and 231 set within the external storage system 200 via the RM 110, thereby executing the coupling operation. The host computer 100 is capable of executing the coupling operation only via the RM 110.
The external storage system 200 interprets the contents of data written into the CPUs 220 and 221 and executes a coupling operation corresponding to the contents. Logical unit information specified to the coupling operation in this case is managed within the external storage system 200. This is not information managed by the host computer 100. In the case of UNIX, for example, the application 101 of the host computer 100 effects reading/writing on each logical unit according to a R/W access to a special device file. There is thus no method of directly recognizing the correspondence between the special device file and the information (connection port numbers, target IDs and LU numbers) managed within the external storage system through the use of the host computer. Accordingly, there was a need to acquire the information managed within the external storage system 200 by a method such as confirmation thereof by an SVP (service processor) upon execution of the coupling operation. In the present invention, the external storage system 200 adds each of extended LU numbers used in coupling to a response of an inquiry command to a specified logical unit.
Owing to such addition, the host computer 100 is capable of collecting responses of inquiry commands to special device files of all storage systems recognized by the host computer 100. It is thus possible to obtain a list 111 of extended LU numbers corresponding to all logical units recognized by the host computer.
In another embodiment, as shown in
Therefore, only the LUs recognized by the host computer can be operated as viewed from the host computer side, whereby security to the operation is enhanced.
According to the present invention, since only the logical units recognized by the host computer are capable of performing coupling operations, security is enhanced. Further, since the logical units are recognized without depending on the configurations of the adapters, and can thereby be operated, availability of the system is enhanced.
Number | Date | Country | Kind |
---|---|---|---|
2001-091635 | Mar 2001 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5790775 | Marks et al. | Aug 1998 | A |
5812754 | Lui et al. | Sep 1998 | A |
5931920 | Ghaffari et al. | Aug 1999 | A |
5973690 | Ofer et al. | Oct 1999 | A |
6115772 | Crater | Sep 2000 | A |
6173339 | Yorimitsu | Jan 2001 | B1 |
6216202 | D'Errico | Apr 2001 | B1 |
6295575 | Blumenau et al. | Sep 2001 | B1 |
6304942 | DeKoning | Oct 2001 | B1 |
6343324 | Hubis et al. | Jan 2002 | B1 |
6463504 | Ishibashi et al. | Oct 2002 | B1 |
6526478 | Kirby | Feb 2003 | B1 |
6601128 | Burton et al. | Jul 2003 | B1 |
6604165 | Terao | Aug 2003 | B1 |
6606695 | Kamano et al. | Aug 2003 | B2 |
6633962 | Burton et al. | Oct 2003 | B1 |
6643795 | Sicola et al. | Nov 2003 | B1 |
6654831 | Otterness et al. | Nov 2003 | B1 |
6671776 | DeKoning | Dec 2003 | B1 |
6684209 | Ito et al. | Jan 2004 | B1 |
6725331 | Kedem | Apr 2004 | B1 |
6799255 | Blumenau et al. | Sep 2004 | B1 |
6839747 | Blumenau et al. | Jan 2005 | B1 |
6845387 | Prestas et al. | Jan 2005 | B1 |
6910102 | Matsunami et al. | Jun 2005 | B2 |
6947938 | Ito et al. | Sep 2005 | B2 |
6988130 | Blumenau et al. | Jan 2006 | B2 |
20010020254 | Blumenau et al. | Sep 2001 | A1 |
20020029319 | Robbins et al. | Mar 2002 | A1 |
20060190696 | Ito et al. | Aug 2006 | A1 |
Number | Date | Country |
---|---|---|
2000-112666 | Apr 2000 | JP |
2000-276406 | Jun 2000 | JP |
2000-322369 | Nov 2000 | JP |
H11-312058 | Nov 2000 | JP |
WO 0029954 | May 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20020143903 A1 | Oct 2002 | US |