WO2011042961A1 - 更新管理装置及び方法 - Google Patents

更新管理装置及び方法 Download PDF

Info

Publication number
WO2011042961A1
WO2011042961A1 PCT/JP2009/067468 JP2009067468W WO2011042961A1 WO 2011042961 A1 WO2011042961 A1 WO 2011042961A1 JP 2009067468 W JP2009067468 W JP 2009067468W WO 2011042961 A1 WO2011042961 A1 WO 2011042961A1
Authority
WO
WIPO (PCT)
Prior art keywords
information processing
file
processing apparatus
update
updated
Prior art date
Application number
PCT/JP2009/067468
Other languages
English (en)
French (fr)
Inventor
浩 荒川
Original Assignee
富士通株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士通株式会社 filed Critical 富士通株式会社
Priority to JP2011535235A priority Critical patent/JP5338913B2/ja
Priority to PCT/JP2009/067468 priority patent/WO2011042961A1/ja
Publication of WO2011042961A1 publication Critical patent/WO2011042961A1/ja
Priority to US13/441,270 priority patent/US20120198432A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • This case relates to an update management apparatus and method.
  • An information processing apparatus such as a server may be applied with a so-called patch in which a file such as an OS (Operating System) of the information processing apparatus is updated in order to enhance security or add a function.
  • OS Operating System
  • FIG. 11 is an explanatory diagram of a method using the alternative information processing apparatus.
  • the files of both apparatuses 101 and 102 have the same contents (S1).
  • the files of both apparatuses 101 and 102 include a system file 91 used by the operating system and a data file 92 such as user data.
  • the active information processing apparatus 101 updates (including change, creation, deletion) of the data file 92 by operation. (S2).
  • a system file 91A is an updated file.
  • the time required for applying a patch is proportional to the number of files to be updated and the like. For a patch that updates many files, it takes a lot of time, for example, about 4 hours. For this reason, it is desirable to operate the current information processing apparatus 101 even during application of a patch.
  • the alternative information processing apparatus 102 having the updated system file 91A and the updated data file 92A is newly changed to the current information processing apparatus and resumes operation (S6).
  • Live Upgrade which is an update tool for Solaris (registered trademark)
  • the user defines a list of data files (/ etc / lu / synclist) that are updated during patch application in the operation system
  • alternative information can be used when switching operations.
  • the file list it is necessary to understand Solaris OS skills, understanding the operation system mechanism, etc., and the file list must be defined every time it is updated. It was difficult.
  • the active information processing apparatus 101 since the changed file of the active information processing apparatus 101 is only the data file 92A, if the data file 92A of the active information processing apparatus 101 is copied to the alternative information processing apparatus 102, the active information processing apparatus The alternative information processing apparatus can take over the result of operation in 101 without any problem.
  • FIG. 12 is an explanatory diagram in the case where the above problem occurs when a patch is applied.
  • the system file 91 includes a configuration file 93 relating to the setting of the information processing apparatus.
  • the configuration file 93 is a file used when setting items such as user authority, file security, user interface display format, and power management can be set.
  • the active information processing apparatus 101 updates (including change, creation, and deletion) of the data file 92 and the configuration file 93 by operation. (S12).
  • a part of the system file 91 including the configuration file 93 is updated (S13).
  • a configuration file 93A and a system file 91A are updated files.
  • the configuration file 93B updated by the operation of the current information processing apparatus 101 is copied to the alternative information processing apparatus 102, the configuration file 93A is overwritten and the application of the patch becomes invalid. Cannot be copied to the processing device 102.
  • an embodiment of the disclosure provides a technique for reflecting a result of operation in an active information processing apparatus in a file after application of a patch in an alternative information processing apparatus during application of a patch in the alternative information processing apparatus.
  • an update management apparatus includes an active information processing apparatus that executes information processing based on a plurality of files, and alternative information that performs information processing by substituting the active information processing apparatus
  • An update management device that updates a file of a system that is duplicated with a processing device, wherein the first update unit updates the file of the alternative information processing device based on update information; and While updating the file, the file of the current information processing apparatus updated by the current information processing apparatus is obtained, and the file of the alternative information processing apparatus corresponding to the file updated by the current information processing apparatus is obtained.
  • a synchronizer having the same content as the file updated by the device, and a proxy having the same content as the file updated by the active information processing device. It comprises a second updating unit that updates based files of the information processing apparatus to the update information.
  • One embodiment of the disclosure can provide a technique for reflecting a result of operation in an active information processing apparatus in a file after application of a patch in the alternative information processing apparatus during application of a patch in the alternative information processing apparatus.
  • the update management system includes a current information processing apparatus that executes information processing based on a plurality of files, and an alternative information processing apparatus that replaces the current information processing apparatus, and is operated by the current information processing apparatus.
  • the patch is applied in the alternative information processing apparatus.
  • FIG. 1 and 2 are explanatory diagrams of the update management method of the present embodiment
  • FIG. 3 is a block diagram of an alternative information processing apparatus including the update management apparatus.
  • the alternative information processing apparatus 2 stores a data processing unit 21 that performs data arithmetic processing, a communication processing unit 22 that performs communication with other devices, and data and software used for arithmetic processing.
  • the computer includes a storage unit (hard disk) 23, an input unit 24, and an output unit 25.
  • the communication processing unit 22 communicates with a computer such as a server, which is another information processing apparatus, via a network or a cable.
  • the storage unit 23 stores an OS and an application program (update management program).
  • the input unit 24 is a means for inputting information to the data processing unit 21, and includes a user interface such as a keyboard and a pointing device, and a device that reads information from a storage medium such as a memory card and a CD-ROM.
  • a user interface such as a keyboard and a pointing device
  • a device that reads information from a storage medium such as a memory card and a CD-ROM.
  • the output unit 25 is a means for outputting the processing result of the data processing unit 21, and has a display device for displaying the processing result and a printer for printing data.
  • the data processing unit 21 has a CPU (Central Processing Unit) and a main memory.
  • the OS and application programs described above are read from the storage unit 23 to the main memory, and the CPU performs arithmetic processing according to the read OS and application programs.
  • the CPU also functions as the update unit 31, the synchronization unit 32, the re-update unit 33, and the switching unit 34.
  • the CPU as the update unit 31 updates the file stored in the storage unit 23 of the alternative information processing apparatus 2 based on the update information, that is, the patch.
  • the CPU as the synchronization unit 32 obtains the file of the current information processing apparatus 1 updated by the information processing of the current information processing apparatus 1 while the file of the alternative information processing apparatus 2 is being updated. Further, the CPU as the synchronization unit 31 sets the file of the alternative information processing apparatus corresponding to the file updated by the information processing of the current information processing apparatus 1 as the same content as the file updated by the information processing of the current information processing apparatus 1.
  • the re-update unit 33 that synchronizes the CPU updates again the file of the alternative information processing apparatus 2 synchronized with the same content as the file updated by the information processing of the active information processing apparatus 1 based on the update information.
  • the CPU as the switching unit 34 stops the current information processing apparatus 1, switches between the current information processing apparatus 1 and the alternative information processing apparatus 2, and operates the alternative information processing apparatus 2 as a new current information processing apparatus. To start.
  • FIG. 4 is a block diagram of the current information processing apparatus 1.
  • the active information processing apparatus 1 stores a data processing unit 11 that performs data arithmetic processing, a communication processing unit 12 that performs communication with other devices, and data and software used for arithmetic processing.
  • the computer includes a storage unit (hard disk) 13, an input unit 14, and an output unit 15.
  • the communication processing unit 12 communicates with other computers via a network or a cable.
  • the storage unit 13 stores an OS and an application program (update management program).
  • the storage unit 13 is a data storage unit that stores management data, log data, analysis results, and data schema received from the agent.
  • the input unit 14 is a means for inputting information to the data processing unit 11, and includes a user interface such as a keyboard and a pointing device, and a device that reads information from a storage medium such as a memory card or a CD-ROM.
  • a user interface such as a keyboard and a pointing device
  • a device that reads information from a storage medium such as a memory card or a CD-ROM.
  • the output unit 15 is a means for outputting the processing result of the data processing unit 21, and has a display device for displaying the processing result and a printer for printing data.
  • the data processing unit 11 has a CPU and a main memory, reads the OS and application programs from the storage unit 13 to the main memory, and the CPU performs arithmetic processing according to the read OS and application programs.
  • the alternative information processing device 2 also serves as an update management device.
  • the active information processing apparatus 1 may also serve as the update management apparatus
  • the update management apparatus may be an apparatus independent of the active information processing apparatus 1 and the alternative information processing apparatus.
  • any information processing apparatus including the update unit 31, the synchronization unit 32, and the re-update unit 33 may be used.
  • the elements that process information are realized by the general-purpose processor executing the update management program as software. To do. Some or all of the elements that process these pieces of information may be hardware that realizes each function by combining basic circuits.
  • the update unit 31, the synchronization unit 32, the re-update unit 33, and the switching unit 34 are elements that process the above information.
  • Hardware that is an element for processing these pieces of information may include basic circuits such as FPGA [Field Programmable Gate Array], ASIC [Application Specific Integrated Circuit], and LSI [Large Scale Integration].
  • the hardware may include basic circuits such as an IC [Integrated Circuit], a gate array, a logic circuit, a signal processing circuit, and an analog circuit.
  • the logic circuit for example, an AND circuit (logical product circuit), an OR circuit (logical sum circuit), a NOT circuit (negative circuit), a NAND circuit (negative logical product circuit), a NOR circuit (negative logical sum circuit), There are flip-flop circuits and counter circuits.
  • the signal processing circuit may include a circuit that performs, for example, addition, multiplication, division, inversion, product-sum operation, differentiation, and integration on the signal value.
  • the analog circuit may include, for example, a circuit that performs amplification, addition, multiplication, differentiation, and integration on the signal value.
  • the alternative information processing apparatus (update management apparatus) 2 configured as described above implements an update management method as shown in FIGS. 1 and 2 by executing an update management program.
  • the synchronization unit 32 of the alternative information processing device 2 copies the files stored in the storage unit 13 of the operation device 1 to the storage unit 23 of the alternative information processing device 2, thereby copying the files of both devices 1 and 2.
  • the contents are the same (S21).
  • the files of both apparatuses 1 and 2 include a system file 91 that is an update target by the patch and a data file 92 that is not an update target by the patch.
  • the system file is a program used when information processing such as an OS or an application program is performed, and the data file 92 is data generated by the information processing, for example.
  • the system file 91 includes a configuration file 93 relating to setting of the information processing apparatus.
  • the configuration file 93 is a file used when setting items such as user authority, file security, user interface display format, and power management can be set.
  • the update unit 31 of the alternative information processing apparatus 2 creates a list of files updated by the patch, that is, a monitoring file list in order to monitor files updated by both the current information processing apparatus 1 and the alternative information processing apparatus 2.
  • FIG. 5 is an explanatory diagram of the monitoring file list.
  • the update unit 31 Since the patch includes information on the file to be updated, the update unit 31 extracts the file names of all the files to be updated from the patch, and creates a monitoring file list. When there are a plurality of patches, the update unit 31 extracts a file name for each patch and creates a monitoring file list for each patch. In the example of FIG. 5, there are n patches from P1 to Pn.
  • the update unit 31 accesses the current information processing apparatus 1 to read out information such as the update date and time of the file that matches the file name in the monitoring file list among the files of the current information processing apparatus 1 and associates it with the file name. Enter in the watch file list.
  • a system file 91A is an updated system file.
  • the current information processing apparatus 1 updates (including change, creation, and deletion) of the data file 92 by operation.
  • the synchronization unit 32 differentially copies and synchronizes files other than the monitoring file list among the files of the active information processing apparatus 1 to the alternative information processing apparatus 2 (S24).
  • the synchronization unit 32 differentially copies the files in the monitoring file list from the current information processing apparatus 1 to the alternative information processing apparatus 2. If there is a file to be copied as a difference, that is, if there is a file updated by the operation of the current information processing apparatus 1, after the file is copied, the re-update unit 33 reapplies a patch for updating the file. (S25).
  • the switching unit 34 determines whether to switch between the active information processing apparatus 1 and the alternative information processing apparatus 2. For example, when the file to be copied at S24 and S25 becomes 0, when the copy process at S24 and S25 is estimated to end within a predetermined time, or when a switching instruction is input from the user, the predetermined condition is satisfied. It is determined whether or not it is satisfied (S26).
  • the processing time can be estimated when the processing is estimated to be completed within a predetermined time, for example, when the number of files to be copied is a predetermined number or less, or when the size of the files to be copied is a predetermined value or less. It is sufficient if the condition is satisfied.
  • FIG. 6 is a detailed explanatory diagram of steps S22 and S23.
  • the update unit 31 After copying the file in S21, the update unit 31 performs the processes in S221 to S223 as the process for creating the monitoring file list (S22). First, the update unit 31 creates an applied patch list.
  • the applied patch list is a list indicating the order in which patches are applied. For example, the patch numbers P1 to Pn are listed in ascending order (S221).
  • the update unit 31 sequentially analyzes the patches according to the applied patch list and creates a monitoring file list (S222, S223).
  • the update unit 31 analyzes the patch, extracts the file names of all the files to be updated, and creates a monitoring file list.
  • the update unit 31 accesses the current information processing apparatus 1 and reads information such as the update date / time and size of the file that matches the file name in the monitoring file list among the files of the current information processing apparatus 1 and corresponds to the file name. And enter it in the monitoring file list.
  • the update unit 31 ends the management file list creation process S22 and proceeds to S23.
  • the update unit 31 and the synchronization unit 32 perform S231-234 as the processing S23 at the time of patch application.
  • the update unit 31 determines whether or not all the patches have been applied (S231). If patch application has not been completed (S231, No), the synchronization unit 32 selects patches one by one in the order of the applied patch list, and obtains a monitoring file list indicating files to be updated by the selected patch. In addition, the synchronization unit 32 differentially copies a file that matches the file name in the monitoring file list from the current information processing apparatus 1 to the alternative information processing apparatus 2, and synchronizes the files of the current information processing apparatus 1 and the alternative information processing apparatus 2.
  • the synchronization unit 32 inputs the update date and time of the synchronized file as the update date and time held in the monitoring file list (S233).
  • the update unit 31 sequentially selects the same patches as in S232 according to the applied patch list, and applies the selected patches to the alternative information processing apparatus 2. That is, the update unit 31 updates the file synchronized in S232 with the patch (S234). As described above, by synchronizing the files immediately before applying the patch, it is possible to reduce the number of system files updated in the current information processing apparatus 1 after applying the patch.
  • the process After applying the patch, the process returns to S231, and the synchronization unit 32 and the update unit 31 repeat file synchronization and patch application (S232 to S234) for the next patch in the applied patch list. If all patches have been applied (S231, Yes), the updating unit 31 ends S23 and proceeds to processing S24.
  • FIG. 7 is a diagram for explaining in detail the processing (S25) for synchronizing the files updated by both the active information processing apparatus 1 and the alternative information processing apparatus 2 and reapplying the patch.
  • the synchronization unit 32 and the re-update unit 33 perform the processing of S251 to S257 as the processing of synchronizing the file and reapplying the patch (S25).
  • the synchronization unit 32 sequentially selects one patch from the applied patch list, and determines whether or not there is no patch to be selected, that is, whether or not the processing based on all patches is completed (S251).
  • the synchronization unit 32 determines whether there is a file updated by the operation of the active information processing apparatus 1 based on the monitoring file list ( S253).
  • the synchronization unit 32 sequentially selects file names from the monitoring file list, and compares the update date and time of the file of the current information processing apparatus 1 that matches the file name with the update date and time of the monitoring file list.
  • the synchronization unit 32 determines that there is no update by the current information processing apparatus 1, and returns to S252. Judge the next file.
  • the re-update unit 33 removes the patch selected in S251 (S254). That is, among the system files of the alternative information processing apparatus 2, the file updated by applying the patch selected in S251 is returned to the state before applying the patch.
  • the synchronization unit 32 differentially copies the file indicated by the monitoring file list from the current information processing apparatus 1 to the alternative information processing apparatus 2, and synchronizes the files of the current information processing apparatus 1 and the alternative information processing apparatus 2 (S255).
  • the synchronization unit 32 inputs the update date and time of the synchronized file as the update date and time held in the monitoring file list (S256).
  • the re-update unit 33 re-applies a patch for updating the file (S257).
  • the process After reapplying the patch, the process returns to S251, and the synchronization unit 32 and the re-update unit 33 select the next patch and repeat S252 to S257, and when there is no patch to be selected in the applied patch list (S251, Yes), The updating unit 31 ends S25 and proceeds to S26.
  • the patch is removed in S254 before the patch is reapplied in S257. If the specification does not prohibit the application of the duplicate patch, the process of removing the patch (S254) may be omitted.
  • the process of removing the patch (S254) is omitted, and the patch is removed when the file indicated by the monitoring file list is differentially copied to the alternative information processing apparatus 2.
  • the database information may be rewritten to the state before applying the patch. This eliminates the need for removing the patch, and shortens the time required to reapply the patch.
  • FIG. 8 is a diagram for explaining the switching process S29 in detail.
  • the switching unit 34 activates the alternative information processing apparatus 2 in a single user mode, that is, a mode in which other users are not serviced (S291).
  • the synchronization unit 32 differentially copies files other than the monitoring file list from the current information processing apparatus 1 to the alternative information processing apparatus 2 (S292).
  • the synchronization unit 32 sequentially selects one patch from the applied patch list, and determines whether or not there is no patch to be selected, that is, whether or not the processing based on all patches is completed (S293).
  • the synchronization unit 32 determines whether the processing based on the monitoring file list of the patch selected in S293 is completed (S294).
  • the synchronization unit 32 determines whether there is a file updated by the operation of the current information processing apparatus 1 based on the monitoring file list ( S295).
  • the synchronization unit 32 sequentially selects file names from the monitoring file list, and compares the update date and time of the file of the current information processing apparatus 1 that matches the file name with the update date and time of the monitoring file list.
  • the synchronization unit 32 determines that there is no update by the current information processing apparatus 1, and returns to S252. Judge the next file.
  • the re-update unit 33 removes the patch selected in S293 (S296). That is, among the system files of the alternative information processing apparatus 2, the file updated by applying the patch selected in S293 is returned to the state before applying the patch.
  • the synchronization unit 32 differentially copies the file indicated by the monitoring file list from the current information processing apparatus 1 to the alternative information processing apparatus 2, and synchronizes the files of the current information processing apparatus 1 and the alternative information processing apparatus 2 (S297).
  • the synchronization unit 32 inputs the update date and time of the synchronized file as the update date and time held in the monitoring file list (S298).
  • the re-update unit 33 re-applies a patch for updating the file (S299).
  • the process After reapplying the patch, the process returns to S293, and the synchronization unit 32 and the re-update unit 33 select the next patch and repeat S294 to S299.
  • the switching unit 34 activates the alternative information processing apparatus 2 in the multi-user mode and starts operation (S300, S301).
  • the processes in S291 to S230 are processes used when file synchronization is performed in a state where the current information processing apparatus 1 is stopped.
  • the processes of S291 to S230 are processes for synchronizing files related to all patches.
  • the predetermined condition is satisfied in S26, that is, the difference between the files of the current information processing apparatus 1 and the alternative information processing apparatus 2 is less than the predetermined value. It is executed only in the case of. Therefore, it is rare to actually copy a file in the processes of S291 to S230, and the stop time of the current information processing apparatus 1 is not extremely prolonged.
  • FIG. 9 is an explanatory diagram of a process of differentially copying files other than the monitoring file list in S24 of FIG. 2 and S292 of FIG.
  • the synchronization unit 32 creates a file list L1 of all files stored in the storage unit 13 of the active information processing apparatus 1 (S31).
  • the file list is a record in which the file name of each file is associated with the update date and time.
  • the synchronization unit 32 creates a file list L2 of all files stored in the storage unit 23 of the alternative information processing apparatus 2 (S32).
  • the synchronization unit 32 deletes information on the file corresponding to the monitoring file list from the file lists L1 and L2 (S33).
  • the synchronization unit 32 determines whether or not the comparison between the file lists L1 and L2 is completed (S34). That is, the synchronization unit 32 determines that the comparison is not completed if there is information on the file not compared in the file list L1 (S34, No), and compares the file lists L1 and L2 (S35). For example, information on files that are not compared is selected in the order of the file list L1, and the file lists L1 and L2 are compared to determine whether there is a difference in the presence or absence of a file and whether there is a difference in update date and time.
  • the synchronization unit 32 If there is no difference as a result of the comparison, the synchronization unit 32 returns to S34 to compare the next file, and if there is a difference in the update date and time of the file as a result of the comparison, the file is replaced from the current information processing apparatus 1. Copy to the information processing apparatus 2 (S36), and return to S34. If there is a difference in the presence or absence of the file as a result of the comparison, the synchronization unit 32 determines which device has the file and which device does not have the file (S37). If the current information processing apparatus 1 has the file and the alternative information processing apparatus 2 does not have the file, the synchronization unit 32 copies the file from the current information processing apparatus 1 to the alternative information processing apparatus 2. (S36), the process returns to S34. If the current information processing apparatus 1 does not have the file and the alternative information processing apparatus 2 has the file, the synchronization unit 32 deletes the file from the alternative information processing apparatus 2 (S38), and returns to S34.
  • FIG. 10 is an explanatory diagram of the process of differentially copying the files in the monitoring file list in S25 of FIG. 2 and S297 of FIG.
  • the synchronization unit 32 creates a file list L3 of files updated by the patch among the files stored in the storage unit 13 of the active information processing apparatus 1 (S41).
  • the file list L3 is the same as the monitoring file list created in S22 of FIG. 2, and the monitoring file list of necessary patches may be selected from the monitoring file list created in S22.
  • the synchronization unit 32 creates a file list L4 of files updated by the patch among the files stored in the storage unit 23 of the alternative information processing apparatus 2 (S42).
  • a file list of a necessary patch may be selected from the monitoring file list, and the update date / time of the file list may be replaced with the update date / time of each file stored in the storage unit 23.
  • the synchronization unit 32 determines whether or not the comparison between the file lists L3 and L4 is completed (S43). That is, the synchronization unit 32 determines that the comparison is not completed if there is information on the file not compared in the file list L3 (S43, No), and compares the file lists L3 and L4 (S44). For example, information on files that are not compared is selected according to the order of the file list L3, and the file lists L3 and L4 are compared to determine whether there is a difference in the presence or absence of files and whether there is a difference in update date and time.
  • the synchronization unit 32 If there is no difference as a result of the comparison, the synchronization unit 32 returns to S43 and compares the next file. If the result of the comparison indicates that the update date / time of the file is different, the synchronization unit 32 replaces the file from the current information processing apparatus 1. Copy to the information processing apparatus 2 (S45), and return to S43.
  • the synchronization unit 32 determines which device has the file and which device does not have the file (S46).
  • the synchronization unit 32 copies the file from the current information processing apparatus 1 to the alternative information processing apparatus 2 ( S45), the process returns to S34.
  • the synchronization unit 32 deletes the file from the alternative information processing apparatus 2 (S47), and returns to S34.
  • the patch information of the alternative information processing apparatus is applied to the result of the operation performed by the current information processing apparatus during the application of the patch in the alternative information processing apparatus. It can be reflected in later files.
  • the alternative information processing apparatus of the present embodiment selects and selects a patch for updating the file of the alternative information processing apparatus 2 corresponding to the file updated by the operation of the current information processing apparatus 1 from among a plurality of patches. Update the file again based on the patch. Therefore, the patch can be selectively reapplied, and the time required for reapplication can be shortened.
  • the active information processing apparatus 1 when the files of the alternative information processing apparatus 2 and the active information processing apparatus 1 are repeatedly synchronized, and the number of different files between the alternative information processing apparatus 2 and the current information processing apparatus 1 decreases, the active information Since the processing apparatus 1 is stopped and switched to the alternative information processing apparatus 2, the period during which the operation is stopped can be suppressed.
  • whether or not a file is updated is determined by comparing the update date and time.
  • the present invention is not limited to this, and may be performed by comparing the file size or the update date and time and size.
  • a log may be recorded every time a file is updated, and whether or not the file is updated may be determined based on this log.
  • the update management program may be recorded on a computer-readable recording medium.
  • the computer-readable recording medium refers to a recording medium that accumulates information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from the computer.
  • Examples of such a recording medium that can be removed from the computer include a flexible disk, a magneto-optical disk, a CD-ROM, a CD-R / W, a DVD, a DAT, an 8 mm tape, and a memory card.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

 複数のファイルに基づいて情報処理を実行する現用情報処理装置と、該現用情報処理装置を代替して情報処理を実行する代替情報処理装置とで2重化されるシステムのファイルを更新する更新管理装置であって、前記代替情報処理装置のファイルを更新情報に基づいて更新する第1の更新部と、前記代替情報処理装置のファイルの更新中に、前記現用情報処理装置によって更新された当該現用情報処理装置のファイルを求め、該現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを、該現用情報処理装置によって更新されたファイルと同一の内容とする同期部と、前記現用情報処理装置によって更新されたファイルと同一の内容にされた代替情報処理装置のファイルを前記更新情報に基づいて更新する第2の更新部と、を備える。

