Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS20070088737 A1
Publication typeApplication
Application numberUS 11/303,981
Publication dateApr 19, 2007
Filing dateDec 19, 2005
Priority dateOct 18, 2005
Also published asEP1777638A1, US8214333, US8732129, US20090125547, US20120239879
Publication number11303981, 303981, US 2007/0088737 A1, US 2007/088737 A1, US 20070088737 A1, US 20070088737A1, US 2007088737 A1, US 2007088737A1, US-A1-20070088737, US-A1-2007088737, US2007/0088737A1, US2007/088737A1, US20070088737 A1, US20070088737A1, US2007088737 A1, US2007088737A1
InventorsNorihiko Kawakami, Tetsuya Shirogane
Original AssigneeNorihiko Kawakami, Tetsuya Shirogane
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Storage system for managing a log of access
US 20070088737 A1
Abstract
Provided is a storage system including: a first interface connected to a host computer; a second interface connected to a manager terminal; a control unit connected to the first interface and the second interface and equipping a processor and a memory; and one or more disk drives in which data that is requested to read by the host computer is stored, in which the control unit detects an access from the host computer to the first interface and an access from the manager terminal to the second interface, and generates log data of operations according to the accesses. Accordingly, log data concerning every action and every operation of the storage system is maintained and stored.
Images(17)
Previous page
Next page
Claims(14)
1. A storage system, comprising:
a first interface connected to a host computer;
a second interface connected to a manager terminal;
a control unit connected to the first interface and the second interface and including a processor and a memory; and
one or more disk drives in which data that is requested to read by the host computer is stored,
wherein the control unit detects an access from the host computer to the first interface and an access from the manager terminal to the second interface, and generates log data of operations according to the accesses.
2. The storage system according to claim 1, further comprising:
a storage unit for storing a template for specifying a format of the generated log; and
a cache for temporarily storing information to be stored in the disk drive is,
wherein after detecting the access from the host computer to the first interface and the access from the manager terminal to the second interface, the control unit obtains processing details and processing results executed in correspondence with the accesses, applies the template to the processing details and the processing results to generate log data, and stores the generated log data in the cache.
3. The storage system according to claim 2, wherein the storage unit is provided in the cache.
4. The storage system according to claim 2, wherein the control unit obtains processing details and processing results executed within the storage system with relation to neither the accesses to the first interface nor the second interface, applies the template to the processing details and the processing results to generate log data, and stores the generated log data in the cache.
5. The storage system according to claim 1, further comprising:
a logical area composed of the one or more disk drives; and
a storage unit for storing access management information for specifying permission of an access to the logical area,
wherein the control unit creates a log storage area for storing the generated log data therein, and denies an access from the host computer to the log storage area by referring to the access management information and denies an access from the management computer to attempt to delete the log storage area by referring to the access management information.
6. The storage system according to claim 1, further comprising:
a logical area composed of the one or more disk drives; and
a plurality of control units, wherein:
one of the plurality of control units is determined as a main control unit for managing the log data;
the logical area includes a log storage area storing the generated log data; and
the main control unit obtains log data relating to a processing performed by another control unit, stores the log data in the log storage area, and transmits the log data to an outside of the storage system.
7. The storage system according to claim 1, further comprising a storage unit for storing migration management information including migration information on log data,
wherein upon migration of the log data from the storage system to another storage system, the control unit stores migration information on a destination storage system, migration information on a source storage system, and migration date, in the migration management information.
8. A computer system, comprising:
a host computer;
a manager terminal; and
a storage system,
the host computer comprising: an interface connected to the storage system; a processor connected to the interface; and a memory connected to the processor,
the manager terminal comprising: an interface connected to the storage system; a processor connected to the interface; and a memory connected to the processor,
the storage system, comprising: a first interface connected to the host computer; a second interface connected to the manager terminal; a control unit connected to the first interface and the second interface and equipping a processor and a memory; and one or more disk drives in which data that is requested to read by the host computer is stored,
wherein the control unit detects an access from the host computer to the first interface and an access from the manager terminal to the second interface, and generates log data of operations according to the accesses.
9. The computer system according to claim 8, wherein:
the storage system further comprises: a storage unit for storing a template for specifying a format of the generated log data; and a cache for temporarily storing information to be stored in the disk drive; and
after detecting the access from the host computer to the first interface and the access from the manager terminal to the second interface, the control unit obtains processing details and processing results executed in correspondence with the accesses, applies the template to the processing details and the processing results to generate log data, and stores the generated log data in the cache.
10. The computer system according to claim 9, wherein the storage unit is provided in the cache.
11. The computer system according to claim 9, wherein the control unit obtains processing details and processing results executed within the storage system with relation to neither the accesses to the first interface nor the second interface, applies the template to the processing details and the processing results to generate log data, and stores the generated log data in the cache.
12. The computer system according to claim 8, wherein:
the storage system further comprises:
a logical area composed of the one or more disk drives; and
a storage unit for storing access management information for specifying permission of an access to the logical area; and
the control unit creates a log storage area for storing the generated log therein, and denies an access from the host computer to the log storage area by referring to the access management information and denies an access from the manager terminal to attempt to delete the log storage area by referring to the access management information.
13. The computer system according to claim 8, further comprising a log server that comprises: an interface connected to the storage system; a processor connected to the interface; and a memory connected to the processor,
wherein:
the storage system further comprises: a logical area composed of the one or more disk drives; and a plurality of the control units;
one of the plurality of control units is determined as a main control unit for managing the log data;
the logical area includes a log storage area storing the generated log data; and
the main control unit obtains log data relating to processes performed by another control unit, stores the log data in the log storage area, and transmits the log to the log server.
14. The computer system according to claim 8,wherein:
the storage system further comprises a storage unit for storing migration management information including migration information on log data; and
upon migration of the log data from the storage system to another storage system, the control unit stores migration information on a destination storage system, migration information on a source storage system, and migration date, in the migration management information.
Description
CLAIM OF PRIORITY

