WO2016117019A1 - Storage system and method for controlling virtual storage device - Google Patents

Storage system and method for controlling virtual storage device Download PDF

Info

Publication number
WO2016117019A1
WO2016117019A1 PCT/JP2015/051320 JP2015051320W WO2016117019A1 WO 2016117019 A1 WO2016117019 A1 WO 2016117019A1 JP 2015051320 W JP2015051320 W JP 2015051320W WO 2016117019 A1 WO2016117019 A1 WO 2016117019A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage device
port
physical
virtual
volume
Prior art date
Application number
PCT/JP2015/051320
Other languages
French (fr)
Japanese (ja)
Inventor
悦太郎 赤川
山本 彰
晋広 牧
智大 川口
渡 岡田
中川 弘隆
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2015/051320 priority Critical patent/WO2016117019A1/en
Publication of WO2016117019A1 publication Critical patent/WO2016117019A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Definitions

  • the present invention generally relates to control of virtual storage devices.
  • Patent Document 1 discloses a technique for providing a virtual storage device by having a plurality of storage devices have the same identifier.
  • a host computer uses a storage area (hereinafter referred to as a volume) of a storage device
  • multiple paths for accessing the same volume from the same host computer are set. With this setting, even if a failure occurs in one path, the host computer can access through another path, so that the availability can be increased.
  • a program for switching paths when there are multiple paths for accessing the same volume from the same host computer is called an alternate path program.
  • the host computer recognizes a volume for each path, even if the same volume is different, the host computer recognizes it as a different volume.
  • the alternate path program a list of IDs of volumes that can be accessed by the host computer is acquired, and paths for volumes having the same ID are managed as groups of paths that can be alternated. Since it can be recognized as one path, the host computer can access one volume with one path.
  • the alternate path program is provided for each storage device vendor. For this reason, the ID of the volume of the storage device provided by the same vendor must be unique not only for the volume in the same storage device but also for the volumes of all storage devices of the same vendor. Therefore, according to the alternate path program, based on a combination of an ID uniquely assigned to the storage device (hereinafter referred to as device ID) and an ID uniquely generated within the storage device for the volume (hereinafter referred to as LDEV ID). To identify the volume.
  • an ID generated by a combination of a device ID and an LDEV ID for each volume is referred to as a volume ID.
  • the port ID of the storage device used by the path is used to specify the path included in the path group.
  • the port ID generally uses WWN (World Wide Name).
  • a port position indicating a position mounted on the storage apparatus is assigned to each port of the storage apparatus.
  • a virtual port position (hereinafter referred to as a virtual port position) is assigned to each virtual storage device, so that the user management cost can be reduced (virtual port position).
  • Physical port position is sometimes referred to as “physical port position” for comparison with For example, when a virtual storage device corresponding to an old storage device is created in a new storage device, the port position used in the old storage device is virtually given separately from the port position of the new storage device. This eliminates the need for the user to change the port position setting. Even if such a virtual port position is set, the host computer specifies the path based on the port ID, and therefore can access the volume regardless of the setting of the virtual port position.
  • volume IDs, port IDs, and port positions are acquired by an alternate path program using a SCSI (Small Computer System Interface) information acquisition command (hereinafter referred to as Inquiry).
  • SCSI Small Computer System Interface
  • a single storage device is virtually provided by assigning the same device ID to a plurality of storage devices (a physical storage device is used for comparison with a virtual storage device).
  • a physical storage device is used for comparison with a virtual storage device.
  • physical storage device Sometimes referred to as “physical storage device”).
  • the volume is assigned a unique LDEV ID (hereinafter referred to as a virtual LDEV ID) within the virtual storage device (the physical LDEV ID is referred to as the “physical LDEV ID” for comparison with the virtual LDEV ID). ”).
  • a unique volume ID can be generated in all storage devices of the same vendor.
  • the device ID is managed by a vendor. For this reason, in order to generate a unique device ID in the storage system, an inquiry to the vendor is required. Therefore, there is a problem that it takes time to generate a unique device ID.
  • GUID globally unique identifier
  • the storage system has one or more physical storage devices.
  • Each of the one or more physical storage devices has a data port for communicating with an external device, a volume, and a control unit.
  • a device identifier indicating the virtual storage device is associated with the virtual storage device that logically includes the data port and the volume.
  • the device identifier of the virtual storage device is the same identifier as any one device identifier of the plurality of physical storage devices.
  • the device identifier of the virtual storage device is the same identifier as the device identifier of the migration source physical storage device.
  • a target control unit (a control unit included in at least one of one or more physical storage devices configuring the virtual storage device) receives a device identifier acquisition request from an external device.
  • the target control unit returns the device identifier of the virtual storage device to the external device.
  • the device identifier of the virtual storage device can be set quickly and appropriately, and an appropriate response can be made to an acquisition request (information acquisition request regarding the virtual storage device) issued by an external device such as a host computer.
  • FIG. 3 is a block diagram schematically illustrating a physical storage device, a virtual storage device, and a relationship between the device IDs. It is a figure which shows an example of a virtual storage apparatus table.
  • FIG. 3 is a first block diagram schematically illustrating a relationship between a physical storage device, a virtual storage device, and a resource group.
  • FIG. 6 is a second block diagram schematically illustrating a relationship between a physical storage device, a virtual storage device, and a resource group.
  • FIG. 10 is a third block diagram schematically illustrating a relationship between a physical storage device, a virtual storage device, and a resource group. It is a figure which shows an example of a volume allocation table. It is a figure which shows an example of a port position table. It is a figure which shows an example of a port allocation table. It is a figure which shows an example of a host group table. It is a figure which shows an example of a resource group table. It is a figure which shows an example of a path
  • FIG. 10 is a block diagram illustrating a configuration of a computer system according to a second embodiment.
  • FIG. 10 is a diagram showing an example of a port allocation table of the migration destination storage apparatus related to the second embodiment. 10 shows a part of the flow of a virtual port position assignment process according to the second embodiment. The rest of the flow of the virtual port position assignment process is shown.
  • AAA table information may be described using the expression “AAA table”, but the information may be expressed in any data structure. That is, the “AAA table” can be referred to as “AAA information” to indicate that the information does not depend on the data structure.
  • IDs identification information
  • elements for example, servers and ports
  • other types of information may be used instead of or in addition to numbers.
  • the process may be described with “program” as the subject, but the program is executed by a processor (for example, a CPU (Central Processing Unit)) so that a predetermined process can be appropriately performed.
  • a processor for example, a CPU (Central Processing Unit)
  • the subject of processing may be a processor.
  • the processing described with the program as the subject may be processing performed by an apparatus including a processor. Further, the apparatus may include a hardware circuit that performs a part or all of the processing performed by the processor instead of or in addition to the processor.
  • the computer program may be installed on the device from a program source.
  • the program source may be, for example, a program distribution server or a storage medium that can be read by a computer.
  • the management computer when the management computer displays the display information, the management computer may be a management system. Also, the management system may be a combination of the management computer and the display computer. In addition, in order to increase the speed and reliability of management processing, multiple computers may perform processing equivalent to that of the management computer. In this case, these multiple computers (for display when the display computer performs display) A computer may also be included).
  • the management computer may be a management system. Further, the management computer displaying information may mean displaying information on a display device of the management computer, or sending display information to a display computer connected to the management computer. Also good. In the latter case, information represented by the display information may be displayed by the display computer on a display device included in the display computer.
  • volume or “LDEV” is a logical volume.
  • the volume may be a substantive volume based on a physical storage device, or may be a virtual volume according to a technique such as Thin Provisioning.
  • the storage device has a virtual storage device table, a volume allocation table, and a port allocation table.
  • the virtual storage device table holds the device ID of the virtual storage device and the device ID of the storage device in which the virtual storage device is arranged.
  • the volume allocation table holds a virtual storage device ID, a physical LDEV ID, a virtual LDEV ID assigned to the physical LDEV, and a physical storage device ID to which the physical LDEV belongs.
  • the port assignment table holds a physical port position, a virtual port position assigned to the physical port, and an ID of the physical storage device to which the physical port belongs.
  • the storage device also has a function (host group function) for changing the response method by a host computer that accesses each physical port. For example, when each of the first and second host computers designates LUN (Logical Unit Number) 1 and accesses the LDEV, the LDEV ID1 data is returned to the first host computer and the second host computer is returned. It is possible to return LDEV ID2 data to the host computer.
  • the storage apparatus In order to manage the host group function, the storage apparatus has a host group table storing a physical port position for setting a host group, an ID of the physical storage apparatus, and an identifier of the host computer.
  • the storage device has a function of managing a plurality of types of resources possessed by one storage device as a group (hereinafter referred to as resource group function).
  • the storage device has a resource group table.
  • the resource group table holds the virtual storage device name of the virtual storage device to which the resource group belongs, the physical LDEV or virtual LDEV ID, and the host group name.
  • the storage apparatus also has a function (path function) for setting a path for each host group so that the host computer can access the LDEV.
  • the storage device has a path setting table.
  • the path setting table holds a resource group name, a host group name, a LUN, and a virtual LDEV ID.
  • the virtual storage device table is updated based on the old physical storage device ID.
  • the volume allocation table is updated based on the resources of the old physical storage device,
  • the port allocation table is updated based on the port position of the old physical storage device, and
  • a resource group is created, and (A5) the resource group table is updated.
  • a virtual storage device composed of a plurality of physical storage devices is created, (B1) the virtual storage device table is updated with the ID of any one physical storage device, and (B2) a new resource group is created. Created and (B3) resource group table is updated.
  • the physical storage device uses the virtual LDEV from the (C1) resource group table and path setting table.
  • C2) Get the virtual storage device ID and physical LDEV ID from the volume assignment table
  • C3) Get the virtual port position from the port assignment table
  • C4) For the host computer Returns the volume ID and virtual port position.
  • FIG. 1 is a block diagram showing an outline of the embodiment.
  • the computer system includes storage apparatuses 100a to 100c and host computers 150a to 150c.
  • virtual storage apparatuses 110a and 110b can be formed in the storage apparatus 100 or across a plurality of storage apparatuses 100.
  • the storage apparatus 100 includes LDEVs (Logical Devices) 130a to 130d that are logically divided areas of storage devices (not shown in FIG. 1) included in the storage apparatus 100, and a port 140a for connecting to the host computer 150. Through 140d and a memory 220.
  • LDEVs Logical Devices
  • the memory 220 stores device IDs (device identifiers) 105a to 105c of the physical storage devices 100 or the virtual storage devices 110 (hereinafter collectively referred to as device IDs 105 when it is not necessary to distinguish each ID).
  • device IDs 105 when it is not necessary to distinguish each ID.
  • the device ID 105 of each physical storage device 100 or virtual storage device 110 is schematically shown outside the memory 220.
  • the host computer 150 inquires about the device ID 105 of the physical storage device 100 or virtual storage device 110 to which the LDEV 130 or port 140 belongs to the LDEV 130 and port 140 belonging to the physical storage device 100 or virtual storage device 110,
  • the physical storage device 100 or virtual storage device 110 that has received the inquiry returns the device ID 105 assigned to the device to the host computer 150.
  • the above configuration and processing will be described in detail with reference to FIG.
  • FIG. 2 is a block diagram showing the configuration of the computer system.
  • the storage apparatus 100 includes a CPU 210 (an example of a control unit), a memory 220, a storage device 131, a volume 130 that is a logical storage area created from the storage area of the storage device 131, and data from the host computer 150.
  • a data port 140 that receives data I / O via a network (for example, SAN (Storage Area Network)) 230 (hereinafter may be simply referred to as port 140), and a management computer (an example of a management system) 250 to a management network 240 (For example, a management port 141 that receives a management operation request via a LAN (Local Area Network)).
  • the CPU 210 is connected to the data port 140, the management port 141, the memory 220, and the storage device 131.
  • the networks 230 and 240 may be integrated.
  • the data network 230 may be a network that can issue data I / O, and is preferably an FC (Fibre Channel) network.
  • the data port 140 may be a port that can transmit and receive data I / O, and is preferably an FC port.
  • the management network 240 may be any network that can issue a management operation request, and is preferably an Ethernet (registered trademark) or an FC network.
  • the management port 141 may be a port that can transmit and receive a management operation request, and is preferably an Ethernet port or an FC port.
  • FIG. 3 is a block diagram illustrating an example of a memory configuration of the storage apparatus.
  • the memory 220 includes a virtual storage device table 102, a volume allocation table 103, a port location table 104, a port allocation table 105, a path setting table 106, a host group table 107, a resource group table 108, and a configuration management program. 221 and the logical resource group program 222 are stored.
  • the virtual storage device table 102 describes the relationship between the virtual storage device and the physical storage devices constituting the virtual storage device.
  • the volume allocation table 103 describes the relationship between the virtual storage device, the physical LDEV ID (first volume identifier), and the virtual LDEV ID (second volume identifier) set in the physical LDEV.
  • the port location table 104 describes a WWN (World Wide Name) of a physical port and a protocol used in the physical port.
  • the port allocation table 105 includes a virtual storage device, a physical port location (first port location information), a device ID of a physical storage device in which the physical port is mounted, and a virtual port location set for the physical port ( 2nd port position information) is described.
  • the path setting table 106 describes the relationship between the host group, physical LDEV ID, and LUN.
  • the host group table 107 describes the relationship between the host group, the ID of the physical storage device that creates the host group, the physical port position where the host group is set, and the WWN of the host computer registered in the host group. Yes.
  • the resource group table 108 describes the relationship between the resource group, the ID of the virtual storage device that creates the resource group, the virtual LDEV ID included in the resource group, and the host group name.
  • the configuration management program 221 is a program for realizing a function of receiving an instruction from the management computer 250 operated by the user and referring to the contents described in the tables 102 to 108 stored in the memory 220 for updating.
  • the configuration management program 221 realizes the above functions by being activated and executed by the CPU 210 of the storage apparatus 100.
  • the logical resource group program 222 returns a volume ID and port location information with reference to the tables 102 to 108 stored in the memory 220 in order to respond to the inquiry issued by the host computer 150 to the LDEV 130. This is a program for realizing the function.
  • the logical resource group program 222 is activated and executed by the CPU 210 of the storage apparatus 100, thereby realizing the above functions. The processing by the logical resource group program 222 will be described in detail with reference to FIGS.
  • FIG. 4 is a block diagram showing the configuration of the management computer.
  • the management computer 250 includes a memory 252, a port 254, and a CPU 251 connected to them.
  • the memory 252 stores the storage device table 101 and the management program 253.
  • the storage device table 101 describes the relationship between the name of the storage device managed by the management computer 250, its ID, and its model.
  • the port 254 is connected to the management port 141 of the storage apparatus 100 via a network.
  • the management program 253 is a program for realizing a function of operating the configuration management program 221 of the storage apparatus 100 via the port 254.
  • the management program 253 implements the above functions by being executed by the CPU 251 of the management computer 250.
  • FIG. 5 is a diagram showing an example of the storage device table.
  • the storage device table 101 has a physical storage device name column 1011 indicating a physical storage device name, and a device ID column 1012 indicating a storage device ID. Further, the storage apparatus table 101 may have a model column 1013 indicating the model of the storage apparatus 100.
  • FIG. 6 is a block diagram schematically showing the relationship between physical storage devices, virtual storage devices, and their device IDs.
  • SAN Storage Area Network
  • the virtual storage device 1 is created in the physical storage device 1 (100a) by the user's operation on the management computer 250, and the physical storage device 1 (100a) and the physical storage device 3 (100b) are created. ) And the physical storage device 4 (100c) are created, and the virtual storage device 3 that is the migration destination of the migration source physical storage device (migration source storage device) 100d is the physical storage device 1 (100a). ) Has been created.
  • the device ID of the physical storage device 1 (100a) is 12345
  • the ID of the physical storage device 3 (100b) is 34567
  • the ID of the physical storage device 4 (100c) is 45678.
  • the physical storage device 1 (100a) needs to set a device ID for each virtual storage device, and the setting method is indicated by an arrow in the figure. For example, the same device ID as that of the physical storage device 1 (100a) is set in the virtual storage device 1, while the device ID of the migration source storage device 100d is set in the virtual storage device 3. Details of the device ID setting processing for the virtual storage device and the effect thereof will be described later.
  • FIG. 7 is a diagram showing an example of the virtual storage device table.
  • the virtual storage device table 102 is a table that describes the relationship between the virtual storage device and the physical storage devices that constitute the virtual storage device.
  • the virtual storage device table 102 includes a virtual storage device name column 1021, a (primary) physical storage device ID column 1022, a (secondary) physical storage device ID column 1023, a migration source storage device ID column 1024, and a device ID column 1025. Including.
  • the virtual storage device name column 1021 stores a virtual storage device name indicating the virtual storage device.
  • the (correct) physical storage device ID column 1022 stores device IDs of physical storage devices that constitute the virtual storage device.
  • the (correct) physical storage device ID column 1022 stores the device ID of a representative physical storage device when the virtual storage device is composed of a plurality of physical storage devices. For example, when there is a primary / secondary relationship among a plurality of physical storage devices, the (primary) physical storage device ID column 1022 stores the device ID of the positive physical storage device.
  • the (secondary) physical storage device ID column 1023 stores device IDs of physical storage devices that constitute the virtual storage device. When the virtual storage device is configured by a single physical storage device, the (secondary) physical storage device ID column 1023 is blank.
  • the migration source storage device ID column 1024 stores the device ID of the physical storage device that is the migration source when the virtual storage device is created by migration from another physical storage device.
  • the device ID 1025 stores a device ID set for the virtual storage device
  • FIG. 8 is a first block diagram schematically showing the relationship between the physical storage device, the virtual storage device, and the resource group.
  • FIG. 8 shows a state where a plurality of resource groups RG are created in one physical storage device.
  • FIG. 8 shows that the physical LDEVs 130a to 130d, the ports 140a and 140b are allocated to the virtual storage apparatus 1 by the operation of the management computer 250 by the user, the host group HG1 is created in the port 140a, and the host group is in the port 140b.
  • 1 is set as the virtual LDEV ID in the LDEV 130a
  • 2 is set as the virtual LDEV ID in the LDEV 130b
  • 1 is set as the virtual LDEV ID in the LDEV 130c
  • 2 is set as the virtual LDEV ID in the LDEV 130d.
  • the virtual port position 1A is set for the port 140a
  • the virtual port position 1A is set for the port 140b.
  • FIG. 9 is a second block diagram schematically showing the relationship between the physical storage device, the virtual storage device, and the resource group.
  • FIG. 9 shows that physical LDEVs 130e to 130h, port 140a (port 1A), port 140c (port IB), and port 140d (port 1A) are assigned to the virtual storage system 2 by the user operating the management computer 250.
  • the host group HG3 is created in 140a
  • the host group HG4 is created in the port 140c
  • the host group HG5 is created in the port 140d
  • the resource group RG3 composed of the LDEVs 130e to 130h and HG3 to HG5 is created.
  • the same virtual LDEV ID is set for a plurality of different LDEVs. Specifically, since the LDEV 130e and the LDEV 130f store the same data, the same virtual LDEV ID is set to 1 and the LDEV 130g and the LDEV 130h store the same data, so the same virtual LDEV is stored in them. ID2 is set. With this setting, the host computer can access the data stored in the physical LDEV without depending on the configuration of the physical LDEV by specifying the virtual LDEV ID.
  • FIG. 10 is a third block diagram schematically showing the relationship between the physical storage device, the virtual storage device, and the resource group.
  • FIG. 10 shows a state when a certain physical storage device (migration source storage device) is migrated to the virtual storage device 3 in another physical storage device.
  • the migration source storage apparatus 100d has a physical LDEV 130i (physical LDEV ID is 1) and a physical LDEV 130j (physical LDEV ID is 2). These LDEVs 130i and 130j are physical LDEVs 130k of the virtual storage apparatus 3 that is the migration destination. The data is copied to the physical LDEV 130l.
  • the migration source storage apparatus 100d has a physical port 140d and a physical port 140e.
  • 1 is set as the virtual LDEV ID in the physical LDEV 130k
  • 2 is set as the virtual LDEV ID in the physical LDEV 130l.
  • a virtual port position 2A and a virtual port position 2B are set in the physical port 140a and the physical port 140b, respectively.
  • FIG. 11 is a diagram showing an example of a volume allocation table.
  • the volume allocation table 103 includes a virtual storage device name column 1031 indicating a virtual storage device name, a physical storage device ID column 1032 indicating a device ID of a physical storage device where the physical LDEV exists, and a physical LDEV ID indicating an ID of the physical LDEV.
  • each physical storage device 100 Since each physical storage device 100 only needs to manage the physical LDEV that the physical storage device 100 has, each physical storage device 100 has a physical storage device ID column 1032 as its volume allocation table 103. Only lines that match the ID of the device 100 may be included. By adopting such a configuration, it is not necessary for all the physical storage apparatuses 100 to manage the entire volume allocation table 103, so that it is possible to reduce the required memory amount, and it is necessary for the table update processing. Data transfer amount can be reduced.
  • FIG. 12 is a diagram showing an example of the port position table.
  • the port position table 104 includes a physical port position column 1041 indicating the position of the physical port and a WWN column 1042 indicating the WWN set for the physical port.
  • the port location table 104 may have a protocol column 1043 indicating a protocol used for a physical port.
  • the information stored in the WWN column 1042 is preferably WWN when the protocol used in the physical port is FC, but may be iqn (iSCSI Si Qualified Name) in the case of iSCSI.
  • FIG. 13 is a diagram illustrating an example of a port assignment table.
  • the port allocation table 105 includes a virtual storage device name column 1051 indicating a virtual storage device name, a physical storage device ID column 1052 indicating a device ID of a physical storage device in which a physical port exists, and a physical port position indicating a physical port position.
  • each physical storage device 100 Since each physical storage device 100 only needs to manage the physical ports that the physical storage device 100 has, each physical storage device 100 has a physical storage device ID column 1052 as its port allocation table 105. Only a line that matches the device ID of the device may be included. By adopting such a configuration, it is not necessary for all the physical storage apparatuses 100 to manage the entire port allocation table 105, so that the amount of memory to be used can be reduced, and it is necessary for the table update process. Data transfer amount can be reduced.
  • FIG. 14 is a diagram showing an example of the host group table.
  • the host group table 107 includes a host group name column 1071 indicating the host group name, a physical storage device ID column 1072 indicating the device ID of the physical storage device in which the physical port exists, and a physical port position column 1073 indicating the position of the physical port. And a host computer WWN column 1074 indicating a list of WWNs of host computers that can access this host group.
  • the information stored in the host computer WWN column 1074 is preferably a list of WWNs when the protocol used in the physical port is FC, but may be a list of iqn when the protocol is iSCSI.
  • each physical storage device 100 Since each physical storage device 100 only needs to manage the host group that the physical storage device 100 has, each physical storage device 100 has a physical storage device ID column 1072 as its host group table 107 and its physical storage. Only a line that matches the device ID of the device may be included. By adopting such a configuration, it becomes unnecessary for all the physical storage apparatuses 100 to manage the entire host group table 107, so that the amount of memory to be used can be reduced, and it is necessary for table update processing. Data transfer amount can be reduced.
  • FIG. 15 is a diagram illustrating an example of a resource group table.
  • the resource group table 108 includes a resource group name column 1081 indicating a resource group name, a storage device name column 1082 indicating a physical storage device name or a virtual storage device name for creating the resource group, and IDs of physical LDEVs included in the resource group.
  • each physical storage device 100 Since each physical storage device 100 only needs to manage the resource group of the virtual storage device 110 that the physical storage device 100 has, each physical storage device 100 has a storage device name column as the resource group table 108. 1082 may include only a row that matches the device name of the virtual storage device possessed by the physical storage device. By adopting such a configuration, it is not necessary for all the physical storage apparatuses 100 to manage the entire resource group table 108, so that it is possible to reduce the amount of memory used, and it is necessary for the table update process. Data transfer amount can be reduced.
  • FIG. 16 is a diagram illustrating an example of a path setting table.
  • the path setting table 106 includes a host group name column 1061 indicating a host group name, a LUN column 1062 indicating a LUN that is an ID used by the host computer 150 to access the physical LDEV, and a physical LDEV indicating an ID of the physical LDEV. ID column 1063.
  • FIG. 17 is a block diagram showing the configuration of the host computer.
  • the host computer 150 includes a memory 720, a port 730, and a CPU 710 connected thereto.
  • the memory 720 stores an application 721 for performing various processes, an alternate path table 722, and an alternate path program 723.
  • the application 721 may be a program for issuing I / O to the volume 130, and a database program or a web server program is preferable.
  • the alternate path program 723 is executed by the CPU 710 to execute processing for specifying a path for the volume 130 with reference to the alternate path table 722. Further, when the alternate path program 723 is executed by the CPU 710, when there are a plurality of paths for the same volume, the alternate path program 723 issues an I / O to a path excluding a path that cannot be accessed due to a failure or the like. As an I / O issuing method, there are a method of issuing a round robin for each I / O and a method of using the same route continuously for a certain period.
  • the alternate path program 723 is often created on the assumption that each LDEV indicated by LUN is the same storage device. This is because if the LDEVs of different storage apparatuses are included, the data stored in each LDEV is different, and the path cannot be switched. Therefore, the alternate path program 723 issues an inquiry to the LUN, obtains the ID of the storage device included in the inquiry response, and sets the LDEV of the same storage device for all the LUNs included in the same group. It is comprised so that the process which confirms that it is carried out may be performed.
  • FIG. 18 is a diagram illustrating an example of an alternate path table according to the embodiment.
  • the alternate path table 722 indicates a path ID column 7221 indicating a path ID for a volume, a group ID column 7222 for specifying a path to be grouped as one alternate path, and a WWN of a physical port through which the path passes.
  • a WWN column 7223 and a LUN column 7224 indicating the LUN of the volume are included.
  • the information stored in the WWN column 7223 is preferably WWN when the protocol used in the physical port is FC, but may be iqn when iSCSI.
  • the processing entity may be described as the management computer 250, but the storage apparatus 100 may be the processing entity.
  • the storage device 100 when a device ID is assigned to a virtual storage device according to a virtual storage device creation method and an inquiry for a volume in a virtual storage resource group is received, the storage device 100 is based on this device ID. In this embodiment, the volume ID is returned.
  • 19 to 22 show the flow of the virtual storage apparatus ID setting process.
  • the management computer 250 accepts selection of the device ID of the physical storage device 100 that creates the virtual storage device from the user.
  • the management computer 250 accepts selection of the device ID of the primary physical storage device (S1901).
  • the management computer 250 can improve usability by referring to the storage device table 101 and presenting a list of physical storage devices 100 to the user.
  • the management computer 250 accepts designation of the virtual storage device name from the user (S1902).
  • the management computer 250 instructs the physical storage device 100 received in S1901 to update the virtual storage device table 102 based on the information received in S1901 and S1902 (S1903).
  • the physical storage device 100 adds a row corresponding to the designated virtual storage device to the virtual storage device table 102, and the device ID column 1025 accepts the device ID of the virtual storage device 110 in S1901. The same device ID as the device ID of the physical storage device 100 is described.
  • the management computer 250 receives an input from the user as to whether or not the redundant configuration of the physical storage device 100 is necessary (S1904). As a result, when an input indicating that a redundant configuration is necessary is received (S1904: Yes), the management computer 250 receives one or more selections about the physical storage device 100 corresponding to the secondary of the primary / secondary relationship from the user (S1905).
  • the device ID of the secondary physical storage device 100 is added to the (secondary) physical storage device ID column 1023 of the virtual storage device table 102 for the physical storage device 100 (primary physical storage device) that received the designation in S1901,
  • the secondary physical storage device 100 is caused to insert the same row as that corresponding to this virtual storage device into the virtual storage device table 102 of the secondary physical storage device 100 (S1906).
  • the secondary physical storage device 100 receives the device ID of the physical storage device 100 that has been specified in S1901 as the device ID of the virtual storage device in the device ID column 1025 of the virtual storage device table 102 of the secondary physical storage device 100.
  • the same device ID is described.
  • the management computer 250 determines whether or not the migration of the existing storage device from the user. The input is accepted (S1907).
  • the management computer 250 selects one of the physical storage devices 100 constituting the virtual storage device 110 from the user. Accept (S2001 in FIG. 20).
  • the management computer 250 accepts selection of a physical port to be assigned to the virtual storage device 110 from the user, and accepts setting of the virtual port position (S2002).
  • the virtual port position can be set by a serial number, for example. This facilitates management of the virtual port position and the like.
  • serial number for example. This facilitates management of the virtual port position and the like.
  • the management computer 250 instructs the physical storage device 100 that has received the selection to update the port assignment table 105 based on the received content (S2003).
  • the management computer 250 accepts selection of an LDEV assigned to the virtual storage device 110 from the user, and accepts the setting of the virtual LDEV ID (S2004).
  • the virtual LDEV ID can be set by a serial number, for example. This facilitates management of the virtual LDEV ID.
  • the management computer 250 accepts selection of an LDEV assigned to the virtual storage device 110 from the user, and accepts the setting of the virtual LDEV ID (S2004).
  • the virtual LDEV ID can be set by a serial number, for example. This facilitates management of the virtual LDEV ID.
  • the management computer 250 when it is determined that the user does not need to use the LDEV IDs sequentially, it is not necessary to set a virtual LDEV ID for the management computer 250.
  • FIG. 9 when the LDEV 130e and the LDEV 130f are accessed as one LDEV to the host computer 150, it is necessary to set a virtual LDEV ID.
  • the management computer 250 instructs the physical storage device 100 that has received the selection to update the volume allocation table 103 based on the received content (S2003).
  • the management computer 250 receives a host group setting for each physical port selected in S2002 from the user (S2005). Next, the management computer 250 instructs the physical storage device 100 that has received the selection to update the host group table 107 based on the received setting content (S2006).
  • the management computer 250 performs the processing from S2001 to S2007.
  • the management computer 250 determines the resource allocated to the virtual storage device 110 by the user. The selection is accepted and creation of a resource group is accepted (S2008).
  • the management computer 250 instructs all the physical storage devices 100 constituting the virtual storage device 110 to update the resource group table 108 (S2009), and advances the processing to S2201 in FIG.
  • the management computer 250 receives a path setting for the LDEV of each resource group from the user (S2201). Specifically, the setting of the physical LDEV ID is accepted for the LUN of the host group (generally 0 to 255 is preferable).
  • the management computer 250 accepts registration of the WWN of the host computer 150 that permits access from the user to the host group (S2202).
  • WWN is suitable when the protocol used at the port to which the host group is assigned is FC, but iqn may be used when iSCSI.
  • the management computer 250 updates the path setting table 106 of the physical storage device 100 based on the received content (S2203), and ends the virtual storage device ID setting process.
  • the management computer 250 acquires the ID of the migration source storage device 100 and acquires the virtual storage Instruct all the physical storage devices 100 constituting the device 110 to update the virtual storage device table 102 so that the device ID of the virtual storage device is changed to the same device ID as the migration source storage device. (S2101 in FIG. 21).
  • the management computer 250 acquires a list of ports of the migration source storage apparatus 100 (S2102). Next, the management computer 250 sets the same value as the port position of the port acquired in S2102 as the virtual port position for one or more physical ports of the physical storage apparatus 100 constituting the virtual storage apparatus 110. Next, an instruction to update the port allocation table 105 is issued to each physical storage apparatus 100 (S2103).
  • the number of physical ports of the physical storage device 100 constituting the migration destination virtual storage device 110 need not be the same as the number of migration source storage devices 100.
  • the model of the physical storage device 100 is new and the transfer amount per physical port is increasing, a plurality of physical ports required by the migration source storage device 100 are combined into one physical port, and Duplicate port positions can be set for the physical port.
  • the management computer 250 acquires a list of LDEVs possessed by the migration source storage apparatus 100 from the migration source storage apparatus 100 (S2104).
  • the management computer 250 creates LDEVs having the same number and capacity as the LDEV acquired in S2104 in the physical storage device 100, and sets the same ID as the LDEV ID acquired in S2104 as a virtual LDEV ID in each LDEV.
  • the volume allocation table 103 of the physical storage device 100 is updated (S2105).
  • the management computer 250 acquires a list of host groups possessed by the migration source storage apparatus 100 (S2106). Next, the management computer 250 creates a host group having the same setting contents as the host group acquired in S2106 in the physical storage device 100, and updates the host group table 107 (S2107). Subsequent processing is the same as the processing after S2008.
  • 24 and 25 show the flow of processing related to the inquiry of the host computer and the storage apparatus.
  • the host computer 150 issues a scan command specifying the WWN of the physical port 140 to the storage apparatus 100, and acquires a list of LUNs assigned to the physical port 140.
  • the host computer 150 designates the physical port WWN and LUN, and issues an inquiry to the physical storage device 100 (S2401). At this time, the host computer 150 also transmits its own WWN to the physical storage device 100.
  • the physical storage device 100 having the designated physical port identifies its own device ID (S2402), and refers to the port location table 104 to identify the location of the physical port (S2403).
  • the physical storage device 100 refers to the port allocation table 105 to determine whether or not a virtual port position is set for the identified physical port (S2404), and the virtual port position is set for this physical port. If it is set (S2404: Yes), the virtual port position is stored in the memory area used for the inquiry response (S2405). On the other hand, when the virtual port position is not set for this physical port (S2404: No), the physical storage device 100 stores the physical port position in the memory area used for the inquiry response (S2406).
  • this physical storage device 100 refers to the host group table 107 and identifies the host group name from the physical port location and the WWN of the host computer (S2407).
  • the physical storage device 100 refers to the path setting table 106 and identifies the physical LDEV ID from the host group name and LUN (S2408).
  • the physical storage device 100 refers to the volume allocation table 103 and checks whether a virtual LDEV ID is set for the identified physical LDEV (S2409). As a result, when the virtual LDEV ID is set in this physical LDEV (S2409: Yes), the physical storage device 100 stores the virtual LDEV ID in the memory area used for the inquiry response (S2410). On the other hand, when the virtual LDEV ID is not set in this physical LDEV (S2409: No), the physical storage device 100 stores the physical LDEV ID in the memory area used for the inquiry response (S2411).
  • the physical storage device 100 After executing S2410 or S2411, the physical storage device 100 refers to the volume allocation table 103 to determine whether or not this physical LDEV belongs to the virtual storage device (S2412). As a result, when this physical LDEV belongs to the virtual storage device (S2412: Yes), the physical storage device 100 refers to the volume allocation table 103 and acquires the virtual storage device name to which this physical LDEV belongs. Referring to the virtual storage device table 102, the device ID of the virtual storage device 110 is specified, and the specified device ID of the virtual storage device 110 is stored in the memory area used for the inquiry response (S2413).
  • the physical storage device 100 stores the device ID of this physical storage device in the memory area used for the inquiry response (S2414).
  • the physical storage device 100 After completing S2413 or S2414, the physical storage device 100 refers to the memory area used for the inquiry response, and identifies the memory area device ID (physical storage device or virtual storage device ID) and the memory area port.
  • the position (physical port position or virtual port position) and the LDEV ID (physical LDEV ID or virtual LDEV ID) of the memory area are returned to the host computer 150, and the process is terminated (S2415).
  • FIG. 23 is a diagram showing an example of the response of the storage apparatus to the inquiry of the host computer.
  • the device ID of the virtual storage device (the same device ID (809AB) as the migration source storage device) is returned, and the virtual LDEV ID (that is, the same LDEV ID (1) as the LDEV of the migration source storage device) is returned as the LDEV ID.
  • the virtual port position (that is, the same port position (2A) as the physical port position of the migration source storage apparatus) is returned as the port identification information.
  • the same device ID can be returned as the device ID of the storage device.
  • the alternate path program 723 can operate normally.
  • this alternate path program 723 issues an inquiry to an LDEV assigned to the same virtual storage device, the response requires that the device ID of the storage device is the same, but the storage device ID is the storage system It has the characteristic that it is not necessary to be unique.
  • the host computer issues an inquiry to the LDEV assigned to the migration source physical storage device
  • the same value as the migration source physical storage device is used as the device ID, LDEV ID, and port position of the storage device. Since it can be returned, the alternate path program 723 of the host computer 150 can operate as before.
  • Example 2 will be described. Differences from the first embodiment will be mainly described, and description of common points with the first embodiment will be omitted or simplified.
  • the virtual port position is given in accordance with the port usage of the migration source storage apparatus and the migration destination storage apparatus.
  • FIG. 26 is a block diagram illustrating a configuration of a computer system according to the second embodiment.
  • the migration source storage device 1601 is accessed and operated by the host computer 150 connected via the data network 230.
  • the migration source storage apparatus 1601 protects data by performing remote copy via a remote copy line 1604 to a storage apparatus 1603 at a remote location.
  • a port 1605 for data access to the host computer 150 and a port 1606 for remote copy are allocated to the virtual storage apparatus 110 of the migration destination storage apparatus 1602.
  • the volume 130 and the virtual storage resource group 120 of the migration source storage apparatus 1601 are set. The same value can be returned for the SCSI inquiry for the volume 130.
  • FIG. 27 is a diagram illustrating an example of a port position table of the migration source storage apparatus according to the second embodiment.
  • the port location table 104 of the migration source storage device 1601 has a physical port location column 1041 that stores the location of the physical port mounted in the migration source storage device 1601 and a usage column 1044 that stores the usage of the port.
  • a usage column 1044 that stores the usage of the port.
  • “host” which means a port for processing data I / O from the host computer 150 and “remote copy” used for remote copy with respect to the storage apparatus 1603 can be used. Good.
  • the port changes its operation depending on its use. For example, when the protocol used for the port is FC, the port for processing data I / O from the host computer 150 operates as a SCSI target, while the port used for remote copy operates as a SCSI initiator. . Therefore, the use column 1044 may describe a use such as “target” or “initiator”.
  • FIG. 28 is a diagram illustrating an example of a port allocation table of the migration destination storage apparatus according to the second embodiment.
  • the port assignment table 105 of the migration destination storage apparatus further includes a use column 1055 indicating the use of the port with respect to the port assignment table 105 described in the first embodiment.
  • the usage stored in the usage column 1055 is the same as the usage stored in the usage column 1044 of the port location table 104 of the migration source storage apparatus 1601.
  • FIG. 29 and FIG. 30 show the flow of the virtual port position assignment processing according to the second embodiment.
  • the management computer 250 positions the physical ports of the migration source storage device 1601 from the migration source storage device 1601. A list of (port positions) and their uses is acquired (S2901). Specifically, the configuration management program 221 of the migration source storage apparatus 1601 that has received a request from the management computer 250 returns the contents of the port location table 104 of the migration source storage apparatus 1601 to the management computer 250.
  • the migration destination virtual storage device 110 has not been created in the migration destination storage device 1602, a new virtual storage device 110 is created by the same processing as in S1901 and after in the first embodiment.
  • the management computer 250 acquires a list of physical port positions of the migration destination storage apparatus 1602 and their uses (S2902). Specifically, the configuration management program 221 of the migration destination storage apparatus 1602 that has received the request from the management computer 250 returns the contents of the port allocation table 105 of the migration destination storage apparatus 1602 to the management computer 250.
  • the management computer 250 determines whether or not virtual port positions for the physical ports of the migration destination storage apparatus 1602 have been created for all the physical ports of the migration source storage apparatus 1601 (S2903). As a result, when virtual port positions have been created for all physical ports (S2903: Yes), the management computer 250 ends the process.
  • the management computer 250 acquires the usage of the physical port of the unprocessed migration source storage device 1601, and the usage is remote copy. It is determined whether or not it is for use (S2904). As a result, if the physical port is for remote copy (S2904: Yes), the management computer 250 retrieves the physical port for remote copy whose usage is from the physical ports of the migration destination storage apparatus 1902. A virtual port position having the same value as the physical port position in the migration source storage apparatus 1601 is set to the physical port thus set (S2905).
  • this physical port is not assigned to the virtual storage device selected in S2901, the port assignment table 105 of the migration destination storage device 1602 is changed, and this physical port is assigned to the virtual storage device 110 specified in S2901. Assign to.
  • the role of the migration source port can be assigned to a migration destination port having the same use, that is, a port suitable for the use.
  • the management computer 250 uses the physical port for the host among the physical ports of the migration destination storage device 1602.
  • One of the ports is selected as a port for setting the migration source physical port position as the virtual port position (S3001 in FIG. 30).
  • a method for selecting a physical port it is desirable to select a port for which connection with the host computer 150 has been completed when performing non-stop transition described later.
  • a physical port that can guarantee the port performance of the migration source storage apparatus 1601.
  • the management computer 250 receives a selection from the user as to whether or not to continue the I / O of the application 721 of the host computer 150 (hereinafter referred to as non-stop migration) (S3002).
  • non-stop migration a selection from the user as to whether or not to continue the I / O of the application 721 of the host computer 150
  • the management computer 250 selects a port position that does not overlap with the physical port position of the migration source storage apparatus 1601, and selects the value of this port position.
  • the virtual port position is assigned to the port at the selected port position (S3003).
  • the virtual port position that does not overlap with the physical port position of the migration source storage apparatus is given if the same value as the physical port position of the migration source storage apparatus 1601 is given to the port as the virtual port position. This is because the alternate path program 723 of the host computer 150 may recognize that the same path exists for the same volume, which may cause malfunction or stop of the operation.
  • the management computer 250 adds a path via the virtual port set in S3003 to the alternate path program 723 of the host computer 150 (S3004).
  • the alternate path program 723 can issue an I / O to a new path without affecting the application 721, and can realize a non-stop transition.
  • the management computer 250 uses the same value as the physical port position of the migration source storage apparatus 1601 as the virtual port position of the physical port of the migration destination storage apparatus 1602. (S3005). With this processing, the user can migrate the migration source storage device 1601 to the virtual storage device 110 without changing the port configuration information.
  • S3004 or S3005 is terminated, the management computer 250 advances the process to S2903 in FIG.