Description

更新管理装置及び方法
 本件は、更新管理装置及び方法に関する。
 サーバ等の情報処理装置は、セキュリティの強化や、機能の追加等のために、当該情報処理装置のOS(Operating System)等のファイルの更新がなされる、所謂パッチが適用される場合がある。
 しかし、現在運用中の情報処理装置(以下現用情報処理装置とも称す)にパッチを適用すると、ファイルを更新したことによる不具合が生じた場合に、運用に支障をきたす可能性がある。
 このため、運用システムに代わって起動を行うブート環境である、即ち代替の情報処理装置(以下代替情報処理装置とも称す)を用意して情報処理装置を二重化し、代替情報処理装置にパッチを適用して正常動作を確認した後、代替情報処理装置と現用情報処理装置とを切り替えて運用を継続する方式が提案されている。
 この方式であれば、パッチの適用後、正常に動作するか否かの検証が、運用開始前に可能である。また、パッチ運用後、万一障害が発生した場合でも、情報処理装置が二重化されているため、パッチ適用前の状態に戻すことが可能である。
 図11は、上記代替情報処理装置を用いた方式の説明図である。
 先ず、運用装置101から代替情報処理装置102へファイルをコピーすることで、両装置101,102のファイルが、互いに同一の内容となる(S1)。ここで、両装置101,102のファイルは、オペレーティングシステムが用いるシステムファイル91と、ユーザデータ等のデータファイル92を含んでいる。
 現用情報処理装置101は、運用によりデータファイル92の更新(変更、作成、削除を含む)を行う。(S2)。
 一方、代替措置102にパッチが適用されると、システムファイル91の少なくとも一部が更新される(S3)。図11において、システムファイル91Aが、更新後のファイルである。なお、パッチの適用にかかる時間は、更新するファイル数等に比例し、多くのファイルの更新を行うパッチであれば多くの時間がかかり、例えば4時間程度かかることがあった。このため、パッチの適用中も現用情報処理装置101を運用することが、望ましい。
 代替情報処理装置102において、パッチの適用が正常に終了した場合には、現用情報処理装置101が停止され(S4)、S1からS4までに更新されたデータファイル92Aが代替情報処理装置102にコピーされる(S5)。
 更新されたシステムファイル91A及び更新されたデータファイル92Aを有した代替情報処理装置102が、新たに現用情報処理装置に変更され、運用を再開する(S6)。
 例えばSolaris(登録商標)の更新ツールであるLive Upgradeでは、運用システムでパッチ適用中に更新されるデータファイルのリスト(/etc/lu/synclist)をユーザが定義すれば、運用の切り替え時に代替情報処理装置へ反映する仕組みがある。しかし、そのファイルのリストをユーザが定義するには、Solaris OSのスキル、運用システムの仕組みの理解などが必要で、且つ更新の度にファイルのリストを定義することになるため、手間がかかり使い難いものであった。
