This application relates to and claims priority from Japanese Patent Application No. 2008-237066, filed on Sep. 16, 2008, the entire disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates to control of power consumption of a storage system.
2. Description of the Related Art
As such a type of storage system, a storage system employing a massive array of idle (or inactive) disk (MAID) technique is known which is disclosed, for example, in JP-A-2005-157710. The storage system turns off a power supply of an HDD constituting a logical volume thereof when the logical volume to be saved in power is specified by a management server.
The storage system is not limited to the power saving function, but may have various functions. For example, a storage system having an allocation-on-use (AOU) volume is known (see, for example, JP-A-2003-15915). The AOU volume is a type of virtual logical volume is a logical volume of which the physical capacity is dynamically extended when a real area is allocated thereto in response to a writing command from a host. Data as a writing target is written to the real area allocated to the AOU volume.
In the AOU technique in capacity, a real area is generally allocated to the AOU volume from a pool. The pool includes one or more pool volumes. The pool volume is a logical volume constituting the pool. The pool volume includes plural real areas.
It can be considered that the MAID technique is applied to the storage system having the AOU volume. In this case, for example, when the number of real areas allocated from the pool is small (that is, when the usage of the pool is small), a method of turning off power supplies of physical memory devices constituting the pool volumes can be considered.
However, in the storage system having the AOU volume, since plural data written to a single AOU volume are dispersed in the plural pool volumes, it is not preferable that the physical memory devices constituting the pool volumes are simply set to a power saving mode. When a physical memory device constituting a pool volume is simply changed to the power saving mode and an I/O (Input/Output) operation is performed on the pool volume, it is necessary to release the power saving mode of the physical memory device constituting the pool volume. Since it takes time for the physical memory device to become an I/O enabling status after the power saving mode of the physical memory device is released, the I/O performance on an AOU volume is deteriorated.
Accordingly, an object of the invention is to accomplish both not deteriorating the I/O performance of the AOU volume and reducing the power consumption of a storage system having the AOU volume.
A storage system moves data stored in all real areas, which are allocated to an AOU volume, in a first pool volume of plural pool volumes to a second pool volume of the plural pool volumes. Thereafter, the storage system sets the power consuming statuses of the physical memory devices constituting the first pool volume to the power saving mode.
Hereinafter, embodiments of the invention will be described with reference to the accompanying drawings. In the following description, it is assumed that operations having a computer program as a subject are performed by a processor (CPU) executing the computer program.
A storage device 103 and plural (or one) computers 101 transmitting an I/O command (a writing command or a reading command) to the storage device 103 are connected to a storage area network (SAN) 102. The storage device 103 and a management server 105 managing the storage device 103 are connected to a local area network (LAN) 104. Communication networks 102 and/or 104 are not limited to the SAN and the LAN, but different types of networks may be used.
The storage device 103 includes a controller 111 and a physical device group 113.
The controller 111 includes plural (or one) I/O ports 1031, a management port 1032, a processor 1033, and a memory 1035.
The I/O port 1031 is a port connected to a first communication network 102 and receives an I/O command from the computer 101.
The management port 1032 is a port connected to a second communication network 104 and receives various commands from the management server 105.
The processor 1033 is a micro processor such as a CPU (Central Processing Unit) and executes various computer programs stored in the memory 1035.
The memory 1035 stores the computer programs or management information. The computer programs include an I/O processing program 10351, a power saving setting program 10352, and a pool setting program 10353. The management information includes a data mapping table 10354, a virtual volume management table 10355, a pool configuration management table 10356, a power status management table 10357, and a pool allocation management table 10358.
The physical device group 113 includes plural (or one) physical devices 1038. The physical devices 1038 are a parity group (also referred to as “RAID (Redundant Array of Independent (or Inexpensive) Disks) group or array group”) and include plural HDDs 10381 as shown in
A logical volume which is a logical memory device is formed based on a memory space of the physical devices 1038. As the logical volume, there is a normal type of logical volume provided to the computer 101 and a pool volume 1039 not provided to the computer 101. The pool volumes 1039 are elements of several virtual pools (hereinafter, simply referred to as “pool”) 1037. That is, the pool 1037 includes one or more pool volumes 1039. In this embodiment, it is assumed that pool volumes P1 and P2 are formed on the basis of physical device PG1, pool volume P3 is formed on the basis of physical device PG2, pool volume P4 is formed on the basis of physical device PG3, only pool 1 exists as the pool 1037, and pool 1 includes pool volumes P1 to P4. It is also assumed that virtual volumes V1 to V3 exist.
Virtual volumes 1036 (for example, V1 to V3) which are virtual logical volumes exist as the logical volumes provided to the computer 101. The virtual volume 1036 is an allocation-on-use (AOU) volume, that is, a volume to which the real areas are dynamically allocated in response to a writing operation. The dynamic allocation is as follows. That is, as shown in
The numbers of physical devices 1038, pool volumes 1039, pools 1037, and virtual volumes 1036 are not limited to the example shown in
The above-mentioned tables 10354 to 10358 will be described now with reference to
The data mapping table 10354 indicates to what virtual areas the real areas are allocated. Specifically, for example, the following information elements of (3-1) to (3-4) are recorded every virtual area in the data mapping table 10354: (3-1) virtual volume name (name of virtual volume having virtual areas); (3-2) virtual volume address (address of virtual area in the virtual volume); (3-3) pool volume name (name of pool volume); and (3-4) pool volume address (address of real area in the pool volume). It can be seen from the example shown in
The virtual volume management table 10355 indicates from what pool 1037 the real areas can be allocated to the virtual volumes 1036. Specifically, for example, the following information elements (4-1) and (4-2) are recorded every volume in the virtual volume management table 10355: (4-1) virtual volume name (name of virtual volume); and (4-2) virtual pool name (name of pool). In the example shown in
The pool configuration management table 10356 indicates what pool a pool volume belongs to, what physical device the pool volume is based on, and whether the pool volume is to be saved in power. Specifically, for example, the following information elements of (5-1) to (5-4) are recorded every pool volume in the pool configuration management table 10356: (5-1) virtual pool name (name of pool); (5-2) pool volume name (name of pool volume); (5-3) physical device name (name of physical device); and (5-4) power saving mode flag (flag indicating whether it is to be saved in power). It can be seen from the example shown in
The power status management table 10357 indicates in what the power consuming status of a physical device 1038 is. Specifically, for example, the following information elements of (6-1) and (6-2) are recorded every physical device 1038 in the power status management table 10357: (6-1) physical device name (name of physical device); and (6-2) power status (power consuming status). It can be seen from the example shown in
The pool allocation management table 10358 indicates the pool volumes 1039 constituting the pool volumes 1037, the total capacity of the allocated real areas in the pool volumes 1037, the total capacity of the non-allocated real areas, and the I/O frequency. Specifically, for example, the following information elements of (7-1) to (7-5) are recorded every pool volume in the pool allocation management table 10358: (7-1) virtual pool name (name of pool); (7-2) pool volume name (name of pool volume); (7-3) allocated capacity (total capacity of allocated real area); (7-4) non-allocated capacity (total capacity of non-allocated real area) ; and (7-5) I/O frequency (I/O frequency on pool volume). Paying attention to pool volume P1, it can be seen from the example shown in
In S801, the I/O processing program 10351 receives a writing command specifying a virtual area of a virtual volume from the computer 101. It is assumed that the writing command includes an LUN (Logical Unit Number) corresponding to virtual volume V1 and an LBA (Logical Block Address) corresponding to a writing destination virtual area.
In S802, the I/O processing program 10351 determines whether the real areas are already allocated to the writing destination virtual area of virtual volume V1 with reference to the data mapping table 10354. Here, when a record including an address of the destination virtual area exists in the table 10354, the determination result of S802 is affirmative.
When the determination result of S802 is affirmative (YES in S803), the process of S805 is performed. That is, in S805, the I/O processing program 10351 writes data corresponding to the writing command received in S801 to the real area allocated to the destination virtual area. At this time, the pool allocation management table 10358 is updated. Specifically, for example, when an allocated real area exists in pool volume P1, the access frequency corresponding to pool volume P1 in the table 10358 is updated.
On the other hand, when the determination result of S802 is negative (NO in S803), the process of S804 is performed. That is, in S804, the I/O processing program 10351 specifies the pool corresponding to virtual volume V1 with reference to the virtual volume management table 10355, specifies the non-allocated real area in the specified pool, and allocates the specified non-allocated real area to the destination virtual area. Specifically, the non-allocated real area is specified with reference to an area allocation management table shown in
After S804, the process of S805 is performed. That is, the data is written to the allocated real area.
In S901, the I/O processing program 10351 receives a reading command specifying a virtual area of a virtual volume from the computer 101. It is assumed that the reading command includes an LUN corresponding to virtual volume V1 and an LBA corresponding to a reading source virtual area.
In S902, the I/O processing program 10351 determines whether a real area is already allocated to the source virtual area of virtual volume V1 with reference to the data mapping table 10354.
When the determination result of S902 is affirmative (YES in S903), the process of S904 is performed. That is, in S904, the I/O processing program 10351 reads data from the real area allocated to the source virtual area and transmits the read data to the computer 101. At this time, the pool allocation management table 10358 is updated. Specifically, for example, when an allocated real area exists in pool volume P1, the access frequency corresponding to pool volume P1 in the table 10358 is updated.
On the other hand, when the determination result of S902 is negative (NO in S903), the process of S905 is performed. That is, in S905, the I/O processing program 10351 transmits 0 data (data indicating “0” as a value) to the computer 101.
In S1001, the pool setting program 10353 receives a pool volume adding command from the management server 105. In the adding command, it is specified to what pool a logical volume should be added (for example, virtual pool name and logical volume name are included therein). In the following description with reference to
In S1002, the pool setting program 10353 maps the target volume onto the target pool. Specifically, the pool setting program 10353 adds the name of the target pool to a record including the target volume name in the pool configuration management table 10356. The power saving mode flag in the record is “OFF.”
In S1101, the pool setting program 10353 receives a pool volume deleting command from the management server 105. In the pool volume deleting command, it is specified from what pool a pool volume should be deleted (for example, virtual pool name and pool volume name to be deleted are included therein). It is assumed that the volume and the pool specified by the deleting command are called “target volume” and “target pool.”
In S1102, the pool setting program 10353 determines whether the real areas allocated to several virtual volumes 1036 exist in the target pool volume with reference to the area allocation management table (or the data mapping table 10354) shown in
When the determination result of S1102 is negative (NO in S1103), the process of S1107 is performed. That is, in S1107, the pool setting program 10353 deletes the mapping of the pool volume onto the target pool. Specifically, the target pool name is deleted from the record including the target pool volume name in the pool configuration management table 10356.
When the determination result of S1102 is affirmative (YES in S1103), the processes of S1104 to S1106 are performed.
That is, in S1104, the pool setting program 10353 determines a destination pool volume. The destination pool volume is a pool volume satisfying several conditions of the following conditions of (11-1) to (11-5): (11-1) the pool volume exists in the target pool; (11-2) the pool volume is a pool volume other than the source pool volume; (11-3) the pool volume is based on a physical device other than the physical device constituting the source pool volume; (11-4) the pool volume has the power saving mode flag of “OFF); and (11-5) the pool volume satisfies one of condition TA to condition TD: (condition TA) the allocated capacity (the total capacity of the allocated real areas) is smallest in the pool volume other than the source pool volume; (condition TB) the I/O frequency is smallest in the pool volume other than the source pool volume; (condition TC) the pool volume is one or more pool volumes allocated to plural pool volumes (of which the power saving mode flags are all “OFF”) other than the source pool volume in the target pool to uniformize the capacity; and (condition TD) the pool volume is one or more pool volumes allocated to plural pool volumes (of which the power saving mode flags are all “OFF”) other than the source pool volume in the target pool to uniformize the I/O frequency. What condition is used in the (11-5) depends on the condition of the source pool volume as shown in
In S1105, the pool setting program 10353 moves (copies) data stored in the allocated real area in the source pool volume (target pool volume) to the non-allocated real area in the destination pool volume and updates the data mapping table 10354. Specifically, the information (name of source pool volume and address of the real area thereof) on the allocated real area of the data source in the data mapping table 10354 is updated into the information (name of destination pool volume and address of the real area of the destination) on the real area of the data destination. The status of the real area as the data source in the area allocation management table shown in
In S1106, the pool setting program 10353 checks that the data in the real area as the data source is equal to the data in the real area as the data destination, and then deletes the data in the real area as the data source.
The process of S1107 is performed after S1106. That is, the source pool volume is deleted from the pool specified by the deleting command received in S1101.
In S1201, the power saving setting program 10352 receives a power saving mode setting command from the management server 105. The power saving mode setting command includes the name of a pool volume as a power saving mode target (referred to as “target pool volume” in the following description with reference to
In S1202, the power saving setting program 10352 sets the target pool volume as the power saving target. That is, the power saving setting program 10352 changes the power saving mode flag (flag in the pool configuration management table 10356) corresponding to the target pool volume from “OFF” to “ON.”
In S1203, the power saving setting program 10352 determines whether all the other pool volumes based on the physical device (referred to as “target physical device” in the following description with reference to
When the determination result of S1203 is negative (NO in S1204), the device power saving setting process is ended.
When the determination result of S1203 is affirmative (YES in S1204), the process of S1205 is performed. That is, in S1205, the power saving setting program 10352 sets the power consuming status of all the HDDs constituting the target physical device to the power saving mode. The power saving setting program 10352 updates the power status corresponding to the target physical device in the power status management table 10357 from “power ON” to “power saving mode.”
In S1301, the power saving setting program 10352 receives a power saving mode releasing command from the management server 105. The power saving mode releasing command includes, for example, the name of the pool volume (referred to as “target pool volume”) in the following description with reference to
In S1302, the power saving setting program 10352 sets the target pool volume as the power non-saving target. That is, the power saving setting program 10352 changes the power saving mode flag (flag in the pool configuration management table 10356) corresponding to the target pool volume from “ON” to “OFF.”
In S1303, the power saving setting program 10352 determines whether the power status of the physical device (referred to as “target physical device” in the following description with reference to
When the determination result of S1303 is negative (NO in S1304), the device power saving releasing process is ended.
When the determination result of S1303 is affirmative (YES in S1304), the process of S1305 is performed. That is, in S1305, the power saving setting program 10352 deletes the power saving mode of all the HDDs constituting the target physical device (for example, turns on the power supply of the HDDs). The power saving setting program 10352 updates the power status corresponding to the target physical device in the power status management table 10357 from “power saving mode” to “power ON.”
The management server 105 is a kind of computer and includes an input device 1051, an output device 1052, a CPU 1053, memory resources (such as memory 1054 and HDD 1055), and a communication port 105. The input device 1051 includes, for example, a keyboard or a pointing device operated by a manager. The output device 1052 includes, for example, a display device such as a liquid crystal display device. The CPU 1053 executes a physical capacity changing program 10552 which is a computer program loaded onto the memory 1054 from the HDD 1055. The HDD 1055 stores a pool volume management table 10551 in addition to the program 10552. The communication port 1056 is a port connected to the second communication network 104 (see
The pool volume management table 10551 indicates what storage devices the pool volumes exist in and what pool the pool volumes are mapped onto. Specifically, for example, the following information elements of (15-1) to (15-4) are recorded every pool volume in the pool volume management table 10551: (15-1) storage device name (name of storage device); (15-2) virtual pool name (name of pool); (15-3) pool volume name (name of pool volume); and (15-4) mapping status (whether a pool volume is mapped onto a pool). The mapping status “ON” means that the corresponding pool volume is mapped onto a pool (that is, the pool volume belongs to the pool). In the example shown in
In S1601, the physical capacity changing program 10552 receives a physical capacity reducing request from a manager. In the request, the name of a pool (referred to as “target pool” in the following description with reference to
In S1602, the physical capacity changing program 10552 performs a deleted pool volume determining process for determining a pool volume to be deleted from the target pool. This process will be described later in detail with reference to
In S1603, the physical capacity changing program 10552 calculates a predicted I/O performance value and a predicted power consumption value when the mapping of the pool volume (referred to as “target pool volume” in the following description with reference to
Here, the “predicted I/O performance value” is a predicted value of the I/O performance with respect to the virtual volume (virtual volumes V1 to V3 in the examples shown in
When non-continuation is determined by the manager after S1603 (NO in S1604), the pool physical capacity reducing process is ended. It is not limited to the manager's continuation or non-continuation determination of the physical capacity reducing process. That is, the continuation or non-continuation may be automatically determined using the “predicted I/O performance value” or the “predicted power consumption value” and a threshold value.
On the other hand, when continuation is determined by the manager after S1603 (YES in S1604), the processes of S1605 and S1606 are performed.
That is, in S1605, the physical capacity changing program 10552 transmits the pool volume deleting command specifying the target pool and the target pool volume to the storage device 103 (whereby the pool volume deleting process shown in
In S1606, the physical capacity changing program 10552 transmits the power saving mode setting command specifying the target pool volume to the storage device 103. Accordingly, in the storage device 103, the device power saving setting process shown in
In S1701, the physical capacity changing program 10552 requests the storage device 103 for the pool configuration management table 10356 and the pool allocation management table 10358.
In S1702, the physical capacity changing program 10552 receives the pool configuration management table 10356 and the pool allocation management table 10358 from the storage device 103.
In S1703, the physical capacity changing program 10552 determines a pool volume suitable for a specific condition as a deletion target pool volume with reference to the pool configuration management table 10356 and the pool allocation management table 10358 received in S1702. Specifically, the pool volume satisfying the following conditions SA to SC as the deletion target pool volume: (condition SA) the pool volume is a pool volume having the smallest allocated capacity in the target pool; (condition SB) the pool volume is a pool volume having the smallest I/O frequency in the target pool; and (condition SC) the pool volume is a pool volume based on the physical device having the smallest number of pool volumes of which the power saving mode flag is set to “OFF.” The pool volume satisfying one of conditions SA to SC has a power saving mode flag of “OFF.”
In S1801, the physical capacity changing program 10552 receives a physical capacity adding request from the manager. In the request, for example, the name of a pool (referred to as “target pool” in the following description with reference to
In S1802, the physical capacity changing program 10552 performs the added pool volume determining process of determining a pool volume to be added to the target pool. This process will be described later in detail with reference to
When the non-continuation is determined by the manager after S1802 (NO in S1803), the pool physical capacity adding process is ended.
On the other hand, when the continuation is determined by the manager after S1802 (YES in S1803), the physical capacity changing program 10552 transmits to the storage device 103 a power saving mode releasing command indicating the pool volume (referred to as “target pool volume” in the following description with reference to
In S1805, the physical capacity changing program 10552 transmits to the storage device 103 the pool volume adding command indicating the target pool volume. Accordingly, the pool volume adding process shown in
In S1901, the physical capacity changing program 10552 determines whether the pool volume of which the mapping status is “OFF” belongs to the target pool with reference to the pool volume management table 10552.
When the determination result of S1901 is negative (NO in S1902), the process of S1903 is performed. That is, in S1903, the physical capacity changing program 10552 determines as the pool volume to be added to the target pool the logical volume (volume based on several physical devices) suitable for the policy (for example, the I/O performance or capacity) on the target pool.
When the determination result of S1901 is affirmative (NO in S1902), the process of S1904 is performed. That is, in S1904, the physical capacity changing program 10552 determines the pool volume of which the mapping status onto the target pool is “OFF” as the pool volume to be added to the target pool.
Hitherto, the first embodiment of the invention is described.
According to the first embodiment of the invention, the data stored in the real area (source real area in this paragraph), which is allocated to the virtual area in the virtual volume, in the pool volume (target volume in this paragraph) to be deleted from the pool are moved to the non-allocated real area (destination real area in this paragraph) in the pool volume based on the physical device other than the physical device (target physical device in this paragraph) constituting the target pool. Then, the power consuming statuses of all the HDDs constituting the target physical device are changed to the power saving mode. The real area mapped onto the virtual area is changed from the source real area to the destination real area. Accordingly, it is possible to reduce the power consumption of the storage device 103 and not to deteriorate the I/O performance with respect to the virtual volume.
A second embodiment of the invention will be described now. The difference from the first embodiment is mainly described and the description common to the first embodiment is omitted or simplified.
In addition to the computer 101 and the storage device 1103, an external storage device 2001 is connected to the SAN 102. Similarly, the external storage device 2001 as well as the storage device 1103 and the management server 1105 is connected to the LAN 104. The number of external storage devices 2001 is not limited to 1, but may be more than 1.
The external storage device 2001 includes a controller 4301 and a physical memory device group 4305 as shown in
The logical volume 4303 is a physical logical volume and the pool volume in the storage device 1103 is a virtual logical volume. The logical volume 4303 is mapped onto the virtual pool volume. Specifically, for example, as shown in
In this embodiment, as shown in
The external connection management table 2101 indicates onto what external volume a real volume is mapped as the pool volume. The following information elements of (21-1) to (21-3) are recorded every external volume in the external connection management table 2101: (21-1) external volume name (name of external volume); (21-2) external storage device name (name of external storage device); and (21-3) real volume name (name of real volume). Paying attention to external volume VP1, it can be seen from the example shown in
The processes of S2201 and S2202 shown in
In S2201, the I/O processing program 4401 detects a real volume (referred to as “target real volume” in the description with reference to
In S2202, the I/O processing program 4401 writes data to the memory area (referred to as “target memory area” in the description with reference to
The processes of S2301 and S2202 shown in
In S2301, the I/O processing program 4401 detects the real volume (referred to as “target real volume” in the description with reference to
In S2302, the I/O processing program 4401 reads data as a reading target from the memory area (referred to as “target memory area” in the description with reference to
In the second embodiment, as shown in
In the second embodiment, as shown in
The processes of S2401 and S2402 shown in
In S2401, the physical capacity changing program 4601 acquires the external connection management table 2101 from the storage device 1103.
In S2402, the physical capacity changing program 4601 specifies a real volume mapped onto the external volume corresponding to the target pool volume in the description with reference to
The processes of S2501 and S2502 shown in
In S2501, the physical capacity changing program 4601 acquires the external connection management table 2101 from the storage device 1103.
In S2502, the physical capacity changing program 4601 specifies a real volume mapped onto the external volume corresponding to the target pool volume in the description with reference to
Hitherto, the second embodiment of the invention is described.
According to the second embodiment, it is possible not to deteriorate the I/O performance with respect to the virtual volume and to reduce the power consumption of the external storage device 2001. Specifically, the data stored in the external volume deleted from the pool are moved to another external volume of the pool and then the power consuming status of all the HDDs in the physical device constituting the real volume mapped onto the external volume as the deletion target is changed to the power saving mode.
A third embodiment of the invention will be described now. The difference from the second embodiment is mainly described and the description common to the second embodiment is omitted or simplified.
In the third embodiment, as shown in
As shown in
In S2601, the external connection control program 4801 receives an external connection setup command from the management server 2105. In the external connection setup command, the external volume added to the pool is specified (for example, the name of the external volume is included in the command). In the following description with reference to
In S2602, external connection control program 4801 maps the real volume onto the target external volume. Specifically, for example, the external connection control program 4801 detects a non-used real volume in the external storage device 2001. The program 4801 writes information (external storage device name and real volume name) on the detected real volume to a record including the name of the target external volume in the external connection management table 2101.
In S2701, the external connection control program 4801 receives the external connection teardown command from the management server 2105. In the external connection teardown command, the external volume deleted from the pool is specified, (for example, the name of the external volume is included in the command). The external volume is referred to as the “target external volume” in the following description with reference to
In S2702, the external connection control program 4801 deletes the mapping of the real volume onto the target external volume. Specifically, for example, the external connection control program 4801 deletes information (external storage device name and real volume name) on the real volume from the record including the name of the target external volume in the external connection management table 2101.
The process of S2801 is performed between S2401 and S2402 (see
The process of S2901 is performed between S2502 (see
Hitherto, the third embodiment of the invention is described.
According to the third embodiment, the mapping of the real volume onto the external volume is deleted upon the deletion of the external volume from the pool, or the real volume is mapped onto the external volume upon the addition of the external volume to the pool. The real volume deleted in mapping can be used for other applications and thus the efficient use of the memory resources can be expected.
A fourth embodiment of the invention will be described now. A difference from the third embodiment is mainly described and the description common to the third embodiment is omitted or simplified.
An SAN 3102 includes one or more fiber channel switch devices (FC-SW) 3001. The FC-SW 3001 is connected to a computer 101, a storage device 3101, and an external storage device 2001.
As shown in
As shown in
The power control range of the FC-SW 3001 is classified into an individual range of each port and a range other than port (hereinafter, referred to as “entire FC-SW”) common to all the ports. That is, the FC-SW 3001 can set the power saving mode or the power ON mode every port, and the entire FC-SW can be set to the power saving mode when all the ports are set to the power saving mode. In other words, when at least one port is set to the power ON mode, the power saving mode of the entire FC-SW is deleted (that is, changed to the power ON mode).
The power saving controller 5201 is embodied by allowing a micro processor to execute a computer program and performs a process in accordance with a command from the management server 3105.
The FC-SW management table 3101 is a table stored in the memory of the FC-SW 3001. As shown in
In S3201, the power saving controller 5201 receives a power saving mode setting command from the management server 3105. In the command, the FC port as a power saving target is specified (for example, the port name is included in the command). Hereinafter, the FC port as the power saving target is referred to as “target FC port” in the description with reference to
In S3202, the power saving controller 5201 changes the power status of the target FC port to the “power saving mode” in the FC-SW management table 3101.
In S3203, the power saving controller 5201 determines whether all the FC ports are set to the “power saving mode” in the FC-SW management table 3101.
When the determination result of S3203 is negative (NO in S3204), the SW power saving setting process is ended.
When the determination result of S3203 is affirmative (YES in S3204), the power saving controller 5201 sets the entire FC-SW to the power saving mode in S3205.
In S3301, the power saving controller 5201 receives a power saving mode releasing command from the management server 3105. In the command, the FC port as a power saving release target is specified (for example, the port name is included in the command). Hereinafter, the FC port as the power saving release target is referred to as “target FC port” in the description with reference to
In S3302, the power saving controller 5201 determines whether the entire FC-SW is set to the power saving mode.
When the determination result of S3302 is negative (NO in S3303), the process of S3304 is skipped and the process of S3305 is performed.
When the determination result of S3302 is affirmative (YES in S3303), the power saving controller 5201 deletes the power saving mode of the entire FC-SW in S3304.
In S3305, the power saving controller 5201 changes the power status of the target FC port to the “power ON mode” in the FC-SW management table 3101.
The table 5102 is a table managed by the management server 3105. The table 5102 describes information on the configuration of each connection and a power saving flag is prepared for each connection. The connection having a power saving flag of “OFF” means a connection in use and the connection having a power saving flag of “ON” means a non-used connection.
Here, the “connection” means a path and includes the following elements of (34-1) to (34-8) as shown in
Here, the “source host” means an upstream device when it is assumed that the computer 101 is upstream and the external storage device 2001 is downstream. The “destination host’ means a downstream device. Specifically, for example, paying attention to the computer 101 and the storage device 3103, the computer 101 is the source host and the storage device 3103 is the destination host. Paying attention to the storage device 3103 and the external storage device 2001, the storage device 3103 is the source host and the external storage device 2001 is the destination host.
The “source volume” means a volume of the source host. For example, the source volume is a volume (for example, the volume name is “/Dev0”) managed by mounting a virtual volume in the computer 101 and is an external volume in the storage device 3103.
The “destination volume” means a volume of the destination host. For example, the destination volume is an external volume in the storage device 3103 and a real volume in the external storage device 2001.
The “source host port” means a port of the source host and the “destination host port” means a port of the destination host.
The physical capacity changing program 5101 performs the SW power saving instructing process (S3501) after S2402 (see
In S3601, the physical capacity changing program 5101 detects a connection with the torn-down external connection. The “connection with a torn-down external connection” means a connection including an external volume and a real volume with the deleted mapping on the external.
In S3602, the physical capacity changing program 5101 changes the power saving flag, which corresponds to the connection detected in S3601 (referred to as “target connection” in the following description with reference to
In S3603, the physical capacity changing program 5101 determines whether a different connection via the FC port through which the target connection passes and having a power saving flag of “OFF” exists. For example, in
When the determination result of S3603 is affirmative (YES in S3604), the SW power saving instructing process is ended.
When the determination result of S3603 is negative (NO in S3604), the physical capacity changing program 5101 transmits the power saving mode setting command to the FC-SW 3001 in S3605. In the command, an FC port not passing through any other connection with a power saving flag of “OFF” is specified between the source FC port and the destination FC port in the target connection.
The physical capacity changing program 5101 performs the SW power saving deletion instructing process (S3501) after S2502 (see
In S3801, the physical capacity changing program 5101 detects a connection with a set-up external connection. The “connection with a set-up external connection” means a connection including an external volume and a real volume with the mapping on the external.
In S3802, the physical capacity changing program 5101 changes the power saving flag, which corresponds to the connection detected in S3801 (referred to as “target connection” in the following description with reference to
In S3803, the physical capacity changing program 5101 acquires the FC-SW management table 3101 from the FC-SW 3001.
In S3804, the physical capacity changing program 5101 transmits the power saving mode setting command to the FC-SW 3001. In the command, an FC port of which the power status in the FC-SW management table 3101 is the “power OFF” is designated out of the source FC port and the destination FC port in the target connection.
Hitherto, the fourth embodiment of the invention is described.
According to the fourth embodiment, the power consuming status in the FC port is changed to the power saving mode with the deletion of the mapping of the real volume onto the external volume. Accordingly, it is possible to reduce the power consumption of the storage system including the storage device 3103, the FC-SW 3001, and the external storage device 2001.
Although the exemplary embodiments of the invention have been described, the embodiments are only examples of the invention and are not intended to limit the scope of the invention. The invention can be modified in various forms. For example, the pool volume deleted from the pool may be used for other applications. For example, in one of the first to fourth embodiments, the process of deleting the pool volume (external volume) from the pool may not be performed. For example, in the fourth embodiment, the deletion of the mapping of the real volume onto the external volume may not be performed.
Number | Date | Country | Kind |
---|---|---|---|
2008-237066 | Sep 2008 | JP | national |