1) Field of the Invention
The present invention relates to a technology for setting information about newly added devices.
2) Description of the Related Art
Archive devices that archive vast number of files (including data) scattered in a network and read a desired file according to retrieval request from a user are know in the art. To archive means to store a plurality of files collectively and perform uniform management of the files stored.
An archive device 301 is connected to the LAN 20. The archive device 301 has a function of storing archive files in a database after acquiring files corresponding to policies according to predetermined policies from the servers 101 to 10n as archive files.
Moreover, the archive device 301 has a function of retrieving desired files from the archive files based on a file retrieval request from any one of the servers 101 to 10n (or a not shown client) and returning a result of the retrieval.
Since archive files accumulate in the archive device 301 on daily basis, on one day the archive device 301 becomes full and there occurs lack of capacity. When the archive device 301 becomes full, archive device 302 is added to the LAN 20. Similarly, when the archive device 302 becomes full, archive device 303 is added to the LAN 20.
When the archive devices 302 and 303 are to be added to the LAN 20, an administrator sets information (like network address, device space) of the archive devices 302 and 303 in the servers 101 to 10n separately.
Thus, the servers 101 to 10n recognize the three archive devices 301, 302, and 303 independently as devices where the files are to be archived.
After the archive devices are added, the servers 101 to 10n acquire storage information of archive files (like file name, storage area) from the archive devices 301, 302, and 302 respectively and performs management.
For example, the server 101 sends a file retrieval request to an archive device (for example archive device 302) after recognizing the archive device 302 that stores the file from the stored information before sending a file-retrieval request. Conventional technologies are disclosed in Japanese Patent Application Laid-open Publication Nos. H7-191811 and 2000-99384.
However, when a new archive device is added, it is necessary to set information to identify the new archive device separately in the servers. This results in increased load on the administrator.
Moreover, the archive devices connected to the LAN are independent and have no link with each other. Therefore, if access occurs continuously to only a specific archive device, considerable load is exerted on that archive device. As a result, there is a decline in the efficiency.
It is an object of the present invention to solve at least the problems in the conventional technology.
A method of managing an archive device that archives data files, according to an aspect of the present invention includes setting, when another archive device that is added newly, a policy related to an archive method in the archive device added according to information of addition from the archive device added; linking the archive device to the archive device added; performing uniform management of a location of each data file archived in the archive device to the archive device added according to the information of addition; receiving collectively retrieval requests for a data file from an external unit; retrieving a location of the data file; and informing a retrieval result to the external device.
An archive device that archives a data file according to another aspect of the present invention includes a policy-setting unit that, when another archive device that is added newly, sets a policy related to an archive method in the archive device added according to information of addition from the archive device added; a managing unit that links the archive device to the archive device added and performs uniform management of a location of each data file archived in the archive device to the archive device added according to the information of addition; a retrieving unit that receives collectively retrieval requests for a data file from an external unit, retrieves a location of the data file, and informs a retrieval result to the external device.
The computer program according to still another aspect of the present invention realizes on a computer the method according to the above aspect.
The other objects, features, and advantages of the present invention are specifically set forth in or will become apparent from the following detailed descriptions of the invention when read in conjunction with the accompanying drawings.
Exemplary embodiments of an archive device, a method of managing the archive device, and a computer product according to the present invention are described in detail below with reference to accompanying drawings.
In an initial system, only the main archive device 300 is provided as archive device and the sub-archive devices 4001, 4002, 4003, . . . are not provided. The sub-archive devices 4001, 4002, 4003, . . . are provided additionally when the main archive device lacks capacity.
The servers 1001 to 100n are file servers that store image files, text files, video files etc. and are connected to the LAN 200. The servers 1001 to 100n have a function of outputting a file-retrieval request to the main archive device 300.
The main archive device 300 has a function of storing archive files in an archive file database 350 after acquiring files corresponding to policies from the servers 1001 to 100n according to predetermined policies, as archive files.
The main archive device 300 also has a function of management (control) of each sub-archive device after the sub-archive devices 4001, 4002, 4003, . . . etc. are added. The management includes for example load management of the sub-archive devices 4001, 4002, 4003, . . . and management related to restoration of files of the sub-archive devices 4001, 4002, 4003 etc.
The sub-archive devices 4001, 4002, 4003, . . . are added to the main archive device 300 one after the other and are managed by the main archive device 300.
The sub-archive devices 4001, 4002, 4003, . . . have a function of storing files in archive file databases 4301, 4302, . . . after acquiring files corresponding to policies according to predetermined policies from the servers 1001 to 100n as archive files.
A back-up device 500 is connected to the LAN 200. The back-up device 500 stores archive files same as the archive files stored in the main archive device 300 and the sub-archive devices 4001, 4002, 4003 as backed-up in at least one of tapes 5101 to 510m. The tapes 5101 to 510m are magnetic tapes that are used as secondary recording media.
In the main archive device 300, a communication section 301 controls communication according to a predetermined communication protocol. A controller 302 performs controls related to management of the sub-archive devices 4001, 4002, 4003, . . . after storing of the archive files or addition of the sub-archive devices. Details of operation of the controller 302 are described in the latter part.
A management-information database 310 stores management information for management of the main archive device 300 and the sub-archive devices 4001, 4002, 4003, . . . .
Concretely, in the initial system, the management-information database 310 includes, DEVICE NAME, POLICY, and PRIORITY ORDER OF POLICY SETTING as shown in
DEVICE NAME indicates archive device (main archive device 300, sub-archive devices 4001, 4002, 4003, . . . ). POLICY indicates a policy for an archive device corresponding to the device name.
Policy defines archive method of file for each file. Concretely, each policy is defined by policy information 3311, 3312, . . . , and 3315 shown in
Further, policy information 3311, 3312, . . . , and 3315 define policies 1, 2, . . . , and 5. Concretely, the policy information 3311 includes items such as POLICY, ARCHIVE ORIGINAL SERVER, ARCHIVE ORIGINAL DIRECTORY, RANGE OF DIRECTORY RETRIEVAL, ARCHIVE FILE, BACK-UP TIMING, BACK-UP MEDIUM, CLASSIFICATION OF BACK-UP MEDIUM, CONTACT ADDRESS IN A CASE OF ABNORMALITY etc.
POLICY indicates a policy (policy 1 in
RANGE OF DIRECTORY RETRIEVAL indicates a range (three layered directory in
BACK-UP TIMING indicates timing of taking a back-up of the archive file in the back-up device 500 when the archive file is archived in the archive device (like main archive device 300). In
BACK-UP MEDIUM indicates a medium (tape 5101 in
In the policy information 3312 to 3315, policies 2 to 5 are defined similarly as in the policy information 3311 (corresponding to policy 1).
Referring back to
The property information 3211 includes ARCHIVE FILE ID, ARCHIVE FILE, ARCHIVE ORIGINAL SERVER, POLICY, STORAGE ARCHIVE DEVICE, and BACK-UP MEDIUM etc.
ARCHIVE FILE ID is identification data (an identifier) for uniquely identifying the archive files. ARCHIVE FILE indicates archive file that is archived and corresponds to ARCHIVE FILE shown in
POLICY indicates a policy associated with the archive file (policy 1 in
BACK-UP MEDIUM indicates where the archive file is to be backed-up in the back-up device 500 (tape 5011 in
The property information 3212, similar to the property information 3211 includes ARCHIVE ID, (00002), ARCHIVE FILE (abc.jpg), ARCHIVE ORIGINAL SERVER (server 1001), POLICY (policy 5), STORAGE ARCHIVE DEVICE (main archive device 300 in the initial system), BACK-UP MEDIUM etc. Other property information includes similar items.
Referring back to
Concretely, the load-information database 340 stores load information 3410, 3411, 3412, and 3413 shown in
ARCHIVE DEVICE indicates the archive device (main archive device 300 in
ACCESS COUNT indicates number of accesses made to the archive file. WEIGHT is a weight parameter used for calculating the load value mentioned in the latter part. LOAD VALUE is a parameter that indicates the load on the archive device as a fixed quantity. LOAD VALUE is obtained by multiplying number of the archive files, the access count, and the weight.
The load information 3411 corresponds to the sub-archive device 4001 and similar to the load information 3410, includes ARCHIVE DEVICE (sub-archive device 4001), ARCHIVE FILE ID (00002), ACCESS COUNT (0×560), WEIGHT (1), and LOAD VALUE 0×560. The load information 3412 and 3413 correspond to the sub-archive device 4002 and 4003 and include similar items as in the load information 3410.
Referring back to
In the sub-archive device 4001, a communication section 4011 controls communication according to a predetermined protocol. A controller 4021 performs controls related to storage of the archive files, creation of the load information 3411 (refer to
A policy-information database 4101 stores policy information (for example, policy information 3315 (refer to
An archive file database 4301 stores archive files that are acquired from at least one of the servers 1001 to 100n according to a policy corresponding to the policy information 3315 (refer to
In the sub-archive device 4002, a communication section 4012 controls communication according to a predetermined communication protocol. A controller 4022 performs controls related to storing of archive files, creation of the load information 3412 (refer to
A policy-information database 4102 stores policy information (for example, policy information 3314 (refer to
An archive file database 4302 stores archive files that are acquired from at least one of the servers 1001 to 100n according to a policy corresponding to the policy information 3314 (refer to
An operation of a device according to the embodiment is described below with reference to
The operation while adding the sub-archive devices is described by referring to
At step SA2, the controller 302 in the main archive device 300 receives information about the addition and recognizes the sub-archive device 4001. At step SA3, the controller 302 performs a policy selection process to select a policy that is to be set in the sub-archive device 4001.
Concretely, at step SB1 in
In this case, if the addition is judged to be not due to the lack of capacity (No at step SB1), the controller 302 selects the policy 5 based on PRIORITY ORDER OF POLICY SETTING of the management-information database 310 shown in
Referring back to
At step SA5, the controller 4021 of the sub-archive device 4001 stores the policy-information 3315 received in the policy-information database 4101. Thus, the setting of the policy information in the sub-archival device 4001 is completed. At step SA6 the controller 4021 informs the completion of the setting to the main archive device 300.
At step SA7, the controller 302 of the main archive device 300 updates the management-information database 310 and the property-information database 320 upon completion of the setting of the policy information 3315 in the sub-archive device 4001.
Concretely, the controller 302 updates the management-information database 310 shown in
Further, at step SA8 in
At step SA10, the controller 4021 of the sub-archive device 4001 backs-up the archive file acquired at step SA8 in the tape 5101 of the back-up device 500, for example.
As the sub-archive devices 4002 and 4003 are added one after the other following the sub-archive device 4001, steps SA1 to SA10 are executed. Thus, the management-information database 310 is updated as shown in
At step SA11 shown in
At step SA13, the controller 302 of the main archive device retrieves a storage area of the archive file from the property-information database 320 with abc.jpg as a key. A retrieval result in this case is the sub-archive device 4001 of STORAGE ARCHIVE DEVICE of the property information 3212.
At step SA14, the controller 302 informs the storage area (for example address of the sub-archive device 4001) to the server 1001 from where the retrieval request is received. Based on the information of the storage area, at step SA15, the server 1001 makes an access to the sub-archive device 4001 and reads the archive file from the sub-archive device 4001.
The load dispersion operation is described below with reference to
At step SC1 in
At step SC2, the controller 4021 of the sub-archive device 4001 calculates the load value of the sub-archive device 4001 by multiplying the number of archive files, the access count (the number of accessed made), and the weight. At step SC3, the controller 4021 creates the load information 3411 (refer to
At step SC2 the controller 4022 of the sub-archive device 4002 calculates the load value of the sub-archive device 4002 by multiplying the number of archive files, the access count, and the weight. At step SC3, the controller 4022 creates the load information 3412 (refer to
Similarly, at step SC2, the controller 4023 of the sub-archive device 4003 calculates the load value of the sub-archive device 4003. At step SC3, the sub-archive device 4003 creates the load information 3413 (refer to
On the other hand, at step SC4, the controller 302 of the main archive device 300 calculates the load value of the main archive device 300 by multiplying the number of archive files, the access count, and the weight stored in the archive file database 350. At step SC5, the controller 302 creates the load information 3410 (refer to
At step SC6, the controller 302 collects the load information 3411 to 3413 (refer to
At step SC8, the controller 302 collects the load value of the load information 3410 to 3413 and calculates a total load value. At step SC9, the controller 302 divides the total load value by the number of archive devices (4 in this case) and calculates an average value of load.
At step SC10, the controller 302 compares the average value of load and the load value and makes a judgment of whether there is a deviation in the load value. In this case, the deviation means that the load value is greater than a predetermined value with respect to the average value of load or the load value is smaller than a predetermined value with respect to the average value of load.
If there is no deviation judged by the controller 302, the controller 302 makes a decision of normal operation, i.e. each archive device being operated with a suitable load value, and ends a series of operations.
Whereas, if there is a deviation judged by the controller 302, the controller 302 calculates the difference between a load value of a high-load device and a load value of a low-load device (step SC11 in
In this case, the high-load device is a device among the main archive device 300 and the sub-archive devices 4001 to 4003 on which there is maximum load, for example the sub-archive device 4001. The low-load device is a device among the main archive device 300 and the sub-archive devices 4001 to 4003 on which there is minimum load, for example the sub-archive device 4002.
At step SC12, the controller 302 determines archive files that are to be moved from the high-load device (sub-archive device 4001) to the low-load device (sub-archive device 4002) to disperse the load.
In this case, the controller 302 determines archive files corresponding to the archive file ID (0002) based on the load information 3411 (refer to
At step SC13, the controller sends a request to the high-load device (sub-archive device 4001) and the low-load device (sub-archive file 4002) to move the files between the devices.
At step SC14, the controller 302 makes a judgment of whether the movement of the archive files is completed. If the controller 302 judges the movement not to be completed, (No at step S14), the controller makes the judgment once again.
At step SC15, the high-load device (sub-archive device 4001) receives the request sent at step SC13 and moves the archive files to the low-load device (sub-archive device 4002). As a result, there is a reduction in load on the high-load device.
At step 16, the high-load device (sub-archive device 4001) and the low-load device (sub-archive device 4002) update the load-information database 4201, the load information database 4202 etc. upon the movement of the archive files.
At step SC17, the controller 4021 of the sub-archive device 4001 informs the completion of the archive files to the main archive device 300. The controller 302 of the main archive device 300 makes the judgment of the files being moved (Yes at step SC14).
At step SC18, the controller 302 updates the property-information database 320, the load-information database 340 etc. upon movement of the archive files. At step SC19, the controller 320 makes a judgment of whether all the files that were to be moved are moved. If the controller 320 makes a judgment of all the files being moved (Yes at step SC19), the controller ends a series of operations. If the controller 320 makes a judgment of all the files not being moved (No at step SC19), steps SC13 to Sc18 are repeated.
File-restoration Operation
The file restoration operation of a device according to the embodiment is described below with reference to
At step SD1 in
At step SD2, the archive files that are stored in each archive file database in the sub-archive devices 4001 to 4003 are checked according to the request. At step SD3, the sub-archive devices 4001 to 4003 inform results of the file check (archive file ID, normal status or abnormal status) to the main archive device 300.
In this case, an archive file stored in the archive file database 4301 of the sub-archive device 4001 being damaged the sub-archive device 4001 informs the result of the file check to the main-archive device 300 as abnormal.
At step SD4, the controller 302 checks if the archive files that are stored in the archive file database 350 are normal. At step SD5, the controller 302 makes a judgment of whether there is an abnormality is file-check results that are informed at step SD3 and file check results at step SD4.
In this case, a file-check result informed by the sub-archive device 4001 being abnormal, the controller 302 makes the judgment of the result to be abnormal (Yes at step SD5). If the controller 302 makes the judgment of the result to be normal (No at step SD5), the controller 302 ends a series of the file-restoration operations.
At step SD6, the controller 302 retrieves the tape 5101 from the property-information database 320 (refer to
At step SD7, the controller 302 makes an access to the back-up unit 500 and acquires the archive files for the back-up from the tape 5101. At step SD8, the controller 302 makes an access to the sub-archive device 4001 and once again stores the archive files acquired, in the archive file database 4301.
Thus the damaged archive file is replaced by the archive file for back-up thereby restoring the archive file. At step SD9, the controller 302 makes a judgment of whether all archive files damaged are restored. If all the archive files damaged are judged to be restored (Yes at step SD9), the controller 302 ends a series of file-restoration operation. If not all the archive files damaged are judged to be restored (No at step SD9), steps SD6 to SD8 are repeated.
Thus, according to the embodiment, a policy related to the archive method is set in the sub-archive devices 4001 to 4003 according to information of addition from the sub-archive devices added and a uniform management of location of each archive file archived in the sub-archive devices 4001 to 4003 is performed. The retrieval-requests for the retrieval of archive are received collectively from the servers 1001 to 100n and the retrieval result is informed to the server. As a result, the information of addition (of sub-archive devices) is not required to be set for each server as it is set in the conventional devices. This enables to reduce load on administrator due to the addition of devices.
The load values (load status) of the main archive device 300 and the sub-archive devices 4001 to 4003 are checked and if there is an archive device that has a load greater than the predetermined load (high load), the archive files are moved from the sub-archive device to another archive device. As a result, it is possible to reduce load on the administrator due to the addition of devices and improve load efficiency.
Another archive-device is made to be an archive device that has the lowest load. As a result, it is possible to suppress unevenness in loads between the archive devices and to improve the load efficiency.
When an archive file is archived, other archive files are saved in the back-up device 500. If there is an abnormal archive file in any one of main archive devices 300 or the sub-archive devices 4001 to 4003, the normal archive file is acquired from the back-up device 500 and the abnormal archive file is replaced by the normal archive file. As a result, it is possible to reduce load on the administrator and improve reliability of the archive files.
The embodiment according to the present invention is described with reference to the diagrams. However, the concrete configuration is not restricted to this embodiment and any change is the design that is within the scope where there is no deviation from the basic idea of the present invention, is included in the present invention.
For example, according to the embodiment, a computer program that realizes functions of the main archive device 300 and the sub-archive devices 4001, 4002, and 4003 is recorded in a computer-readable recording medium 700 shown in
The computer 600 includes a CPU 610, an input device 620 like a key board, a mouse etc, a ROM 630 that stores data, a RAM 640 that stores calculation parameters, a reader 650 that reads a computer program from the recording medium, an output device 660 like a display or a printer, and a bus 670 that connects different sections in the device.
The CPU 610 executes a computer program after reading the computer program recorded in the recording medium via the reader 650, thereby realizing (achieving) the functions. An optical disc, a flexible disc, and a hard disc etc. are the example of the recording medium 700.
Thus, according to the present invention, information of addition is not required to be set for each external device. This enables to reduce load on the administrator due to the addition of devices.
Moreover, it is possible to reduce load on the administrator due to the addition of devices and improve load efficiency.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2003-194948 | Jul 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5873085 | Enoki et al. | Feb 1999 | A |
20020147734 | Shoup et al. | Oct 2002 | A1 |
20020156887 | Hashimoto | Oct 2002 | A1 |
20040230624 | Frolund et al. | Nov 2004 | A1 |
Number | Date | Country |
---|---|---|
5-197500 | Aug 1993 | JP |
5-233388 | Sep 1993 | JP |
6-266600 | Sep 1994 | JP |
7-191811 | Jul 1995 | JP |
7-146760 | Jun 1996 | JP |
9-128163 | May 1997 | JP |
10-3421 | Jan 1998 | JP |
10-254629 | Sep 1998 | JP |
11-143647 | May 1999 | JP |
2000-99384 | Apr 2000 | JP |
2001-51890 | Feb 2001 | JP |
2002-312126 | Oct 2002 | JP |
2003-50733 | Feb 2003 | JP |
2005-505039 | Feb 2005 | JP |
2005-513838 | May 2005 | JP |
03027891 | Apr 2003 | WO |
03052620 | Jun 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20050010619 A1 | Jan 2005 | US |