特開2008-242679号公報
 図11の例では、現用情報処理装置101の変更したファイルが、データファイル92Aだけであったので、現用情報処理装置101のデータファイル92Aを代替情報処理装置102にコピーすれば、現用情報処理装置101で運用した結果を代替情報処理装置が問題無く引き継ぐことができる。
 しかし、現用情報処理装置101が、運用の結果、システムファイル91を更新した場合、後述のように現用情報処理装置101のシステムファイル91を代替情報処理装置102へコピーすることができない。このため、現用情報処理装置101の運用の結果を代替情報処理装置に完全には引き継げないという問題があった。
 図12は、パッチの適用時に上記問題が生じる場合の説明図である。
 先ず、運用装置101から代替情報処理装置102へファイルをコピーすることで、両装置101,102のファイルが、互いに同一の内容となる(S11)。
 ここで、システムファイル91には、情報処理装置の設定に関するコンフィグファイル93を含んでいる。コンフィグファイル93とは、例えば、ユーザの権限や、ファイルのセキュリティ、ユーザインタフェースの表示形式、電源の管理といった設定可能な事項を設定する場合に用いられるファイルである。
 現用情報処理装置101は、運用によりデータファイル92及びコンフィグファイル93の更新(変更、作成、削除を含む)を行う。(S12)。
 一方、代替措置102にパッチが適用されると、コンフィグファイル93を含むシステムファイル91の一部が更新される(S13)。図12において、コンフィグファイル93A、システムファイル91Aが、更新後のファイルである。
 代替情報処理装置102において、パッチの適用が正常に終了した場合には、現用情報処理装置101が停止され(S14)、この時点までに更新されたデータファイル92Aが代替情報処理装置にコピーされる(S15)。
 なお、現用情報処理装置101の運用によって更新されたコンフィグファイル93Bを代替情報処理装置102へコピーすると、コンフィグファイル93Aが上書きされ、パッチの適用が無効になってしまうので、コンフィグファイル93Bは代替情報処理装置102へコピーできない。
 従って、更新されたシステムファイル91A及び更新されたデータファイル92Aを有した代替情報処理装置102が、新たに現用情報処理装置に変更され、運用を再開すると(S16)、コンフィグファイル93Aにパッチ適用中の運用結果が反映されず、問題が生じる。
 そこで、開示の一実施形態は、代替情報処理装置におけるパッチの適用中に、現用情報処理装置で運用した結果を代替情報処理装置のパッチ適用後のファイルに反映させる技術を提供する。
 上記課題を解決するため、一実施形態としての更新管理装置は、複数のファイルに基づいて情報処理を実行する現用情報処理装置と、該現用情報処理装置を代替して情報処理を実行する代替情報処理装置とで2重化されるシステムのファイルを更新する更新管理装置であって、前記代替情報処理装置のファイルを更新情報に基づいて更新する第1の更新部と、前記代替情報処理装置のファイルの更新中に、前記現用情報処理装置によって更新された当該現用情報処理装置のファイルを求め、該現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを、該現用情報処理装置によって更新されたファイルと同一の内容とする同期部と、前記現用情報処理装置によって更新されたファイルと同一の内容にされた代替情報処理装置のファイルを前記更新情報に基づいて更新する第2の更新部と、を備える。
 開示の一実施形態は、代替情報処理装置におけるパッチの適用中に、現用情報処理装置で運用した結果を代替情報処理装置のパッチ適用後のファイルに反映させる技術を提供できる。
