[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US8103828B2 - Virtualization method and storage apparatus for a storage system having external connectivity - Google Patents

Virtualization method and storage apparatus for a storage system having external connectivity Download PDF

Info

Publication number
US8103828B2
US8103828B2 US13/212,616 US201113212616A US8103828B2 US 8103828 B2 US8103828 B2 US 8103828B2 US 201113212616 A US201113212616 A US 201113212616A US 8103828 B2 US8103828 B2 US 8103828B2
Authority
US
United States
Prior art keywords
logical
storage apparatus
external
internal
logical devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US13/212,616
Other versions
US20110302370A1 (en
Inventor
Kunihiko Nashimoto
Noboru Furuumi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to US13/212,616 priority Critical patent/US8103828B2/en
Publication of US20110302370A1 publication Critical patent/US20110302370A1/en
Application granted granted Critical
Publication of US8103828B2 publication Critical patent/US8103828B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Definitions

  • Japan Priority Application 2006-040255 filed Feb. 17, 2006 including the specification, drawings, claims and abstract, is incorporated herein by reference in its entirety.
  • This application is a Continuation of U.S. application Ser. No. 12/707,547, now U.S. Pat. No. 8,010,744, filed Feb. 17, 2010, which is a Continuation of U.S. application Ser. No. 11/400,272, now U.S. Pat. No. 7,685,361, filed Apr. 10, 2006. All of the aforesaid applications are incorporated herein by reference in their entirety as if fully set forth herein.
  • the present invention relates to a storage system, a virtualization method, and a storage apparatus, and is particularly suitable for a storage apparatus having external connectability, and a storage system having the storage apparatus as a component.
  • a conventional storage apparatus has, as one of its functional capabilities, external connectability that can virtualize logical volumes (logical volumes are units of storage areas, and they are conventionally referred to as “logical devices” in mainframe systems) provided by each of one or more other storage apparatuses connected to that storage apparatus.
  • logical volumes are units of storage areas, and they are conventionally referred to as “logical devices” in mainframe systems
  • virtual logical volumes (hereinafter referred to as “virtual volumes”) are configured in association with logical volumes defined in the virtualized storage apparatus (hereinafter, referred to as “external storage apparatus”).
  • the internal storage apparatus upon receipt of a request from a host apparatus to access a virtual volume, transfers the access request to the external storage apparatus that has the corresponding logical volume, and has the external storage apparatus execute the actual data input/output processing.
  • the aforementioned external connectability makes it possible to collectively manage the logical volumes provided by a plurality of storage apparatuses, facilitating easy addition of a storage apparatus or similar.
  • generation information means information that specifies a control unit (in this specification, a control unit refers to a storage apparatus) connected to the channels connected to a host apparatus, or a device, such as a logical device, existing in the control unit and the information is defined by a system administrator in the host apparatus.
  • a user When logical paths are configured between virtual volumes in an internal storage apparatus and the corresponding logical devices in an external storage apparatus, a user first searches for device information on the devices connected to the channels set between the internal storage apparatus and a host apparatus, which is contained in the generation information held by the host apparatus. More specifically, the user searches for an identification number for an external storage apparatus, which is a control unit, or an identification number for a logical device configured in the external storage apparatus (hereinafter, collectively referred to as device numbers”).
  • the user assigns virtual volumes, each configured in association with a logical device in the external storage apparatus, with the device numbers for their corresponding logical devices so that the external storage apparatus device configuration recognized by the host apparatus based on the generation information, and the virtual device configuration in the internal storage apparatus perfectly correspond to each other.
  • a logical path which is a logical communication channel, is formed between each of the virtual volumes in the internal storage apparatus, and a corresponding logical device in the external storage apparatus.
  • the present invention has been made in consideration of the above points, and an object of the present invention is to provide a highly-reliable storage system, virtualization method, and storage apparatus that are less burdensome settings-wise, capable of: first, omitting pre-settings for external connection; and second, preventing the occurrence of data destruction caused by errors in logical path settings.
  • the present invention provides a storage system provided with an internal apparatus between a host apparatus and an external apparatus that provides one or more logical devices for storing data, the one or more logical devices provided by the external apparatus being virtualized by the internal apparatus, the storage system including: upon a channel connected to the internal apparatus coming on-line, the host apparatus sending a predetermined inquiry command to all logical devices defined as being connected the channel via the channel; and the internal apparatus: recognizing the logical devices defined in the host apparatus as being connected to the channel, based on the inquiry command sent from the host apparatus, detecting one or more logical devices, from among the logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, based on the recognition result, and setting, based on the detection result, one or more virtual volumes in its own apparatus, respectively corresponding to the one or more logical devices, from among the one or more logical volumes defined in the host apparatus as being connected to the channel, that exist in the external apparatus, and also sets a first logical path between each of
  • the setting of a virtual volume in an internal apparatus, and the setting of a logical path between the virtual volume and its corresponding logical device in an external apparatus are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by any error in the settings.
  • the preset invention also provides a logical device virtualization method for a storage system provided with an internal apparatus between a host apparatus and an external apparatus that provides one or more logical devices for storing data, the one or more logical devices provided by the external apparatus being virtualized by the internal apparatus, the method including: a first step of, when a channel connected to the internal apparatus comes on-line, the host apparatus sending a predetermined inquiry command to all logical devices defined as being connected to the channel via the channel; a second step of the internal apparatus recognizing the logical devices defined in the host apparatus as being connected to the channel, based on the inquiry command sent from the host apparatus; a third step of the internal apparatus detecting one or more logical devices, from among the logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, based on the recognition result; and a fourth step of the internal apparatus setting, based on the detection result, one or more virtual volumes in its own apparatus, respectively corresponding to the one or more logical devices, from among the logical devices defined in the host apparatus
  • the setting of a virtual volume in an internal apparatus, and the setting of a logical path between the virtual volume and its corresponding logical device in an external apparatus are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by any error in the settings.
  • the present invention further provides a storage apparatus provided between a host apparatus and an external storage apparatus that provides one or more logical devices for storing data, the storage apparatus virtualizing the one or more logical devices provided by the external apparatus, the storage apparatus including: a logical device recognition unit that, when the host apparatus sends a predetermined inquiry command to all logical devices defined as being connected to a channel connected to the storage apparatus via the channel upon the channel coming on-line, recognizes the one or more logical devices defined in the host apparatus as being connected to the channel, based on the inquiry command sent from the host apparatus; a device detection unit that detects one or more logical devices, from among the one or more logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, based on the recognition result; and a logical path setting unit that sets, based on the detection result, one or more virtual volumes in its own apparatus, respectively corresponding to the one or more logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, and also sets a first
  • the setting of a virtual volume in an internal apparatus, and the setting of a logical path between the virtual volume and its corresponding logical device in an external apparatus are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by any error in the settings.
  • the present invention makes it possible to provide a highly-reliable storage system, virtualization method, and storage apparatus that are less burdensome settings-wise.
  • FIG. 1 is a block diagram illustrating the configuration of a storage system according to an embodiment of the present invention.
  • FIG. 2 is a conceptual diagram provided to explain the setting of a path between a host apparatus and an external storage apparatus when the host apparatus is an open apparatus.
  • FIG. 3 is a conceptual diagram provided to explain the setting of a path between a host apparatus and an external storage apparatus when the host apparatus is a mainframe apparatus.
  • FIG. 4 is a flowchart showing a path setting procedure.
  • FIG. 5 is a flowchart showing a path setting procedure.
  • FIG. 6 is a conceptual diagram provided to explain a “Device Characteristic Information” command.
  • FIG. 7A and FIG. 7B are conceptual diagrams provided to explain path setting processing.
  • FIG. 8 is a conceptual diagram provided to explain path setting processing.
  • FIG. 9 is a conceptual diagram provided to explain path setting processing.
  • FIG. 10 is a conceptual diagram provided to explain path setting processing.
  • FIG. 11 is a conceptual diagram provided to explain path setting processing.
  • FIG. 12 is a conceptual diagram provided to explain path setting processing.
  • FIG. 13 is a conceptual diagram provided to explain path setting processing.
  • FIG. 14 is a conceptual diagram provided to explain path setting processing.
  • FIG. 15 is a conceptual diagram provided to explain path setting processing.
  • FIG. 16 is a conceptual diagram provided to explain path setting processing.
  • FIG. 17 is a conceptual diagram provided to explain path setting processing.
  • FIG. 18 is a conceptual diagram provided to explain path setting processing.
  • FIG. 19 is a conceptual diagram provided to explain path setting processing.
  • FIG. 20 is a conceptual diagram provided to explain path setting processing.
  • FIG. 21A , FIG. 21B and FIG. 21C are conceptual diagrams provided to explain error processing during path setting processing according to a second embodiment.
  • FIG. 22 is a conceptual diagram provided to explain error processing during path setting processing according to the second embodiment.
  • FIG. 23 is a conceptual diagram provided to explain another embodiment of the present invention.
  • reference numeral 1 indicates an entire storage system according to the embodiment.
  • the storage system is configured by host apparatuses 2 being connected to an internal storage apparatus 4 via a network 3 , and the internal apparatus 4 being connected to an external storage apparatus 5 .
  • a host apparatus 2 is a mainframe computer apparatus having information processing resources, such as a CPU (central processing unit), and memory, etc.
  • the host apparatus 2 executes the below-described processing by the CPU executing various control programs stored in the memory.
  • the host apparatus 2 also has information input devices (not shown), such as a keyboard, a switch, a pointing device, a microphone, and information output device (not shown), such as a monitor display, and speaker.
  • the network 3 is configured of, for example, a SAN (Storage Area Network), a LAN (Logical Area Network), the Internet, and a public line or a dedicated line. Communication between the host apparatuses 2 and the internal apparatus 4 via the network 3 is performed according to Fibre Channel Protocol if the network 3 is a SAN, and according to TCP/IP (Transmission Control Protocol/Internet Protocol) if the network 3 is a LAN.
  • SAN Storage Area Network
  • LAN Local Area Network
  • the internal storage apparatus 4 includes a plurality of disk devices 10 A and a controller 11 A that controls these disk devices 10 A.
  • a disk device 10 A may be an inexpensive disk drive such as an SCSI (Small Computer System Interface) disk, or an inexpensive disk such as a SATA (Serial AT Attachment) disk or optical disk.
  • One or more disk devices 10 A provide a storage area where one or more logical devices LDEV are defined. Data from a host apparatus 2 is stored in the logical devices LDEV.
  • the controller 11 A includes a plurality of channel interfaces 20 A, a CPU 21 A, local memory 22 A, a data transfer controller 23 A, cache memory 24 A, a disk interface 25 A, and a maintenance management terminal 26 A.
  • the channel interfaces 20 A each being an interface to the network 3 , send/receive write data, data read from the disk devices 10 A, and various commands to/from the host apparatuses 2 .
  • One of the plurality of channel interfaces 20 A is connected as an external connection interface to the external storage apparatus 5 via a network such as a cable or a LAN, and sends/receives data and commands to/from the external storage apparatus 5 .
  • the CPU 21 A executes various processing including that relating to external connection, by executing a microprogram read from the disk devices 10 A to the local memory 22 A.
  • the local memory 22 A is used as work memory for the CPU 21 A.
  • the data transfer controller 23 A controls data transfer between the channel interfaces 21 A and the disk interface 25 A based on the control from the CPU 21 A.
  • the cache memory 24 A is used for temporarily storing data to be transferred between the channel interfaces 20 A and the disk interface 25 A.
  • the cache memory 24 A also stores system information read from system disks 10 A when the internal storage apparatus 4 starts.
  • the disk interface 25 A which is an interface to the disk devices 10 A, sends/receives write data, data read from the disk devices 10 A, and various commands to/from the disk devices 10 A according to, for example, Fibre Channel Protocol.
  • the maintenance management terminal 26 A is a computer apparatus used for maintenance and management of the internal storage apparatus 4 , and is, for example, a laptop personal computer.
  • the maintenance management terminal 26 A can monitor the internal storage apparatus 4 for any error occurring therein, and display the monitored status on a display screen (not shown), and can also order blocking of a disk device 10 A based on an instruction from a host apparatus.
  • the external storage apparatus 5 has a similar configuration to the internal storage apparatus 4 , as can be seen from FIG. 1 , where the external storage apparatus 5 's components are provided with the same reference numerals as those for the corresponding components in the internal storage apparatus 4 —but with “A” instead of “B”.
  • One of the channel interfaces 20 B in the external storage apparatus 5 is connected to the external connection channel interface 20 A in the internal storage apparatus 4 , and the external storage apparatus 5 communicates with the internal storage apparatus 4 via this channel interface 20 B.
  • control programs 30 A and 30 B (hereinafter referred to as LUN managers) installed in the internal storage apparatus 4 and the external storage apparatus 5 respectively, set a logical path between the host apparatus 2 and the internal storage apparatus 4 , and a logical path between the internal storage apparatus 4 and the external storage apparatus 5 , respectively.
  • the LUN managers 30 A and 30 B in the internal storage apparatus 4 and the external storage apparatus 5 respectively create and store tables 31 A and 31 B (hereinafter referred to as the “logical unit management tables”) in which a port ID (“Port ID”) for each port, ID for a host apparatus 2 (“HOST ID”) connected to the port, a LUN (“LUN”), which is an identification number for a virtual volume VVOL or logical volume VOL for which a logical path to the port is set, and the device type (“DKU Emulation”) of the relevant storage apparatus are associated with each other.
  • a port ID (“Port ID”) for each port
  • LUN LUN
  • DKU Emulation device type
  • the LUN manager 30 B in the external storage apparatus 5 registers an identification number (CUN) for the control unit (the external storage apparatus 5 ) having the logical volume VOL, and an identification number (“LDEVN”) for the logical volume VOL when it is treated as a logical device LDEV in the logical unit management table 31 B, to manage that information.
  • CUN identification number
  • LEVN identification number
  • the LUN manager 30 A in the internal storage apparatus 4 also creates and stores the logical unit management table 31 A in which a port ID (“Port ID”) for each port, ID for a host apparatus 2 (“HOST ID”) connected to the port, a LUN (“LUN”), which is an identification number for a virtual volume VVOL for which a logical path to the port is set, an identification number for a control unit having a logical volume VOL corresponding to the virtual volume VVOL (“CUN”; hereinafter referred to as the “control unit number”), an identification number for a logical volume VOL corresponding to each virtual volume when it is treated as a logical device LDEV, and the device type (“DKU Emulation”) of the relevant storage apparatus are associated with each other.
  • a port ID (“Port ID”) for each port
  • LUN LUN
  • LUN LUN
  • CUN control unit number
  • DKU Emulation device type
  • an LUN is used to designate a virtual volume VVOL or a logical volume VOL between the host apparatus 2 , the internal storage apparatus 4 , and the external storage apparatus 5 , and therefore, the LUN manager 30 A in the internal storage apparatus 4 can set unique numbers for a control unit number (“CUN”) and a logical device number (“LDEVN”) for each virtual volume VVOL in the logical unit management table 31 A.
  • CUN control unit number
  • LEVN logical device number
  • the host apparatus 2 searches for a virtual volume VVOL set by the LUN manager 30 A in the internal storage apparatus 4 , and assigns a device name to the detected virtual volume VVOL to access the same. In this case, if the host apparatus 2 is an open apparatus, it does not manage generation information relating to the logical volumes VOL connected to each channel. It also does not manage the logical volumes VOL connected to each channel, using control unit numbers and logical device numbers.
  • a system administrator sets a logical path between a virtual volume VVOL in the internal storage apparatus 4 and a logical device LDEV in the external storage apparatus 5 .
  • the system administrator creates generation information 32 in which ID for each channel (“Channel ID”), a control unit number (“CUN”) for the control unit (the external storage apparatus 5 ) connected to the channel, a logical device number (“LDEVN”) for each logical device LDEV in the control unit, an identification number (HOST Address) recognized by the host apparatus 2 for each logical device LDEV, and the internal storage apparatus 4 's device type (“DKU Emulation”) are associated with each other, and makes the host apparatus 2 store that information.
  • ID for each channel (“Channel ID”)
  • CUN control unit number
  • LDEVN logical device number
  • HOST Address identification number
  • DKU Emulation device type
  • generation information 32 shown in FIG. 3 indicates that a channel with a channel ID “0A” is connected to a control unit with a control unit number “00” (external storage apparatus 5 ), that the control unit contains logical devices LDEV with logical device numbers “01,” “02,” “03,” “04” and “0F,” that these logical devices LDEV are managed by the host apparatus 2 with addresses “1000,” “1001,” “1002,” “1003,” and “100F,” respectively, and that the device type for each of these logical devices LDEV is “33903-3.”
  • the system administrator sets virtual volumes VVOL in the internal storage apparatus 4 in association with the logical devices LDEV in the external storage apparatus 5 that are defined in the generation information in the host apparatus 2 , assigns these virtual volumes VVOL with device numbers for the corresponding logical devices LDEV (a device number is the combination of a control unit number and a logical device number), and also sets a logical path between each virtual volume VVOL and the corresponding logical device LDEV in the external storage apparatus 5 .
  • a device number is used to designate a logical device LDEV between the host apparatus 2 , the internal storage apparatus 4 and the external storage apparatus 5 , and therefore, it is necessary for the device numbers for the logical devices LDEV defined in the generation information in the host apparatus 2 , those assigned to the virtual volumes in the internal storage apparatus 4 , and those for the logical devices in the external storage apparatus 5 to correspond perfectly to each other. It is also necessary that the virtual volumes VVOL in the internal storage apparatus 4 be respectively connected to the corresponding logical devices in the external storage apparatus 5 via the logical paths.
  • the setting of device numbers for the virtual volumes VVOL in the internal storage apparatus 4 , and the setting of logical paths between the virtual volumes VVOL and the logical devices LDEV are performed by human labor, so there are problems in that workers will have large workloads, and that trouble, such as data destruction, may occur due to any setting errors.
  • the internal storage apparatus 4 recognizes device information contained in the generation information in the host apparatus 2 , and based on the recognized device information, sets necessary virtual volumes VVOL and logical paths between these virtual volume VVOL and their corresponding logical devices in the external storage apparatus 5 .
  • FIG. 4 and FIG. 5 each are flowcharts showing a sequence of processes performed by the CPU 21 A in the internal storage apparatus 4 in relation to the logical path setting function.
  • the CPU 21 A in the internal storage apparatus 4 triggered by the host apparatus 2 's execution of on-line processing for making a channel connected to its own storage apparatus come on-line, executes a path setting procedure RT 1 shown in FIG. 4 and FIG. 5 based on the microprogram stored in the local memory 22 A.
  • the host apparatus 2 upon a channel connected to the internal storage apparatus 4 (its channel ID is “0A”) coming on-line, sends a “Device Characteristics Information” command to each of the logical devices connected to the channel with the channel ID “0A” based on the generation information 32 described above with reference to FIG. 3 .
  • the “Device Characteristics Information” command is an inquiry command to seek information on the configuration of the destination device, and as shown in FIG. 6 , has fields 40 A, 40 B, 40 C, 40 D, . . . for respectively storing different information such as control unit type information (“Storage director type”) indicating the type of host apparatuses 2 that can access the logical device LDEV, control unit model information (“Storage director model information”), which is detailed information on the control unit type information, device type information (“Device type”) indicating the logical device LDEV type, and device model information (“Device model”), which is information incidental to the device type information.
  • the “Device Characteristics Information” command is sent from the host apparatus 2 to each of the logical devices LDEV when no information corresponding to the fields 40 A to 40 D, . . . is stored.
  • the logical device LDEV sends a response that contains relevant information stored in each of the fields 40 A to 40 D in the “Device Characteristics Information” command to the host apparatus 2 .
  • the CPU 21 A in the internal storage apparatus 4 based on the logical device LDEV's response to the “Device Characteristics Information” command, recognizes the device numbers for the devices recognized by the host apparatus 2 as being connected to the channel, that exists in the internal storage apparatus 4 (hereinafter, it is assumed that only the logical device LDEV with a device number “00:0F” in FIG. 7 applies) as shown in FIGS. 7A and 7B (SP 1 ).
  • the CPU 21 A in the internal storage apparatus 4 recognizes devices recognized by the host apparatus 2 as being connected to the channel, that do not exist in the internal storage apparatus 4 (hereinafter, it is assumed that the logical devices LDEV with the device numbers “00:00” to “00:03” in FIG. 7 apply) as show in FIG. 7 (SP 1 ).
  • the CPU 21 A recognizes the host apparatus 2 type at step SP 1 based on the host apparatus 2 's vendor name obtained when link-initialization processing is performed when connecting its own storage apparatus (the internal storage apparatus 4 ) and the host apparatus 2 (SP 1 ).
  • the CPU 21 A executes link-initialization processing for an “Initiator” port (a port that issues directions) in the channel interface 20 A ( FIG. 1 ) connected to the external storage apparatus 5 , and as shown in FIG. 9 , recognizes the port ID for the internal storage apparatus 4 (“1A” in the example of FIG. 9 ), the port ID for the external storage apparatus 5 (“1B” in the example of FIG. 9 ), and the manufacture number for the external storage apparatus 5 (“12345” in the example of FIG. 9 ) (SP 2 ).
  • an “Initiator” port a port that issues directions
  • FIG. 9 recognizes the port ID for the internal storage apparatus 4 (“1A” in the example of FIG. 9 ), the port ID for the external storage apparatus 5 (“1B” in the example of FIG. 9 ), and the manufacture number for the external storage apparatus 5 (“12345” in the example of FIG. 9 ) (SP 2 ).
  • the CPU 21 A provides the external storage apparatus 5 with the same control unit number as the one recognized at step SP 1 based on the port ID for its own storage apparatus (the internal storage apparatus 4 ), the port ID for the external storage apparatus 5 , and the manufacture number for the external storage apparatus 5 obtained at step SP 2 to establish a logical path to the external storage apparatus 5 (SP 3 ).
  • the CPU 21 A selects all the logical devices LDEV (“00:00” to “00:0F”) recognized by the host apparatus 2 at step SP 1 as being connected to the channel, recognized by the CPU 21 A at step SP 1 (SP 4 ), and as shown in FIG. 11 , sends a “Device Characteristics Information” command to the selected logical devices LDEV via the logical path established at step SP 3 (SP 5 ).
  • Each of the logical devices LDEV in the external storage apparatus 5 (the logical devices LDEV that are the destinations for the “Device Characteristics Information” command), upon receipt of the “Device Characteristics Information” command, stores information relevant to its own device in the respective fields 40 A to 40 D, . . . in the “Device Characteristics Information” command, and then returns that command to the internal storage apparatus 4 via the logical path established at step SP 3 .
  • the external storage apparatus 5 When no destinations for the “Device Characteristics Information” command, that is, no logical devices LDEV recognized by the host apparatus 2 as being connected to the channel, exist in the external storage apparatus 5 , the external storage apparatus 5 sends a “Device Level Exception” notice, which is a notice informing that no such logical devices LDEV exist, to the external storage apparatus 4 via the logical path established at SP 3 .
  • the CPU 21 A in the internal storage apparatus 4 based on the “Device Characteristic Information” commands returned from the external storage apparatus 5 , judges the logical devices LDEV, from among those selected at step SP 4 , that returned the “Device Characteristic Information” command as existing in the external storage apparatus 5 , and the logical devices LDEV that did not return the “Device Characteristic Information” command as not existing in the external storage apparatus 5 .
  • the CPU 21 A recognizes the device types for each of these logical devices LDEV based on the “Device Characteristics Information” commands returned from the logical devices LDEV (SP 6 ).
  • the CPU 21 A compares the logical devices LDEV recognized by the host apparatus 2 as being connected to the host apparatus 2 , recognized by the CPU 21 at step SP 1 , and the logical devices LDEV recognized at step SP 6 as existing in the external storage apparatus 5 to judge whether all of the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel exist in the external storage apparatus 5 (SP 7 ).
  • the CPU 21 A if it is judged that all of the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel exist in the external storage apparatus 5 , obtains device configuration information, which is information relating to logical devices LDEV existing in its own storage apparatus, stored in the local memory 22 A (SP 8 ).
  • the CPU 21 A based on the obtained device configuration information for its own apparatus, judges whether any logical devices LDEV (including virtual volumes VVOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 already exist in the internal apparatus 4 (SP 9 ).
  • a negative result at that judgment, as shown in FIG. 15 means that no logical devices LDEV (including virtual volumes VVOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal apparatus 4 .
  • the CPU 21 A selects the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel as virtualization objects
  • an affirmative result in the judgment at step SP 9 means that logical devices LDEV (including virtual volumes VVOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal apparatus 4 .
  • the CPU 21 A then makes the maintenance management terminal 26 A ( FIG. 1 ) display a warning to the effect that logical devices LDEV with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal apparatus 4 (SP 14 ). Then the CPU 21 A ends the processing.
  • the CPU 21 A judges at step SP 7 that not all of the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel exist in the external storage apparatus 5 as shown in FIG. 17 and FIG. 18 , it recognizes the logical devices recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 (SP 11 ).
  • the CPU 21 A then obtains device configuration information for its own storage apparatus (the internal storage apparatus 4 ) stored in the local memory 22 A like in the above step SP 8 (SP 12 )
  • the CPU 21 A judges whether any logical devices LDEV (including virtual volumes WOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal storage apparatus 4 , based on the results of step SP 11 and step SP 12 (SP 13 ).
  • a negative result at this judgment, as show in FIG. 19 means that no logical devices LDEV with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in its own storage apparatus.
  • the CPU 21 A selects the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 as virtualization objects (SP 15 ), and sets virtual volumes VVOL each having the same device numbers as each of the selected virtualization object logical devices LDEV in its own storage apparatus (SP 16 ). Then, the CPU 21 A sets a logical path between each of the virtual volumes set as above, and each of the corresponding logical devices LDEV, and then ends the processing.
  • an affirmative result in the judgment at step SP 13 means that logical device(s) LDEV (including virtual volumes WOL) with the same device numbers as logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 already exist in the internal storage apparatus 4 .
  • the CPU 21 A then makes the maintenance management terminal 26 A ( FIG. 1 ) display a warning to the effect that logical devices LDEV with the same device numbers as logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 already exist in the internal storage apparatus 4 (SP 14 ). Then the CPU 21 A ends the processing.
  • the CPU 21 A in the internal storage apparatus 4 recognizes the logical devices LDEV recognized by a host apparatus 2 as being connected to a channel connected to the internal storage apparatus 4 , and also ones, from among those logical devices LDEV, that exist in its own storage apparatus, based on “Device Characteristics Information” commands sent from the host apparatus 2 when the channel is brought on-line.
  • the CPU 21 A also recognizes the relevant logical devices LDEV that exist in the external storage apparatus 5 , based on the responses to the “Device Characteristics Information” commands obtained by sending the “Device Characteristics Information” commands to the external storage apparatus 5 .
  • the CPU 21 A sets virtual volume VVOL in its own storage apparatus based on the recognition results, and also sets a logical path between each of these virtual volumes VVOL and each of the corresponding logical volumes in the external storage apparatus 5 .
  • the setting of virtual volumes in the internal storage apparatus 4 , and the setting of a logical path between each of the virtual volumes and each of the corresponding logical devices in the external storage apparatus 5 are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by an error in the settings. Consequently, it is possible to obtain a highly-reliable storage system that is less burdensome settings-wise.
  • Virtual volumes having the same device numbers as logical devices existing in the external storage apparatus 5 cannot be set in the internal storage apparatus 4 when an affirmative result has been obtained in the judgment at step SP 9 in the path setting procedure RT 1 , or when a negative result has been obtained in the judgment at step SP 13 in FIG. 4 and FIG. 5 . Therefore, in this case, virtual volumes VVOL will be set in the internal storage apparatus 4 with device numbers different from those for the logical devices LDEV (including virtual volumes VVOL) already existing in the internal storage apparatus provided.
  • a storage system 50 ( FIG. 1 ) according to a second embodiment of the present invention, as shown in FIG. 21A , it is possible to separately manage logical devices LDEV (including virtual volumes VVOL) having the same device number by adding an ID (hereinafter referred to as “device number ID”) to each of the logical devices LDEV (including virtual volumes VVOL) in the internal storage apparatus 4 .
  • device number ID an ID
  • the device IDs are managed on a port basis.
  • FIG. 22 only access from the relevant port, which differs from device number ID to device number ID, is allowed. This is for preventing confusion in the management of logical devices LDEV having the same device number by separating those logical devices according to their respective accessible ports, because already-defined logical devices LDEV having the same device number may be used by another host apparatus 2 .
  • the CPU 21 A in the internal storage apparatus 51 ( FIG. 1 ) according to the second embodiment when an affirmative result has been obtained at step SP 9 in the path setting procedure RT 1 , or when a negative result has been obtained at step SP 13 in FIG. 4 and FIG. 5 , that is, when any logical device LDEV (including a virtual volume VVOL) having the same device number as a logical device in the external storage apparatus 5 is already set in the internal storage apparatus 4 , switches the port for the logical path then connected to the host apparatus 2 to another port (in the example of FIG. 21(B) , the port with the port number “00” is switched to the port with the port number “01”.)
  • LDEV including a virtual volume VVOL
  • the CPU 21 A also creates a virtual volume VVOL corresponding to a logical volume LDEV in the external storage apparatus 5 , providing the virtual volume with a device number ID “01”, and as shown in FIG. 21C , the logical device LDEV is mapped onto the virtual volume VVOL. Furthermore, the CPU 21 A displays a warning to the effect that that switching of ports has been performed at step SP 14 in the path setting procedure RT 1 .
  • the user sets the host apparatus 2 to, when accessing a logical device LDEV already set in the internal storage apparatus 4 , access the port with the port ID “00” in the internal storage apparatus 4 , and when accessing a logical device LDEV set in the external storage apparatus 5 using the same device number as the logical device LDEV in the internal storage apparatus 4 , access the port with the port ID “01” in the internal storage apparatus 4 , ensuring that the host apparatus 2 can access the desired one from the logical device LDEV with the device number ID “00” and the logical device LDEV with the same device number and the device number ID “01”.
  • a logical device LDEV in the internal storage apparatus 4 is managed with a device number ID added to its device number, and a different port is set for each device number ID, making device number ID-based access to a virtual volume VVOL possible, and therefore, even when the device number for a logical device LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 is identical to the device number for a logical device LDEV already existing in the internal storage apparatus 4 in the path setting processing described with reference to FIG. 4 and FIG. 5 , these logical devices LDEV can be managed separately.
  • the above-described embodiments relate to the case where the internal storage apparatus 4 and the external storage apparatus 5 are directly connected to each other.
  • the present invention is not limited to these embodiments, and can apply to the case where the internal storage apparatus 4 and the external storage apparatus 5 are connected via a switch 60 .
  • a CPU 21 A includes: a logical device recognition unit that recognizes one or more logical devices LDEV defined in a host apparatus 2 as being connected to a channel; a logical device detection unit that detects one or more logical devices LDEV existing in the external storage apparatus 5 from among the one or more logical devices LDEV defined in the host apparatus 2 as being connected to the channel; and a logical path setting unit that sets, based on the detection result, one or more virtual volumes VVOL in its own storage apparatus 4 , respectively corresponding to the one or more logical devices existing in the external storage apparatus 5 from among the one or more logical devices LDEV defined in the host apparatus 2 as being connected to the channel, and sets a logical path between each of the set one or more virtual volumes VVOL and each of the corresponding one or more logical devices existing in the external storage apparatus 5 .
  • the present invention is not limited to these embodiments, and the logical device recognition unit, the logical device detection unit, and the logical path
  • the present invention can be applied to a wide range of storage apparatuses with external connectability, and storage systems that include that storage apparatus as a component.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A virtualization method for a storage system recognizes one or more logical devices located in a first and second storage apparatus and defined in a host apparatus as being connected to a channel, based on an inquiry command sent from the host apparatus when the channel comes on-line; detects one or more logical devices among the one or more logical devices defined in the host apparatus as being connected to the channel and located in the first and second storage apparatus, based on the recognition result; sets, based on the detection result, one or more virtual volumes in the first storage apparatus, respectively corresponding to the one or more logical devices in the second storage apparatus; and sets a first logical path between each of the set one or more virtual volumes and each of the corresponding one or more logical devices in the second storage apparatus.

Description

CROSS-REFERENCE TO RELATED PATENT APPLICATIONS
Japan Priority Application 2006-040255, filed Feb. 17, 2006 including the specification, drawings, claims and abstract, is incorporated herein by reference in its entirety. This application is a Continuation of U.S. application Ser. No. 12/707,547, now U.S. Pat. No. 8,010,744, filed Feb. 17, 2010, which is a Continuation of U.S. application Ser. No. 11/400,272, now U.S. Pat. No. 7,685,361, filed Apr. 10, 2006. All of the aforesaid applications are incorporated herein by reference in their entirety as if fully set forth herein.
BACKGROUND
1. Field of the Invention
The present invention relates to a storage system, a virtualization method, and a storage apparatus, and is particularly suitable for a storage apparatus having external connectability, and a storage system having the storage apparatus as a component.
2. Description of Related Art
As disclosed in JP-A-2005-157867, a conventional storage apparatus has, as one of its functional capabilities, external connectability that can virtualize logical volumes (logical volumes are units of storage areas, and they are conventionally referred to as “logical devices” in mainframe systems) provided by each of one or more other storage apparatuses connected to that storage apparatus.
In these cases, in a storage apparatus (hereinafter referred to as “internal storage apparatus”) that virtualizes another storage apparatus, virtual logical volumes (hereinafter referred to as “virtual volumes”) are configured in association with logical volumes defined in the virtualized storage apparatus (hereinafter, referred to as “external storage apparatus”).
The internal storage apparatus, upon receipt of a request from a host apparatus to access a virtual volume, transfers the access request to the external storage apparatus that has the corresponding logical volume, and has the external storage apparatus execute the actual data input/output processing.
The aforementioned external connectability makes it possible to collectively manage the logical volumes provided by a plurality of storage apparatuses, facilitating easy addition of a storage apparatus or similar.
SUMMARY
With the external connectability described above, in order to access an external storage apparatus from a mainframe host apparatus, it is necessary to configure a virtual volume with a device number corresponding to generation information held by the host apparatus in the internal storage apparatus, and also configure a logical path between the virtual volume and the corresponding logical device in the external storage apparatus. Here, generation information means information that specifies a control unit (in this specification, a control unit refers to a storage apparatus) connected to the channels connected to a host apparatus, or a device, such as a logical device, existing in the control unit and the information is defined by a system administrator in the host apparatus.
When logical paths are configured between virtual volumes in an internal storage apparatus and the corresponding logical devices in an external storage apparatus, a user first searches for device information on the devices connected to the channels set between the internal storage apparatus and a host apparatus, which is contained in the generation information held by the host apparatus. More specifically, the user searches for an identification number for an external storage apparatus, which is a control unit, or an identification number for a logical device configured in the external storage apparatus (hereinafter, collectively referred to as device numbers”).
Subsequently, the user assigns virtual volumes, each configured in association with a logical device in the external storage apparatus, with the device numbers for their corresponding logical devices so that the external storage apparatus device configuration recognized by the host apparatus based on the generation information, and the virtual device configuration in the internal storage apparatus perfectly correspond to each other. Then, a logical path, which is a logical communication channel, is formed between each of the virtual volumes in the internal storage apparatus, and a corresponding logical device in the external storage apparatus.
In this case, in a conventional storage apparatus having the aforementioned external connectability, it is necessary to manually set corresponding device numbers for the virtual volumes in the internal storage apparatus, or configure logical paths between these virtual volumes and the corresponding logical devices in the external storage apparatus; which is problematic in that a large workload will be imposed on the system administrator to perform the pre-settings for external connection.
Also, in a conventional storage apparatus having the aforementioned external connectability, when there is an error in setting the correspondence between the virtual volumes in an internal storage apparatus and the logical devices in an external storage apparatus, for example, one where data that should be stored in a first logical device is stored in a second logical device, not the first logical device, this causes a problem in that data originally stored in the second logical device may be destroyed by the writing of that data.
The present invention has been made in consideration of the above points, and an object of the present invention is to provide a highly-reliable storage system, virtualization method, and storage apparatus that are less burdensome settings-wise, capable of: first, omitting pre-settings for external connection; and second, preventing the occurrence of data destruction caused by errors in logical path settings.
In order to achieve the above object, the present invention provides a storage system provided with an internal apparatus between a host apparatus and an external apparatus that provides one or more logical devices for storing data, the one or more logical devices provided by the external apparatus being virtualized by the internal apparatus, the storage system including: upon a channel connected to the internal apparatus coming on-line, the host apparatus sending a predetermined inquiry command to all logical devices defined as being connected the channel via the channel; and the internal apparatus: recognizing the logical devices defined in the host apparatus as being connected to the channel, based on the inquiry command sent from the host apparatus, detecting one or more logical devices, from among the logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, based on the recognition result, and setting, based on the detection result, one or more virtual volumes in its own apparatus, respectively corresponding to the one or more logical devices, from among the one or more logical volumes defined in the host apparatus as being connected to the channel, that exist in the external apparatus, and also sets a first logical path between each of the set one or more virtual volumes and each of the corresponding one or more logical devices existing in the external apparatus.
In a storage system with the above configuration, the setting of a virtual volume in an internal apparatus, and the setting of a logical path between the virtual volume and its corresponding logical device in an external apparatus are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by any error in the settings.
The preset invention also provides a logical device virtualization method for a storage system provided with an internal apparatus between a host apparatus and an external apparatus that provides one or more logical devices for storing data, the one or more logical devices provided by the external apparatus being virtualized by the internal apparatus, the method including: a first step of, when a channel connected to the internal apparatus comes on-line, the host apparatus sending a predetermined inquiry command to all logical devices defined as being connected to the channel via the channel; a second step of the internal apparatus recognizing the logical devices defined in the host apparatus as being connected to the channel, based on the inquiry command sent from the host apparatus; a third step of the internal apparatus detecting one or more logical devices, from among the logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, based on the recognition result; and a fourth step of the internal apparatus setting, based on the detection result, one or more virtual volumes in its own apparatus, respectively corresponding to the one or more logical devices, from among the logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, and also setting a first logical path between each of the set one or more virtual volumes and each of the corresponding one or more logical devices existing in the external apparatus.
According to the above virtualization method, the setting of a virtual volume in an internal apparatus, and the setting of a logical path between the virtual volume and its corresponding logical device in an external apparatus are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by any error in the settings.
The present invention further provides a storage apparatus provided between a host apparatus and an external storage apparatus that provides one or more logical devices for storing data, the storage apparatus virtualizing the one or more logical devices provided by the external apparatus, the storage apparatus including: a logical device recognition unit that, when the host apparatus sends a predetermined inquiry command to all logical devices defined as being connected to a channel connected to the storage apparatus via the channel upon the channel coming on-line, recognizes the one or more logical devices defined in the host apparatus as being connected to the channel, based on the inquiry command sent from the host apparatus; a device detection unit that detects one or more logical devices, from among the one or more logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, based on the recognition result; and a logical path setting unit that sets, based on the detection result, one or more virtual volumes in its own apparatus, respectively corresponding to the one or more logical devices defined in the host apparatus as being connected to the channel, that exist in the external apparatus, and also sets a first logical path between each of the set one or more virtual volumes and each of the corresponding one or more logical devices existing in the external apparatus.
In a storage apparatus with the above configuration, the setting of a virtual volume in an internal apparatus, and the setting of a logical path between the virtual volume and its corresponding logical device in an external apparatus are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by any error in the settings.
The present invention makes it possible to provide a highly-reliable storage system, virtualization method, and storage apparatus that are less burdensome settings-wise.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating the configuration of a storage system according to an embodiment of the present invention.
FIG. 2 is a conceptual diagram provided to explain the setting of a path between a host apparatus and an external storage apparatus when the host apparatus is an open apparatus.
FIG. 3 is a conceptual diagram provided to explain the setting of a path between a host apparatus and an external storage apparatus when the host apparatus is a mainframe apparatus.
FIG. 4 is a flowchart showing a path setting procedure.
FIG. 5 is a flowchart showing a path setting procedure.
FIG. 6 is a conceptual diagram provided to explain a “Device Characteristic Information” command.
FIG. 7A and FIG. 7B are conceptual diagrams provided to explain path setting processing.
FIG. 8 is a conceptual diagram provided to explain path setting processing.
FIG. 9 is a conceptual diagram provided to explain path setting processing.
FIG. 10 is a conceptual diagram provided to explain path setting processing.
FIG. 11 is a conceptual diagram provided to explain path setting processing.
FIG. 12 is a conceptual diagram provided to explain path setting processing.
FIG. 13 is a conceptual diagram provided to explain path setting processing.
FIG. 14 is a conceptual diagram provided to explain path setting processing.
FIG. 15 is a conceptual diagram provided to explain path setting processing.
FIG. 16 is a conceptual diagram provided to explain path setting processing.
FIG. 17 is a conceptual diagram provided to explain path setting processing.
FIG. 18 is a conceptual diagram provided to explain path setting processing.
FIG. 19 is a conceptual diagram provided to explain path setting processing.
FIG. 20 is a conceptual diagram provided to explain path setting processing.
FIG. 21A, FIG. 21B and FIG. 21C are conceptual diagrams provided to explain error processing during path setting processing according to a second embodiment.
FIG. 22 is a conceptual diagram provided to explain error processing during path setting processing according to the second embodiment.
FIG. 23 is a conceptual diagram provided to explain another embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
An embodiment of the present invention is described below with reference to the drawings.
(1) Configuration of a Storage System According to an Embodiment of the Present Invention
In FIG. 1, reference numeral 1 indicates an entire storage system according to the embodiment. The storage system is configured by host apparatuses 2 being connected to an internal storage apparatus 4 via a network 3, and the internal apparatus 4 being connected to an external storage apparatus 5.
A host apparatus 2 is a mainframe computer apparatus having information processing resources, such as a CPU (central processing unit), and memory, etc. The host apparatus 2 executes the below-described processing by the CPU executing various control programs stored in the memory. The host apparatus 2 also has information input devices (not shown), such as a keyboard, a switch, a pointing device, a microphone, and information output device (not shown), such as a monitor display, and speaker.
The network 3 is configured of, for example, a SAN (Storage Area Network), a LAN (Logical Area Network), the Internet, and a public line or a dedicated line. Communication between the host apparatuses 2 and the internal apparatus 4 via the network 3 is performed according to Fibre Channel Protocol if the network 3 is a SAN, and according to TCP/IP (Transmission Control Protocol/Internet Protocol) if the network 3 is a LAN.
The internal storage apparatus 4 includes a plurality of disk devices 10A and a controller 11A that controls these disk devices 10A.
A disk device 10A may be an inexpensive disk drive such as an SCSI (Small Computer System Interface) disk, or an inexpensive disk such as a SATA (Serial AT Attachment) disk or optical disk. One or more disk devices 10A provide a storage area where one or more logical devices LDEV are defined. Data from a host apparatus 2 is stored in the logical devices LDEV.
The controller 11A includes a plurality of channel interfaces 20A, a CPU 21A, local memory 22A, a data transfer controller 23A, cache memory 24A, a disk interface 25A, and a maintenance management terminal 26A.
The channel interfaces 20A, each being an interface to the network 3, send/receive write data, data read from the disk devices 10A, and various commands to/from the host apparatuses 2. One of the plurality of channel interfaces 20A is connected as an external connection interface to the external storage apparatus 5 via a network such as a cable or a LAN, and sends/receives data and commands to/from the external storage apparatus 5.
The CPU 21A executes various processing including that relating to external connection, by executing a microprogram read from the disk devices 10A to the local memory 22A.
The local memory 22A is used as work memory for the CPU 21A. The data transfer controller 23A controls data transfer between the channel interfaces 21A and the disk interface 25A based on the control from the CPU 21A.
The cache memory 24A is used for temporarily storing data to be transferred between the channel interfaces 20A and the disk interface 25A. The cache memory 24A also stores system information read from system disks 10A when the internal storage apparatus 4 starts.
The disk interface 25A, which is an interface to the disk devices 10A, sends/receives write data, data read from the disk devices 10A, and various commands to/from the disk devices 10A according to, for example, Fibre Channel Protocol.
The maintenance management terminal 26A is a computer apparatus used for maintenance and management of the internal storage apparatus 4, and is, for example, a laptop personal computer. The maintenance management terminal 26A can monitor the internal storage apparatus 4 for any error occurring therein, and display the monitored status on a display screen (not shown), and can also order blocking of a disk device 10A based on an instruction from a host apparatus.
The external storage apparatus 5 has a similar configuration to the internal storage apparatus 4, as can be seen from FIG. 1, where the external storage apparatus 5's components are provided with the same reference numerals as those for the corresponding components in the internal storage apparatus 4—but with “A” instead of “B”. One of the channel interfaces 20B in the external storage apparatus 5 is connected to the external connection channel interface 20A in the internal storage apparatus 4, and the external storage apparatus 5 communicates with the internal storage apparatus 4 via this channel interface 20B.
(2) Logical Path Setting Function (2-1) Differences in Logical Path Settings Between an Open System and a Mainframe System
Next, a logical path setting function included in the internal storage apparatus 4 in the storage system 1 according to the embodiment of the present invention is explained below.
First, the differences in the method for setting a logical path for external connection between the internal storage apparatus 4 and the external storage apparatus 5 when the storage system 1 is an open system (a computer system made from a combination of software and hardware from various manufacturers), and when the storage system 1 is a mainframe system (a general-purpose computer apparatus used in a corporate core system), will be explained.
When a host apparatus 2 is an open apparatus, as shown in FIG. 2, control programs 30A and 30B (hereinafter referred to as LUN managers) installed in the internal storage apparatus 4 and the external storage apparatus 5 respectively, set a logical path between the host apparatus 2 and the internal storage apparatus 4, and a logical path between the internal storage apparatus 4 and the external storage apparatus 5, respectively.
Specifically, as shown in FIG. 2, the LUN managers 30A and 30B in the internal storage apparatus 4 and the external storage apparatus 5 respectively create and store tables 31A and 31B (hereinafter referred to as the “logical unit management tables”) in which a port ID (“Port ID”) for each port, ID for a host apparatus 2 (“HOST ID”) connected to the port, a LUN (“LUN”), which is an identification number for a virtual volume VVOL or logical volume VOL for which a logical path to the port is set, and the device type (“DKU Emulation”) of the relevant storage apparatus are associated with each other.
Here, in association with the LUN for each of logical volumes VOL the LUN manager 30B in the external storage apparatus 5 registers an identification number (CUN) for the control unit (the external storage apparatus 5) having the logical volume VOL, and an identification number (“LDEVN”) for the logical volume VOL when it is treated as a logical device LDEV in the logical unit management table 31B, to manage that information.
Here, as with the LUN manager 30B in the external storage apparatus 5, the LUN manager 30A in the internal storage apparatus 4 also creates and stores the logical unit management table 31A in which a port ID (“Port ID”) for each port, ID for a host apparatus 2 (“HOST ID”) connected to the port, a LUN (“LUN”), which is an identification number for a virtual volume VVOL for which a logical path to the port is set, an identification number for a control unit having a logical volume VOL corresponding to the virtual volume VVOL (“CUN”; hereinafter referred to as the “control unit number”), an identification number for a logical volume VOL corresponding to each virtual volume when it is treated as a logical device LDEV, and the device type (“DKU Emulation”) of the relevant storage apparatus are associated with each other.
However, in an open system, an LUN is used to designate a virtual volume VVOL or a logical volume VOL between the host apparatus 2, the internal storage apparatus 4, and the external storage apparatus 5, and therefore, the LUN manager 30A in the internal storage apparatus 4 can set unique numbers for a control unit number (“CUN”) and a logical device number (“LDEVN”) for each virtual volume VVOL in the logical unit management table 31A.
The host apparatus 2 searches for a virtual volume VVOL set by the LUN manager 30A in the internal storage apparatus 4, and assigns a device name to the detected virtual volume VVOL to access the same. In this case, if the host apparatus 2 is an open apparatus, it does not manage generation information relating to the logical volumes VOL connected to each channel. It also does not manage the logical volumes VOL connected to each channel, using control unit numbers and logical device numbers.
Meanwhile, if the host apparatus 2 is a mainframe apparatus, as shown in FIG. 3, a system administrator sets a logical path between a virtual volume VVOL in the internal storage apparatus 4 and a logical device LDEV in the external storage apparatus 5.
More specifically, the system administrator creates generation information 32 in which ID for each channel (“Channel ID”), a control unit number (“CUN”) for the control unit (the external storage apparatus 5) connected to the channel, a logical device number (“LDEVN”) for each logical device LDEV in the control unit, an identification number (HOST Address) recognized by the host apparatus 2 for each logical device LDEV, and the internal storage apparatus 4's device type (“DKU Emulation”) are associated with each other, and makes the host apparatus 2 store that information.
For example, generation information 32 shown in FIG. 3 indicates that a channel with a channel ID “0A” is connected to a control unit with a control unit number “00” (external storage apparatus 5), that the control unit contains logical devices LDEV with logical device numbers “01,” “02,” “03,” “04” and “0F,” that these logical devices LDEV are managed by the host apparatus 2 with addresses “1000,” “1001,” “1002,” “1003,” and “100F,” respectively, and that the device type for each of these logical devices LDEV is “33903-3.”
The system administrator sets virtual volumes VVOL in the internal storage apparatus 4 in association with the logical devices LDEV in the external storage apparatus 5 that are defined in the generation information in the host apparatus 2, assigns these virtual volumes VVOL with device numbers for the corresponding logical devices LDEV (a device number is the combination of a control unit number and a logical device number), and also sets a logical path between each virtual volume VVOL and the corresponding logical device LDEV in the external storage apparatus 5.
In this case, in the mainframe system, a device number is used to designate a logical device LDEV between the host apparatus 2, the internal storage apparatus 4 and the external storage apparatus 5, and therefore, it is necessary for the device numbers for the logical devices LDEV defined in the generation information in the host apparatus 2, those assigned to the virtual volumes in the internal storage apparatus 4, and those for the logical devices in the external storage apparatus 5 to correspond perfectly to each other. It is also necessary that the virtual volumes VVOL in the internal storage apparatus 4 be respectively connected to the corresponding logical devices in the external storage apparatus 5 via the logical paths.
However, the setting of device numbers for the virtual volumes VVOL in the internal storage apparatus 4, and the setting of logical paths between the virtual volumes VVOL and the logical devices LDEV are performed by human labor, so there are problems in that workers will have large workloads, and that trouble, such as data destruction, may occur due to any setting errors.
Therefore, in the storage system 1 according to the embodiment of the present invention, the internal storage apparatus 4 recognizes device information contained in the generation information in the host apparatus 2, and based on the recognized device information, sets necessary virtual volumes VVOL and logical paths between these virtual volume VVOL and their corresponding logical devices in the external storage apparatus 5.
Next, the logical path setting function included in the internal storage apparatus 4 will be detailed.
(2-2) Logical Path Setting Processing
FIG. 4 and FIG. 5 each are flowcharts showing a sequence of processes performed by the CPU 21A in the internal storage apparatus 4 in relation to the logical path setting function. The CPU 21A in the internal storage apparatus 4, triggered by the host apparatus 2's execution of on-line processing for making a channel connected to its own storage apparatus come on-line, executes a path setting procedure RT1 shown in FIG. 4 and FIG. 5 based on the microprogram stored in the local memory 22A.
In other words, the host apparatus 2, upon a channel connected to the internal storage apparatus 4 (its channel ID is “0A”) coming on-line, sends a “Device Characteristics Information” command to each of the logical devices connected to the channel with the channel ID “0A” based on the generation information 32 described above with reference to FIG. 3.
The “Device Characteristics Information” command is an inquiry command to seek information on the configuration of the destination device, and as shown in FIG. 6, has fields 40A, 40B, 40C, 40D, . . . for respectively storing different information such as control unit type information (“Storage director type”) indicating the type of host apparatuses 2 that can access the logical device LDEV, control unit model information (“Storage director model information”), which is detailed information on the control unit type information, device type information (“Device type”) indicating the logical device LDEV type, and device model information (“Device model”), which is information incidental to the device type information. Here, the “Device Characteristics Information” command is sent from the host apparatus 2 to each of the logical devices LDEV when no information corresponding to the fields 40A to 40D, . . . is stored.
Thus, if the destination for the “Device Characteristics Information” command, that is, a logical device LDEV recognized by the host apparatus 2 as being connected to the channel, exists in the internal storage apparatus 4, the logical device LDEV sends a response that contains relevant information stored in each of the fields 40A to 40D in the “Device Characteristics Information” command to the host apparatus 2.
Consequently, the CPU 21A in the internal storage apparatus 4, based on the logical device LDEV's response to the “Device Characteristics Information” command, recognizes the device numbers for the devices recognized by the host apparatus 2 as being connected to the channel, that exists in the internal storage apparatus 4 (hereinafter, it is assumed that only the logical device LDEV with a device number “00:0F” in FIG. 7 applies) as shown in FIGS. 7A and 7B (SP1).
Meanwhile, when no destination for the “Device Characteristics Information” command, that is, no logical device LDEV recognized by the host apparatus 2 as being connected to the channel, exists in the internal storage apparatus 4, there is no response to that command.
Consequently, the CPU 21A in the internal storage apparatus 4 recognizes devices recognized by the host apparatus 2 as being connected to the channel, that do not exist in the internal storage apparatus 4 (hereinafter, it is assumed that the logical devices LDEV with the device numbers “00:00” to “00:03” in FIG. 7 apply) as show in FIG. 7 (SP1).
The CPU 21A recognizes the host apparatus 2 type at step SP1 based on the host apparatus 2's vendor name obtained when link-initialization processing is performed when connecting its own storage apparatus (the internal storage apparatus 4) and the host apparatus 2 (SP1).
Subsequently, the CPU 21A, as shown in FIG. 8, executes link-initialization processing for an “Initiator” port (a port that issues directions) in the channel interface 20A (FIG. 1) connected to the external storage apparatus 5, and as shown in FIG. 9, recognizes the port ID for the internal storage apparatus 4 (“1A” in the example of FIG. 9), the port ID for the external storage apparatus 5 (“1B” in the example of FIG. 9), and the manufacture number for the external storage apparatus 5 (“12345” in the example of FIG. 9) (SP2).
Then, the CPU 21A provides the external storage apparatus 5 with the same control unit number as the one recognized at step SP1 based on the port ID for its own storage apparatus (the internal storage apparatus 4), the port ID for the external storage apparatus 5, and the manufacture number for the external storage apparatus 5 obtained at step SP2 to establish a logical path to the external storage apparatus 5 (SP3).
Next, the CPU 21A, as shown in FIG. 10, selects all the logical devices LDEV (“00:00” to “00:0F”) recognized by the host apparatus 2 at step SP1 as being connected to the channel, recognized by the CPU 21A at step SP1 (SP4), and as shown in FIG. 11, sends a “Device Characteristics Information” command to the selected logical devices LDEV via the logical path established at step SP3 (SP5).
Each of the logical devices LDEV in the external storage apparatus 5 (the logical devices LDEV that are the destinations for the “Device Characteristics Information” command), upon receipt of the “Device Characteristics Information” command, stores information relevant to its own device in the respective fields 40A to 40D, . . . in the “Device Characteristics Information” command, and then returns that command to the internal storage apparatus 4 via the logical path established at step SP3.
When no destinations for the “Device Characteristics Information” command, that is, no logical devices LDEV recognized by the host apparatus 2 as being connected to the channel, exist in the external storage apparatus 5, the external storage apparatus 5 sends a “Device Level Exception” notice, which is a notice informing that no such logical devices LDEV exist, to the external storage apparatus 4 via the logical path established at SP3.
Meanwhile, as shown in FIG. 12, the CPU 21A in the internal storage apparatus 4, based on the “Device Characteristic Information” commands returned from the external storage apparatus 5, judges the logical devices LDEV, from among those selected at step SP4, that returned the “Device Characteristic Information” command as existing in the external storage apparatus 5, and the logical devices LDEV that did not return the “Device Characteristic Information” command as not existing in the external storage apparatus 5. For the logical devices LDEV judged as existing in the external storage apparatus 5, the CPU 21A recognizes the device types for each of these logical devices LDEV based on the “Device Characteristics Information” commands returned from the logical devices LDEV (SP6).
Subsequently, the CPU 21A compares the logical devices LDEV recognized by the host apparatus 2 as being connected to the host apparatus 2, recognized by the CPU 21 at step SP1, and the logical devices LDEV recognized at step SP6 as existing in the external storage apparatus 5 to judge whether all of the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel exist in the external storage apparatus 5 (SP7).
Then, as shown in FIG. 13 and FIG. 14, the CPU 21A, if it is judged that all of the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel exist in the external storage apparatus 5, obtains device configuration information, which is information relating to logical devices LDEV existing in its own storage apparatus, stored in the local memory 22A (SP8).
The CPU 21A, based on the obtained device configuration information for its own apparatus, judges whether any logical devices LDEV (including virtual volumes VVOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 already exist in the internal apparatus 4 (SP9).
A negative result at that judgment, as shown in FIG. 15, means that no logical devices LDEV (including virtual volumes VVOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal apparatus 4.
Therefore, the CPU 21A selects the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel as virtualization objects
(SP10), and then sets virtual volumes VVOL having the same device numbers as the selected logical devices LDEV in its own storage apparatus (SP16). Subsequently, the CPU 21A sets a logical path between each of the virtual volumes VVOL set as above, and each of the corresponding logical volumes LDEV in the external storage apparatus 5, and then ends the processing.
Meanwhile, an affirmative result in the judgment at step SP9, as shown in FIG. 16, means that logical devices LDEV (including virtual volumes VVOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal apparatus 4.
Therefore, the CPU 21A then makes the maintenance management terminal 26A (FIG. 1) display a warning to the effect that logical devices LDEV with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal apparatus 4 (SP14). Then the CPU 21A ends the processing.
When the CPU 21A judges at step SP7 that not all of the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel exist in the external storage apparatus 5 as shown in FIG. 17 and FIG. 18, it recognizes the logical devices recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 (SP11).
The CPU 21A then obtains device configuration information for its own storage apparatus (the internal storage apparatus 4) stored in the local memory 22A like in the above step SP8 (SP12)
The CPU 21A judges whether any logical devices LDEV (including virtual volumes WOL) with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in the internal storage apparatus 4, based on the results of step SP11 and step SP12 (SP13).
A negative result at this judgment, as show in FIG. 19, means that no logical devices LDEV with the same device numbers as the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 exist in its own storage apparatus.
Consequently, the CPU 21A selects the logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 as virtualization objects (SP15), and sets virtual volumes VVOL each having the same device numbers as each of the selected virtualization object logical devices LDEV in its own storage apparatus (SP16). Then, the CPU 21A sets a logical path between each of the virtual volumes set as above, and each of the corresponding logical devices LDEV, and then ends the processing.
Meanwhile, an affirmative result in the judgment at step SP13, as shown in FIG. 20, means that logical device(s) LDEV (including virtual volumes WOL) with the same device numbers as logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 already exist in the internal storage apparatus 4.
Therefore, the CPU 21A then makes the maintenance management terminal 26A (FIG. 1) display a warning to the effect that logical devices LDEV with the same device numbers as logical devices LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 already exist in the internal storage apparatus 4 (SP14). Then the CPU 21A ends the processing.
(2-3) Effect of the Embodiment
In the above-described configuration, the CPU 21A in the internal storage apparatus 4 recognizes the logical devices LDEV recognized by a host apparatus 2 as being connected to a channel connected to the internal storage apparatus 4, and also ones, from among those logical devices LDEV, that exist in its own storage apparatus, based on “Device Characteristics Information” commands sent from the host apparatus 2 when the channel is brought on-line.
The CPU 21A also recognizes the relevant logical devices LDEV that exist in the external storage apparatus 5, based on the responses to the “Device Characteristics Information” commands obtained by sending the “Device Characteristics Information” commands to the external storage apparatus 5. The CPU 21A then sets virtual volume VVOL in its own storage apparatus based on the recognition results, and also sets a logical path between each of these virtual volumes VVOL and each of the corresponding logical volumes in the external storage apparatus 5.
Accordingly, in the storage system 1, the setting of virtual volumes in the internal storage apparatus 4, and the setting of a logical path between each of the virtual volumes and each of the corresponding logical devices in the external storage apparatus 5 are performed without human labor, making it possible to omit system administrator workload for these settings, and also to prevent the occurrence of data destruction caused by an error in the settings. Consequently, it is possible to obtain a highly-reliable storage system that is less burdensome settings-wise.
(2) Second Embodiment
Virtual volumes having the same device numbers as logical devices existing in the external storage apparatus 5 cannot be set in the internal storage apparatus 4 when an affirmative result has been obtained in the judgment at step SP9 in the path setting procedure RT1, or when a negative result has been obtained in the judgment at step SP13 in FIG. 4 and FIG. 5. Therefore, in this case, virtual volumes VVOL will be set in the internal storage apparatus 4 with device numbers different from those for the logical devices LDEV (including virtual volumes VVOL) already existing in the internal storage apparatus provided.
However, in that case, it is necessary to update generation information in the host apparatus 2 according to the device numbers assigned to the set virtual volumes VVOL, which may cause trouble with input errors in the update.
Therefore, in a storage system 50 (FIG. 1) according to a second embodiment of the present invention, as shown in FIG. 21A, it is possible to separately manage logical devices LDEV (including virtual volumes VVOL) having the same device number by adding an ID (hereinafter referred to as “device number ID”) to each of the logical devices LDEV (including virtual volumes VVOL) in the internal storage apparatus 4.
In this case, as shown in FIG. 21B, the device IDs are managed on a port basis. In other words, as shown in FIG. 22, only access from the relevant port, which differs from device number ID to device number ID, is allowed. This is for preventing confusion in the management of logical devices LDEV having the same device number by separating those logical devices according to their respective accessible ports, because already-defined logical devices LDEV having the same device number may be used by another host apparatus 2.
The CPU 21A in the internal storage apparatus 51 (FIG. 1) according to the second embodiment, when an affirmative result has been obtained at step SP9 in the path setting procedure RT1, or when a negative result has been obtained at step SP13 in FIG. 4 and FIG. 5, that is, when any logical device LDEV (including a virtual volume VVOL) having the same device number as a logical device in the external storage apparatus 5 is already set in the internal storage apparatus 4, switches the port for the logical path then connected to the host apparatus 2 to another port (in the example of FIG. 21(B), the port with the port number “00” is switched to the port with the port number “01”.)
The CPU 21A also creates a virtual volume VVOL corresponding to a logical volume LDEV in the external storage apparatus 5, providing the virtual volume with a device number ID “01”, and as shown in FIG. 21C, the logical device LDEV is mapped onto the virtual volume VVOL. Furthermore, the CPU 21A displays a warning to the effect that that switching of ports has been performed at step SP14 in the path setting procedure RT1.
Consequently, the user sets the host apparatus 2 to, when accessing a logical device LDEV already set in the internal storage apparatus 4, access the port with the port ID “00” in the internal storage apparatus 4, and when accessing a logical device LDEV set in the external storage apparatus 5 using the same device number as the logical device LDEV in the internal storage apparatus 4, access the port with the port ID “01” in the internal storage apparatus 4, ensuring that the host apparatus 2 can access the desired one from the logical device LDEV with the device number ID “00” and the logical device LDEV with the same device number and the device number ID “01”.
As described above, in the storage system 50 according to the second embodiment, a logical device LDEV in the internal storage apparatus 4 is managed with a device number ID added to its device number, and a different port is set for each device number ID, making device number ID-based access to a virtual volume VVOL possible, and therefore, even when the device number for a logical device LDEV recognized by the host apparatus 2 as being connected to the channel and existing in the external storage apparatus 5 is identical to the device number for a logical device LDEV already existing in the internal storage apparatus 4 in the path setting processing described with reference to FIG. 4 and FIG. 5, these logical devices LDEV can be managed separately.
(3) Other Embodiments
The above-described embodiments relate to the case where the internal storage apparatus 4 and the external storage apparatus 5 are directly connected to each other. However, the present invention is not limited to these embodiments, and can apply to the case where the internal storage apparatus 4 and the external storage apparatus 5 are connected via a switch 60. However, in this case, it is necessary to set a link address in the switch 60 to set a logical path between each of the virtual volumes VVOL in the internal storage apparatus 4 and the corresponding logical devices LDEV in the external storage apparatus 5.
The above-described embodiments relate to the case where a CPU 21A includes: a logical device recognition unit that recognizes one or more logical devices LDEV defined in a host apparatus 2 as being connected to a channel; a logical device detection unit that detects one or more logical devices LDEV existing in the external storage apparatus 5 from among the one or more logical devices LDEV defined in the host apparatus 2 as being connected to the channel; and a logical path setting unit that sets, based on the detection result, one or more virtual volumes VVOL in its own storage apparatus 4, respectively corresponding to the one or more logical devices existing in the external storage apparatus 5 from among the one or more logical devices LDEV defined in the host apparatus 2 as being connected to the channel, and sets a logical path between each of the set one or more virtual volumes VVOL and each of the corresponding one or more logical devices existing in the external storage apparatus 5. However, the present invention is not limited to these embodiments, and the logical device recognition unit, the logical device detection unit, and the logical path setting unit may be provided separately.
The present invention can be applied to a wide range of storage apparatuses with external connectability, and storage systems that include that storage apparatus as a component.

Claims (11)

1. A storage system comprising:
an internal storage apparatus that is connected to a host apparatus and includes a first controller equipped with a first channel interface, and a plurality of first disk devices constituting a plurality of internal logical devices; and
an external storage apparatus that is connected to the internal storage apparatus and includes a second controller equipped with a second channel interface, and a plurality of second disk devices constituting a plurality of external logical devices virtualized by the internal storage apparatus and provided to the host apparatus;
wherein when receiving an inquiry command from the host apparatus to a plurality of logical devices which are recognized by the host apparatus as being set to the first channel interface, the first controller recognizes a first device number of a first internal logical device included in the plurality of logical devices from among the plurality of internal logical devices;
the first controller sends the inquiry command to the external storage apparatus and recognizes a second device number of a first external logical device included in the plurality of logical devices from among the plurality of external logical devices;
the first controller compares a device number of the first internal logical device with a device number of the first external logical device; and
if the first device number of the first internal logical device is different from the second device number of the first external logical device, the first controller sets a virtual volume including the second device number to the internal storage apparatus.
2. The storage system according to claim 1, wherein if the first device number of the first internal logical device is identical to the second device number of the first external logical device, a warning that a logical device with the same device number already exists in the internal storage apparatus is displayed.
3. The storage system according to claim 1, wherein the first controller sets a logical path between the set virtual volume and the first external logical device.
4. The storage system according to claim 1, wherein the first controller recognizes the first device number of the first internal logical device included in the plurality of logical devices from among the plurality of the internal logical devices based on a response from the plurality of internal logical devices to the inquiry command received from the host apparatus.
5. The storage system according to claim 4, wherein the first controller recognizes the second device number of the first external logical device included in the plurality of logical devices from among the plurality of external logical devices based on a response from the plurality of external logical devices to the inquiry command sent to the external storage apparatus.
6. The storage system according to claim 1, wherein the inquiry command is a command for inquiring configuration information about the plurality of logical devices recognized by the host apparatus as being set to the first channel interface.
7. A method for managing a storage system including: an internal storage apparatus that is connected to a host apparatus and includes a first controller equipped with a first channel interface, and a plurality of first disk devices constituting a plurality of internal logical devices; and an external storage apparatus that is connected to the internal storage apparatus and includes a second controller equipped with a second channel interface, and a plurality of second disk devices constituting a plurality of external logical devices virtualized by the internal storage apparatus and provided to the host apparatus;
the storage system management method comprising:
a first step executed, when receiving an inquiry command from the host apparatus to a plurality of logical devices which are recognized by the host apparatus as being set to the first channel interface, by the first controller recognizing a first device number of a first internal logical device included in the plurality of logical devices from among the plurality of internal logical devices;
a second step executed by the first controller sending the inquiry command to the external storage apparatus and recognizing a second device number of a first external logical device included in the plurality of logical devices from among the plurality of external logical devices; and
a third step executed by the first controller comparing a device number of the first internal logical device with a device number of the first external logical device; and if the first device number of the first internal logical device is different from the second device number of the first external logical device, setting a virtual volume including the second device number to the internal storage apparatus.
8. The management method according to claim 7, further comprising a fourth step executed, if the first device number of the first internal logical device is identical to the second device number of the first external logical device, by the first controller displaying a warning that a logical device with the same device number already exists in the internal storage apparatus.
9. The management method according to claim 7, wherein in the third step, the first controller sets a logical path between the set virtual volume and the first external logical device.
10. The management method according to claim 7, wherein in the first step, the first controller recognizes the first device number of the first internal logical device included in the plurality of logical devices from among the plurality of the internal logical devices based on a response from the plurality of internal logical devices to the inquiry command received from the host apparatus.
11. The management method according to claim 7, wherein in the second step, the first controller recognizes the second device number of the first external logical device included in the plurality of logical devices from among the plurality of external logical devices based on a response from the plurality of external logical devices to the inquiry command sent to the external storage apparatus.
US13/212,616 2006-02-17 2011-08-18 Virtualization method and storage apparatus for a storage system having external connectivity Expired - Fee Related US8103828B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/212,616 US8103828B2 (en) 2006-02-17 2011-08-18 Virtualization method and storage apparatus for a storage system having external connectivity

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2006040255A JP4819521B2 (en) 2006-02-17 2006-02-17 Storage system, virtualization method, and storage apparatus
JP2006-040255 2006-02-17
US11/400,272 US7685361B2 (en) 2006-02-17 2006-04-10 Virtualization method and storage apparatus for a storage system having external connectivity
US12/707,547 US8010744B2 (en) 2006-02-17 2010-02-17 Virtualization method and storage apparatus for a storage system having external connectivity
US13/212,616 US8103828B2 (en) 2006-02-17 2011-08-18 Virtualization method and storage apparatus for a storage system having external connectivity

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/707,547 Continuation US8010744B2 (en) 2006-02-17 2010-02-17 Virtualization method and storage apparatus for a storage system having external connectivity

Publications (2)

Publication Number Publication Date
US20110302370A1 US20110302370A1 (en) 2011-12-08
US8103828B2 true US8103828B2 (en) 2012-01-24

Family

ID=37969820

Family Applications (3)

Application Number Title Priority Date Filing Date
US11/400,272 Expired - Fee Related US7685361B2 (en) 2006-02-17 2006-04-10 Virtualization method and storage apparatus for a storage system having external connectivity
US12/707,547 Expired - Fee Related US8010744B2 (en) 2006-02-17 2010-02-17 Virtualization method and storage apparatus for a storage system having external connectivity
US13/212,616 Expired - Fee Related US8103828B2 (en) 2006-02-17 2011-08-18 Virtualization method and storage apparatus for a storage system having external connectivity

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US11/400,272 Expired - Fee Related US7685361B2 (en) 2006-02-17 2006-04-10 Virtualization method and storage apparatus for a storage system having external connectivity
US12/707,547 Expired - Fee Related US8010744B2 (en) 2006-02-17 2010-02-17 Virtualization method and storage apparatus for a storage system having external connectivity

Country Status (3)

Country Link
US (3) US7685361B2 (en)
EP (1) EP1821187A3 (en)
JP (1) JP4819521B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4819521B2 (en) * 2006-02-17 2011-11-24 株式会社日立製作所 Storage system, virtualization method, and storage apparatus
JP2007310656A (en) * 2006-05-18 2007-11-29 Hitachi Ltd Computer system and logical path difference detection method
KR101478619B1 (en) 2008-02-27 2015-01-06 삼성전자주식회사 Method and Apparatus of Inputting/Outputting Data Using Virtualization Technique
US8244924B2 (en) * 2010-06-24 2012-08-14 International Business Machines Corporation Discovery and configuration of device configurations
US8738854B2 (en) 2010-09-03 2014-05-27 Hitachi, Ltd. Storage apparatus and control method of storage apparatus
US8782354B2 (en) * 2011-06-07 2014-07-15 Hitachi, Ltd. Storage apparatus and method of controlling storage apparatus
US20130151888A1 (en) * 2011-12-12 2013-06-13 International Business Machines Corporation Avoiding A Ping-Pong Effect On Active-Passive Storage
US9052839B2 (en) * 2013-01-11 2015-06-09 Hitachi, Ltd. Virtual storage apparatus providing a plurality of real storage apparatuses
CN105183580A (en) * 2014-06-06 2015-12-23 西安中兴新软件有限责任公司 Storage method and fault recovery method for bootstrap program, and devices

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1117028A2 (en) 2000-01-14 2001-07-18 Hitachi, Ltd. Security method and system for storage subsystem
US20030229645A1 (en) 2002-06-06 2003-12-11 Hitachi, Ltd. Data mapping management apparatus
US20050071559A1 (en) 2003-09-29 2005-03-31 Keishi Tamura Storage system and storage controller
US20050120174A1 (en) 2003-11-28 2005-06-02 Ikuo Uratani Disk array apparatus, and method for controlling the same
US20050120172A1 (en) 2003-11-27 2005-06-02 Satoru Ozaki Storage system, storage control device, and data relay method using storage control device
US20060010341A1 (en) 2004-07-09 2006-01-12 Shoji Kodama Method and apparatus for disk array based I/O routing and multi-layered external storage linkage
US7685361B2 (en) 2006-02-17 2010-03-23 Hitachi, Ltd. Virtualization method and storage apparatus for a storage system having external connectivity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4128641B2 (en) * 1997-10-13 2008-07-30 株式会社東芝 Data backup method
JP2004126963A (en) * 2002-10-03 2004-04-22 Hitachi Ltd Information processor and setting method
JP4485875B2 (en) * 2004-07-28 2010-06-23 株式会社日立製作所 Storage connection changing method, storage management system and program

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1117028A2 (en) 2000-01-14 2001-07-18 Hitachi, Ltd. Security method and system for storage subsystem
US6684209B1 (en) 2000-01-14 2004-01-27 Hitachi, Ltd. Security method and system for storage subsystem
US20030229645A1 (en) 2002-06-06 2003-12-11 Hitachi, Ltd. Data mapping management apparatus
JP2004013454A (en) 2002-06-06 2004-01-15 Hitachi Ltd Data mapping management device
US20050071559A1 (en) 2003-09-29 2005-03-31 Keishi Tamura Storage system and storage controller
US20050120172A1 (en) 2003-11-27 2005-06-02 Satoru Ozaki Storage system, storage control device, and data relay method using storage control device
JP2005157867A (en) 2003-11-27 2005-06-16 Hitachi Ltd Storage system, storage controller, and method for relaying data using storage controller
US20050120174A1 (en) 2003-11-28 2005-06-02 Ikuo Uratani Disk array apparatus, and method for controlling the same
JP2005165444A (en) 2003-11-28 2005-06-23 Hitachi Ltd Disk array device and method for controlling it
EP1548563A1 (en) 2003-11-28 2005-06-29 Hitachi Ltd. Disk array apparatus, and method for controlling the same
US20060010341A1 (en) 2004-07-09 2006-01-12 Shoji Kodama Method and apparatus for disk array based I/O routing and multi-layered external storage linkage
JP2006024215A (en) 2004-07-09 2006-01-26 Hitachi Ltd Method and apparatus for connecting multi-layered external storage device and disk array based input and output routine
US7685361B2 (en) 2006-02-17 2010-03-23 Hitachi, Ltd. Virtualization method and storage apparatus for a storage system having external connectivity

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"dpANS SCSI Primary Commands-3 (SPC-3)-Project T10/1416-D-Revision 23-Par. 6.4 Inquiry command", Internet Citation, May 4, 2005 (Online), XP002425739.
Extended European Search Report, dated Jul. 7, 2009.
Japanese Patent Office office action on application No. 2006-040255 dated Apr. 19, 2011; 2 pages.

Also Published As

Publication number Publication date
US8010744B2 (en) 2011-08-30
US20070198800A1 (en) 2007-08-23
US7685361B2 (en) 2010-03-23
US20100146208A1 (en) 2010-06-10
US20110302370A1 (en) 2011-12-08
EP1821187A2 (en) 2007-08-22
JP2007219877A (en) 2007-08-30
JP4819521B2 (en) 2011-11-24
EP1821187A3 (en) 2009-08-05

Similar Documents

Publication Publication Date Title
US8103828B2 (en) Virtualization method and storage apparatus for a storage system having external connectivity
US6931440B1 (en) Method and apparatus for dynamically determining whether access to a resource connected to a computer has changed and determining how to access the resource with a new identifier
US6240511B1 (en) Method and apparatus for detecting system configuration changes
US8161487B2 (en) Controller for controlling a plurality of logical resources of a storage system
US7734712B1 (en) Method and system for identifying storage devices
US6816917B2 (en) Storage system with LUN virtualization
US8819374B1 (en) Techniques for performing data migration
US7437424B2 (en) Storage system
US8027263B2 (en) Method to manage path failure threshold consensus
US20060143332A1 (en) Storage system and method of storage system path control
US20120246345A1 (en) Techniques for indicating a passive state for a device
US7139871B2 (en) Method of managing storage system to be managed by multiple managers
US8086768B2 (en) Storage system and control method of storage system
US20100235592A1 (en) Date volume migration with migration log confirmation
JP2012507766A (en) Retention of storage area network (“SAN”) access during operating system migration
US7117331B2 (en) Storage control system
US9047122B2 (en) Integrating server and storage via integrated tenant in vertically integrated computer system
US7478267B2 (en) Access control device and interface installed in same
CN101815036A (en) Method and device for realizing access control
US6981170B2 (en) Control method of storage control apparatus and storage control apparatus
US7406578B2 (en) Method, apparatus and program storage device for providing virtual disk service (VDS) hints based storage
US6842810B1 (en) Restricted access devices
US20130167206A1 (en) Storage system, method of controlling access to storage system and computer system
JP2006134049A (en) Device and method generating logic path between connection part of controller connected with host device and storage device equipped by the controller

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20200124