This application relates to and claims priority from Japanese Patent Application No. 2007-313562, filed on Dec. 4, 2007, the entire disclosure of which is incorporated herein by reference.
1. Field of the Invention
The invention relates generally to a storage apparatus for storing data exchanged between the storage apparatus and a host computer (host system) in a hard disk drive (HDD), a storage system and a path information setting method.
2. Description of Related Art
Of storage apparatuses of the above type, a storage apparatus including a storage device for storing information, a plurality of physical ports connected to a host computer via a communication network and serving as an interface for a logical unit in the storage device, and a storage control unit for controlling data read and data write relative to the storage device is well known.
Since the storage apparatus includes a plurality of physical ports, the storage apparatus cannot write data to or read data from each logical device (logical unit) unless paths are defined from the physical ports respectively to the logical devices (logical unit). Accordingly, path definition information indicating control information for accurately transferring information from the host computer to the logical devices has been set for all of the physical ports in the storage apparatus.
In other words, in storage apparatuses, redundancy is an important factor for enhancing reliability, so the path definition information has been set for an access path group that connects the physical ports in the storage apparatus respectively to the logical devices so that access can be made to a common logical device using two or more physical ports.
Meanwhile, a configuration has been proposed in which plural host computers that can access a storage apparatus are grouped with duplication permitted, one or more logical units are assigned to each group, and the assigned logical unit(s) and storage areas in a storage device are associated with each other with duplication permitted, so that security functions for each logical unit assigned in each group (see, for example, 2003-30053 A).
A storage subsystem disclosed in the above reference is provided with a function that extracts, from a command that has accessed the subsystem via a port, information for identifying the host computer that has transmitted the command; determines that the relevant host computer is a part of the grouped computers and permits the access to the relevant assigned logical unit when the extracted identification information is included In a management table; or determines that the relevant host computer is not a part of the grouped computers and denies the access to the accessible logical unit when the identification information is not included in the management table.
In conventional storage apparatuses, paths need to be set for all physical ports, so making settings for path definition information has been complicated and there has been a possibility that a maintenance error may occur when setting for the path definition information.
This invention was made in light of the above problems in the conventional technology, and it is an object of this invention to provide a storage apparatus, a storage system and a path setting method that are capable of simplifying the setting of path definition information for accurately transferring information from a host computer to a logical unit in a storage device.
In order to achieve the above object, in this invention, a plurality of physical ports provided in a storage apparatus is logically integrated into a single logical port and path definition information is set for this logical port so that information can be accurately transferred from a host computer to a logical unit in a storage device, and this invention can simplify operation for setting the path definition information.
In addition, access paths from a switch having a plurality of switch ports to a logical unit in the storage device is integrated into one logical access path and the port of this logical access path is provided to the host computer as a logical port, thereby simplifying operation for setting or managing the access paths for the host computer.
According to this invention, management and operation for setting the path definition information can be simplified.
Other aspects and advantages of the invention will be apparent from the following description and the appended claims.
In this invention, information can be accurately transferred from a host computer to a logical unit in a storage device by logically integrating a plurality of physical ports provided In a storage apparatus into a single logical port and setting path definition information for this logical port. In addition, access paths from a switch having a plurality of switch ports to the logical unit in the storage device is integrated into a logical access path and the entrance of this logical access path is provided to the host computer as a logical port.
An embodiment of this invention will be described with reference to the attached drawings.
The storage apparatus 14 includes, as a sub storage system, a switch 16, a management terminal 18 and a storage device 20. The switch 16 includes switch ports P11, P21 and P22, and also includes: a microprocessor 22 that is a controller for forming a path group connecting the switch ports to each other and controlling the connection between the paths, a memory 24 that stores data of various types and connection information; a data control unit 26; and a communication control unit 28. The switch port P11 is connected to a host port P1 in the host computer 10 via the communication network 12. In other words, the switch 16 serves as an apparatus for exchanging I/O data via ports between the host computer 10 and the storage device 20 (.
The management terminal 18 serves as a service processor (SVP) for setting configuration information for the switch 16 and the storage device 20, and includes a microprocessor 30 serving as a controller, a memory 32 storing the configuration information, a memory 34 for storing connection information, a setting screen 36 that serves as a display unit, a configuration setting unit 38 for setting the configuration information, and a communication processor 40 for exchanging information with the switch 16 or the storage device 20.
The storage device 20 includes storage ports (physical ports) P51 and P52, and also includes, as apparatuses employing a RAID (Redundant Arrays of Inexpensive Disks), a shared memory 42 for storing the connection information; a shared memory 44 for storing the configuration information; a logical device 46 (LDEV) serving as a storage device for storing information of various types; a communication processor 48 for exchanging information with the switch 16 or the management terminal 18; a data control unit 50 for controlling data-write to the logical device 46 and data-read from the logical device 46; memories 52, 54 and 56 for storing data relating to control; and a microprocessor 68 for integrally managing the components and performing various types of control. The storage port P 51 is connected to the switch port P21 and the storage port P52 is connected to the switch port P22. Here, the logical device 46 includes a plurality of logical devices.
Next,
In this configuration, setting path definition information for each of the plurality of access paths is cumbersome. In this embodiment, the management terminal 18 is used as a setting apparatus and a user operates the management terminal 18 to associate an access path group connecting the switch port P11 in the switch 16 and the logical device 46 in the storage device 20 to each other with a logical port L1 that is formed by logically integrating the switch ports and storage ports into a single port, and information indicating that this logical port L1 is an entrance for the access path for the host computer 10 is provided to the host computer 10 as shown in
Also, in a configuration shown in
When the path definition information is set by the user using the management terminal 18 the path definition information table T shown in
A second item is a channel adapter parameter 110, and information regarding whether or not high-speed mode or normal mode is selected is stored as the operation mode 112. The third item is a port parameter 114, and an address value based on a fibre standard is stored as the AL-PA 16, information defining the mode of connection with the host computer is stored as the Topology 118, information about which speed—1 (Gpbs), 2 (Gpbs), 4 (Gpbs), 10, (Gpbs) or automatic speed—is selected is stored as the channel speed 120, and information regarding whether to enable or disable a group setting is stored as information regarding a security switch 122.
Stored as a fourth item is information regarding a logical device attribute 124. For example, information regarding a command reception volume in a RAID manager is stored as information regarding a command device 126, and information regarding a command reception volume (with a security function) in the RAID manager is stored as a command device (security) 128.
Next, when the user inputs path definition information via the management terminal 18, information about configurations for the storage apparatus 14 is displayed on a screen In the setting screen unit 36, as shown in
At this time, as shown in
As shown in part (a) in
When access paths with a common logical unit number (LUN) are designated, the access paths from a plurality of physical ports (storage ports) to the common logical unit number (LUN) are designated, and the configuration information shown in part (c) in
Next, as shown in part (d) in
Then, as shown in part (e) in
Next, when virtual logical units are set for different logical devices, processing proceeds as follows. When path definition information is displayed on the screen of the management terminal 18 based on the users input and then access paths desired to be integrated into a single path for a plurality of physical ports are designated as shown in part (a) in
When a virtual logical unit number is set for different logical unit numbers, the screen shown in part (d) in
Next, when the Host-WWN and the host mode are set for each logical port, the screen shown in part (e) in
The screen shown in part (f) in
When the path definition information is set, the management terminal 18 and the logical device connected to the management terminal 18 is displayed on the screen. Then when setting permission (OK) is input for the displayed information, the entrance of the selected access path is defined as a logical port and manipulation for setting this logical port as an access path entrance for the host computer 10 is performed.
When the setting for the path definition information is completed in the management terminal 18, manipulation for transmitting the path definition information from the management terminal 18 to the storage device 20 is performed (S3). Specifically, as shown in part (a) in
Then as shown in part (b) in
As described above, when the user's manipulation for setting the path definition information is performed in the management terminal 18, an access path group for connecting each physical port and the logical device (logical unit) is displayed on the screen of the management terminal 18.
Here, if, as input information resulted from the user's manipulation, one access path in the access path group displayed on the screen is designated and a logical port name is input for the designated access path in the management terminal 18, the microprocessor 30 in the management terminal 18 judges sameness—whether or not an access path for the logical device the same as the logical device connected to the designated access path has been selected—and displays, only when the judgment result shows that the selected access path is the same, the selected path and the logical device connected thereto. Then when the setting permission (OK) is input for the displayed information, the entrance of the selected access path is set as the logical port L1.
As a result of the above setting, information indicating that the logical port L1 serves as the access path entrance for the host computer 10 is provided to the host computer 10. Accordingly, by setting the path definition information only for the single logical port L1 without the need for setting the path definition information for the plurality of physical ports, the management and the operation accompanying the path definition information setting can be simplified and the incidence of maintenance errors can be reduced.
Next, path definition processing between the management terminal 18 and the storage device 20 will be described below based on the time chart shown in
Next, when the user performs path setting at time t5, a configuration change command is output from the screen setting Unit 36 to the configuration setting unit 38 at time t6, a setting request is output from the configuration setting unit 38 to the communication processor 40 at time t7, and the setting request is output from the communication processor 40 to the storage device 20 at time t8. When the processing result is transmitted back from the storage device 20 to the communication processor 40 at time t9, this result is transmitted from the communication processor 40 to the configuration setting unit 38 at time t10. Then when the result is transmitted from the configuration setting unit 38 to the setting screen 36 at time t11, the result is displayed on the screen of the management terminal 18 at time t12.
Next, path definition processing between the management terminal 18 and the storage device 20/the switch 16 will be described based on the time chart shown in
Next, the management terminal 18 refers to the communication processor 28 in the switch 16 for configuration (access path information), based on the processing in the microprocessor (controller) 30, at time t24. When the information from the switch 16 is transmitted back to the management terminal 18 at time t25, the content of the transmitted information is displayed on the screen of the management terminal 18 at time t26.
Then when the user performs path setting at time t27, a configuration change command is output from the screen setting unit 36 to the configuration setting unit 38 at time t28, a setting request is output from the configuration setting unit 38 to the communication processor 40 at time t29, and the setting request is output from the communication processor 40 to the storage device 20 at time t30. When the processing result is transmitted from the storage device 20 to the communication processor 40 at time t31, this result is transmitted from the communication processor 40 to the configuration setting unit 38 at time t32.
When the setting request is transmitted from the configuration setting unit 38 to the communication processor 40 at time t33, the setting request is output from the communication processor 40 to the communication processor 28 in the switch 16 at time t34. Then the processing result from the switch 16 is transmitted back to the setting screen unit 36 at times t35 to t37, and the content of the processing result is displayed on the screen of the management terminal 18 at time t38.
Next, path definition information processing between the management terminal 38 and the storage device 20/strorage device 21 will be described based on the time chart shown in
Next, path definition processing between the management terminal 18, the plurality of switches 16 and 17, and the plurality of storage devices 20 and 21 will be described based on the time chart shown in
Next, the management terminal 18 refers to the storage device 20 for a configuration (logical unit number and other configuration information) at time t66, and the result is transmitted back from the storage device 20 to the management terminal 18 at time t67. Then the management terminal 18 refers to the storage device 21 for a configuration (logical unit number and other configuration information) at time t68, and the result is transmitted back from the storage device 21 to the management terminal 18 at t69.
Next, the management terminal 18 displays the content of the transmitted information on the screen at time t70, and when setting for a logical path is performed by the user at time t71, the microprocessor 30 in the management terminal 18 checks configuration/configuration information (i.e., overlap/sameness). Then the management terminal 18 performs configuration change setting (port connection information) processing on the switch 16 at time t72 based on the check result, and the processing result is transmitted from the switch t16 to the management terminal 18 at time t73. Next, the management terminal 18 performs configuration change setting (port connection information) processing on the switch 17 at time t74, and the processing result is transmitted back from the switch 17 to the management terminal 18 at time t75. The management terminal 18 displays the content transmitted at time t76 on the screen.
Next, when the user sets path definition at time t77, the management terminal 18 performs configuration change setting (port connection information, logical unit number and other information) processing on the storage device 20 at time t78, and the processing result is transmitted back from the storage device 20 to the management terminal 18 at time t79. Then the management terminal 18 performs configuration change setting (port connection information, logical unit number and other information) processing on the storage device 21 at time t80, and the processing result is transmitted back from the storage device 21 to the management terminal 18 at time t81. The management terminal 18 displays the content transmitted at time t82 on the screen.
Next, data read/write processing between the host computer 10, the switches 16 and 17, and the storage devices 20 and 21 will be described based on the time chart shown in
when performing data reading, the host computer 10 performs data read processing on the switch 16 at time t95, refers to the port connection information, and then reads data from the storage device 20 based on the reference result at time t96. Then the host computer 10 performs data read processing on the switch 17 at time t97, refers to the port connection information, and then reads data from the storage device 21 based on the reference result at time t98. When the host computer 10 reads read data from the storage device 20, it loads that data into the switch 16 at time t99, and acquires the data via the via the switch 16 at time t100. When the host computer 10 reads read data from the storage device 21, it loads the data into the switch 17 at time t101 and acquires the data via the switch 16 at times t102 and t103.
Next, I/O transfer processing between the host computer 10 and the switch 16/storage device 20 will be described with reference to the time chart shown in
According to this embodiment, since path definition information is set for the logical port L1 that is obtained by logically integrating a plurality of physical ports in the storage apparatus 14 into a single port so that information is accurately transferred from the host computer 10 to the logical device 46 in the storage device 20, the operation accompanied by the setting of the path definition information can be simplified.
In addition, according to this embodiment, since the access paths from the switch 16 having the plurality of switch ports to the logical device 46 in the storage device 20 are integrated into a single access path and the entrance of this access path is provided to the host computer 10 as a single logical port L1, the setting and management for the access path from the host computer 10 can be easily performed.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised that do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims.
Number | Date | Country | Kind |
---|---|---|---|
2007-313562 | Dec 2007 | JP | national |