更新管理方法の説明図 更新管理方法の説明図 更新管理装置を含む代替情報処理装置のブロック図 現用情報処理装置のブロック図 監視ファイルリストの説明図 監視ファイルリストの作成及びパッチを適用する処理の説明図 ファイルの同期とパッチの再適用を行う処理の説明図 切り替え処理の説明図 監視ファイルリスト以外のファイルを差分コピーする処理の説明図 監視ファイルリストのファイルを差分コピーする処理の説明図 従来の更新方法の説明図 従来の更新方法の説明図
 以下、図面を参照して本発明の実施形態の一例について説明する。以下の実施の形態の構成は例示であり、本発明は実施の形態の構成に限定されない。
 本実施形態の更新管理システムは、複数のファイルに基づいて情報処理を実行する現用情報処理装置と、該現用情報処理装置を代替する代替情報処理装置とを備え、現用情報処理装置にて運用を行う一方、代替情報処理装置においてパッチの適用を行う。
 図1及び図2は、本実施形態の更新管理方法の説明図、図3は更新管理装置を含む代替情報処理装置のブロック図である。
 代替情報処理装置2は、図3に示すように、データの演算処理を行うデータ処理部21と、他の装置との通信を行う通信処理部22、演算処理に用いられるデータやソフトウェアを記憶する記憶部(ハードディスク)23、入力部24、出力部25を備えたサーバ等のコンピュータである。
 通信処理部22は、ネットワークやケーブル等の回線を介して他の情報処理装置であるサーバ等のコンピュータと通信を行う。
 記憶部23は、OSやアプリケーションプログラム(更新管理プログラム)を記憶する。
 入力部24は、データ処理部21へ情報を入力する手段であり、キーボードやポインティングデバイスといったユーザインタフェースや、メモリカードやCD-ROM等の記憶媒体から情報を読み取るデバイスを有する。
 出力部25は、データ処理部21の処理結果を出力する手段であり、処理結果等を表示する表示装置や、データを印刷するプリンタを有する。
 データ処理部21は、CPU(Central Processing Unit)やメインメモリを有し、前述したOSやアプリケーションプログラムを記憶部23からメインメモリに読み出し、読み出したOSやアプリケーションプログラムに従ってCPUが演算処理を行う。この演算処理により、CPUは、更新部31や、同期部32、再更新部33、切替部34としても機能する。
 更新部31としてCPUは、代替情報処理装置2の記憶部23に記憶されたファイルを更新情報即ちパッチに基づいて更新する。
 同期部32としてCPUは、代替情報処理装置2のファイルの更新中に、現用情報処理装置1の情報処理によって更新された現用情報処理装置1のファイルを求める。また、同期部31としてCPUは、現用情報処理装置1の情報処理によって更新されたファイルと対応する代替情報処理装置のファイルを現用情報処理装置1の情報処理によって更新されたファイルと同一の内容として同期する
 再更新部33としてCPUは、現用情報処理装置1の情報処理によって更新されたファイルと同一の内容に同期された代替情報処理装置2のファイルを更新情報に基づいて再度更新する。
 切替部34としてCPUは、パッチの適用後、現用情報処理装置1を停止させ、現用情報処理装置1と代替情報処理装置2とを切替え、代替情報処理装置2を新たな現用情報処理装置として運用を開始させる。
 図4は、現用情報処理装置1のブロック図である。現用情報処理装置1は、図4に示すように、データの演算処理を行うデータ処理部11と、他の装置との通信を行う通信処理部12、演算処理に用いられるデータやソフトウェアを記憶する記憶部(ハードディスク)13、入力部14、出力部15を備えたコンピュータである。
 通信処理部12は、ネットワークやケーブル等の回線を介して他のコンピュータと通信を行う。
 記憶部13は、OSやアプリケーションプログラム(更新管理プログラム)を記憶する。また、記憶部13は、エージェントから受信した管理データやログデータ、分析結果、データのスキーマを格納するデータ格納部である。
 入力部14は、データ処理部11へ情報を入力する手段であり、キーボードやポインティングデバイスといったユーザインタフェースや、メモリカードやCD-ROM等の記憶媒体から情報を読み取るデバイスを有する。
 出力部15は、データ処理部21の処理結果を出力する手段であり、処理結果等を表示する表示装置や、データを印刷するプリンタを有する。
 データ処理部11は、CPUやメインメモリを有し、OSやアプリケーションプログラムを記憶部13からメインメモリに読み出し、読み出したOSやアプリケーションプログラムに従ってCPUが演算処理を行う。
 本実施形態では、代替情報処理装置2が更新管理装置を兼ねている。なお、これに限らず、更新管理装置は、現用情報処理装置1が兼ねても良く、また、更新管理装置は、現用情報処理装置1と代替情報処理装置から独立した装置であっても良い。例えば、更新部31や、同期部32、再更新部33を備えた情報処理装置であれば良い。
 なお、本実施形態の更新管理装置としての代替情報処理装置2の構成要素のうち、情報を処理する要素は、汎用のプロセッサがソフトウェアとしての更新管理プログラムを実行することによって、上記各機能を実現するものである。これら情報を処理する要素の一部或いは全部は、基本的な回路を組み合わせて各々の機能を実現したハードウェアであっても良い。
 代替情報処理装置2において、更新部31や、同期部32、再更新部33、切替部34が、上記の情報を処理する要素である。
 これら情報を処理する要素であるハードウェアは、例えば、FPGA[Field Programmable Gate Array]、ASIC[Application Specific Integrated Circuit]、LSI[Large Scale Integration]といった基本的な回路を備えても良い。また、当該ハードウェアは、IC[Integrated Circuit]、ゲートアレイ、論理回路、信号処理回路、アナログ回路といった基本的な回路を備えても良い。
 論理回路としては、例えば、AND回路(論理積回路)、OR回路(論理和回路)、NOT回路(否定回路)、NAND回路(否定的論理積回路)、NOR回路(否定的論理和回路)、フリップフロップ回路、カウンタ回路がある。信号処理回路には、信号値に対し、例えば、加算、乗算、除算、反転、積和演算、微分、積分を実行する回路が、含まれていてもよい。アナログ回路には、例えば、信号値に対して、増幅、加算、乗算、微分、積分を実行する回路が、含まれていてもよい。
 上記構成の代替情報処理装置(更新管理装置)2は、更新管理プログラムを実行することにより、図1及び図2に示すように更新管理方法を実現する。
 先ず、代替情報処理装置2の同期部32は、運用装置1の記憶部13に記憶されているファイルを代替情報処理装置2の記憶部23へコピーすることで、両装置1,2のファイルを同一の内容とする(S21)。
 ここで、両装置1,2のファイルは、パッチによる更新対象となるシステムファイル91と、パッチによる更新対象でないデータファイル92とを有する。システムファイルは、例えばOSやアプリケーションプログラムといった情報処理を行う場合に用いられるプログラムであり、データファイル92は、例えば情報処理によって生成されるデータである。
 また、システムファイル91は、情報処理装置の設定に関するコンフィグファイル93を含んでいる。コンフィグファイル93は、例えば、ユーザの権限や、ファイルのセキュリティ、ユーザインタフェースの表示形式、電源の管理といった設定可能な事項を設定する場合に用いられるファイルである。
 代替情報処理装置2の更新部31は、現用情報処理装置1と代替情報処理装置2の両方で更新されるファイルを監視するため、パッチによって更新されるファイルのリスト、即ち監視ファイルリストを作成する(S22)。図5は、監視ファイルリストの説明図である。
 パッチには更新するファイルの情報が含まれているため、更新部31は、更新する全てのファイルのファイル名をパッチから抽出し、監視ファイルリストとする。なお、パッチが複数ある場合、更新部31はファイル名をパッチ毎に抽出し、パッチ毎に監視ファイルリストを作成する。図5の例では、P1からPnまでn個のパッチがある。
 また、更新部31は現用情報処理装置1にアクセスし、現用情報処理装置1のファイルのうち、監視ファイルリストのファイル名と一致するファイルの更新日時等の情報を読み出し、ファイル名と対応付けて監視ファイルリストに入力する。
 そして、更新部31は、パッチに基づき記憶部23内のシステムファイル91の一部を更新する(S23)。図1において、システムファイル91Aが、更新後のシステムファイルである。
 なお、代替情報処理装置2へのパッチの適用中も、現用情報処理装置1は、運用によりデータファイル92の更新(変更、作成、削除を含む)を行う。
 パッチの適用後、同期部32は、現用情報処理装置1のファイルのうち、監視ファイルリスト以外のファイルを代替情報処理装置2へ差分コピーし、同期させる(S24)。
 また、同期部32は、監視ファイルリストのファイルを現用情報処理装置1から代替情報処理装置2へ差分コピーする。ここで差分としてコピーするファイルがあった場合、即ち現用情報処理装置1の運用によって更新されたファイルがあった場合、当該ファイルのコピー後、再更新部33が当該ファイルを更新するパッチを再適用する(S25)。
 切替部34は、現用情報処理装置1と代替情報処理装置2とを切り替えるか否かを判定する。例えば、S24,S25でコピーするファイルが0となった場合や、S24,S25でコピーする処理が所定時間以内に終わると推定される場合、ユーザから切替指示が入力された場合など、所定条件を満たしたか否かを判定する(S26)。
 なお、処理が所定時間以内に終わると推定される場合とは、例えば、コピーするファイルが所定数以下である場合や、コピーするファイルのサイズが所定値以下である場合など、処理時間が推定できる条件を満たした場合であれば良い。
 切り替えを行わない場合(S27,No)、S24に戻り、切り替えを行う場合(S27,Yes)、切替部34は現用情報処理装置1を停止させ(S28)、代替情報処理装置2による運用を開始させる(S29)。
 図6は、S22,S23のステップの詳細な説明図である。
 S21のファイルのコピーの後、更新部31は、監視ファイルリストを作成する処理(S22)としてS221-S223の処理を行う。先ず、更新部31は、適用パッチリストを作成する。適用パッチリストは、パッチの適用順を示すリストであり、例えば、パッチの番号P1~Pnを昇順に列記する(S221)。
 更新部31は、適用パッチリストに従って順次パッチを解析し、監視ファイルリストを作成する(S222,S223)。ここで更新部31は、パッチを解析し、更新する全てのファイルのファイル名を抽出し、監視ファイルリストとする。また、更新部31は現用情報処理装置1にアクセスし、現用情報処理装置1のファイルのうち、監視ファイルリストのファイル名と一致するファイルの更新日時、サイズ等の情報を読み出し、ファイル名と対応付けて監視ファイルリストに入力する。
 管理ファイルリストの作成を繰り返し、全てのパッチについて監視ファイルリストを作成した場合(S222,Yes)、更新部31は、管理ファイルリストの作成処理S22を終了してS23へ移行する。
 更新部31及び同期部32は、パッチ適用時の処理S23として、S231-234を行う。更新部31は、全てのパッチの適用が完了したか否かを判定する(S231)。パッチの適用が完了していなければ(S231,No)、同期部32は、適用パッチリストの順でパッチを一つずつ選択し、選択したパッチが更新するファイルを示す監視ファイルリストを求める。また、同期部32は、当該監視ファイルリストのファイル名と一致するファイルを現用情報処理装置1から代替情報処理装置2へ差分コピーし、現用情報処理装置1と代替情報処理装置2のファイルを同期させる。
 また、同期部32は、監視ファイルリストで保持する更新日時として、同期したファイルの更新日時を入力する(S233)。
 更新部31は、適用パッチリストに従ってS232と同じパッチを順次選択し、選択したパッチを代替情報処理装置2に適用する。即ち、更新部31は、S232で同期したファイルをパッチによって更新する(S234)。このようにパッチを適用する直前にファイルを同期させることで、パッチの適用後に現用情報処理装置1で更新されるシステムファイルを減らすことができる。
 パッチの適用後、S231に戻り、同期部32及び更新部31は、適用パッチリストの次のパッチについて、ファイルの同期とパッチの適用(S232~S234)を繰り返す。そして、全てのパッチの適用が完了した場合(S231,Yes)、更新部31は、S23を終了して処理S24へ移行する。
 図7は、現用情報処理装置1と代替情報処理装置2の双方で更新されたファイルの同期とパッチの再適用を行う処理(S25)を詳細に説明する図である。
 S24の差分コピーの後、同期部32及び再更新部33は、ファイルの同期とパッチの再適用を行う処理(S25)として、S251-S257の処理を行う。
 同期部32は、適用パッチリストから順次パッチを一つ選択し、選択するパッチが無くなったか否か、即ち全てのパッチに基づく処理が完了したか否かを判定する(S251)。
 パッチに基づく処理が完了していない場合(S251,No)、S251で選択したパッチの監視ファイルリストに基づく処理が完了したか否かを判定する(S252)。
 監視ファイルリストに基づく処理が完了していない場合(S252,No)、同期部32は、監視ファイルリストに基づき、現用情報処理装置1の運用によって更新されたファイルがあるか否かを判定する(S253)。
 例えば、同期部32は監視ファイルリストからファイル名を順次選択し、このファイル名と一致する現用情報処理装置1のファイルの更新日時と監視ファイルリストの更新日時とを比較する。
 同期部32は、現用情報処理装置1のファイルの更新日時と監視ファイルリストの更新日時が同一であれば(S253,No)、現用情報処理装置1による更新は無いと判定し、S252に戻って次のファイルについての判定を行う。
 また、同期部32は、S253で現用情報処理装置1のファイルの更新日時と監視ファイルリストの更新日時が同一でなく、ファイルが現用情報処理装置1によって更新されたと判定した場合(S253,Yes)、再更新部33はS251で選択されたパッチを外す(S254)。即ち、代替情報処理装置2のシステムファイルのうち、S251で選択されたパッチの適用によって更新されたファイルをパッチ適用前の状態に戻す。
 そして、同期部32は、監視ファイルリストが示すファイルを現用情報処理装置1から代替情報処理装置2へ差分コピーし、現用情報処理装置1と代替情報処理装置2のファイルを同期させる(S255)。
 また、同期部32は、監視ファイルリストで保持する更新日時として、同期したファイルの更新日時を入力する(S256)。
 再更新部33は、当該ファイルを更新するパッチを再適用する(S257)。
 パッチの再適用後、S251へ戻り、同期部32及び再更新部33は、次のパッチを選択してS252~S257を繰り返し、適用パッチリストに選択するパッチが無くなった場合(S251,Yes)、更新部31はS25を終了してS26へ移行する。
 なお、パッチを適用する場合、適用したパッチの情報をデータベースに記憶しておき、誤って古いパッチを適用してしまうことや、無駄に同じパッチを適用してしまうことを防止するのが一般的である。このため、本実施形態では、S257でパッチを再適用する前にS254でパッチを外している。なお、重複したパッチの適用を禁止しない仕様であれば、パッチを外す処理(S254)を省略しても良い。
 また、重複したパッチの適用を禁止する仕様であっても、パッチを外す処理(S254)を省略し、監視ファイルリストが示すファイルを代替情報処理装置2へ差分コピーした時点で、パッチを外したと見なしてデータベースの情報をパッチ適用前の状態に書換えても良い。これによりパッチを外す時間が不要になり、パッチの再適用にかかる時間を短縮できる。
 図8は切り替え処理S29を詳細に説明する図である。
 現用情報処理装置1の停止後、切替部34は代替情報処理装置2をシングルユーザモード、即ち他のユーザにサービスを行わないモードで起動させる(S291)。
 同期部32は、監視ファイルリスト以外のファイルを現用情報処理装置1から代替情報処理装置2へ差分コピーする(S292)。
 次に同期部32は、適用パッチリストから順次パッチを一つ選択し、選択するパッチが無くなったか否か、即ち全てのパッチに基づく処理が完了したか否かを判定する(S293)。
 同期部32は、パッチに基づく処理が完了していない場合(S293,No)、S293で選択したパッチの監視ファイルリストに基づく処理が完了したか否かを判定する(S294)。
 監視ファイルリストに基づく処理が完了していない場合(S294,No)、同期部32は、監視ファイルリストに基づき、現用情報処理装置1の運用によって更新されたファイルがあるか否かを判定する(S295)。
 例えば、同期部32は監視ファイルリストからファイル名を順次選択し、このファイル名と一致する現用情報処理装置1のファイルの更新日時と監視ファイルリストの更新日時とを比較する。
 同期部32は、現用情報処理装置1のファイルの更新日時と監視ファイルリストの更新日時が同一であれば(S295,No)、現用情報処理装置1による更新は無いと判定し、S252に戻って次のファイルについての判定を行う。
 また、同期部32が、現用情報処理装置1のファイルの更新日時と監視ファイルリストの更新日時が同一でなく、現用情報処理装置1によって更新されたと判定した場合(S295,Yes)、再更新部33は、S293で選択したパッチを外す(S296)。即ち、代替情報処理装置2のシステムファイルのうち、S293で選択されたパッチの適用によって更新されたファイルをパッチ適用前の状態に戻す。
 そして、同期部32は、監視ファイルリストが示すファイルを現用情報処理装置1から代替情報処理装置2へ差分コピーし、現用情報処理装置1と代替情報処理装置2のファイルを同期させる(S297)。
 また、同期部32は、監視ファイルリストで保持する更新日時として、同期したファイルの更新日時を入力する(S298)。
 再更新部33は、当該ファイルを更新するパッチを再適用する(S299)。
 パッチの再適用後、S293へ戻り、同期部32及び再更新部33は、次のパッチを選択してS294~S299を繰り返す。
 そして、適用パッチリストに選択するパッチが無くなった場合(S293,Yes)、切替部34は代替情報処理装置2をマルチユーザモードにて起動させて運用を開始させる(S300,S301)。
 S29において、S291~S230の処理は、現用情報処理装置1を停止させた状態でファイルの同期を行う場合に用いられる処理である。
 S291~S230の処理は、全てのパッチに係るファイルの同期をとる処理であるが、S26で所定条件を満たした場合、即ち現用情報処理装置1と代替情報処理装置2のファイルの相違が所定以下の場合にのみ実行される。従ってS291~S230の処理で実際にファイルをコピーすることは稀であり、現用情報処理装置1の停止時間を極端に長くすることは無い。
 図9は、図2のS24や図8のS292において、監視ファイルリスト以外のファイルを差分コピーする処理の説明図である。
 先ず、同期部32は、現用情報処理装置1の記憶部13に記憶されている全ファイルのファイルリストL1を作成する(S31)。ここで、ファイルリストは、各ファイルのファイル名と更新日時を対応付けて記録したものである。
 同様に、同期部32は、代替情報処理装置2の記憶部23に記憶されている全ファイルのファイルリストL2を作成する(S32)。
 次に同期部32は、ファイルリストL1,L2から監視ファイルリストに該当するファイルの情報を削除する(S33)。
 また、同期部32は、ファイルリストL1,L2の比較が完了したか否かを判定する(S34)。即ち、同期部32は、ファイルリストL1に比較していないファイルの情報があれば、比較が完了していないと判定し(S34,No)、ファイルリストL1,L2の比較を行う(S35)。例えば、ファイルリストL1の順に従って比較していないファイルの情報を選択し、ファイルリストL1とL2とでファイルの有無に相違があるか、更新日時に相違があるかについて比較する。
 同期部32は、比較の結果相違が無ければ、S34に戻って次のファイルについて比較を行い、比較の結果、当該ファイルの更新日時に相違があれば、当該ファイルを現用情報処理装置1から代替情報処理装置2へコピーして(S36)、S34へ戻る。また、同期部32は、比較の結果、ファイルの有無に相違があれば、どちらの装置に当該ファイルが有り、どちらの装置に当該ファイルが無いのかを判定する(S37)。そして、現用情報処理装置1に当該ファイルが有り、代替情報処理装置2に当該ファイルが無いのであれば、同期部32は、当該ファイルを現用情報処理装置1から代替情報処理装置2へコピーして(S36)、S34へ戻る。また、現用情報処理装置1に当該ファイルが無く、代替情報処理装置2に当該ファイルが有る場合、同期部32は、当該ファイルを代替情報処理装置2から削除し(S38)、S34へ戻る。
 図10は、図2のS25や図8のS297において、監視ファイルリストのファイルを差分コピーする処理の説明図である。
 先ず、同期部32は、現用情報処理装置1の記憶部13に記憶されているファイルのうち、パッチによって更新されるファイルのファイルリストL3を作成する(S41)。ここで、ファイルリストL3は、図2のS22で作成した監視ファイルリストと同じものであり、S22で作成した監視ファイルリストのうち、必要なパッチの監視ファイルリストを選択すれば良い。
 また、同期部32は、代替情報処理装置2の記憶部23に記憶されているファイルのうち、パッチによって更新されるファイルのファイルリストL4を作成する(S42)。ここで、ファイルリストL4は、監視ファイルリストから必要なパッチのファイルリストを選択し、当該ファイルリストの更新日時を記憶部23に記憶されている各ファイルの更新日時に置き換えれば良い。
 そして、同期部32は、ファイルリストL3,L4の比較が完了したか否かを判定する(S43)。即ち、同期部32は、ファイルリストL3に比較していないファイルの情報があれば、比較が完了していないと判定し(S43,No)、ファイルリストL3,L4の比較を行う(S44)。例えば、ファイルリストL3の順に従って比較していないファイルの情報を選択し、ファイルリストL3とL4とでファイルの有無に相違があるか、更新日時に相違があるかについて比較する。
 同期部32は、比較の結果相違が無ければ、S43に戻って次のファイルについて比較を行い、比較の結果、当該ファイルの更新日時に相違があれば、当該ファイルを現用情報処理装置1から代替情報処理装置2へコピーして(S45)、S43へ戻る。
 また、同期部32は、比較の結果、ファイルの有無に相違があれば、どちらの装置に当該ファイルが有り、どちらの装置に当該ファイルが無いのかを判定する(S46)。
 そして、現用情報処理装置1に当該ファイルが有り、代替情報処理装置2に当該ファイルが無いのであれば、同期部32は、当該ファイルを現用情報処理装置1から代替情報処理装置2へコピーし(S45)、S34へ戻る。
 また、現用情報処理装置1に当該ファイルが無く、代替情報処理装置2に当該ファイルが有る場合、同期部32は、当該ファイルを代替情報処理装置2から削除し(S47)、S34へ戻る。
 以上のように、本実施形態の代替情報処理装置(更新管理装置)2によれば、代替情報処理装置におけるパッチの適用中に、現用情報処理装置で運用した結果を代替情報処理装置のパッチ適用後のファイルに反映させることができる。
 また、本実施形態の代替情報処理装置は、複数のパッチのうち、現用情報処理装置1の運用によって更新されたファイルと対応する代替情報処理装置2のファイルを更新するパッチを選択し、選択したパッチに基づいて当該ファイルを再度更新する。このため、パッチを選択的に再適用でき、再適用にかかる時間を短縮できる。
 また、本実施形態では、代替情報処理装置2と現用情報処理装置1のファイルを繰り返し同期させ、代替情報処理装置2と現用情報処理装置1とで相違したファイルが少なくなった場合に、現用情報処理装置1を停止させて代替情報処理装置2へ切り替えるので、運用を停止する期間を抑制できる。
 〈その他〉
 本発明は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。
 上述の実施形態において、ファイルの更新の有無は、更新日時の比較によって行っていたが、これに限らず、ファイルのサイズ、或いは更新日時及びサイズの比較によって行っても良い。また、ファイルを更新する毎にログを記録しておき、このログに基づいてファイルの更新の有無が判定されても良い。
 上述の実施形態において、更新管理プログラムは、コンピュータが読み取り可能な記録媒体に記録されていても良い。ここで、コンピュータが読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータから読み取ることができる記録媒体をいう。このような記録媒体の内コンピュータから取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、CD-ROM、CD-R/W、DVD、DAT、8mmテープ、メモリカード等がある。
 また、コンピュータに固定された記録媒体としてハードディスクやROM(リードオンリーメモリ)等がある。