The present application claims priority from Japanese patent application P2005-302766 filed on Oct. 18, 2005, the content of which is hereby incorporated by reference into this application.

BACKGROUND

This invention relates to a storage system used for a computer system, and more particularly to a log management technique for a storage system.

Recent advances of network technology have been introducing computer systems connected to networks in various environments such as companies, schools, and homes. In companies and schools, a group of computers installed in an organization are connected to a network to allow information sharing among the computers, and each computer is connected to the Internet to transmit information. The trend dramatically increases an information amount processed in systems. To adapt to the increasing information amount in circulation, capacities of storage systems used by users are also increasing rapidly.

In the above-mentioned situation where widespread network systems have made it common to use the storage systems connected to networks, the improvement of security in a storage system becomes increasingly important.

In recent years, thefts and corruptions of information have occurred due to unauthorized intrusions into network systems, while even government and municipal offices or companies have suffered damage from unauthorized access to tamper with their Websites.

Such security issues involve a method of exploit security holes to attack an operating system or software via computer network. In addition, there is a fear that unauthorized access to a storage system may cause data stored in the storage system to be read, deleted, or altered in structure.

For example, JP 2002-111667 A discloses one of security countermeasures to such unauthorized access, in which a log is maintained in order to detect and monitor unauthorized operation. In addition, the maintained log is stored for later use as an inspection record upon occurrence of any problems or failures.

Further, the security evaluation standard ISO/IEC 17799 stipulates that log collection is recommended in order to facilitate the procedure for handling failures or security-related issues upon the occurrence thereof. Further, various laws and regulations are beginning to stipulate that a log be obtained from an information system, and the obtained log be stored for a long term. Furthermore, when an information system failure results in a serious accident or incident, it is necessary to use a log as an evidence for diagnosing the cause thereof.

By storing manipulation records and operation records of an information system, such a diagnosis is possible as to whether the cause of failure is attributed to a certain action of a device in the information system or a certain operation during unauthorized access. Therefore, the log is significant information in terms of running the information system.

Meanwhile, a storage system have adopted a method of keeping a record of access from hosts as an access log. When a storage usage of the access log reaches an upper limit, older records of the access log are overwritten by newer records thereof to be deleted in order.

SUMMARY

In terms of unauthorized intrusion into a computer system as described above, a storage system connected to a network is increasingly endangered. However, there has been a problem in that, even if accidents or troubles occur in a storage system or an information system including the storage system, the reference to a log maintained in the storage system leads to neither diagnosis of the cause nor collection of evidences.

Even without such unauthorized access, there is another fear that the running of the storage system may stop due to occurrence of any failures, such as parts' life expiration and malfunction, in the storage system itself. In such a case, it is also difficult to diagnose the cause of failure.

In such circumstances, in order to handle the above-mentioned various situations, it is becoming more important to obtain a log recording details of operation and processing performed in the storage system.

This invention has been made in view of the above-mentioned problem, and it is therefore an object to provide a storage system in which a log concerning every action and every operation of the storage system is maintained and stored.

According to an exemplary embodiment of this invention, there is provided a storage system including: a first interface connected to host computers; a second interface connected to manager terminals; a control unit connected to the first interface and the second interface and including a processor and a memory; and one or more disk drives in which data that is requested to read by the host computers is equipped, in which the control unit detects an access from the host computer to the first interface and an access from the manager terminal to the second interface, and generates a log of operations according to the accesses.