Abstract

Each of one or more physical storage devices has a data port for communicating with an external device, a volume, and a control unit. A virtual storage device logically including the data port and the volume is associated with a device identifier that indicates the virtual storage device. When the virtual storage device is configured with a plurality of physical storage devices, the device identifier of the virtual storage device is the same as the device identifier of one of the plurality of physical storage devices. When the virtual storage device is the destination of migration for a physical storage device at the source of migration, the device identifier of the virtual storage device is the same as the device identifier of the physical storage device at the source of migration. When the volume designated in a device identifier acquisition request from an external device is the volume of the virtual storage device, the control unit returns the device identifier of the virtual storage device to the external device.

Description

ストレージシステム及び仮想ストレージ装置制御方法Storage system and virtual storage device control method
 本発明は、概して、仮想ストレージ装置の制御に関する。 The present invention generally relates to control of virtual storage devices.
 近年、企業等の計算機システムで発生するデータを格納するために多くのストレージ装置が導入されている。ストレージ装置の数が多くなるとストレージ装置の管理コストが増大する問題がある。管理コストを低減するために、1つのストレージ装置の中に複数の仮想的なストレージ装置(仮想ストレージ装置)を提供する技術、すなわち仮想ストレージ装置技術が広まっている。さらに、仮想ストレージ装置を用途に応じて論理リソースグループとするニーズが高まっている。特許文献1には、複数のストレージ装置が同一の識別子を有することで、仮想的に一つのストレージ装置を提供する技術が公開されている。 In recent years, many storage devices have been introduced to store data generated in computer systems of companies and the like. When the number of storage devices increases, there is a problem that the management cost of the storage devices increases. In order to reduce the management cost, a technology for providing a plurality of virtual storage devices (virtual storage devices) in one storage device, that is, a virtual storage device technology has become widespread. Furthermore, there is an increasing need to make virtual storage devices logical resource groups according to their uses. Patent Document 1 discloses a technique for providing a virtual storage device by having a plurality of storage devices have the same identifier.