Claims (6)

  1.  複数のファイルに基づいて情報処理を実行する現用情報処理装置と、該現用情報処理装置を代替して情報処理を実行する代替情報処理装置とで2重化されるシステムのファイルを更新する更新管理装置であって、
     前記代替情報処理装置のファイルを更新情報に基づいて更新する第1の更新部と、
     前記代替情報処理装置のファイルの更新中に、前記現用情報処理装置によって更新された当該現用情報処理装置のファイルを求め、該現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを、該現用情報処理装置によって更新されたファイルと同一の内容とする同期部と、
     前記現用情報処理装置によって更新されたファイルと同一の内容にされた代替情報処理装置のファイルを前記更新情報に基づいて更新する第2の更新部と、
    を備える更新管理装置。
  2.  前記第1の更新部が、複数の更新情報に基づいて前記代替情報処理装置のファイルを更新する場合に、
     前記第2の更新部が、前記複数の更新情報のうち、前記現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを更新する更新情報を選択し、選択した更新情報に基づいて当該ファイルを更新する請求項1に記載の更新管理装置。
  3.  複数のファイルに基づいて情報処理を実行する現用情報処理装置と、該現用情報処理装置を代替する代替情報処理装置とで2重化されるシステムのファイルを更新する更新管理装置が、
     前記代替情報処理装置のファイルを更新情報に基づいて更新するステップと、
     前記代替情報処理装置のファイルの更新中に、前記現用情報処理装置によって更新された当該現用情報処理装置のファイルを求め、該現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを該現用情報処理装置によって更新されたファイルと同一の内容とするステップと、
     前記現用情報処理装置によって更新されたファイルと同一の内容にされた代替情報処理装置のファイルを前記更新情報に基づいて更新するステップと、
    を備える更新管理方法。
  4.  複数の更新情報に基づいて前記代替情報処理装置のファイルを更新する場合に、
     前記複数の更新情報のうち、前記現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを更新する更新情報を選択し、選択した更新情報に基づいて当該ファイルを更新する請求項3に記載の更新管理方法。
  5.  複数のファイルに基づいて情報処理を実行する現用情報処理装置と、該現用情報処理装置を代替する代替情報処理装置とで2重化するシステムのファイルを更新する更新管理装置に、
     前記代替情報処理装置のファイルを更新情報に基づいて更新するステップと、
     前記代替情報処理装置のファイルの更新中に、前記現用情報処理装置によって更新された当該現用情報処理装置のファイルを求め、該現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを該現用情報処理装置によって更新されたファイルと同一の内容とするステップと、
     前記現用情報処理装置によって更新されたファイルと同一の内容にされた代替情報処理装置のファイルを前記更新情報に基づいて更新するステップと、
    を実行させるための更新管理プログラム。
  6.  複数の更新情報に基づいて前記代替情報処理装置のファイルを更新する場合に、
     前記複数の更新情報のうち、前記現用情報処理装置によって更新されたファイルと対応する代替情報処理装置のファイルを更新する更新情報を選択し、選択した更新情報に基づいて当該ファイルを更新する請求項5に記載の更新管理プログラム。