According to an embodiment of this invention, it is possible to record every processing requested through various interfaces provided to a storage system and each processing performed within the storage system on a log in a uniform format.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention can be appreciated by the description which follows in conjunction with the following figures, wherein:

FIG. 1 is a functional block diagram showing a system structure of a storage system according to a first embodiment;

FIG. 2 is a block diagram showing a hardware structure of the storage system according to the first embodiment;

FIG. 3 is an explanatory diagram of a log generation processing of the storage system according to the first embodiment;

FIG. 4 is a flowchart showing a log output processing according to the first embodiment;

FIG. 5 is a flowchart showing a log generation processing according to the first embodiment;

FIG. 6 is a flowchart showing a log format unification processing according to the first embodiment;

FIG. 7 is an explanatory diagram of a uniform log format template according to the first embodiment;

FIG. 8 is an explanatory diagram of an example of a log generated according to the first embodiment;

FIG. 9 is an explanatory diagram of an example of a log integration processing performed between a plurality of controllers according to the first embodiment;

FIG. 10 is an explanatory diagram of a processing relating to configuration of a log storage area according to the first embodiment;

FIG. 11 is a flowchart of a management processing for log storage area according to the first embodiment;

FIG. 12 is an explanatory diagram of an LU access management table according to the first embodiment;

FIG. 13 is an explanatory diagram of a processing of generating a log after recognizing access to the storage system according to the first embodiment;

FIG. 14 is an explanatory diagram of a log storage area registration screen according to the first embodiment;

FIG. 15 is an explanatory diagram of a data migration processing performed between storage systems according to the first embodiment;

FIG. 16 is an explanatory diagram of an inter-storage-system migration management table according to the first embodiment;

FIG. 17 is a block diagram showing a hardware structure of a storage system according to a second embodiment; and

FIG. 18 is a block diagram showing a hardware structure of a storage system according to a third embodiment.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

According to a representative embodiment of this invention, every operation to a storage system received through every kind of interface that can be connected to the storage system is automatically recorded by the storage system itself as a log.

The storage system is provided with various interfaces using Fibre Channel (FC), Small Computer Systems Interface over Internet (iSCSI), Network Attached Storage (NAS), management Local Area Network (LAN), etc., and generates a log upon detection of access from a host computer 600 and a manager terminal 400 to the various interfaces. The generated log includes information on which computer is using the storage system. Block access to the storage system is also recorded on the log according to a template unique to the storage system. In addition, details of action performed within the storage system are recorded on the log according to the same template.

The storage system thus maintains the log, making it possible to reference to records of operation of the storage system as needed, and upon occurrence of a failure, making it possible to track down a cause thereof. In addition, it is possible to reference to an working condition of the storage system, which brings efficiency to the operation and management of the storage system.

Further, log data can be updated only from a permitted access source, which imposes limitations on who can maintain the log. Permission is given to a program running on the storage system as the permitted access source, thereby preventing writing, modifying, and deletion of the log due to the operation from an outside of the storage system.

Hereinafter, embodiments of this invention will be described in detail with reference to the drawings.

(First Embodiment)

FIG. 1 is a functional block diagram showing a system structure of a storage system 100 according to a first embodiment.

The storage system 100 equips a controller 200 and a disk drive 195.

The controller 200 equips a log management module 110 and a time synchronization module 131. The log management module 110 includes a log storage area management module 121, a log migration management module 126, a log generation module 141, a log writing control module 151, a log integration module 161, and a log transmission module 171. As described later, the controller 200 equips an MPU 220 and a memory 250, in which the MPU 220 executes various programs stored in the memory 250 to implement the above-mentioned modules.

When the controller 200 receives a host I/O request from a host 600 and a request of management operation from a manager terminal 400, the controller 200 performs processings corresponding to those requests. The log management module 110 generates log data relating to details of requested operations and processings corresponding to the requests, and store the log data in the disk drive 195.

The log generation module 141 is implemented by executing the log generation program 140, and generates log data relating to the operation to the storage system 100 and the details of processings according to the operation. The log writing control module 151 is implemented by executing a log writing control program 150, and writes the generated log data to a cache 180.

It should be noted that in the case where a plurality of controllers 200 are in operation, one of those controllers is set as a main controller for mainly managing log. The log management module 110 of the main controller outputs log that incorporates the processing details of another controller.

In other words, the log integration module 161 of the main controller synchronizes log data stored in caches 180 of the respective controllers, and stores all the log data in the cache 180 of the main controller.

Then, the log transmission module 171 of the main controller transmits the log data stored in the cache 180 to a log server 300 connected to the storage system 100.

The log integration module 161 is implemented by executing a log integration program 160. The log transmission module 171 is implemented by executing a log transmission program 170.