特許第4963892号明細書Japanese Patent No. 4963899
 ホスト計算機がストレージ装置の記憶領域(以下、ボリューム)を使用する場合、一般に同一のホスト計算機から同一のボリュームにアクセスするパスを複数設定する。かかる設定によって、1つのパスに障害が発生したとしても、ホスト計算機は別のパスでアクセスすることができるので、可用性を高めることができる。同一のホスト計算機から同一のボリュームにアクセスするパスが複数ある場合に、パスを切り替えるプログラムを交替パスプログラムと呼ぶ。一般に、ホスト計算機はパスごとにボリュームを認識するため、同一のボリュームであってもパスが異なる場合は別のボリュームとして認識する。交替パスプログラムによると、ホスト計算機がアクセスできるボリュームのIDの一覧を取得し、同一のIDを持つボリュームに対するパスはそれぞれ交替可能なパスのグループとして管理する一方、ホスト計算機に対してはそのグループを1つのパスとして認識させることができるため、ホスト計算機は1つのパスで1つのボリュームにアクセスできる。 When a host computer uses a storage area (hereinafter referred to as a volume) of a storage device, in general, multiple paths for accessing the same volume from the same host computer are set. With this setting, even if a failure occurs in one path, the host computer can access through another path, so that the availability can be increased. A program for switching paths when there are multiple paths for accessing the same volume from the same host computer is called an alternate path program. Generally, since the host computer recognizes a volume for each path, even if the same volume is different, the host computer recognizes it as a different volume. According to the alternate path program, a list of IDs of volumes that can be accessed by the host computer is acquired, and paths for volumes having the same ID are managed as groups of paths that can be alternated. Since it can be recognized as one path, the host computer can access one volume with one path.
 交替パスプログラムは、ストレージ装置ベンダごとに提供される。このため、同一ベンダが提供するストレージ装置のボリュームのIDは同一のストレージ装置内のボリュームだけでなく同一ベンダの全ストレージ装置のボリュームで一意でなければならない。そこで、交替パスプログラムによると、ストレージ装置に一意に付与されたID(以下、装置ID)と、ボリュームに対してストレージ装置内で一意に生成されるID(以下、LDEV ID)との組み合わせに基づいて、ボリュームを特定する。以下、ボリュームごとに、装置IDとLDEV IDとの組み合わせで生成されるIDをボリュームIDと呼ぶ。 The alternate path program is provided for each storage device vendor. For this reason, the ID of the volume of the storage device provided by the same vendor must be unique not only for the volume in the same storage device but also for the volumes of all storage devices of the same vendor. Therefore, according to the alternate path program, based on a combination of an ID uniquely assigned to the storage device (hereinafter referred to as device ID) and an ID uniquely generated within the storage device for the volume (hereinafter referred to as LDEV ID). To identify the volume. Hereinafter, an ID generated by a combination of a device ID and an LDEV ID for each volume is referred to as a volume ID.
 また、交替パスプログラムでは、パスのグループに含まれるパスを特定するために、パスが使用するストレージ装置のポートIDを使用する。例えば、FC(Fibre Channel)であれば、ポートIDはWWN(World Wide Name)を使用することが一般的である。しかし、ポートIDは、一般にはユーザが認識することが困難であるため、ストレージ装置の各ポートには、ストレージ装置で実装されている位置を示すポート位置を付与する。 Also, in the alternate path program, the port ID of the storage device used by the path is used to specify the path included in the path group. For example, in the case of FC (Fibre Channel), the port ID generally uses WWN (World Wide Name). However, since it is generally difficult for the user to recognize the port ID, a port position indicating a position mounted on the storage apparatus is assigned to each port of the storage apparatus.
 さらに、仮想ストレージ装置が、ポートを共有する場合、仮想ストレージ装置ごとに仮想的なポート位置(以下、仮想ポート位置)を付与することで、ユーザの管理コストを低減することができる(仮想ポート位置と対比するために物理的なポート位置を「物理ポート位置」ということもある)。例えば、古いストレージ装置に対応する仮想ストレージ装置を新しいストレージ装置に作成する場合、新しいストレージ装置のポート位置とは別に、古いストレージ装置で使用していたポート位置を仮想的に付与する。これにより、ユーザがポート位置の設定を変更する必要がなくなる。このような仮想的なポート位置を設定したとしても、ホスト計算機は、ポートIDをもとにパスを特定するため、仮想ポート位置の設定にかかわらずボリュームにアクセスすることができる。 Furthermore, when a virtual storage device shares a port, a virtual port position (hereinafter referred to as a virtual port position) is assigned to each virtual storage device, so that the user management cost can be reduced (virtual port position). Physical port position is sometimes referred to as “physical port position” for comparison with For example, when a virtual storage device corresponding to an old storage device is created in a new storage device, the port position used in the old storage device is virtually given separately from the port position of the new storage device. This eliminates the need for the user to change the port position setting. Even if such a virtual port position is set, the host computer specifies the path based on the port ID, and therefore can access the volume regardless of the setting of the virtual port position.
 これらのボリュームIDと、ポートIDと、ポート位置とは、交替パスプログラムがSCSI(Small Computer System Interface)の情報取得コマンド(以下、Inquiry)で取得する。 These volume IDs, port IDs, and port positions are acquired by an alternate path program using a SCSI (Small Computer System Interface) information acquisition command (hereinafter referred to as Inquiry).
 特許文献1では、複数のストレージ装置に対して、同一の装置IDを割り当てて仮想的に一つのストレージ装置(仮想ストレージ装置)を提供する(仮想ストレージ装置と対比するために物理的なストレージ装置を「物理ストレージ装置」ということもある)。また、ボリュームには、LDEV IDとは別に、仮想ストレージ装置内で一意のLDEV ID(以下、仮想LDEV ID)を付与する(仮想LDEV IDと対比するために物理的なLDEV IDを「物理LDEV ID」ということもある)。これにより、同一ベンダの全ストレージ装置内で一意のボリュームIDを生成することができる。しかし、一般に、装置IDはベンダで管理されている。このため、ストレージシステム内で一意の装置IDを生成するためには、ベンダへの問い合わせが必要となる。故に、一意の装置IDの生成に時間を要する課題がある。 In Patent Document 1, a single storage device (virtual storage device) is virtually provided by assigning the same device ID to a plurality of storage devices (a physical storage device is used for comparison with a virtual storage device). Sometimes referred to as “physical storage device”). In addition to the LDEV ID, the volume is assigned a unique LDEV ID (hereinafter referred to as a virtual LDEV ID) within the virtual storage device (the physical LDEV ID is referred to as the “physical LDEV ID” for comparison with the virtual LDEV ID). ”). As a result, a unique volume ID can be generated in all storage devices of the same vendor. However, in general, the device ID is managed by a vendor. For this reason, in order to generate a unique device ID in the storage system, an inquiry to the vendor is required. Therefore, there is a problem that it takes time to generate a unique device ID.
 また、比較例として、グローバル一意識別子(GUID)を生成する技術がある。しかし、GUIDには、128bit以上の空間が必要となる。このため、装置IDの空間が128bitに満たないときは装置IDの少なくとも一部について互換性が維持できない課題がある。 Also, as a comparative example, there is a technique for generating a globally unique identifier (GUID). However, the GUID requires a space of 128 bits or more. Therefore, when the device ID space is less than 128 bits, there is a problem that compatibility cannot be maintained for at least a part of the device ID.
 ストレージシステムが、1以上の物理ストレージ装置を有する。1以上の物理ストレージ装置の各々が、外部装置と通信するためのデータポートと、ボリュームと、制御部とを有する。データポートとボリュームとを論理的に含んだ仮想ストレージ装置に、当該仮想ストレージ装置を示す装置識別子が対応付けられている。その仮想ストレージ装置が、複数の物理ストレージ装置で構成されている場合には、仮想ストレージ装置の装置識別子は、その複数の物理ストレージ装置のいずれか一つの装置識別子と同一の識別子である。仮想ストレージ装置が、移行元の物理ストレージ装置の移行先である場合には、仮想ストレージ装置の装置識別子は、移行元の物理ストレージ装置の装置識別子と同一の識別子である。対象制御部(仮想ストレージ装置を構成する1以上の物理ストレージ装置のうちの少なくとも1つが有する制御部)が、装置識別子の取得要求を外部装置から受信する。対象制御部は、その取得要求において指定されているボリュームが仮想ストレージ装置のボリュームである場合、仮想ストレージ装置の装置識別子を外部装置に返送する。 The storage system has one or more physical storage devices. Each of the one or more physical storage devices has a data port for communicating with an external device, a volume, and a control unit. A device identifier indicating the virtual storage device is associated with the virtual storage device that logically includes the data port and the volume. When the virtual storage device is configured by a plurality of physical storage devices, the device identifier of the virtual storage device is the same identifier as any one device identifier of the plurality of physical storage devices. When the virtual storage device is the migration destination of the migration source physical storage device, the device identifier of the virtual storage device is the same identifier as the device identifier of the migration source physical storage device. A target control unit (a control unit included in at least one of one or more physical storage devices configuring the virtual storage device) receives a device identifier acquisition request from an external device. When the volume specified in the acquisition request is a volume of the virtual storage device, the target control unit returns the device identifier of the virtual storage device to the external device.
 仮想ストレージ装置の装置識別子を迅速且つ適切に設定でき、ホスト計算機のような外部装置が発行する取得要求(仮想ストレージ装置に関する情報の取得要求)に対して適切に応答することができる。 The device identifier of the virtual storage device can be set quickly and appropriately, and an appropriate response can be made to an acquisition request (information acquisition request regarding the virtual storage device) issued by an external device such as a host computer.