PCT/JP2009/067468 2009-10-07 2009-10-07 更新管理装置及び方法 WO2011042961A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011535235A JP5338913B2 (ja) 2009-10-07 2009-10-07 更新管理装置及び方法
PCT/JP2009/067468 WO2011042961A1 (ja) 2009-10-07 2009-10-07 更新管理装置及び方法
US13/441,270 US20120198432A1 (en) 2009-10-07 2012-04-06 Update management apparatus and update management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/067468 WO2011042961A1 (ja) 2009-10-07 2009-10-07 更新管理装置及び方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/441,270 Continuation US20120198432A1 (en) 2009-10-07 2012-04-06 Update management apparatus and update management method

Publications (1)

Publication Number Publication Date
WO2011042961A1 true WO2011042961A1 (ja) 2011-04-14

Family

ID=43856459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/067468 WO2011042961A1 (ja) 2009-10-07 2009-10-07 更新管理装置及び方法

Country Status (3)

Country Link
US (1) US20120198432A1 (ja)
JP (1) JP5338913B2 (ja)
WO (1) WO2011042961A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3276508A1 (en) 2016-07-25 2018-01-31 Fujitsu Limited Database control method, database control apparatus, and information processing program

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10037203B1 (en) * 2016-07-28 2018-07-31 National Technology & Engineering Solutions Of Sandia, Llc Real-time software upgrade
US11442717B2 (en) * 2020-03-31 2022-09-13 Arista Networks, Inc. System and method for updating state information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001275140A (ja) * 2000-03-28 2001-10-05 Matsushita Electric Ind Co Ltd 運用/待機構成の通信制御装置及び運用/待機系切替方法
JP2002328813A (ja) * 2001-04-27 2002-11-15 Hitachi Ltd プログラム修正方法
JP2008242679A (ja) * 2007-03-27 2008-10-09 Nec Corp サーバシステム及びパッチ処理方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07162509A (ja) * 1993-12-07 1995-06-23 Nec Corp 電子交換機のプログラム変更方法
JPH11191069A (ja) * 1997-12-26 1999-07-13 Fujitsu Ltd 二重化装置のファイル更新方法
JP2002049502A (ja) * 2000-08-01 2002-02-15 Fujitsu Ltd 複数プロセッサシステムにおけるアップデート方式
US20090024713A1 (en) * 2007-07-18 2009-01-22 Metrosource Corp. Maintaining availability of a data center

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001275140A (ja) * 2000-03-28 2001-10-05 Matsushita Electric Ind Co Ltd 運用/待機構成の通信制御装置及び運用/待機系切替方法
JP2002328813A (ja) * 2001-04-27 2002-11-15 Hitachi Ltd プログラム修正方法
JP2008242679A (ja) * 2007-03-27 2008-10-09 Nec Corp サーバシステム及びパッチ処理方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3276508A1 (en) 2016-07-25 2018-01-31 Fujitsu Limited Database control method, database control apparatus, and information processing program