Further, the controller 200 writes the log data stored in the cache 180 to a log storage area 190 set in the disk drive 195 periodically (for example, at a predetermined time interval). Accordingly, the log storage area management module 121 is implemented by executing a log storage area management program 120, a log storage area for storing log data is reserved in the disk drive 195 in advance.

The log migration management module 126 is implemented by executing a log migration management program 125, and migrates log data to/from another storage system 100. FIG. 15 will be used later to describe a log data migration processing.

The time synchronization module 131 is implemented by executing a time synchronization program 130, and in order to share the same time among the computer system, communicates with a time server 500 to synchronize an internal clock. Accurate synchronization of the internal clock allows the log data to include accurate time information therein.

FIG. 2 is a block diagram showing a hardware structure of the storage system 100 according to the first embodiment.

The storage system 100 is connected to the log server 300, the manager terminal 400, the time server 500, and the host 600 through a network. It should be noted that part or all of those may be directly connected to the storage system 100.

The storage system 100 equips the plurality of controllers 200 and a storage device 260. It should be noted that the two controllers 200 are shown in the drawing, but the number of controllers 200 is not limited thereto.

The controller 200 equips a host interface 210, a LAN interface 230, the MPU 220, a Data Controller (DCTL) 240, the memory 250, and the cache 180.

The host interface 210 controls communications with the host 600 via protocols suitable for data transfer such as Fibre Channel (FC), Network Attached Storage (NAS), and Internet SCSI (iSCSI). The LAN interface 230 uses protocols including TCP/IP to control management-based communications with the time server 500, the log server 300, and the manager terminal 400.

The DCTL 240 controls data transfer within the storage system 100.

The memory 250 stores the various programs and data necessary for executing the programs. To be specific, the memory 250 stores the log storage area management program 120, the log migration management program 125, the time synchronization program 130, the log generation program 140, the log writing control program 150, the log integration program 160, and the log transmission program 170. Those programs are stored in the storage device 260, transferred to the memory 250 upon start of the storage system 100, and then executed by the MPU 220.

The cache 180 stores various information items to be used by the log management module 110. To be specific, the cache 180 stores log configuration information 181, log data 182, time synchronization configuration information 183, and time data 184. It should be noted that in the first embodiment, the various information items are stored in the cache, but as described later in a second embodiment, part or all of the various information items may be stored in a storage medium other than the cache.

The log configuration information 181 is configured with regard to collection of log, including a stored location of the log storage area, a size of the log storage area, a term over which the log storage area is managed, and an address of a log server at a log transmission destination. The log data 182 is obtained by temporarily storing a log generated by the log generation program 140.

The time synchronization configuration information 183 is configured with regard to the synchronization of the internal clock, including a timing of the time synchronization and an address of the time server 500. The time data 184 is obtained by the time synchronization program 130 through the communications with the time server 500.

The storage device 260 equips one or more disk drives 195. The disk drives 195 are each a storage medium for storing data. In general, a magnetic disk is used as the storage medium, but other media including an optical disk may be used. The storage device 260 is provided with one or more logical areas in which data to be used by the host computer 600 is stored. The storage device 260 is also provided with the log storage area in which the generated log data is stored.

It should be noted that the disk drives 195 constitute a Redundant Array of Independent Disks (RAID) configuration to provide redundancy of the data to be stored. This prevents the stored data from being lost even when a failure occurs in part of the disk drives 195.

It should be noted that, although not shown, the time server 500, the log server 300, the manager terminal 400, and the host 600 are computers each including a processor, a memory, an interface, a storage device, an input device, and a display device that are connected to one another via an internal bus.

FIG. 3 is an explanatory diagram of a log generation processing of the storage system 100 according to the first embodiment.

A controller program 201 executes an internal processing of the storage system 100. FIG. 3 shows copy processing from a original disk volume to a duplicated disk volume. The controller program 201 operates under control of the DCTL 240. It should be noted that the DCTL 240 may be configured not by a processor, but by a hardware logic that operates in the same manner as the controller program 201.

When the controller program 201 executes a requested process, the controller program 201 notifies the log management module 110 of the processing details and processing results. When the log generation program 140 receives the notification from the controller program 201, the log generation program 140 generates log including information about what process performed and what results are obtained, and stores the log in the log storage area 190.

FIG. 3 shows an example case of generating log relating to the internal operation of the storage system 100. However, processings in response to the host I/O request from a host 600 and the management operation request from a manager terminal 400 are similarly recorded in log based on the notification from the controller program 201.

FIG. 4 is a flowchart showing log output processing according to the first embodiment.

In the log output processing, upon reception of a host command or a management command, the storage system 100 outputs the processing details and processing results involved in the command to the log storage area 190. Then, the storage system 100 transmits the stored log to the log server 300.