実施形態の概要を示すブロック図である。It is a block diagram which shows the outline | summary of embodiment. 計算機システムの構成を示すブロック図である。It is a block diagram which shows the structure of a computer system. ストレージ装置のメモリの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the memory of a storage apparatus. 管理計算機の構成を示すブロック図である。It is a block diagram which shows the structure of a management computer. ストレージ装置テーブルの一例を示す図である。It is a figure which shows an example of a storage apparatus table. 物理ストレージ装置、仮想ストレージ装置、およびそれらの装置IDの関係を模式的に記載したブロック図である。FIG. 3 is a block diagram schematically illustrating a physical storage device, a virtual storage device, and a relationship between the device IDs. 仮想ストレージ装置テーブルの一例を示す図である。It is a figure which shows an example of a virtual storage apparatus table. 物理ストレージ装置と、仮想ストレージ装置と、リソースグループとの関係を模式的に記載した第1のブロック図である。FIG. 3 is a first block diagram schematically illustrating a relationship between a physical storage device, a virtual storage device, and a resource group. 物理ストレージ装置と、仮想ストレージ装置と、リソースグループとの関係を模式的に記載した第2のブロック図である。FIG. 6 is a second block diagram schematically illustrating a relationship between a physical storage device, a virtual storage device, and a resource group. 物理ストレージ装置と、仮想ストレージ装置と、リソースグループとの関係を模式的に記載した第3のブロック図である。FIG. 10 is a third block diagram schematically illustrating a relationship between a physical storage device, a virtual storage device, and a resource group. ボリューム割り当てテーブルの一例を示す図である。It is a figure which shows an example of a volume allocation table. ポート位置テーブルの一例を示す図である。It is a figure which shows an example of a port position table. ポート割り当てテーブルの一例を示す図である。It is a figure which shows an example of a port allocation table. ホストグループテーブルの一例を示す図である。It is a figure which shows an example of a host group table. リソースグループテーブルの一例を示す図である。It is a figure which shows an example of a resource group table. パス設定テーブルの一例を示す図である。It is a figure which shows an example of a path | pass setting table. ホスト計算機の構成を記載したブロック図である。It is a block diagram which described the structure of the host computer. 交替パステーブルの一例を示す図である。It is a figure which shows an example of an alternative path table. 実施例1に係る仮想ストレージ装置ID設定処理の流れの第1部分を示す。7 shows a first part of the flow of a virtual storage device ID setting process related to Example 1. その仮想ストレージ装置ID設定処理の流れの第2部分を示す。The second part of the flow of the virtual storage device ID setting process is shown. その仮想ストレージ装置ID設定処理の流れの第3部分を示す。The third part of the flow of the virtual storage device ID setting process is shown. その仮想ストレージ装置ID設定処理の流れの残りを示す。The remainder of the flow of the virtual storage device ID setting process is shown. ホスト計算機のInquiryに対するストレージ装置の応答の一例を示した図である。It is the figure which showed an example of the response of the storage apparatus with respect to Inquiry of a host computer. ホスト計算機及びストレージ装置のInquiryに関わる処理の流れの一部分を示す。A part of the flow of processing related to the inquiry of the host computer and the storage apparatus is shown. ホスト計算機及びストレージ装置のInquiryに関わる処理の流れの残りを示す。The remainder of the flow of processing related to the inquiry of the host computer and the storage apparatus is shown. 実施例2に係る計算機システムの構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a computer system according to a second embodiment. 実施例2に係る移行元ストレージ装置のポート位置テーブルの一例を示す図である。It is a figure which shows an example of the port position table of the migration source storage apparatus which concerns on Example 2. FIG. 実施例2に係る移行先ストレージ装置のポート割り当てテーブルの一例を示す図である。FIG. 10 is a diagram showing an example of a port allocation table of the migration destination storage apparatus related to the second embodiment. 実施例2に係る仮想ポート位置付与処理の流れの一部分を示す。10 shows a part of the flow of a virtual port position assignment process according to the second embodiment. その仮想ポート位置付与処理の流れの残りを示す。The rest of the flow of the virtual port position assignment process is shown.
 以下、実施形態を説明する。 Hereinafter, embodiments will be described.
 以下の説明では、「AAAテーブル」の表現にて情報を説明することがあるが、情報は、どのようなデータ構造で表現されていてもよい。すなわち、情報がデータ構造に依存しないことを示すために、「AAAテーブル」を「AAA情報」と呼ぶことができる。 In the following description, information may be described using the expression “AAA table”, but the information may be expressed in any data structure. That is, the “AAA table” can be referred to as “AAA information” to indicate that the information does not depend on the data structure.
 また、以下の説明では、種々の要素(例えば、サーバ、ポート)のID(識別情報)として、番号が使用されるが、番号に代えて又は加えて他種の情報が使用されてもよい。 In the following description, numbers are used as IDs (identification information) of various elements (for example, servers and ports), but other types of information may be used instead of or in addition to numbers.
 また、以下の説明では、「プログラム」を主語として処理を説明する場合があるが、プログラムは、プロセッサ(例えばCPU(Central Processing Unit))によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)及び/又は通信インタフェイス装置(例えば、ポート)を用いながら行うため、処理の主語がプロセッサとされてもよい。プログラムを主語として説明された処理は、プロセッサを含む装置が行う処理としてもよい。また、装置には、プロセッサに代えて又は加えて、プロセッサが行う処理の一部又は全部を行うハードウェア回路を含んでもよい。コンピュータプログラムは、プログラムソースから装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバ、又は、計算機が読み取り可能な記憶メディアであってもよい。 In the following description, the process may be described with “program” as the subject, but the program is executed by a processor (for example, a CPU (Central Processing Unit)) so that a predetermined process can be appropriately performed. Since processing is performed using a storage resource (for example, a memory) and / or a communication interface device (for example, a port), the subject of processing may be a processor. The processing described with the program as the subject may be processing performed by an apparatus including a processor. Further, the apparatus may include a hardware circuit that performs a part or all of the processing performed by the processor instead of or in addition to the processor. The computer program may be installed on the device from a program source. The program source may be, for example, a program distribution server or a storage medium that can be read by a computer.
 また、以下の説明では、管理計算機が表示用情報を表示する場合は管理計算機が管理システムでよい。また、管理計算機と表示用計算機の組み合わせも管理システムでよい。また、管理処理の高速化や高信頼化のために複数の計算機で管理計算機と同等の処理を実現してもよく、この場合はそれら複数の計算機(表示を表示用計算機が行う場合は表示用計算機も含んでよい)が管理システムでよい。以下の実施形態では、管理計算機が管理システムでよい。また、管理計算機が情報を表示するとは、管理計算機が有する表示デバイスに情報を表示することであってもよいし、管理計算機に接続された表示用計算機に表示用情報を送信することであってもよい。後者の場合、表示用計算機が有する表示デバイスに表示用情報が表す情報が表示用計算機によって表示されてよい。 In the following description, when the management computer displays the display information, the management computer may be a management system. Also, the management system may be a combination of the management computer and the display computer. In addition, in order to increase the speed and reliability of management processing, multiple computers may perform processing equivalent to that of the management computer. In this case, these multiple computers (for display when the display computer performs display) A computer may also be included). In the following embodiments, the management computer may be a management system. Further, the management computer displaying information may mean displaying information on a display device of the management computer, or sending display information to a display computer connected to the management computer. Also good. In the latter case, information represented by the display information may be displayed by the display computer on a display device included in the display computer.
 また、以下の説明において、「ボリューム」又は「LDEV」は、論理ボリュームである。ボリュームは、物理的な記憶デバイスに基づく実体的なボリュームでもよいし、Thin Provisioning等の技術に従う仮想的なボリュームでもよい。 In the following description, “volume” or “LDEV” is a logical volume. The volume may be a substantive volume based on a physical storage device, or may be a virtual volume according to a technique such as Thin Provisioning.
 まず、本発明の一実施形態の概要を簡単に説明する。 First, an outline of an embodiment of the present invention will be briefly described.
 ストレージ装置は、仮想ストレージ装置テーブルと、ボリューム割り当てテーブルと、ポート割り当てテーブルとを有する。仮想ストレージ装置テーブルは、仮想ストレージ装置の装置IDと、その仮想ストレージ装置が配置されているストレージ装置の装置IDとを保持する。ボリューム割り当てテーブルは、仮想ストレージ装置のIDと、物理LDEVのIDと、その物理LDEVに付与した仮想LDEVのIDと、その物理LDEVが属する物理ストレージ装置のIDとを保持する。ポート割り当てテーブルは、物理ポート位置と、物理ポートに付与した仮想ポート位置と、その物理ポートが属する物理ストレージ装置のIDとを保持する。 The storage device has a virtual storage device table, a volume allocation table, and a port allocation table. The virtual storage device table holds the device ID of the virtual storage device and the device ID of the storage device in which the virtual storage device is arranged. The volume allocation table holds a virtual storage device ID, a physical LDEV ID, a virtual LDEV ID assigned to the physical LDEV, and a physical storage device ID to which the physical LDEV belongs. The port assignment table holds a physical port position, a virtual port position assigned to the physical port, and an ID of the physical storage device to which the physical port belongs.
 また、ストレージ装置は、物理ポートごとにアクセスするホスト計算機によって応答方法を変化させる機能(ホストグループ機能)を有する。例えば、第1及び第2のホスト計算機の各々が、LUN(Logical Unit Number)1を指定してLDEVにアクセスしたとき、第1のホスト計算機には、LDEV ID1のデータを返却し、第2のホスト計算機にはLDEV ID2のデータを返却することが可能となる。ホストグループ機能を管理するために、ストレージ装置は、ホストグループを設定する物理ポート位置と、物理ストレージ装置のIDと、ホスト計算機の識別子とを格納したホストグループテーブルを有する。 The storage device also has a function (host group function) for changing the response method by a host computer that accesses each physical port. For example, when each of the first and second host computers designates LUN (Logical Unit Number) 1 and accesses the LDEV, the LDEV ID1 data is returned to the first host computer and the second host computer is returned. It is possible to return LDEV ID2 data to the host computer. In order to manage the host group function, the storage apparatus has a host group table storing a physical port position for setting a host group, an ID of the physical storage apparatus, and an identifier of the host computer.
 また、ストレージ装置は、1つのストレージ装置が持つ複数種類のリソースをグループとして管理する機能(以下、リソースグループ機能)を有する。ストレージ装置は、リソースグループテーブルを有する。リソースグループテーブルは、リソースグループが属する仮想ストレージ装置の仮想ストレージ装置名と、物理LDEVまたは仮想LDEVのIDと、ホストグループ名とを保持する。また、ストレージ装置は、ホスト計算機がLDEVにアクセスするために、ホストグループごとにパスを設定する機能(パス機能)を有する。ストレージ装置は、パス設定テーブルを有する。パス設定テーブルは、リソースグループ名と、ホストグループ名と、LUNと、仮想LDEV IDとを保持する。 In addition, the storage device has a function of managing a plurality of types of resources possessed by one storage device as a group (hereinafter referred to as resource group function). The storage device has a resource group table. The resource group table holds the virtual storage device name of the virtual storage device to which the resource group belongs, the physical LDEV or virtual LDEV ID, and the host group name. The storage apparatus also has a function (path function) for setting a path for each host group so that the host computer can access the LDEV. The storage device has a path setting table. The path setting table holds a resource group name, a host group name, a LUN, and a virtual LDEV ID.
 古い(移行元の)物理ストレージ装置が、ストレージ装置(移行先のストレージ装置)上の仮想ストレージ装置として移行された場合、(A1)古い物理ストレージ装置のIDに基づいて仮想ストレージ装置テーブルが更新され、(A2)古い物理ストレージ装置が有していたリソースに基づいて、ボリューム割り当てテーブルが更新され、(A3)古い物理ストレージ装置の有するポート位置に基づいて、ポート割り当てテーブルが更新され、(A4)リソースグループが作成され、且つ、(A5)リソースグループテーブルが更新される。また、複数の物理ストレージ装置から構成される仮想ストレージ装置が作成された場合、(B1)いずれか1つの物理ストレージ装置のIDによって、仮想ストレージ装置テーブルが更新され、(B2)新規のリソースグループが作成され、且つ、(B3)リソースグループテーブルが更新される。 When an old (migration source) physical storage device is migrated as a virtual storage device on the storage device (migration destination storage device), (A1) the virtual storage device table is updated based on the old physical storage device ID. (A2) The volume allocation table is updated based on the resources of the old physical storage device, (A3) the port allocation table is updated based on the port position of the old physical storage device, and (A4) A resource group is created, and (A5) the resource group table is updated. When a virtual storage device composed of a plurality of physical storage devices is created, (B1) the virtual storage device table is updated with the ID of any one physical storage device, and (B2) a new resource group is created. Created and (B3) resource group table is updated.
 或るリソースグループに属するLDEVに対して、ホスト計算機が物理ポートのWWNとLUNとを指定してInquiryを発行した場合、物理ストレージ装置は、(C1)リソースグループテーブルとパス設定テーブルとから仮想LDEV IDを取得し、(C2)ボリューム割り当てテーブルから仮想ストレージ装置IDと物理LDEV IDとを取得し、(C3)ポート割り当てテーブルから仮想ポート位置を取得し、且つ、(C4)ホスト計算機に対して、ボリュームIDと、仮想ポート位置とを返却する。 When the host computer issues an inquiry specifying the WWN and LUN of the physical port for an LDEV belonging to a certain resource group, the physical storage device uses the virtual LDEV from the (C1) resource group table and path setting table. (C2) Get the virtual storage device ID and physical LDEV ID from the volume assignment table, (C3) Get the virtual port position from the port assignment table, and (C4) For the host computer Returns the volume ID and virtual port position.
 以下、図を参照して、実施形態を説明する。なお、以下の説明では、同種の要素を区別して説明する場合には参照符号(又はID)を使用し、同種の要素を区別しないで説明する場合には参照符号のうちの共通符号を使用することがある。 Hereinafter, embodiments will be described with reference to the drawings. In the following description, reference symbols (or IDs) are used when distinguishing and explaining the same type of elements, and common symbols among the reference symbols are used when explaining without distinguishing the same type of elements. Sometimes.
 図1は、実施形態の概要を示すブロック図である。 FIG. 1 is a block diagram showing an outline of the embodiment.
 計算機システムは、ストレージ装置100a乃至100cと、ホスト計算機150a乃至150cとを有する。 The computer system includes storage apparatuses 100a to 100c and host computers 150a to 150c.
 ストレージ装置100a乃至100cには、ストレージ装置100内または複数のストレージ装置100にまたがって、仮想ストレージ装置110aや110bを形成することができる。 In the storage apparatuses 100a to 100c, virtual storage apparatuses 110a and 110b can be formed in the storage apparatus 100 or across a plurality of storage apparatuses 100.
 ストレージ装置100は、ストレージ装置100が有する記憶デバイス(図1には図示せず)を論理的に区分した領域であるLDEV(Logical Device)130a乃至130dと、ホスト計算機150と接続するためのポート140a乃至140dと、メモリ220とを有する。 The storage apparatus 100 includes LDEVs (Logical Devices) 130a to 130d that are logically divided areas of storage devices (not shown in FIG. 1) included in the storage apparatus 100, and a port 140a for connecting to the host computer 150. Through 140d and a memory 220.
 メモリ220は、各物理ストレージ装置100または仮想ストレージ装置110の装置ID(装置識別子)105a乃至105c(以下、各IDの区別が不要である場合は装置ID105と総称する)を格納する。なお、図1では、各物理ストレージ装置100や仮想ストレージ装置110の装置ID105を模式的にメモリ220の外に記載している。物理ストレージ装置100または仮想ストレージ装置110に属するLDEV130とポート140とに対して、ホスト計算機150がそのLDEV130やポート140が所属している物理ストレージ装置100または仮想ストレージ装置110の装置ID105を問い合わせると、問い合せを受けた物理ストレージ装置100または仮想ストレージ装置110は、その装置に付与された装置ID105をホスト計算機150に返却する。以上の構成および処理は、図2以降にて詳しく説明する。 The memory 220 stores device IDs (device identifiers) 105a to 105c of the physical storage devices 100 or the virtual storage devices 110 (hereinafter collectively referred to as device IDs 105 when it is not necessary to distinguish each ID). In FIG. 1, the device ID 105 of each physical storage device 100 or virtual storage device 110 is schematically shown outside the memory 220. When the host computer 150 inquires about the device ID 105 of the physical storage device 100 or virtual storage device 110 to which the LDEV 130 or port 140 belongs to the LDEV 130 and port 140 belonging to the physical storage device 100 or virtual storage device 110, The physical storage device 100 or virtual storage device 110 that has received the inquiry returns the device ID 105 assigned to the device to the host computer 150. The above configuration and processing will be described in detail with reference to FIG.
 図2は、計算機システムの構成を示すブロック図である。 FIG. 2 is a block diagram showing the configuration of the computer system.
 ストレージ装置100は、CPU210(制御部の一例)と、メモリ220と、記憶デバイス131と、記憶デバイス131の有する記憶領域から作成された論理的な記憶領域であるボリューム130と、ホスト計算機150からデータネットワーク(例えばSAN(Storage Area Network))230を介してデータI/Oを受け付けるデータポート140(以下、単にポート140と言うことがある)と、管理計算機(管理システムの一例)250から管理ネットワーク240(例えばLAN(Local Area Network))を介して管理操作要求を受け付ける管理ポート141とを含む。CPU210は、データポート140、管理ポート141、メモリ220及び記憶デバイス131に接続されている。ネットワーク230及び240は一体でもよい。 The storage apparatus 100 includes a CPU 210 (an example of a control unit), a memory 220, a storage device 131, a volume 130 that is a logical storage area created from the storage area of the storage device 131, and data from the host computer 150. A data port 140 that receives data I / O via a network (for example, SAN (Storage Area Network)) 230 (hereinafter may be simply referred to as port 140), and a management computer (an example of a management system) 250 to a management network 240 (For example, a management port 141 that receives a management operation request via a LAN (Local Area Network)). The CPU 210 is connected to the data port 140, the management port 141, the memory 220, and the storage device 131. The networks 230 and 240 may be integrated.
 データネットワーク230は、データのI/Oが発行できるネットワークであれよく、FC(Fibre Channel)ネットワークが好適である。データポート140は、データI/Oを送受信することができるポートであればよく、FCポートが好適である。管理ネットワーク240は、管理操作の要求を発行できるネットワークであればよく、Ethernet(登録商標)やFCネットワークが好適である。管理ポート141は、管理操作の要求を送受信することができるポートであればよく、EthernetポートやFCポートが好適である。 The data network 230 may be a network that can issue data I / O, and is preferably an FC (Fibre Channel) network. The data port 140 may be a port that can transmit and receive data I / O, and is preferably an FC port. The management network 240 may be any network that can issue a management operation request, and is preferably an Ethernet (registered trademark) or an FC network. The management port 141 may be a port that can transmit and receive a management operation request, and is preferably an Ethernet port or an FC port.
 図3は、ストレージ装置のメモリの構成の一例を示すブロック図である。 FIG. 3 is a block diagram illustrating an example of a memory configuration of the storage apparatus.
 メモリ220は、仮想ストレージ装置テーブル102と、ボリューム割り当てテーブル103と、ポート位置テーブル104と、ポート割り当てテーブル105と、パス設定テーブル106と、ホストグループテーブル107と、リソースグループテーブル108と、構成管理プログラム221と、論理リソースグループプログラム222とを記憶する。 The memory 220 includes a virtual storage device table 102, a volume allocation table 103, a port location table 104, a port allocation table 105, a path setting table 106, a host group table 107, a resource group table 108, and a configuration management program. 221 and the logical resource group program 222 are stored.
 仮想ストレージ装置テーブル102には、仮想ストレージ装置と、仮想ストレージ装置を構成する物理ストレージ装置との関係が記載されている。ボリューム割り当てテーブル103には、仮想ストレージ装置と、物理LDEVのID(第1ボリューム識別子)と、物理LDEVに設定した仮想LDEVのID(第2ボリューム識別子)との関係が記載されている。ポート位置テーブル104には、物理ポートのWWN(World Wide Name)と、この物理ポートで使用されるプロトコルとが記載されている。ポート割り当てテーブル105には、仮想ストレージ装置と、物理ポートの位置(第1ポート位置情報)と、その物理ポートが実装されている物理ストレージ装置の装置IDと、物理ポートに設定した仮想ポート位置(第2ポート位置情報)との関係が記載されている。 The virtual storage device table 102 describes the relationship between the virtual storage device and the physical storage devices constituting the virtual storage device. The volume allocation table 103 describes the relationship between the virtual storage device, the physical LDEV ID (first volume identifier), and the virtual LDEV ID (second volume identifier) set in the physical LDEV. The port location table 104 describes a WWN (World Wide Name) of a physical port and a protocol used in the physical port. The port allocation table 105 includes a virtual storage device, a physical port location (first port location information), a device ID of a physical storage device in which the physical port is mounted, and a virtual port location set for the physical port ( 2nd port position information) is described.
 パス設定テーブル106には、ホストグループと、物理LDEV IDと、LUNとの関係が記載されている。ホストグループテーブル107には、ホストグループと、そのホストグループを作成する物理ストレージ装置のIDと、ホストグループを設定する物理ポート位置と、ホストグループに登録するホスト計算機のWWNとの関係が記載されている。リソースグループテーブル108には、リソースグループと、そのリソースグループを作成する仮想ストレージ装置のIDと、そのリソースグループに含まれる仮想LDEV IDと、ホストグループ名との関係が記載されている。 The path setting table 106 describes the relationship between the host group, physical LDEV ID, and LUN. The host group table 107 describes the relationship between the host group, the ID of the physical storage device that creates the host group, the physical port position where the host group is set, and the WWN of the host computer registered in the host group. Yes. The resource group table 108 describes the relationship between the resource group, the ID of the virtual storage device that creates the resource group, the virtual LDEV ID included in the resource group, and the host group name.
 構成管理プログラム221は、ユーザが操作する管理計算機250からの指示を受けて、メモリ220に格納された各テーブル102乃至108の記載内容を参照し、更新する機能を実現するためのプログラムである。構成管理プログラム221は、ストレージ装置100のCPU210により起動されて実行されることで、上記機能を実現する。 The configuration management program 221 is a program for realizing a function of receiving an instruction from the management computer 250 operated by the user and referring to the contents described in the tables 102 to 108 stored in the memory 220 for updating. The configuration management program 221 realizes the above functions by being activated and executed by the CPU 210 of the storage apparatus 100.
 論理リソースグループプログラム222は、ホスト計算機150がLDEV130に対して発行したInquiryに応答するために、メモリ220に格納された各テーブル102乃至108を参照して、ボリュームIDとポート位置情報とを返却する機能を実現するためのプログラムである。論理リソースグループプログラム222は、ストレージ装置100のCPU210により起動されて実行されることで、上記機能を実現する。論理リソースグループプログラム222による処理は図24及び図25にて詳説する。 The logical resource group program 222 returns a volume ID and port location information with reference to the tables 102 to 108 stored in the memory 220 in order to respond to the inquiry issued by the host computer 150 to the LDEV 130. This is a program for realizing the function. The logical resource group program 222 is activated and executed by the CPU 210 of the storage apparatus 100, thereby realizing the above functions. The processing by the logical resource group program 222 will be described in detail with reference to FIGS.
 図4は、管理計算機の構成を示すブロック図である。 FIG. 4 is a block diagram showing the configuration of the management computer.
 管理計算機250は、メモリ252と、ポート254と、それらに接続されたCPU251とを含む。メモリ252は、ストレージ装置テーブル101と、管理プログラム253とを格納する。 The management computer 250 includes a memory 252, a port 254, and a CPU 251 connected to them. The memory 252 stores the storage device table 101 and the management program 253.
 ストレージ装置テーブル101には、管理計算機250が管理するストレージ装置の名称とそのIDと、そのモデルとの関係が記載されている。ポート254は、ネットワークを介してストレージ装置100の管理ポート141に接続されている。管理プログラム253は、ポート254を介してストレージ装置100の構成管理プログラム221を操作する機能を実現するためのプログラムである。管理プログラム253は、管理計算機250のCPU251に実行されることにより、上記機能を実現する。 The storage device table 101 describes the relationship between the name of the storage device managed by the management computer 250, its ID, and its model. The port 254 is connected to the management port 141 of the storage apparatus 100 via a network. The management program 253 is a program for realizing a function of operating the configuration management program 221 of the storage apparatus 100 via the port 254. The management program 253 implements the above functions by being executed by the CPU 251 of the management computer 250.
 図5は、ストレージ装置テーブルの一例を示す図である。 FIG. 5 is a diagram showing an example of the storage device table.
 ストレージ装置テーブル101は、物理ストレージ装置名を示す物理ストレージ装置名カラム1011と、ストレージ装置のIDを示す装置IDカラム1012とを有する。また、ストレージ装置テーブル101は、ストレージ装置100のモデルを示すモデルカラム1013を有していてもよい。 The storage device table 101 has a physical storage device name column 1011 indicating a physical storage device name, and a device ID column 1012 indicating a storage device ID. Further, the storage apparatus table 101 may have a model column 1013 indicating the model of the storage apparatus 100.
 図6は、物理ストレージ装置、仮想ストレージ装置、およびそれらの装置IDの関係を模式的に記載したブロック図である。 FIG. 6 is a block diagram schematically showing the relationship between physical storage devices, virtual storage devices, and their device IDs.
 ストレージシステムには、物理ストレージ装置100a乃至100cが設置されており、各物理ストレージ装置100は、互いにSAN(Storage Area Network)で接続されている。 In the storage system, physical storage devices 100a to 100c are installed, and the physical storage devices 100 are connected to each other via a SAN (Storage Area Network).
 図6のストレージシステムにおいては、ユーザによる管理計算機250への操作により、物理ストレージ装置1(100a)に、仮想ストレージ装置1が作成され、物理ストレージ装置1(100a)と、物理ストレージ装置3(100b)と、物理ストレージ装置4(100c)とにまたがる仮想ストレージ装置2が作成され、移行元の物理ストレージ装置(移行元ストレージ装置)100dの移行先とする仮想ストレージ装置3が物理ストレージ装置1(100a)に作成されている。 In the storage system of FIG. 6, the virtual storage device 1 is created in the physical storage device 1 (100a) by the user's operation on the management computer 250, and the physical storage device 1 (100a) and the physical storage device 3 (100b) are created. ) And the physical storage device 4 (100c) are created, and the virtual storage device 3 that is the migration destination of the migration source physical storage device (migration source storage device) 100d is the physical storage device 1 (100a). ) Has been created.
 物理ストレージ装置1(100a)の装置IDは、12345であり、物理ストレージ装置3(100b)のIDは、34567であり、物理ストレージ装置4(100c)のIDは、45678である。 The device ID of the physical storage device 1 (100a) is 12345, the ID of the physical storage device 3 (100b) is 34567, and the ID of the physical storage device 4 (100c) is 45678.
 物理ストレージ装置1(100a)は、各仮想ストレージ装置に装置IDを設定する必要があり、その設定方法を図中の矢印に示している。例えば、仮想ストレージ装置1には物理ストレージ装置1(100a)と同じ装置IDを設定する一方、仮想ストレージ装置3には、移行元ストレージ装置100dの装置IDを設定する。このような仮想ストレージ装置への装置IDの設定処理の詳細およびその効果は後述する。 The physical storage device 1 (100a) needs to set a device ID for each virtual storage device, and the setting method is indicated by an arrow in the figure. For example, the same device ID as that of the physical storage device 1 (100a) is set in the virtual storage device 1, while the device ID of the migration source storage device 100d is set in the virtual storage device 3. Details of the device ID setting processing for the virtual storage device and the effect thereof will be described later.
 図7は、仮想ストレージ装置テーブルの一例を示す図である。 FIG. 7 is a diagram showing an example of the virtual storage device table.
 仮想ストレージ装置テーブル102は、仮想ストレージ装置と、仮想ストレージ装置を構成する物理ストレージ装置と、の関係を記載したテーブルである。仮想ストレージ装置テーブル102は、仮想ストレージ装置名カラム1021と、(正)物理ストレージ装置IDカラム1022と、(副)物理ストレージ装置IDカラム1023と、移行元ストレージ装置IDカラム1024と、装置IDカラム1025とを含む。 The virtual storage device table 102 is a table that describes the relationship between the virtual storage device and the physical storage devices that constitute the virtual storage device. The virtual storage device table 102 includes a virtual storage device name column 1021, a (primary) physical storage device ID column 1022, a (secondary) physical storage device ID column 1023, a migration source storage device ID column 1024, and a device ID column 1025. Including.
 仮想ストレージ装置名カラム1021は、仮想ストレージ装置を示す仮想ストレージ装置名を格納する。(正)物理ストレージ装置IDカラム1022は、仮想ストレージ装置を構成する物理ストレージ装置の装置IDを格納する。(正)物理ストレージ装置IDカラム1022には、仮想ストレージ装置が複数の物理ストレージ装置から構成される場合は、代表となる物理ストレージ装置の装置IDが格納される。例えば、複数の物理ストレージ装置の間で正副関係がある場合は、(正)物理ストレージ装置IDカラム1022には、正の物理ストレージ装置の装置IDが格納される。(副)物理ストレージ装置IDカラム1023は、仮想ストレージ装置を構成する物理ストレージ装置の装置IDを格納する。仮想ストレージ装置が単体の物理ストレージ装置で構成される場合は、(副)物理ストレージ装置IDカラム1023は、空欄となる。移行元ストレージ装置IDカラム1024には、仮想ストレージ装置が他の物理ストレージ装置からの移行によって作成されているときに、移行元となる物理ストレージ装置の装置IDが格納される。装置ID1025には、仮想ストレージ装置に設定する装置IDが格納される。 The virtual storage device name column 1021 stores a virtual storage device name indicating the virtual storage device. The (correct) physical storage device ID column 1022 stores device IDs of physical storage devices that constitute the virtual storage device. The (correct) physical storage device ID column 1022 stores the device ID of a representative physical storage device when the virtual storage device is composed of a plurality of physical storage devices. For example, when there is a primary / secondary relationship among a plurality of physical storage devices, the (primary) physical storage device ID column 1022 stores the device ID of the positive physical storage device. The (secondary) physical storage device ID column 1023 stores device IDs of physical storage devices that constitute the virtual storage device. When the virtual storage device is configured by a single physical storage device, the (secondary) physical storage device ID column 1023 is blank. The migration source storage device ID column 1024 stores the device ID of the physical storage device that is the migration source when the virtual storage device is created by migration from another physical storage device. The device ID 1025 stores a device ID set for the virtual storage device.
 図8は、物理ストレージ装置と、仮想ストレージ装置と、リソースグループとの関係を模式的に記載した第1のブロック図である。図8は、1つの物理ストレージ装置に複数のリソースグループRGを作成した場合の状態を示している。 FIG. 8 is a first block diagram schematically showing the relationship between the physical storage device, the virtual storage device, and the resource group. FIG. 8 shows a state where a plurality of resource groups RG are created in one physical storage device.
 図8は、ユーザによる管理計算機250への操作により、仮想ストレージ装置1に、物理LDEV130a乃至130d、ポート140aとポート140bとが割り当てられ、ポート140aにホストグループHG1が作成され、ポート140bにホストグループHG2が作成され、LDEV130aとLDEV130bとHG1とからなるリソースグループRG1が作成され、LDEV130cとLDEV130dとHG2とからなるリソースグループRG2が作成された状態を示している。 FIG. 8 shows that the physical LDEVs 130a to 130d, the ports 140a and 140b are allocated to the virtual storage apparatus 1 by the operation of the management computer 250 by the user, the host group HG1 is created in the port 140a, and the host group is in the port 140b. This shows a state in which HG2 is created, a resource group RG1 composed of LDEV 130a, LDEV 130b, and HG1 is created, and a resource group RG2 composed of LDEV 130c, LDEV 130d, and HG2 is created.
 ここで、LDEV130aには、仮想LDEV IDとして1が設定され、LDEV130bには、仮想LDEV IDとして2が設定され、LDEV130cには、仮想LDEV IDとして1が設定され、LEV130dには仮想LDEV IDとして2が設定されている。また、ポート140aには、仮想ポート位置1Aが設定され、ポート140bには、仮想ポート位置1Aが設定されている。このように仮想LDEV IDや仮想ポート位置が設定されると、物理LDEV IDや物理ポート位置に依存することなくリソースグループの中でLDEV IDやポート位置の開始番号を1にする、あるいはLDEV IDやポート位置を連続にすることができるため、ユーザの利便性が高まる。 Here, 1 is set as the virtual LDEV ID in the LDEV 130a, 2 is set as the virtual LDEV ID in the LDEV 130b, 1 is set as the virtual LDEV ID in the LDEV 130c, and 2 is set as the virtual LDEV ID in the LDEV 130d. Is set. Also, the virtual port position 1A is set for the port 140a, and the virtual port position 1A is set for the port 140b. When the virtual LDEV ID or virtual port position is set in this way, the LDEV ID or port position start number is set to 1 in the resource group without depending on the physical LDEV ID or physical port position, or the LDEV ID or Since the port position can be made continuous, the convenience for the user is enhanced.
 図9は、物理ストレージ装置と、仮想ストレージ装置と、リソースグループとの関係を模式的に記載した第2のブロック図である。 FIG. 9 is a second block diagram schematically showing the relationship between the physical storage device, the virtual storage device, and the resource group.
 図9は、ユーザによる管理計算機250への操作により、仮想ストレージ装置2に物理LDEV130e乃至130h、ポート140a(ポート1A)とポート140c(ポートIB)とポート140d(ポート1A)とが割り当てられ、ポート140aにホストグループHG3が作成され、ポート140cにホストグループHG4が作成され、ポート140dにホストグループHG5が作成され、LDEV130e乃至130hとHG3乃至HG5からなるリソースグループRG3が作成された状態を示している。 FIG. 9 shows that physical LDEVs 130e to 130h, port 140a (port 1A), port 140c (port IB), and port 140d (port 1A) are assigned to the virtual storage system 2 by the user operating the management computer 250. The host group HG3 is created in 140a, the host group HG4 is created in the port 140c, the host group HG5 is created in the port 140d, and the resource group RG3 composed of the LDEVs 130e to 130h and HG3 to HG5 is created. .
 また、複数の異なるLDEVに対して同一の仮想LDEV IDが設定されている。具体的には、LDEV130eとLDEV130fとが同一のデータを格納するので、これらに同一の仮想LDEV IDとして1が設定され、LDEV130gとLDEV130hとが同一のデータを格納するので、これらに同一の仮想LDEV ID2が設定されている。かかる設定によって、ホスト計算機は、仮想LDEV IDを指定することで、物理LDEVの構成に依存せず物理LDEVに格納されているデータにアクセスすることができる。 Also, the same virtual LDEV ID is set for a plurality of different LDEVs. Specifically, since the LDEV 130e and the LDEV 130f store the same data, the same virtual LDEV ID is set to 1 and the LDEV 130g and the LDEV 130h store the same data, so the same virtual LDEV is stored in them. ID2 is set. With this setting, the host computer can access the data stored in the physical LDEV without depending on the configuration of the physical LDEV by specifying the virtual LDEV ID.
 図10は、物理ストレージ装置と、仮想ストレージ装置と、リソースグループとの関係を模式的に記載した第3のブロック図である。 FIG. 10 is a third block diagram schematically showing the relationship between the physical storage device, the virtual storage device, and the resource group.
 図10は、ある物理ストレージ装置(移行元ストレージ装置)を他の物理ストレージ装置の中の仮想ストレージ装置3に移行する場合における状態を示している。 FIG. 10 shows a state when a certain physical storage device (migration source storage device) is migrated to the virtual storage device 3 in another physical storage device.
 移行元ストレージ装置100dは、物理LDEV130i(物理LDEV IDは1)と物理LDEV130j(物理LDEV IDは2)とを有しており、これらLDEV130i及び130jは、移行先となる仮想ストレージ装置3の物理LDEV130kと物理LDEV130lにデータがコピーされる。 The migration source storage apparatus 100d has a physical LDEV 130i (physical LDEV ID is 1) and a physical LDEV 130j (physical LDEV ID is 2). These LDEVs 130i and 130j are physical LDEVs 130k of the virtual storage apparatus 3 that is the migration destination. The data is copied to the physical LDEV 130l.
 また、移行元ストレージ装置100dは、物理ポート140dと物理ポート140eとを有する。このような状況で、物理LDEV130kに仮想LDEV IDとして1が設定され、物理LDEV130lに仮想LDEV IDとして2が設定される。また、物理ポート140aと物理ポート140bとには、それぞれ仮想ポート位置2Aと仮想ポート位置2Bとが設定される。かかる設定により、仮想ストレージ装置3を利用するホスト計算機は、移行元ストレージ装置100dで使用していたLDEV IDやポート位置を変更することなく、物理LDEV130k等にアクセスすることができるので利便性を高めることができる。 Also, the migration source storage apparatus 100d has a physical port 140d and a physical port 140e. Under such circumstances, 1 is set as the virtual LDEV ID in the physical LDEV 130k, and 2 is set as the virtual LDEV ID in the physical LDEV 130l. In addition, a virtual port position 2A and a virtual port position 2B are set in the physical port 140a and the physical port 140b, respectively. With this setting, the host computer that uses the virtual storage device 3 can access the physical LDEV 130k and the like without changing the LDEV ID and the port location used in the migration source storage device 100d, thus increasing convenience. be able to.
 図11は、ボリューム割り当てテーブルの一例を示す図である。 FIG. 11 is a diagram showing an example of a volume allocation table.
 ボリューム割り当てテーブル103は、仮想ストレージ装置名を示す仮想ストレージ装置名カラム1031と、物理LDEVが存在する物理ストレージ装置の装置IDを示す物理ストレージ装置IDカラム1032と、物理LDEVのIDを示す物理LDEV IDカラム1033と、この物理LDEVに設定された仮想LDEVのIDを示す仮想LDEV IDカラム1034とを含む。 The volume allocation table 103 includes a virtual storage device name column 1031 indicating a virtual storage device name, a physical storage device ID column 1032 indicating a device ID of a physical storage device where the physical LDEV exists, and a physical LDEV ID indicating an ID of the physical LDEV. A column 1033 and a virtual LDEV ID column 1034 indicating the ID of the virtual LDEV set in the physical LDEV.
 なお、各物理ストレージ装置100は、その物理ストレージ装置100がもつ物理LDEVのみを管理すればよいため、各物理ストレージ装置100は、ボリューム割り当てテーブル103として、物理ストレージ装置IDカラム1032が、その物理ストレージ装置100のIDと合致する行のみを含むようにしてもよい。かかる構成をとることで、ボリューム割り当てテーブル103の全体をすべての物理ストレージ装置100が管理する必要がなくなるため、必要なメモリ量を低減することができ、また、テーブルの更新処理の際に必要なデータ転送量を削減することができる。 Since each physical storage device 100 only needs to manage the physical LDEV that the physical storage device 100 has, each physical storage device 100 has a physical storage device ID column 1032 as its volume allocation table 103. Only lines that match the ID of the device 100 may be included. By adopting such a configuration, it is not necessary for all the physical storage apparatuses 100 to manage the entire volume allocation table 103, so that it is possible to reduce the required memory amount, and it is necessary for the table update processing. Data transfer amount can be reduced.
 図12は、ポート位置テーブルの一例を示す図である。 FIG. 12 is a diagram showing an example of the port position table.
 ポート位置テーブル104は、物理ポートの位置を示す物理ポート位置カラム1041と、物理ポートに設定されたWWNを示すWWNカラム1042とを含む。ポート位置テーブル104は、物理ポートで使用するプロトコルを示すプロトコルカラム1043を有していてもよい。WWNカラム1042に格納する情報は、物理ポートで使用するプロトコルがFCの場合は、WWNが好適であるが、iSCSIの場合は、iqn(iSCSi Qualified Name)であってもよい。 The port position table 104 includes a physical port position column 1041 indicating the position of the physical port and a WWN column 1042 indicating the WWN set for the physical port. The port location table 104 may have a protocol column 1043 indicating a protocol used for a physical port. The information stored in the WWN column 1042 is preferably WWN when the protocol used in the physical port is FC, but may be iqn (iSCSI Si Qualified Name) in the case of iSCSI.
 図13は、ポート割り当てテーブルの一例を示す図である。 FIG. 13 is a diagram illustrating an example of a port assignment table.
 ポート割り当てテーブル105は、仮想ストレージ装置名を示す仮想ストレージ装置名カラム1051と、物理ポートが存在する物理ストレージ装置の装置IDを示す物理ストレージ装置IDカラム1052と、物理ポートの位置を示す物理ポート位置カラム1053と、この物理ポートに設定された仮想ポート位置を示す仮想ポート位置カラム1054とを含む。 The port allocation table 105 includes a virtual storage device name column 1051 indicating a virtual storage device name, a physical storage device ID column 1052 indicating a device ID of a physical storage device in which a physical port exists, and a physical port position indicating a physical port position. A column 1053 and a virtual port position column 1054 indicating a virtual port position set for the physical port.
 なお、各物理ストレージ装置100は、その物理ストレージ装置100がもつ物理ポートのみを管理すればよいため、各物理ストレージ装置100は、ポート割り当てテーブル105として、物理ストレージ装置IDカラム1052が、その物理ストレージ装置の装置IDと合致する行のみを含むようにしてもよい。かかる構成をとることで、ポート割り当てテーブル105の全体をすべての物理ストレージ装置100が管理する必要がなくなるため、使用するメモリ量を低減することができ、また、テーブルの更新処理の際に必要なデータ転送量を削減することができる。 Since each physical storage device 100 only needs to manage the physical ports that the physical storage device 100 has, each physical storage device 100 has a physical storage device ID column 1052 as its port allocation table 105. Only a line that matches the device ID of the device may be included. By adopting such a configuration, it is not necessary for all the physical storage apparatuses 100 to manage the entire port allocation table 105, so that the amount of memory to be used can be reduced, and it is necessary for the table update process. Data transfer amount can be reduced.
 図14は、ホストグループテーブルの一例を示す図である。 FIG. 14 is a diagram showing an example of the host group table.
 ホストグループテーブル107は、ホストグループ名を示すホストグループ名カラム1071と、物理ポートが存在する物理ストレージ装置の装置IDを示す物理ストレージ装置IDカラム1072と、物理ポートの位置を示す物理ポート位置カラム1073と、このホストグループにアクセスできるホスト計算機のWWNの一覧を示すホスト計算機WWNカラム1074とを含む。なお、ホスト計算機WWNカラム1074に格納される情報は、物理ポートで使用するプロトコルがFCの場合はWWNの一覧が好適であるが、iSCSIの場合はiqnの一覧であってもよい。 The host group table 107 includes a host group name column 1071 indicating the host group name, a physical storage device ID column 1072 indicating the device ID of the physical storage device in which the physical port exists, and a physical port position column 1073 indicating the position of the physical port. And a host computer WWN column 1074 indicating a list of WWNs of host computers that can access this host group. The information stored in the host computer WWN column 1074 is preferably a list of WWNs when the protocol used in the physical port is FC, but may be a list of iqn when the protocol is iSCSI.
 なお、各物理ストレージ装置100は、その物理ストレージ装置100がもつホストグループのみを管理すればよいため、各物理ストレージ装置100は、ホストグループテーブル107として、物理ストレージ装置IDカラム1072が、その物理ストレージ装置の装置IDと合致する行のみを含むようにしてもよい。かかる構成をとることで、ホストグループテーブル107の全体をすべての物理ストレージ装置100が管理する必要がなくなるため、使用するメモリ量を低減することができ、また、テーブルの更新処理の際に必要なデータ転送量を削減することができる。 Since each physical storage device 100 only needs to manage the host group that the physical storage device 100 has, each physical storage device 100 has a physical storage device ID column 1072 as its host group table 107 and its physical storage. Only a line that matches the device ID of the device may be included. By adopting such a configuration, it becomes unnecessary for all the physical storage apparatuses 100 to manage the entire host group table 107, so that the amount of memory to be used can be reduced, and it is necessary for table update processing. Data transfer amount can be reduced.
 図15は、リソースグループテーブルの一例を示す図である。 FIG. 15 is a diagram illustrating an example of a resource group table.
 リソースグループテーブル108は、リソースグループ名を示すリソースグループ名カラム1081と、リソースグループを作成する物理ストレージ装置または仮想ストレージ装置名を示すストレージ装置名カラム1082と、リソースグループに含まれる物理LDEVのIDを示す物理LDEV IDカラム1083と、リソースグループに含まれるホストグループを示すホストグループ名カラム1084とを含む。 The resource group table 108 includes a resource group name column 1081 indicating a resource group name, a storage device name column 1082 indicating a physical storage device name or a virtual storage device name for creating the resource group, and IDs of physical LDEVs included in the resource group. A physical LDEV ID column 1083 shown, and a host group name column 1084 showing a host group included in the resource group.
 なお、各物理ストレージ装置100は、その物理ストレージ装置100が構成する仮想ストレージ装置110が持つリソースグループのみを管理すればよいため、各物理ストレージ装置100は、リソースグループテーブル108として、ストレージ装置名カラム1082が、その物理ストレージ装置が持つ仮想ストレージ装置の装置名と合致する行のみを含むようにしてもよい。かかる構成をとることで、リソースグループテーブル108の全体をすべての物理ストレージ装置100が管理する必要がなくなるため、使用するメモリ量を低減することができ、また、テーブルの更新処理の際に必要なデータ転送量を削減することができる。 Since each physical storage device 100 only needs to manage the resource group of the virtual storage device 110 that the physical storage device 100 has, each physical storage device 100 has a storage device name column as the resource group table 108. 1082 may include only a row that matches the device name of the virtual storage device possessed by the physical storage device. By adopting such a configuration, it is not necessary for all the physical storage apparatuses 100 to manage the entire resource group table 108, so that it is possible to reduce the amount of memory used, and it is necessary for the table update process. Data transfer amount can be reduced.
 図16は、パス設定テーブルの一例を示す図である。 FIG. 16 is a diagram illustrating an example of a path setting table.
 パス設定テーブル106は、ホストグループ名を示すホストグループ名カラム1061と、物理LDEVにアクセスするためにホスト計算機150が使用するIDであるLUNを示すLUNカラム1062と、物理LDEVのIDを示す物理LDEV IDカラム1063とを含む。 The path setting table 106 includes a host group name column 1061 indicating a host group name, a LUN column 1062 indicating a LUN that is an ID used by the host computer 150 to access the physical LDEV, and a physical LDEV indicating an ID of the physical LDEV. ID column 1063.
 図17は、ホスト計算機の構成を記載したブロック図である。 FIG. 17 is a block diagram showing the configuration of the host computer.
 ホスト計算機150は、メモリ720と、ポート730と、それらに接続されたCPU710とを含む。メモリ720には、各種の処理をするアプリケーション721と、交替パステーブル722と、交替パスプログラム723とが格納されている。アプリケーション721は、ボリューム130に対してI/Oを発行するためのプログラムであればよく、データベースプログラムやウェブサーバプログラムが好適である。 The host computer 150 includes a memory 720, a port 730, and a CPU 710 connected thereto. The memory 720 stores an application 721 for performing various processes, an alternate path table 722, and an alternate path program 723. The application 721 may be a program for issuing I / O to the volume 130, and a database program or a web server program is preferable.
 交替パスプログラム723は、CPU710に実行されることにより、交替パステーブル722を参照して、ボリューム130に対する経路を特定する処理を実行する。また、交替パスプログラム723は、CPU710により実行されると、同一のボリュームに対して複数の経路が存在する場合、障害等でアクセスできない経路を除いた経路に対してI/Oを発行する。I/Oの発行方法としては、I/Oごとにラウンドロビンで発行する方法や、一定期間連続して同じ経路を使う方法があげられる。 The alternate path program 723 is executed by the CPU 710 to execute processing for specifying a path for the volume 130 with reference to the alternate path table 722. Further, when the alternate path program 723 is executed by the CPU 710, when there are a plurality of paths for the same volume, the alternate path program 723 issues an I / O to a path excluding a path that cannot be accessed due to a failure or the like. As an I / O issuing method, there are a method of issuing a round robin for each I / O and a method of using the same route continuously for a certain period.
 ここで、交替パスプログラム723は、LUNで示される各LDEVが同一のストレージ装置であることを前提として作成されていることが多い。もし異なるストレージ装置のLDEVが含まれている場合、各LDEVに格納されているデータに差異が生じるため、パスを切り替えることができないためである。そこで、交替パスプログラム723は、LUNに対してInquiryを発行して、Inquiryの応答に含まれるストレージ装置のIDを取得し、同一のグループに含まれるLUNに対してすべて同じストレージ装置のLDEVが設定されていることを確認する処理を行うように構成されている。 Here, the alternate path program 723 is often created on the assumption that each LDEV indicated by LUN is the same storage device. This is because if the LDEVs of different storage apparatuses are included, the data stored in each LDEV is different, and the path cannot be switched. Therefore, the alternate path program 723 issues an inquiry to the LUN, obtains the ID of the storage device included in the inquiry response, and sets the LDEV of the same storage device for all the LUNs included in the same group. It is comprised so that the process which confirms that it is carried out may be performed.
 図18は、実施形態に係る交替パステーブルの一例を示す図である。 FIG. 18 is a diagram illustrating an example of an alternate path table according to the embodiment.
 交替パステーブル722は、ボリュームに対するパスのIDを示すパスIDカラム7221と、1つの交替パスとしてグループ化するパスを特定するためのグループIDカラム7222と、そのパスが経由する物理ポートのWWNを示すWWNカラム7223と、ボリュームのLUNを示すLUNカラム7224とを含む。WWNカラム7223に格納される情報は、物理ポートで使用するプロトコルがFCの場合はWWNが好適であるが、iSCSIの場合はiqnであってもよい。 The alternate path table 722 indicates a path ID column 7221 indicating a path ID for a volume, a group ID column 7222 for specifying a path to be grouped as one alternate path, and a WWN of a physical port through which the path passes. A WWN column 7223 and a LUN column 7224 indicating the LUN of the volume are included. The information stored in the WWN column 7223 is preferably WWN when the protocol used in the physical port is FC, but may be iqn when iSCSI.
 以下の各実施例では処理主体を管理計算機250として説明している場合があるが、ストレージ装置100が処理主体となっても構わない。 In the following embodiments, the processing entity may be described as the management computer 250, but the storage apparatus 100 may be the processing entity.
 実施例1は、仮想ストレージ装置の作成方法に応じて装置IDを仮想ストレージ装置に付与し、仮想ストレージリソースグループ内のボリュームに対するInquiryを受信したときに、ストレージ装置100が、この装置IDに基づいてボリュームIDを返却する実施例である。 In the first embodiment, when a device ID is assigned to a virtual storage device according to a virtual storage device creation method and an inquiry for a volume in a virtual storage resource group is received, the storage device 100 is based on this device ID. In this embodiment, the volume ID is returned.
 図19~図22は、仮想ストレージ装置ID設定処理の流れを示す。 19 to 22 show the flow of the virtual storage apparatus ID setting process.
 まず、管理計算機250は、ユーザから、仮想ストレージ装置を作成する物理ストレージ装置100の装置IDの選択を受け付ける。ここで、複数の物理ストレージ装置100に正副関係を設けて冗長構成を作成するときは、管理計算機250は、正となる物理ストレージ装置の装置IDの選択を受け付ける(S1901)。この際、管理計算機250は、ストレージ装置テーブル101を参照して、ユーザに物理ストレージ装置100の一覧を提示するとユーザビリティを向上することができる。 First, the management computer 250 accepts selection of the device ID of the physical storage device 100 that creates the virtual storage device from the user. Here, when creating a redundant configuration by providing a primary / secondary relationship with a plurality of physical storage devices 100, the management computer 250 accepts selection of the device ID of the primary physical storage device (S1901). At this time, the management computer 250 can improve usability by referring to the storage device table 101 and presenting a list of physical storage devices 100 to the user.
 次に、管理計算機250は、ユーザから、仮想ストレージ装置名の指定を受け付ける(S1902)。 Next, the management computer 250 accepts designation of the virtual storage device name from the user (S1902).
 次に、管理計算機250は、S1901とS1902とで受け付けた情報に基づいて、S1901で受け付けた物理ストレージ装置100に対して、仮想ストレージ装置テーブル102の更新を指示する(S1903)。この結果、物理ストレージ装置100は、仮想ストレージ装置テーブル102に、指定された仮想ストレージ装置に対応する行を追加し、装置IDカラム1025には、仮想ストレージ装置110の装置IDとして、S1901で受け付けた物理ストレージ装置100の装置IDと同じ装置IDを記載する。 Next, the management computer 250 instructs the physical storage device 100 received in S1901 to update the virtual storage device table 102 based on the information received in S1901 and S1902 (S1903). As a result, the physical storage device 100 adds a row corresponding to the designated virtual storage device to the virtual storage device table 102, and the device ID column 1025 accepts the device ID of the virtual storage device 110 in S1901. The same device ID as the device ID of the physical storage device 100 is described.
 次に、管理計算機250は、ユーザから物理ストレージ装置100の冗長構成の要否の入力を受け付ける(S1904)。この結果、冗長構成が必要であるとの入力を受け付けた場合(S1904:Yes)、管理計算機250は、ユーザから正副関係の副にあたる物理ストレージ装置100についての1つ以上の選択を受け付け(S1905)、S1901で指定を受け付けた物理ストレージ装置100(正物理ストレージ装置)に対して、仮想ストレージ装置テーブル102の(副)物理ストレージ装置IDカラム1023に副物理ストレージ装置100の装置IDを追記させ、また、副物理ストレージ装置100に対して、副物理ストレージ装置100の仮想ストレージ装置テーブル102にこの仮想ストレージ装置に対応する行と同じ行を挿入させる(S1906)。この際、副物理ストレージ装置100は、副物理ストレージ装置100の仮想ストレージ装置テーブル102の装置IDカラム1025には、仮想ストレージ装置の装置IDとして、S1901で指定を受け付けた物理ストレージ装置100の装置IDと同じ装置IDを記載する。 Next, the management computer 250 receives an input from the user as to whether or not the redundant configuration of the physical storage device 100 is necessary (S1904). As a result, when an input indicating that a redundant configuration is necessary is received (S1904: Yes), the management computer 250 receives one or more selections about the physical storage device 100 corresponding to the secondary of the primary / secondary relationship from the user (S1905). The device ID of the secondary physical storage device 100 is added to the (secondary) physical storage device ID column 1023 of the virtual storage device table 102 for the physical storage device 100 (primary physical storage device) that received the designation in S1901, The secondary physical storage device 100 is caused to insert the same row as that corresponding to this virtual storage device into the virtual storage device table 102 of the secondary physical storage device 100 (S1906). At this time, the secondary physical storage device 100 receives the device ID of the physical storage device 100 that has been specified in S1901 as the device ID of the virtual storage device in the device ID column 1025 of the virtual storage device table 102 of the secondary physical storage device 100. The same device ID is described.
 一方、冗長構成が必要であるとの入力を受け付けていない場合(S1904:No)、又は、S1906の処理を終了した場合には、管理計算機250は、ユーザから既存ストレージ装置の移行であるか否かの入力を受け付ける(S1907)。 On the other hand, when an input indicating that a redundant configuration is necessary is not received (S1904: No), or when the processing of S1906 is terminated, the management computer 250 determines whether or not the migration of the existing storage device from the user. The input is accepted (S1907).
 この結果、既存の物理ストレージ装置からの移行を伴わないとの入力を受け付けた場合(S1907:No)、管理計算機250は、ユーザから仮想ストレージ装置110を構成する物理ストレージ装置100の1つの選択を受け付ける(図20のS2001)。 As a result, when an input indicating that migration from an existing physical storage device is not involved is received (S1907: No), the management computer 250 selects one of the physical storage devices 100 constituting the virtual storage device 110 from the user. Accept (S2001 in FIG. 20).
 次に、管理計算機250は、ユーザから仮想ストレージ装置110に割り当てる物理ポートの選択を受け付け、仮想ポート位置の設定を受け付ける(S2002)。ここで、仮想ポート位置は、例えば、連番で設定することができる。これにより、仮想ポート位置の管理等が容易となる。ただし、ユーザが仮想ポート位置を連番で使用する必要がないと判断した場合は、管理計算機250に対して仮想ポート位置の設定を行うことは不要である。 Next, the management computer 250 accepts selection of a physical port to be assigned to the virtual storage device 110 from the user, and accepts setting of the virtual port position (S2002). Here, the virtual port position can be set by a serial number, for example. This facilitates management of the virtual port position and the like. However, when it is determined that the user does not need to use the virtual port position by serial number, it is not necessary to set the virtual port position for the management computer 250.
 次に、管理計算機250は、選択を受け付けた物理ストレージ装置100に対して、受け付けた内容に基づいて、ポート割り当てテーブル105の更新を指示する(S2003)。 Next, the management computer 250 instructs the physical storage device 100 that has received the selection to update the port assignment table 105 based on the received content (S2003).
 次に、管理計算機250は、ユーザから仮想ストレージ装置110に割り当てるLDEVの選択を受け付け、仮想LDEV IDの設定を受け付ける(S2004)。ここで、仮想LDEV IDは、例えば、連番で設定することができる。これにより、仮想LDEV IDの管理等が容易となる。ここで、ユーザがLDEV IDを連番で使用する必要がないと判断した場合は、管理計算機250に対して仮想LDEV IDの設定を行うことは不要である。一方、図9に示したように、LDEV130eとLDEV130fとを一つのLDEVとしてホスト計算機150にアクセスさせるときは、仮想LDEV IDの設定を行うことが必要である。 Next, the management computer 250 accepts selection of an LDEV assigned to the virtual storage device 110 from the user, and accepts the setting of the virtual LDEV ID (S2004). Here, the virtual LDEV ID can be set by a serial number, for example. This facilitates management of the virtual LDEV ID. Here, when it is determined that the user does not need to use the LDEV IDs sequentially, it is not necessary to set a virtual LDEV ID for the management computer 250. On the other hand, as shown in FIG. 9, when the LDEV 130e and the LDEV 130f are accessed as one LDEV to the host computer 150, it is necessary to set a virtual LDEV ID.
 次に、管理計算機250は、選択を受け付けた物理ストレージ装置100に対して、受け付けた内容に基づいて、ボリューム割り当てテーブル103の更新を指示する(S2003)。 Next, the management computer 250 instructs the physical storage device 100 that has received the selection to update the volume allocation table 103 based on the received content (S2003).
 次に、管理計算機250は、ユーザからS2002で選択した各物理ポートに対するホストグループの設定を受け付ける(S2005)。次に、管理計算機250は、選択を受け付けた物理ストレージ装置100に対して、受け付けた設定内容に基づいて、ホストグループテーブル107の更新を指示する(S2006)。 Next, the management computer 250 receives a host group setting for each physical port selected in S2002 from the user (S2005). Next, the management computer 250 instructs the physical storage device 100 that has received the selection to update the host group table 107 based on the received setting content (S2006).
 次に、仮想ストレージ装置110を構成するすべての物理ストレージ装置100についてS2002乃至S2006の処理を実施していなければ(S2007:No)、管理計算機250は、S2001乃至S2007の処理を実施する。 Next, if the processing from S2002 to S2006 has not been performed for all the physical storage devices 100 constituting the virtual storage device 110 (S2007: No), the management computer 250 performs the processing from S2001 to S2007.
 一方、仮想ストレージ装置110を構成するすべての物理ストレージ装置100についてS2002乃至S2006の処理を実施している場合(S2007:Yes)、管理計算機250は、ユーザから仮想ストレージ装置110に割り当てられたリソースの選択を受け付けて、リソースグループの作成を受け付ける(S2008)。 On the other hand, when the processing from S2002 to S2006 is performed for all the physical storage devices 100 constituting the virtual storage device 110 (S2007: Yes), the management computer 250 determines the resource allocated to the virtual storage device 110 by the user. The selection is accepted and creation of a resource group is accepted (S2008).
 次に、管理計算機250は、仮想ストレージ装置110を構成するすべての物理ストレージ装置100に対して、リソースグループテーブル108の更新を指示して(S2009)、処理を図22のS2201に進める。 Next, the management computer 250 instructs all the physical storage devices 100 constituting the virtual storage device 110 to update the resource group table 108 (S2009), and advances the processing to S2201 in FIG.
 S2201では、管理計算機250をユーザから各リソースグループのLDEVに対するパスの設定を受け付ける(S2201)。具体的には、ホストグループが有するLUN(一般に、0乃至255が好適である)に対して物理LDEV IDの設定を受け付ける。 In S2201, the management computer 250 receives a path setting for the LDEV of each resource group from the user (S2201). Specifically, the setting of the physical LDEV ID is accepted for the LUN of the host group (generally 0 to 255 is preferable).
 次に、管理計算機250は、ユーザからホストグループにアクセスを許可するホスト計算機150のWWNの登録を受け付ける(S2202)。当該ホストグループを割り当てているポートで使用するプロトコルがFCの場合はWWNが好適であるが、iSCSIの場合はiqnであってもよい。 Next, the management computer 250 accepts registration of the WWN of the host computer 150 that permits access from the user to the host group (S2202). WWN is suitable when the protocol used at the port to which the host group is assigned is FC, but iqn may be used when iSCSI.
 次に、管理計算機250は、受け付けた内容に基づいて、物理ストレージ装置100のパス設定テーブル106を更新して(S2203)、仮想ストレージ装置ID設定処理を終了する。 Next, the management computer 250 updates the path setting table 106 of the physical storage device 100 based on the received content (S2203), and ends the virtual storage device ID setting process.
 一方、図19のS1907において、既存の物理ストレージ装置からの移行を伴うとの指定を受け付けた場合(S1907:Yes)、管理計算機250は、移行元ストレージ装置100のIDを取得して、仮想ストレージ装置110を構成するすべての物理ストレージ装置100に対して、この仮想ストレージ装置の装置IDを移行元ストレージ装置の装置IDと同じ装置IDに変更するように、仮想ストレージ装置テーブル102の更新を指示する(図21のS2101)。 On the other hand, in S1907 in FIG. 19, when the designation indicating that migration from an existing physical storage device is involved (S1907: Yes), the management computer 250 acquires the ID of the migration source storage device 100 and acquires the virtual storage Instruct all the physical storage devices 100 constituting the device 110 to update the virtual storage device table 102 so that the device ID of the virtual storage device is changed to the same device ID as the migration source storage device. (S2101 in FIG. 21).
 次に、管理計算機250は、移行元ストレージ装置100の有しているポートの一覧を取得する(S2102)。次に、管理計算機250は、仮想ストレージ装置110を構成する物理ストレージ装置100の1つ以上の物理ポートに対して、S2102で取得したポートのポート位置と同一の値を仮想ポート位置として設定するように、各物理ストレージ装置100にポート割り当てテーブル105を更新させる指示を行う(S2103)。 Next, the management computer 250 acquires a list of ports of the migration source storage apparatus 100 (S2102). Next, the management computer 250 sets the same value as the port position of the port acquired in S2102 as the virtual port position for one or more physical ports of the physical storage apparatus 100 constituting the virtual storage apparatus 110. Next, an instruction to update the port allocation table 105 is issued to each physical storage apparatus 100 (S2103).
 ここで、移行先の仮想ストレージ装置110を構成する物理ストレージ装置100の物理ポートの数は、移行元ストレージ装置100の数と同数である必要はない。例えば、物理ストレージ装置100のモデルが新しくなっており、物理ポートあたりの転送量が増大している場合は、移行元ストレージ装置100で複数必要だった物理ポートを1つの物理ポートにまとめて、仮想ポート位置をその物理ポートに重複して設定することができる。 Here, the number of physical ports of the physical storage device 100 constituting the migration destination virtual storage device 110 need not be the same as the number of migration source storage devices 100. For example, when the model of the physical storage device 100 is new and the transfer amount per physical port is increasing, a plurality of physical ports required by the migration source storage device 100 are combined into one physical port, and Duplicate port positions can be set for the physical port.
 次に、管理計算機250は、移行元ストレージ装置100から移行元ストレージ装置100の有しているLDEVの一覧を取得する(S2104)。次に、管理計算機250は、S2104で取得したLDEVと同数および同容量のLDEVを物理ストレージ装置100に作成し、それぞれのLDEVにS2104で取得したLDEV IDと同一のIDを仮想LDEV IDとして設定し、物理ストレージ装置100のボリューム割り当てテーブル103を更新する(S2105)。 Next, the management computer 250 acquires a list of LDEVs possessed by the migration source storage apparatus 100 from the migration source storage apparatus 100 (S2104). Next, the management computer 250 creates LDEVs having the same number and capacity as the LDEV acquired in S2104 in the physical storage device 100, and sets the same ID as the LDEV ID acquired in S2104 as a virtual LDEV ID in each LDEV. Then, the volume allocation table 103 of the physical storage device 100 is updated (S2105).
 次に、管理計算機250は、移行元ストレージ装置100の有しているホストグループの一覧を取得する(S2106)。次に、管理計算機250は、S2106で取得したホストグループと同一の設定内容を有するホストグループを物理ストレージ装置100に作成し、ホストグループテーブル107を更新する(S2107)。その後の処理は、S2008以降の処理を同一である。 Next, the management computer 250 acquires a list of host groups possessed by the migration source storage apparatus 100 (S2106). Next, the management computer 250 creates a host group having the same setting contents as the host group acquired in S2106 in the physical storage device 100, and updates the host group table 107 (S2107). Subsequent processing is the same as the processing after S2008.
 次に、ホスト計算機150がストレージ装置100からLDEVの情報を取得する際(inquiry)に関わる処理について説明する。 Next, processing related to when the host computer 150 acquires LDEV information from the storage apparatus 100 (inquiry) will be described.
 図24及び図25は、ホスト計算機及びストレージ装置のInquiryに関わる処理の流れを示す。 24 and 25 show the flow of processing related to the inquiry of the host computer and the storage apparatus.
 まず、ホスト計算機150は、LDEV130の存在を認識するために、ストレージ装置100に物理ポート140のWWNを指定してスキャンコマンドを発行し、物理ポート140に割り当てられているLUNの一覧を取得する。次に、ホスト計算機150は、物理ポートのWWNとLUNとを指定して、物理ストレージ装置100にInquiryを発行する(S2401)。この際、ホスト計算機150は、自身のWWNも物理ストレージ装置100に送信する。 First, in order to recognize the existence of the LDEV 130, the host computer 150 issues a scan command specifying the WWN of the physical port 140 to the storage apparatus 100, and acquires a list of LUNs assigned to the physical port 140. Next, the host computer 150 designates the physical port WWN and LUN, and issues an inquiry to the physical storage device 100 (S2401). At this time, the host computer 150 also transmits its own WWN to the physical storage device 100.
 Inquiryを受信すると、指定された物理ポートを有する物理ストレージ装置100は、自身の装置IDを特定し(S2402)、ポート位置テーブル104を参照して、物理ポートの位置を特定する(S2403)。 When the inquiry is received, the physical storage device 100 having the designated physical port identifies its own device ID (S2402), and refers to the port location table 104 to identify the location of the physical port (S2403).
 次に、この物理ストレージ装置100は、ポート割当てテーブル105を参照して、特定した物理ポートに仮想ポート位置が設定されているか否かを判定し(S2404)、この物理ポートに仮想ポート位置が設定されているときは(S2404:Yes)、Inquiryの応答に用いるメモリ領域に仮想ポート位置を記憶する(S2405)。一方、この物理ポートに仮想ポート位置が設定されていないときは(S2404:No)、物理ストレージ装置100は、Inquiryの応答に用いるメモリ領域に物理ポート位置を記憶する(S2406)。 Next, the physical storage device 100 refers to the port allocation table 105 to determine whether or not a virtual port position is set for the identified physical port (S2404), and the virtual port position is set for this physical port. If it is set (S2404: Yes), the virtual port position is stored in the memory area used for the inquiry response (S2405). On the other hand, when the virtual port position is not set for this physical port (S2404: No), the physical storage device 100 stores the physical port position in the memory area used for the inquiry response (S2406).
 次に、この物理ストレージ装置100は、ホストグループテーブル107を参照して、物理ポートの位置とホスト計算機のWWNとから、ホストグループ名を特定する(S2407)。 Next, this physical storage device 100 refers to the host group table 107 and identifies the host group name from the physical port location and the WWN of the host computer (S2407).
 次に、この物理ストレージ装置100は、パス設定テーブル106を参照して、ホストグループ名とLUNとから物理LDEV IDを特定する(S2408)。 Next, the physical storage device 100 refers to the path setting table 106 and identifies the physical LDEV ID from the host group name and LUN (S2408).
 次に、この物理ストレージ装置100は、ボリューム割り当てテーブル103を参照して、特定した物理LDEVに、仮想LDEV IDが設定されているか検査する(S2409)。この結果、この物理LDEVに仮想LDEV IDが設定されている場合(S2409:Yes)、この物理ストレージ装置100は、Inquiryの応答に用いるメモリ領域に仮想LDEV IDを記憶する(S2410)。一方、この物理LDEVに仮想LDEV IDが設定されていない場合(S2409:No)、この物理ストレージ装置100は、Inquiryの応答に用いるメモリ領域に物理LDEV IDを記憶する(S2411)。 Next, the physical storage device 100 refers to the volume allocation table 103 and checks whether a virtual LDEV ID is set for the identified physical LDEV (S2409). As a result, when the virtual LDEV ID is set in this physical LDEV (S2409: Yes), the physical storage device 100 stores the virtual LDEV ID in the memory area used for the inquiry response (S2410). On the other hand, when the virtual LDEV ID is not set in this physical LDEV (S2409: No), the physical storage device 100 stores the physical LDEV ID in the memory area used for the inquiry response (S2411).
 S2410又はS2411を実行した後、この物理ストレージ装置100は、ボリューム割り当てテーブル103を参照して、この物理LDEVが仮想ストレージ装置に属しているか否かを判定する(S2412)。この結果、この物理LDEVが仮想ストレージ装置に属している場合(S2412:Yes)、物理ストレージ装置100は、ボリューム割り当てテーブル103を参照して、この物理LDEVが属している仮想ストレージ装置名を取得し、仮想ストレージ装置テーブル102を参照して、仮想ストレージ装置110の装置IDを特定し、Inquiryの応答に用いるメモリ領域に特定した仮想ストレージ装置110の装置IDを記憶する(S2413)。 After executing S2410 or S2411, the physical storage device 100 refers to the volume allocation table 103 to determine whether or not this physical LDEV belongs to the virtual storage device (S2412). As a result, when this physical LDEV belongs to the virtual storage device (S2412: Yes), the physical storage device 100 refers to the volume allocation table 103 and acquires the virtual storage device name to which this physical LDEV belongs. Referring to the virtual storage device table 102, the device ID of the virtual storage device 110 is specified, and the specified device ID of the virtual storage device 110 is stored in the memory area used for the inquiry response (S2413).
 一方、この物理LDEVが仮想ストレージ装置110に属していない場合(S2412:No)、物理ストレージ装置100は、Inquiryの応答に用いるメモリ領域に、この物理ストレージ装置の装置IDを記憶する(S2414)。 On the other hand, if this physical LDEV does not belong to the virtual storage device 110 (S2412: No), the physical storage device 100 stores the device ID of this physical storage device in the memory area used for the inquiry response (S2414).
 S2413又はS2414を終了した後、この物理ストレージ装置100は、Inquiryの応答に用いるメモリ領域を参照して、メモリ領域の装置ID(物理ストレージ装置または仮想ストレージ装置の装置ID)と、メモリ領域のポート位置(物理ポート位置または仮想ポート位置)と、メモリ領域のLDEV ID(物理LDEV IDまたは仮想LDEV ID)とをホスト計算機150に返却して、処理を終了する(S2415)。 After completing S2413 or S2414, the physical storage device 100 refers to the memory area used for the inquiry response, and identifies the memory area device ID (physical storage device or virtual storage device ID) and the memory area port. The position (physical port position or virtual port position) and the LDEV ID (physical LDEV ID or virtual LDEV ID) of the memory area are returned to the host computer 150, and the process is terminated (S2415).
 図23は、ホスト計算機のInquiryに対するストレージ装置の応答の一例を示した図である。 FIG. 23 is a diagram showing an example of the response of the storage apparatus to the inquiry of the host computer.
 例えば、図9に示す複数の物理ストレージ装置により構成された仮想ストレージ装置2に割り当てられたLDEVに対するInquiryを発行したときに、図23のRG3のリソースグループの行に示すように、装置識別情報として、仮想ストレージ装置2の装置ID(12345)が返却される。 For example, when an inquiry is issued for an LDEV assigned to a virtual storage device 2 configured with a plurality of physical storage devices shown in FIG. 9, as shown in the resource group row of RG3 in FIG. The device ID (12345) of the virtual storage device 2 is returned.
 また、図10に示す移行元ストレージ装置100dの移行先の仮想ストレージ装置3に割り当てられたLDEVに対するInquiryを発行したときに、図23のRG4のリソースグループの行に示すように、装置識別情報として、仮想ストレージ装置の装置ID(移行元ストレージ装置と同じ装置ID(809AB))が返却され、LDEV IDとして、仮想LDEV ID(すなわち、移行元ストレージ装置のLDEVと同じLDEV ID(1))が返却され、ポート識別情報として、仮想ポート位置(すなわち、移行元ストレージ装置の物理ポート位置と同じポート位置(2A))が返却される。 Further, when an inquiry is issued to the LDEV assigned to the migration destination virtual storage device 3 of the migration source storage device 100d shown in FIG. 10, as shown in the resource group row of RG4 in FIG. , The device ID of the virtual storage device (the same device ID (809AB) as the migration source storage device) is returned, and the virtual LDEV ID (that is, the same LDEV ID (1) as the LDEV of the migration source storage device) is returned as the LDEV ID. Then, the virtual port position (that is, the same port position (2A) as the physical port position of the migration source storage apparatus) is returned as the port identification information.
 以上の処理によって、同一の仮想ストレージ装置に割り当てられたLDEVに対してホスト計算機がInquiryを発行したときに、ストレージ装置の装置IDとして同一の装置IDを返却することができるため、ホスト計算機150の交替パスプログラム723が正常に動作することができる。この交替パスプログラム723は、同一の仮想ストレージ装置に割り当てられたLDEVに対するInquiryを発行したときに、その応答において、ストレージ装置の装置IDが同一であることを要するが、ストレージ装置のIDがストレージシステム内で一意であることは要しないという特徴を有する。この特徴により、上記処理を実行することで、ストレージ装置の装置IDを高速に生成し、ホスト計算機が発行するボリュームの情報取得要求に対して適切に応答することができる。 With the above processing, when the host computer issues an inquiry to the LDEV assigned to the same virtual storage device, the same device ID can be returned as the device ID of the storage device. The alternate path program 723 can operate normally. When this alternate path program 723 issues an inquiry to an LDEV assigned to the same virtual storage device, the response requires that the device ID of the storage device is the same, but the storage device ID is the storage system It has the characteristic that it is not necessary to be unique. With this feature, by executing the above processing, it is possible to generate a device ID of the storage device at high speed and appropriately respond to a volume information acquisition request issued by the host computer.
 また、移行元の物理ストレージ装置に割り当てられたLDEVに対してホスト計算機がInquiryを発行したときに、ストレージ装置の装置ID、LDEV ID、及びポート位置として、移行元の物理ストレージ装置と同じ値を返却することができるため、ホスト計算機150の交替パスプログラム723は、従前と変わりなく動作することができる。 When the host computer issues an inquiry to the LDEV assigned to the migration source physical storage device, the same value as the migration source physical storage device is used as the device ID, LDEV ID, and port position of the storage device. Since it can be returned, the alternate path program 723 of the host computer 150 can operate as before.
 実施例2を説明する。実施例1との相違点を主に説明し、実施例1との共通点については説明を省略又は簡略する。 Example 2 will be described. Differences from the first embodiment will be mainly described, and description of common points with the first embodiment will be omitted or simplified.
 実施例2では、実施例1における仮想ポート位置を付与するステップ、とくにS1204とS1205において、移行元ストレージ装置と移行先ストレージ装置とのポートの用途に合わせて仮想ポート位置が付与される。 In the second embodiment, in the step of assigning the virtual port position in the first embodiment, particularly in S1204 and S1205, the virtual port position is given in accordance with the port usage of the migration source storage apparatus and the migration destination storage apparatus.
 図26は、実施例2に係る計算機システムの構成を示すブロック図である。 FIG. 26 is a block diagram illustrating a configuration of a computer system according to the second embodiment.
 移行元ストレージ装置1601は、データネットワーク230を介して接続されているホスト計算機150によりアクセスされて運用されている。また、移行元ストレージ装置1601は、遠隔地にあるストレージ装置1603に対してリモートコピー回線1604を介してリモートコピーを実施してデータを保護している。 The migration source storage device 1601 is accessed and operated by the host computer 150 connected via the data network 230. In addition, the migration source storage apparatus 1601 protects data by performing remote copy via a remote copy line 1604 to a storage apparatus 1603 at a remote location.
 移行先ストレージ装置1602の仮想ストレージ装置110には、移行元ストレージ装置1601と同様にホスト計算機150に対するデータアクセスのためのポート1605と、リモートコピーのためのポート1606とが割り当てられている。移行先ストレージ装置1602のそれぞれのポート1605,1606に対しては、移行元ストレージ装置1601のポート位置と同じ仮想ポート位置を設定することで、移行元ストレージ装置1601のボリューム130と仮想ストレージリソースグループ120のボリューム130とに対するSCSIのInquiryに対して、同じ値を返却することができる。 As in the migration source storage apparatus 1601, a port 1605 for data access to the host computer 150 and a port 1606 for remote copy are allocated to the virtual storage apparatus 110 of the migration destination storage apparatus 1602. By setting the same virtual port position as the port position of the migration source storage apparatus 1601 for the ports 1605 and 1606 of the migration destination storage apparatus 1602, the volume 130 and the virtual storage resource group 120 of the migration source storage apparatus 1601 are set. The same value can be returned for the SCSI inquiry for the volume 130.
 図27は、実施例2に係る移行元ストレージ装置のポート位置テーブルの一例を示す図である。 FIG. 27 is a diagram illustrating an example of a port position table of the migration source storage apparatus according to the second embodiment.
 移行元ストレージ装置1601のポート位置テーブル104は、移行元ストレージ装置1601で実装されている物理ポートの位置を格納する物理ポート位置カラム1041と、そのポートの用途を格納する用途カラム1044とを有する。ポートの用途としては、例えば、ホスト計算機150からのデータI/Oを処理するためのポートを意味する「ホスト」や、ストレージ装置1603に対するリモートコピーのために使用する「リモートコピー」といった用途としてもよい。 The port location table 104 of the migration source storage device 1601 has a physical port location column 1041 that stores the location of the physical port mounted in the migration source storage device 1601 and a usage column 1044 that stores the usage of the port. As the usage of the port, for example, “host” which means a port for processing data I / O from the host computer 150 and “remote copy” used for remote copy with respect to the storage apparatus 1603 can be used. Good.
 一般に、ポートは、その用途によって動作を変更する。例えば、ポートで使用するプロトコルがFCである場合、ホスト計算機150からのデータI/Oを処理するためのポートはSCSIターゲットとして動作する一方、リモートコピーのために使用するポートはSCSIイニシエータとして動作する。そこで、用途カラム1044に、「ターゲット」や「イニシエータ」といった用途を記載してもよい。 Generally, the port changes its operation depending on its use. For example, when the protocol used for the port is FC, the port for processing data I / O from the host computer 150 operates as a SCSI target, while the port used for remote copy operates as a SCSI initiator. . Therefore, the use column 1044 may describe a use such as “target” or “initiator”.
 図28は、実施例2に係る移行先ストレージ装置のポート割り当てテーブルの一例を示す図である。 FIG. 28 is a diagram illustrating an example of a port allocation table of the migration destination storage apparatus according to the second embodiment.
 移行先ストレージ装置のポート割り当てテーブル105は、実施例1に記載したポート割り当てテーブル105に対して、ポートの用途を示す用途カラム1055を更に有する。用途カラム1055に格納される用途としては、移行元ストレージ装置1601のポート位置テーブル104の用途カラム1044に格納される用途と同様である。 The port assignment table 105 of the migration destination storage apparatus further includes a use column 1055 indicating the use of the port with respect to the port assignment table 105 described in the first embodiment. The usage stored in the usage column 1055 is the same as the usage stored in the usage column 1044 of the port location table 104 of the migration source storage apparatus 1601.
 次に、移行元ストレージ装置1601のポートの用途に応じて移行先ストレージ装置1602に仮想ポート位置を付与する仮想ポート位置付与処理について説明する。 Next, a description will be given of a virtual port position assignment process for assigning a virtual port position to the migration destination storage apparatus 1602 according to the use of the port of the migration source storage apparatus 1601.
 図29及び図30は、実施例2に係る仮想ポート位置付与処理の流れを示す。 FIG. 29 and FIG. 30 show the flow of the virtual port position assignment processing according to the second embodiment.
 ユーザにより、移行元ストレージ装置1601、移行先ストレージ装置1602、及び移行先の仮想ストレージ装置110が指定されると、管理計算機250は、移行元ストレージ装置1601から移行元ストレージ装置1601の物理ポートの位置(ポート位置)と、その用途の一覧を取得する(S2901)。具体的には、管理計算機250から要求を受けた移行元ストレージ装置1601の構成管理プログラム221は、移行元ストレージ装置1601のポート位置テーブル104の内容を管理計算機250へ返信する。なお、移行先ストレージ装置1602に移行先の仮想ストレージ装置110が作成されていないときは、実施例1のS1901以降と同様な処理によって新規に仮想ストレージ装置110を作成する。 When the user designates the migration source storage device 1601, the migration destination storage device 1602, and the migration destination virtual storage device 110, the management computer 250 positions the physical ports of the migration source storage device 1601 from the migration source storage device 1601. A list of (port positions) and their uses is acquired (S2901). Specifically, the configuration management program 221 of the migration source storage apparatus 1601 that has received a request from the management computer 250 returns the contents of the port location table 104 of the migration source storage apparatus 1601 to the management computer 250. When the migration destination virtual storage device 110 has not been created in the migration destination storage device 1602, a new virtual storage device 110 is created by the same processing as in S1901 and after in the first embodiment.
 次に、管理計算機250は、移行先ストレージ装置1602の物理ポートの位置と、その用途の一覧を取得する(S2902)。具体的には、管理計算機250から要求を受けた移行先ストレージ装置1602の構成管理プログラム221は、移行先ストレージ装置1602のポート割り当てテーブル105の内容を管理計算機250へ返信する。 Next, the management computer 250 acquires a list of physical port positions of the migration destination storage apparatus 1602 and their uses (S2902). Specifically, the configuration management program 221 of the migration destination storage apparatus 1602 that has received the request from the management computer 250 returns the contents of the port allocation table 105 of the migration destination storage apparatus 1602 to the management computer 250.
 次に、管理計算機250は、移行元ストレージ装置1601のすべての物理ポートについて、移行先ストレージ装置1602の物理ポートに対する仮想ポート位置を作成したが否かを判定する(S2903)。この結果、全ての物理ポートについて、仮想ポート位置を作成した場合(S2903:Yes)、管理計算機250は、処理を終了する。 Next, the management computer 250 determines whether or not virtual port positions for the physical ports of the migration destination storage apparatus 1602 have been created for all the physical ports of the migration source storage apparatus 1601 (S2903). As a result, when virtual port positions have been created for all physical ports (S2903: Yes), the management computer 250 ends the process.
 一方、全ての物理ポートについて、仮想ポート位置を作成していない場合(S2903:No)、管理計算機250は、未処理の移行元ストレージ装置1601の物理ポートの用途を取得し、その用途がリモートコピー用であるか否かを判定する(S2904)。この結果、その物理ポートがリモートコピー用であれば(S2904:Yes)、管理計算機250は、移行先ストレージ装置1902の物理ポートのうち、その用途がリモートコピー用の物理ポートを検索して、得られた物理ポートに移行元ストレージ装置1601における物理ポート位置と同じ値を持つ仮想ポート位置を設定する(S2905)。この際、この物理ポートがS2901で選択した仮想ストレージ装置に割り当てられていないときは、移行先ストレージ装置1602のポート割り当てテーブル105を変更して、この物理ポートをS2901で指定された仮想ストレージ装置110に割り当てる。この処理により、移行元のポートの役割を、用途が同じ移行先のポート、すなわち、その用途に適したポートに対して割り当てることができる。 On the other hand, if virtual port positions have not been created for all physical ports (S2903: No), the management computer 250 acquires the usage of the physical port of the unprocessed migration source storage device 1601, and the usage is remote copy. It is determined whether or not it is for use (S2904). As a result, if the physical port is for remote copy (S2904: Yes), the management computer 250 retrieves the physical port for remote copy whose usage is from the physical ports of the migration destination storage apparatus 1902. A virtual port position having the same value as the physical port position in the migration source storage apparatus 1601 is set to the physical port thus set (S2905). At this time, if this physical port is not assigned to the virtual storage device selected in S2901, the port assignment table 105 of the migration destination storage device 1602 is changed, and this physical port is assigned to the virtual storage device 110 specified in S2901. Assign to. By this processing, the role of the migration source port can be assigned to a migration destination port having the same use, that is, a port suitable for the use.
 S2905を終了後、管理計算機250は、処理をS2903に進める。 After finishing S2905, the management computer 250 advances the process to S2903.
 一方、未処理の移行元ストレージ装置1601の物理ポートの用途がリモートコピー用でない場合(S2904:No)、管理計算機250は、移行先ストレージ装置1602の物理ポートのうち、その用途がホスト用の物理ポートのいずれかを、移行元の物理ポート位置を仮想ポート位置として設定するポートとして選択する(図30のS3001)。物理ポートの選択方法としては、後述の無停止移行を実施するときは、ホスト計算機150との結線が完了しているポートを選択することが望ましい。また、移行元ストレージ装置1601のポート性能を担保できる物理ポートを選択することが望ましい。 On the other hand, when the usage of the physical port of the unprocessed migration source storage device 1601 is not for remote copy (S2904: No), the management computer 250 uses the physical port for the host among the physical ports of the migration destination storage device 1602. One of the ports is selected as a port for setting the migration source physical port position as the virtual port position (S3001 in FIG. 30). As a method for selecting a physical port, it is desirable to select a port for which connection with the host computer 150 has been completed when performing non-stop transition described later. In addition, it is desirable to select a physical port that can guarantee the port performance of the migration source storage apparatus 1601.
 次に、管理計算機250は、ユーザから、ホスト計算機150のアプリケーション721のI/Oを継続したまま移行するか(以下、無停止移行)否かの選択を受け付ける(S3002)。この結果、無停止移行の選択を受け付けた場合(S3002:Yes)、管理計算機250は、移行元ストレージ装置1601の物理ポート位置とは重複しないポート位置を選択し、このポート位置の値を、選択したポート位置のポートに仮想ポート位置として付与する(S3003)。このように、移行元ストレージ装置の物理ポート位置とは重複しない仮想ポート位置を付与するのは、移行元ストレージ装置1601の物理ポート位置と同じ値をポートに仮想ポート位置として付与してしまうと、ホスト計算機150の交替パスプログラム723が、同一のボリュームに対して同一のパスが存在すると認識してしまい、誤動作や動作の停止を引き起こす可能性があるからである。 Next, the management computer 250 receives a selection from the user as to whether or not to continue the I / O of the application 721 of the host computer 150 (hereinafter referred to as non-stop migration) (S3002). As a result, when selection of non-stop migration is accepted (S3002: Yes), the management computer 250 selects a port position that does not overlap with the physical port position of the migration source storage apparatus 1601, and selects the value of this port position. The virtual port position is assigned to the port at the selected port position (S3003). As described above, the virtual port position that does not overlap with the physical port position of the migration source storage apparatus is given if the same value as the physical port position of the migration source storage apparatus 1601 is given to the port as the virtual port position. This is because the alternate path program 723 of the host computer 150 may recognize that the same path exists for the same volume, which may cause malfunction or stop of the operation.
 次に、管理計算機250は、ホスト計算機150の交替パスプログラム723に、S3003で設定した仮想ポートを経由するパスを追加する(S3004)。かかる処理により、交替パスプログラム723は、アプリケーション721に影響を与えることなく新規のパスに対してもI/Oを発行することができるようになり、無停止移行を実現することができる。 Next, the management computer 250 adds a path via the virtual port set in S3003 to the alternate path program 723 of the host computer 150 (S3004). With this process, the alternate path program 723 can issue an I / O to a new path without affecting the application 721, and can realize a non-stop transition.
 一方、無停止移行の選択を受け付けなかった場合(S3002:No)、管理計算機250は、移行元ストレージ装置1601の物理ポート位置と同じ値を、移行先ストレージ装置1602の物理ポートの仮想ポート位置として付与する(S3005)。かかる処理により、ユーザは、ポートの構成情報の変更をすることなく、移行元ストレージ装置1601を仮想ストレージ装置110に移行することができる。S3004又はS3005を終了した場合には、管理計算機250は、処理を図29のS2903に進める。 On the other hand, when the selection of non-stop migration is not accepted (S3002: No), the management computer 250 uses the same value as the physical port position of the migration source storage apparatus 1601 as the virtual port position of the physical port of the migration destination storage apparatus 1602. (S3005). With this processing, the user can migrate the migration source storage device 1601 to the virtual storage device 110 without changing the port configuration information. When S3004 or S3005 is terminated, the management computer 250 advances the process to S2903 in FIG.
 以上、実施形態及びそれの幾つかの実施例を説明したが、本発明は、この実施形態及び実施例に限定されるものでなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。 Although the embodiment and some examples thereof have been described above, the present invention is not limited to the embodiment and the examples, and various modifications can be made without departing from the gist of the invention. Not too long.