Also Published As

Publication number Publication date
US20120198432A1 (en) 2012-08-02
JPWO2011042961A1 (ja) 2013-02-28
JP5338913B2 (ja) 2013-11-13

Similar Documents

Publication Publication Date Title
US6751674B1 (en) Method and system for replication in a hybrid network
JP5357885B2 (ja) 仮想マシン複製を作成するための更新の管理
JP5018768B2 (ja) 適用パッチ選別装置及び適用パッチ選別方法
US20040098426A1 (en) Backup system, backup method, program for backup, and backup service provision system
US20080244563A1 (en) Dynamic configuration environment for setup
KR20100014107A (ko) 소프트웨어 갱신 장치 및 소프트웨어 갱신 프로그램을 기록한 컴퓨터 판독 가능한 기록매체
KR20040077497A (ko) 복제된 파일들을 위한 복수의 파일 상태 관리 방법
KR20050010714A (ko) 데이터의 인트라 패키지 델타 압축을 위한 시스템 및 방법
US7228526B2 (en) Application imaging infrastructure
US20070208917A1 (en) Method and apparatus for performing data backup
JP5338913B2 (ja) 更新管理装置及び方法
Masson et al. Feature Model for Collaborative Modeling Environments.
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
US8438133B2 (en) Information processing apparatus, file management system, information processing method and computer readable medium
JP3042600B2 (ja) 分散ファイルの同期方式
JP5387015B2 (ja) 情報処理装置、および情報処理装置の情報処理方法
JP2002229835A (ja) コンピュータによるファイル管理システムおよびそのプログラムとプログラム記録媒体
JPH11282687A (ja) プログラム自動改版方法
JP5240086B2 (ja) データ管理プログラム
JP2002108677A (ja) 文書管理装置及び方法、並びに記憶媒体
JPH1021058A (ja) アプリケーションモジュールのバージョン管理方法およびバージョン管理装置
ZA200502951B (en) Method, system and software for journaling system objects.
JP2007079685A (ja) ファイル共用管理システム
JP3228219B2 (ja) データ遷移画面遷移管理方式
JP2017004429A (ja) サーバ運用作業履歴管理装置、システム、方法、およびプログラム

Legal Events

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

Ref document number: 09850232

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011535235

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09850232

Country of ref document: EP

Kind code of ref document: A1