First, the controller 200 receives an I/O command from the host 600 through the host interface 210. Alternatively, the controller 200 receives a management command from the manager terminal 400 through the LAN interface 230 (S101).

After that, the controller 200 performs a processing corresponding to the command received in the step S1101 (S1102).

After that, the log generation program 140 generates log data based on the executed processing details (S1103). It should be noted that FIG. 5 will be used to describe the log generation processing in detail.

After that, the main controller 200 synchronizes their each log data (S1104). It should be noted that FIG. 9 will be used to describe a log integration processing.

After that, the log writing control program 150 judges whether or not the log storage area 190 has enough free capacity to allow a log to be written (S1105). When it is judged that the free capacity is too small to write the log, the storage system 100 is stopped (S1109) to end the log output processing.

On the other hand, when the log storage area has sufficient capacity, the log data generated in the step S1105 is written to the log storage area 190 (S1106).

Next, the log transmission program 170 refers to the log configuration information 181 stored in the cache 180 to judge whether an address of the log server 300 to which the log is to be transmitted is configured or not (S1107).

When the result indicates that the address of the log server 300 is already configured which implies that configuration have been made for log transmission to the external log server 300, the generated log is transmitted to the log server 300 (S1108). After that, the log output processing finishes.

On the other hand, when the address of the log server 300 is not configured, which implies that no configuration have been made for the log transmission to the external log server 300, the log output processing comes to an end.

FIG. 5 is a flowchart showing the log generation processing (S1103 of FIG. 4) according to the first embodiment, which is executed by the log generation program 140.

First, the log generation program 140 obtains a command to be executed by the controller 200 (S1201), and then obtains execution results of the command (S1202).

To be specific, upon execution of a process involved in the command, the controller program 201 notifies the log generation program 140 of the processing details and processing results involved in the command.

Next, the log generation program obtain the time data 184 stored in the cache 180 (S1203).

After that, collected information items are adjusted to a uniform format (hereinafter, referred to as “formatted”) for outputting to log (S1204). It should be noted that FIG. 6 will be used later to describe a log format processing.

Finally, the formatted log data is stored in the cache 180 (S1205), which ends the log generation processing.

FIG. 6 is a flowchart showing the log format processing (S1204 of FIG. 5) according to the first embodiment, which is executed by the log generation program 140.

First, a uniform log format template 1500 stored in the cache 180 is obtained (S1401).

Then, information items corresponding to fields defined in the uniform log format template 1500 are obtained from the collected information items (S1402).

Then, it is judged whether or not the corresponding information items up to the last fields defined in the uniform log format template 1500 have been obtained (S1403). When the results indicates that the information items up to the last field defined in the uniform log format template 1500 have not been obtained yet, the procedure returns to the step S1402 to obtain an information item corresponding to the subsequent field. On the other hand, when all the information items up to the last field have been obtained, the procedure advances to a step S1404.

In the step S1404, fields within the uniform log format template 1500 are correspondingly filled with the obtained information items to generate formatted log data (S1404).

FIG. 7 is an explanatory diagram of the uniform log format template 1500 according to the first embodiment.

The uniform log format template 1500 is used for generating formatted log relating to processings corresponding to requests received through various interfaces, and includes an item order 1501 and an item name 1502. The uniform log format template 1500 is stored in the cache 180.

The item order 1501 defines an output order of the information items as log data. The item name 1502 defines information details to be outputted as log data.

According to the uniform log format template 1500, log as shown in FIG. 8 is generated.

Log data 800 shown in FIG. 8 includes an occurrence date of an event, a detecting program, a operator, a description of an operation, an event result, a operation target device, an identifier of a operation target device, and access source information. The log data 800 is recorded in a format conforming to the syslog format, and outputted from the log management module 110.

For example, in a first entry shown in FIG. 1, the description “Jun 20 10:20:30” indicates the occurrence date of an event. The description “LogProcess” indicates the program that has detected the event. The description “200506 10:20:30+9:00” is another occurrence date of the event, which is accompanied by time zone information. The description “userA” indicates a operator who has performed the operation. The description “Authentication” corresponds to the event description, indicating that an authentication request has been received. The description “Failed” corresponds to the event result, indicating that the authentication has resulted in a failure. The description “Storage-system” indicates the operation target device. The description “12345678” indicates the identifier unique to the operation target device. The description “from 192.168.0.5” indicates an IP address of an access source host that has accessed the storage system 100.

Items to be outputted to the log vary depending upon various factors including event details. For example, when there exists a operator to which a given event is ascribed, there are an internal operation executed autonomously by the storage system 100, an event caused by access from the host interface 210, an event caused by access through a management interface 230, and the like. Even when output information items are different depending upon those events, the use of a single template allows log to be outputted in a uniform format.