100:ストレージ装置 100: Storage device

Claims (11)

  1.  1以上の物理ストレージ装置を有し、
     前記1以上の物理ストレージ装置の各々が、外部装置と通信するためのデータポートと、ボリュームと、制御部とを有し、
     データポートとボリュームとを論理的に含んだ仮想ストレージ装置に、当該仮想ストレージ装置を示す装置識別子が対応付けられており、
     前記仮想ストレージ装置が複数の物理ストレージ装置で構成されている場合、前記仮想ストレージ装置の装置識別子は、前記複数の物理ストレージ装置のいずれか一つの装置識別子と同一の識別子であり、
     前記仮想ストレージ装置が移行元の物理ストレージ装置の移行先である場合、前記仮想ストレージ装置の装置識別子は、前記移行元の物理ストレージ装置の装置識別子と同一の識別子であり、
     前記仮想ストレージ装置を構成する1以上の物理ストレージ装置のうちの少なくとも1つが有する制御部である対象制御部が、
      装置識別子の取得要求を前記外部装置から受信し、
      その取得要求において指定されているボリュームが前記仮想ストレージ装置のボリュームである場合、前記仮想ストレージ装置の装置識別子を前記外部装置に返送する、
    ストレージシステム。
    Have one or more physical storage devices,
    Each of the one or more physical storage devices includes a data port for communicating with an external device, a volume, and a control unit.
    A device identifier indicating the virtual storage device is associated with the virtual storage device that logically includes the data port and the volume,
    When the virtual storage device is composed of a plurality of physical storage devices, the device identifier of the virtual storage device is the same identifier as any one device identifier of the plurality of physical storage devices,
    When the virtual storage device is the migration destination of the migration source physical storage device, the device identifier of the virtual storage device is the same identifier as the device identifier of the migration source physical storage device,
    A target control unit, which is a control unit included in at least one of the one or more physical storage devices constituting the virtual storage device,
    Receiving a device identifier acquisition request from the external device;
    When the volume specified in the acquisition request is a volume of the virtual storage device, a device identifier of the virtual storage device is returned to the external device.
    Storage system.
  2.  前記仮想ストレージ装置に関連する少なくとも1つの物理ストレージ装置の各々が、その物理ストレージ装置におけるボリュームを示す第1ボリューム識別子に対応付けられた第2ボリューム識別子を、前記仮想ストレージ装置に含まれるボリュームのボリューム識別子として記憶し、
     前記対象制御部は、
      ボリューム識別子の取得要求を前記外部装置から受信し、
      ボリュームに対応付けられている第2ボリューム識別子を、前記外部装置に返送する、
    請求項1に記載のストレージシステム。
    Each of the at least one physical storage device related to the virtual storage device indicates a second volume identifier associated with the first volume identifier indicating the volume in the physical storage device, and the volume of the volume included in the virtual storage device. Remember as an identifier,
    The target control unit
    Receiving a volume identifier acquisition request from the external device;
    Returning a second volume identifier associated with the volume to the external device;
    The storage system according to claim 1.
  3.  前記仮想ストレージ装置に関連する少なくとも1つの物理ストレージ装置の各々が、その物理ストレージ装置におけるデータポートの位置を示す第1ポート位置情報に対応付けられた第2ポート位置情報を、前記仮想ストレージ装置に含まれるデータポートのポート位置情報として記憶し、
     前記対象制御部は、
      ポート位置情報の取得要求を前記外部装置から受信し、
      データポートに対応付けられている第2ポート位置情報を、前記外部装置に返送する、
    請求項1に記載のストレージシステム。
    Each of the at least one physical storage device related to the virtual storage device sends second port location information associated with the first port location information indicating the location of the data port in the physical storage device to the virtual storage device. Store it as port position information for the included data ports,
    The target control unit
    Receiving a request for acquiring port position information from the external device;
    Returning second port position information associated with the data port to the external device;
    The storage system according to claim 1.
  4.  前記仮想ストレージ装置は、前記移行元の物理ストレージ装置の移行先であり、
     前記仮想ストレージ装置に関連する少なくとも1つの物理ストレージ装置の各々が、その物理ストレージ装置におけるボリュームを示す第1ボリューム識別子に対応付けられた第2ボリューム識別子を、前記仮想ストレージ装置に含まれるボリュームのボリューム識別子として記憶し、
     前記第2ボリューム識別子は、前記ボリュームの移行元のボリュームに対応付けられていたボリューム識別子であって、前記移行元の物理ストレージ装置におけるボリューム識別子であり、
     前記仮想ストレージ装置に関連する少なくとも1つの物理ストレージ装置の各々が、その物理ストレージ装置におけるデータポートを示す第1ポート位置情報に対応付けられた第2ポート位置情報を、前記仮想ストレージ装置に含まれる前記データポートのポート識別子として記憶し、
     前記第2ポート位置情報は、前記移行元の物理ストレージ装置におけるデータポートのポート位置情報であり、
     前記対象制御部は、
      ボリューム識別子の取得要求を前記外部装置から受信した場合、ボリュームに対応付けられている第2ボリューム識別子を前記外部装置に返送し、
      データポートの位置情報の取得要求を前記外部装置から受信した場合、データポートに対応付けられている第2ポート位置情報を前記外部装置に返送する、
    請求項1に記載のストレージシステム。
    The virtual storage device is a migration destination of the migration source physical storage device,
    Each of the at least one physical storage device related to the virtual storage device indicates a second volume identifier associated with the first volume identifier indicating the volume in the physical storage device, and the volume of the volume included in the virtual storage device. Remember as an identifier,
    The second volume identifier is a volume identifier associated with the migration source volume of the volume, and is a volume identifier in the migration source physical storage device,
    Each of at least one physical storage device related to the virtual storage device includes second port location information associated with first port location information indicating a data port in the physical storage device in the virtual storage device. Storing as a port identifier of the data port;
    The second port position information is port position information of a data port in the migration source physical storage device,
    The target control unit
    When a volume identifier acquisition request is received from the external device, a second volume identifier associated with the volume is returned to the external device;
    When receiving an acquisition request for data port location information from the external device, second port location information associated with the data port is returned to the external device.
    The storage system according to claim 1.
  5.  前記1以上の物理ストレージ装置に接続された管理システムを更に有し、
     前記1以上の物理ストレージ装置の各々が、その物理ストレージ装置におけるデータポートの用途と、移行元の物理ストレージ装置におけるデータポートの用途とを記憶し、
     前記管理システムは、
      移行先の物理ストレージ装置における、前記移行元の物理ストレージ装置のデータポートの用途と同じ用途のデータポートの第2ポート位置情報として、前記移行元の物理ストレージ装置のデータポートのポート位置情報と同じ値を設定する、
    請求項4に記載のストレージシステム。
    A management system connected to the one or more physical storage devices;
    Each of the one or more physical storage devices stores a data port usage in the physical storage device and a data port usage in the migration source physical storage device,
    The management system includes:
    Same as the port location information of the data port of the migration source physical storage device as the second port location information of the data port of the same usage as the data port of the migration source physical storage device in the migration destination physical storage device Set the value,
    The storage system according to claim 4.
  6.  前記管理システムは、
      前記移行先の物理ストレージ装置における、前記移行元の物理ストレージ装置のデータポートの用途と同じ用途のデータポートを、特定し、
      前記特定されたデータポートが前記仮想ストレージ装置に論理的に含まれていない場合、前記特定されたデータポートを前記仮想ストレージ装置に論理的に含める、
    請求項5に記載のストレージシステム。
    The management system includes:
    In the migration destination physical storage device, identify a data port for the same use as the data port usage of the migration source physical storage device,
    If the identified data port is not logically included in the virtual storage device, the identified data port is logically included in the virtual storage device;
    The storage system according to claim 5.
  7.  前記管理システムは、前記移行元の物理ストレージ装置のデータポートの用途がコピー用途である場合に、移行先の仮想ストレージ装置におけるコピー用途のデータポートの第2ポート位置情報として、前記移行元の物理ストレージ装置のデータポートのポート位置情報と同じ値を設定する、
    請求項5に記載のストレージシステム。
    When the use of the data port of the migration source physical storage device is a copy use, the management system uses the migration source physical as second port position information of the copy use data port in the migration destination virtual storage device. Set the same value as the port location information of the data port of the storage device.
    The storage system according to claim 5.
  8.  前記管理システムは、前記移行元の物理ストレージ装置のデータポートの用途がホスト計算機との通信用途であり、且つ、前記移行元の物理ストレージ装置を無停止状態で移行する場合、移行先の仮想ストレージ装置におけるホスト計算機との通信用途のデータポートの第2ポート位置情報として、前記移行元の物理ストレージ装置のデータポートのポート位置情報と異なる値を設定する、
    請求項5に記載のストレージシステム。
    In the management system, when the use of the data port of the migration source physical storage device is for communication with a host computer and the migration source physical storage device is migrated in a non-stop state, the migration destination virtual storage A value different from the port location information of the data port of the migration source physical storage device is set as the second port location information of the data port for use in communication with the host computer in the device.
    The storage system according to claim 5.
  9.  前記仮想ストレージ装置は、複数の物理ストレージ装置で構成されており、
     同一の仮想ストレージ装置に含まれる複数のボリュームにそれぞれ対応した複数の第2ボリューム識別子は、連番となっている、
    請求項2に記載のストレージシステム。
    The virtual storage device is composed of a plurality of physical storage devices,
    A plurality of second volume identifiers respectively corresponding to a plurality of volumes included in the same virtual storage device are sequential numbers.
    The storage system according to claim 2.
  10.  前記仮想ストレージ装置は、複数の物理ストレージ装置で構成されており、
     同一の仮想ストレージ装置を構成する前記データポートの第2ポート位置情報は、連番となっている
    請求項3に記載のストレージシステム。
    The virtual storage device is composed of a plurality of physical storage devices,
    The storage system according to claim 3, wherein the second port position information of the data ports constituting the same virtual storage device is a serial number.
  11.  1以上の物理ストレージ装置が有するデータポートとボリュームとを論理的に含んだ仮想ストレージ装置が複数の物理ストレージ装置で構成されている場合、前記仮想ストレージ装置を示す装置識別子として、前記複数の物理ストレージ装置のいずれか一つの装置識別子と同一の識別子を保持し、
     前記仮想ストレージ装置が移行元の物理ストレージ装置の移行先である場合、前記仮想ストレージ装置の装置識別子として、前記移行元の物理ストレージ装置の装置識別子と同一の識別子を保持し、
     前記仮想ストレージ装置を構成する1以上の物理ストレージ装置のうちのいずれかが、装置識別子の取得要求を外部装置から受信した場合、その取得要求において指定されているボリュームが前記仮想ストレージ装置のボリュームであれば合、前記仮想ストレージ装置の装置識別子を、前記外部装置に返送する、
    仮想ストレージ装置制御方法。
    When a virtual storage device that logically includes data ports and volumes of one or more physical storage devices is composed of a plurality of physical storage devices, the plurality of physical storages are used as device identifiers indicating the virtual storage devices. Holds the same identifier as any one device identifier of the device,
    When the virtual storage device is the migration destination of the migration source physical storage device, the device identifier of the virtual storage device holds the same identifier as the device identifier of the migration source physical storage device,
    When one of the one or more physical storage devices constituting the virtual storage device receives a device identifier acquisition request from an external device, the volume specified in the acquisition request is the volume of the virtual storage device. If there is, the device identifier of the virtual storage device is returned to the external device.
    Virtual storage device control method.