However, the log format does not need to be a specific format as long as necessary information is included. In other words, it is sufficient that the log relating to various events can be outputted in a uniform format by using a template that is uniform within the storage system 100. Further, the storage system 100 may provide the function to edit the template.

FIG. 9 is an explanatory diagram of the log integration processing performed between the plurality of controllers 200 according to the first embodiment.

On a controller 200 basis, the storage system 100 accepts access from the host 600 through the host interface 210, and access from the manager terminal 400 through the management interface 230. Then, each of the controllers 200 executes a processing on the access.

The log generation module 141 of the controller 200 generates log relating to operation details requested of the controller 200 and action details of the storage system 100 involved in the request. Then, the log writing control module 151 writes generated log data to the cache 180.

Set in the storage system 100 including the plurality of controllers 200 are the main controller 200 in charge of main log management and a sub controller that follows the main controller 200.

The log integration program 160 of the main controller 200 reads out log data from the log storage area of the cache 180 of another controller 200, and writes the log data to the cache 180 of the main controller 200 itself. Then, the main controller 200 performs management by synchronizing all log data within the storage system 100.

It should be noted that in this embodiment, log data is synchronized between the controllers 200 (in other words, the same log data is stored in the caches 180 of the controllers 200), but logs may be integrated on the log server 300 without necessarily synchronizing log data between the controllers 200. Alternatively, only the cache 180 of the main controller 200 may store all the log data within the storage system 100.

After that, the log writing control program 150 records the synchronized log data in the log storage area 190 of the disk drive 195. Further, the log transmission program 170 reads out the log data stored in the cache 180 and transmits the log data to the log server 300.

Next, description will be made on a processing of setting the log storage area 190.

FIG. 10 is an explanatory diagram of a processing relating to setting of a log storage area 190 according to the first embodiment.

The log storage area 190 is set according to an instruction from the manager terminal 400.

A user of the storage system 100 first uses the manager terminal 400 to create the log storage area 190. To be specific, the user designates a location of the log storage area 190 in the disk drives 195 of the storage system 100, a capacity of the log storage area 190, and a log retention term. After that, the manager terminal 400 transmits a command to create a log storage area to the storage system 100.

The created log storage area 190 is an area that cannot be recognized and cannot be accessed from the host 600. However, the log storage area 190 can be operated by the manager terminal 400.

It should be noted that data can be written to the created log storage area 190 only from a program permitted in advance. The manager terminal 400 cannot perform data operation, such as changing or tampering, on the log storage area 190. In addition, the manager terminal 400 cannot delete the log storage area 190 itself. Thus, the storage system 100 of this embodiment includes an LU access management table 1600 shown in FIG. 12.

Accordingly, after the log storage area 190 is created, the log writing control module 151 writes the log data stored in the cache 180 to the log storage area 190.

On the other hand, in preparation for an insufficient capacity of the log storage area 190, the manager terminal 400 provides the function to perform area expansion operation of the log storage area 190. To be specific, the manager terminal 400 transmits to the storage system 100 a command to expand a log storage area according to the capacity specified by the user.

When a predetermined amount of the log storage area 190 is used up by storing logs, the manager terminal 400 may notify of the condition of insufficient capacity.

FIG. 11 is a flowchart of a management processing for a log storage area according to the first embodiment, which is executed by a log storage area management program 120.

First, the controller 200 receives a management command from the manager terminal 400 through the LAN interface 230 (S1301).

Next, it is judged whether or not the received management command is an area creation command to create the log storage area 190 (S1302). When the received command is the area creation command, the procedure advances to a step S1307.

On the other hand, when the received command is not the area creation command, it is judged whether or not the command is an area expansion command to expand the log storage area 190 (S1303). When the received command is the area expansion command, the procedure advances to the step S1307.

On the other hand, when the received command is not the area expansion command, it is judged whether or not the received command is a deletion/changing command to delete/change the log storage area 190 (S1304). When the judgment result indicates that the received command is not the deletion/changing command, which implies that the command cannot be handled in the log storage area management processing, a command failure response is returned to the manager terminal 400 (S1310), and the procedure advances to a step S1311.

On the other hand, when the received command is the deletion/changing command, the controller 200 refers to the log configuration information 181 stored in the cache 180 to judge whether or not the target log storage area 190 is in operation within a management term (S1305). When the operation is within the management term, which implies that the log storage area 190 is protected from any changing processing, the command failure response is returned to the manager terminal 400 (S1306), and the procedure advances to the step S1311. When the operation is not within the management term, the processing of deleting or changing the log storage area 190 corresponding to the received command is executed, and the procedure advances to the step S 1311.