PCT/JP2015/051320 2015-01-20 2015-01-20 Storage system and method for controlling virtual storage device WO2016117019A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/051320 WO2016117019A1 (en) 2015-01-20 2015-01-20 Storage system and method for controlling virtual storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/051320 WO2016117019A1 (en) 2015-01-20 2015-01-20 Storage system and method for controlling virtual storage device

Publications (1)

Publication Number Publication Date
WO2016117019A1 true WO2016117019A1 (en) 2016-07-28

Family

ID=56416585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/051320 WO2016117019A1 (en) 2015-01-20 2015-01-20 Storage system and method for controlling virtual storage device

Country Status (1)

Country Link
WO (1) WO2016117019A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157741A (en) * 2003-11-26 2005-06-16 Hitachi Ltd Access restriction information setting method and device
JP2008090741A (en) * 2006-10-04 2008-04-17 Hitachi Ltd Computer system, data migration monitoring method, and data migration monitoring program
JP2011076582A (en) * 2009-09-29 2011-04-14 Hitachi Ltd Method and device for managing virtual port and logical unit on storage system
WO2012140730A1 (en) * 2011-04-12 2012-10-18 株式会社日立製作所 Management system, computer system having same, and management method
JP2014519061A (en) * 2011-07-22 2014-08-07 株式会社日立製作所 Computer system and data migration method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157741A (en) * 2003-11-26 2005-06-16 Hitachi Ltd Access restriction information setting method and device
JP2008090741A (en) * 2006-10-04 2008-04-17 Hitachi Ltd Computer system, data migration monitoring method, and data migration monitoring program
JP2011076582A (en) * 2009-09-29 2011-04-14 Hitachi Ltd Method and device for managing virtual port and logical unit on storage system
WO2012140730A1 (en) * 2011-04-12 2012-10-18 株式会社日立製作所 Management system, computer system having same, and management method
JP2014519061A (en) * 2011-07-22 2014-08-07 株式会社日立製作所 Computer system and data migration method thereof