On the other hand, when the received command is the area creation command or the area expansion command, in the step S1307, the controller 200 extracts the specified capacity of the log storage area 190 created in the area creation command or the area expansion command (S1307).

Then, it is judged whether or not the specified capacity is available in the disk drive 195 provided to the storage system 100 (S1308). When the specified capacity is available, the log storage area 190 is created to have the specified capacity (S1309).

On the other hand, when the specified capacity is not available, the command failure response is returned to the manager terminal 400 (S1310), and the procedure advances to the step S1311.

Finally, in the step S1311, to generate log relating to details of the processing executed according to the received management command, the processing details and processing results are outputted (S1311), and the log storage area management processing finishes.

FIG. 12 is an explanatory diagram of an LU access management table 1600 according to the first embodiment.

The LU access management table 1600 is stored in the cache 180, and used to manage rights to access the storage system 100 from the manager terminal 400 and the host 600.

The LU access management table 1600 includes a management target 1601 and an LU access flag 1602.

The management target 1601 defines data storage areas on a storage system. It should be noted that the log storage area is also defined as an independent log LU in the management target 1601.

The LU access flag 1602 defines subjects being access sources with respect to the management target. Flags indicating whether or not to allow the access source subjects to write and read data to/from each management target are set on a management target basis, thereby setting rights to access from the respective access sources. When the flag is set to “1”, the operation corresponding to write, change, or read is permitted. On the other hand, when the flag is set to “0”, the operation corresponding to write, change, or read is not permitted.

In the conditions shown in FIG. 12, a controller program can read/write data from/to the log LU, the manager terminal 400 can only read the log data, and the host computer 600 cannot read/write the log data. In other words, the log LU is set as an area that cannot be recognized by the host computer 600.

FIG. 13 is an explanatory diagram of a processing of generating log after recognizing various accesses to the storage system 100 according to the first embodiment.

According to the first embodiment, an access detection program 202 and an access source determination program 203 run on the controller 200 of the storage system 100.

When the storage system 100 is accessed from the host 600 through the host interface 210 or from the manager terminal 400 through the LAN interface 230, the access detection program 202 running on the controller 200 detects the access.

After that, the access source determination program 203 determines which the access is being made from, and refers to the LU access management table 1600 to judge whether or not to permit the access. When the access is permitted, the log generation program 140 is notified of the processing details and processing results based on the access. The log generation program 140 generates log based on the notification.

FIG. 14 is an explanatory diagram of a log storage area registration screen 1000 according to the first embodiment.

The screen shown in FIG. 14 is an example of a user interface for setting the log storage area 190 in the storage system 100, and is displayed on a display device of the manager terminal 400 used by a user.

The log storage area registration screen 1000 is provided with names of input items and input fields 1001 to 1004 to be filled with values corresponding thereto. To be specific, inputted in the log storage area registration screen 1000 are a logical unit number (LUN) 1001 of a logical unit in which a log storage area is to be created, a size 1002 of the log storage area, a RAID group number 1003 of a RAID group in which the log storage area is created, and a management expiration 1004 until which log is stored.

After filling the input fields with the values, a user of the storage system 100 presses an “OK” button 1005 with an input device (such as a mouse) to reflect the input settings on the storage system 100. Alternatively, the user presses a “cancel” button 1006 to discard the input information.

By specifying the LUN 1001, the size 1002, and the RAID group 1003, the user designates which size of area is reserved in which location in the disk drive 195. In addition, the log is maintained in the log storage area 190 until the date specified in the management expiration 1004. Further, the changing and deletion of the log storage area 190 is not permitted until the date specified in the management expiration 1004, thereby realizing protection of the log storage area 190.

It should be noted that the input items may be changed depending upon the conditions necessary to set in the storage system 100. Also, instead of a GUI, other input methods such as a command line interface may be adopted.

FIG. 15 is an explanatory diagram of the data migration processing performed between storage systems 100 according to the first embodiment.

To migrate data between the storage systems 100, the log migration management program 125 is executed to transfer user data stored in the disk drive 195 of the storage system 100 and log data stored in the log storage area 190, to the storage system 100 at a migration destination. At this time, information on the storage system 100 at a migration source and information on the storage system 100 at the migration destination are managed by using an inter-storage-system migration management table 900, thereby managing information on when data is migrated from which storage system 100 to which storage system 100. By recording information in the inter-storage-system migration management table 900, it is possible to provide means for managing log continuously.

Further, information on association between the storage systems 100 is recorded in a newly-provided storage system 100. Then, the recorded association information allows the newly-provided storage system 100 to use the log data stored in an old storage system 100. It should be noted that in this case, it is unnecessary to migrate the log data, but necessary to maintain the old storage system 100.

FIG. 16 is an explanatory diagram of the inter-storage-system migration management table 900 according to the first embodiment.

Upon the data migration between the plurality of storage systems 100, information as to from which storage system 100 to which storage system 100 the data is migrated is stored in the inter-storage-system migration management table 900.

The inter-storage-system migration management table 900 includes a management item 901 and migration information 902. To be specific, the inter-storage-system migration management table 900 includes an address 906, a management IP address 907, a device number 908, and a migration date 909 for each migration destination device 903 and each migration source device 904.

The address 906 indicates information on an address of a host interface. The management IP address 907 indicates information on an IP address of a management interface. The device number 908 indicates an identifier for uniquely identifying the storage system 100. The migration date 909 indicates a date on which data is migrated.

As described above, according to the first embodiment of this invention, log data is generated according to the uniform log format template 1500 to record therein all the processings that are requested through the various interfaces 210 and 230 provided to the storage system 100 and all the processings that are internally executed in the storage system. The same template 1500 is used to record the operation details within the storage system in the log. Accordingly, references can be made to processings executed in response to the requests made to the storage system 100 and operation records of the storage system.

Further, the changing or deletion of the maintained log is not permitted during the preset term, thereby only permitting log data to be additionally written, which prevents the log data from being tampered. This guarantees that an authorized log is maintained during the operation of the storage system, so an inspection record can be provided upon occurrence of a security-related issue, and information for diagnosing the cause of the failure that has occurred.

(Second Embodiment)

FIG. 17 is a block diagram showing a hardware structure of the storage system 100 according to a second embodiment.

According to the second embodiment, the log data 182 and the time data 184 are stored in the memory 250 instead of the cache 180. The other components are the same as those described above in the first embodiment, and are therefore denoted by the same reference numerals with their description omitted.

In general, the memory 250 provides faster access speed than the cache 180, but only has a smaller capacity. By storing the time data 184 in the memory 250, it is possible to reduce processing time for generating log. In addition, by storing the log data 182 in the memory 250, it is possible to reduce processing time until the log management module 110 writes log data to the disk drive 195 or transmits the log data to the log server 300.

(Third embodiment)

FIG. 18 is a block diagram showing a hardware structure of the storage system 100 according to a third embodiment.

According to the third embodiment, a plurality of log storage areas are created in the disk drive 195, and managed independently of each other. The other components are the same as those described above in the first and second embodiments, and are therefore denoted by the same reference numerals with their description omitted.

According to the third embodiment, there are provided an authentication log storage area 191, a failure log storage area 192, and a log storage area 193 that suits a user's purpose as the need arises. Recorded in the authentication log storage area 191 is the log data relating to authentications among the operation commands transmitted from the manager terminal 400. The log data relating to failures among the operations of storage system 100 are collectively recorded in the failure log storage area 192.

Thus, a log storage area judgment table 185 is provided to judge which operation is stored in which log storage area. Stored in the log storage area judgment table 185 are the processing details and processing results involved in the storage system and the corresponding log storage areas.

Therefore, according to the third embodiment, a plurality of log storage areas are provided to suit various uses, which can store log data different in recorded details and retention terms depending upon the users' purposes.

While the present invention has been described in detail and pictorially in the accompanying drawings, the present invention is not limited to such detail but covers various obvious modifications and equivalent arrangements, which fall within the purview of the appended claims.

Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US7650369 *Mar 9, 2007Jan 19, 2010Fujitsu LimitedDatabase system management method and database system
US8032490Apr 2, 2008Oct 4, 2011Hitachi, Ltd.Storage system operable to perform LU auditing
US8108575Feb 3, 2009Jan 31, 2012International Business Machines CorporationMethods of multi-server application synchronization without stopping I/O
US8321610Sep 29, 2011Nov 27, 2012International Business Machines CorporationMethods of multi-server application synchronization without stopping I/O
US8656073Sep 13, 2012Feb 18, 2014International Business Machines CorporationMethods of multi-server application synchronization without stopping I/O
US8732129May 31, 2012May 20, 2014Hitachi, Ltd.Storage system for managing a log of access
US20120005664 *Apr 18, 2011Jan 5, 2012Fujitsu LimitedStorage device and configuration-information storing method
Classifications
U.S. Classification1/1, 707/999.102
International ClassificationG06F7/00
Cooperative ClassificationG06F21/50, G06F21/78, G06F21/604, G06F2221/2101
European ClassificationG06F21/78, G06F21/50, G06F21/60B
Legal Events
DateCodeEventDescription
Dec 19, 2005ASAssignment
Owner name: HITACHI, LTD., JAPAN
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KAWAKAMI, NORIHIKO;SHIROGANE, TETSUYA;REEL/FRAME:017382/0328
Effective date: 20051207