Similar Documents

Publication Publication Date Title
US11977560B2 (en) Resource management systems and methods
US9639277B2 (en) Storage system with virtual volume having data arranged astride storage devices, and volume management method
US9229645B2 (en) Storage management method and storage system in virtual volume having data arranged astride storage devices
JP5976230B2 (en) Resource management system and resource management method
US8051262B2 (en) Storage system storing golden image of a server or a physical/virtual machine execution environment
JP4568574B2 (en) Storage device introduction method, program, and management computer
US20050149688A1 (en) Computer system and a method of assigning a storage device to a computer
JP2014507691A (en) Information storage system and storage system management method
US20210042045A1 (en) Storage system and resource allocation control method
JP2006048313A (en) Method for managing storage system managed by a plurality of administrators
JP7012010B2 (en) Information processing system and control method of information processing system
JP2004355638A (en) Computer system and device assigning method therefor
WO2016117019A1 (en) Storage system and method for controlling virtual storage device
JP6019169B2 (en) Information storage system
JP2017058736A (en) Storage system, storage control apparatus, and access control method
WO2016203580A1 (en) Management computer, resource movement management method, and computer system
JP7113698B2 (en) Information system
US10275155B2 (en) Methods for autonomous disk ownership assignment of nodes in a storage network with a multi-path configuration and devices thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15878715

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15878715

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP