WO2020157950A1 - Information processing device, backup method, restore method, and program - Google Patents

Information processing device, backup method, restore method, and program Download PDF

Info

Publication number
WO2020157950A1
WO2020157950A1 PCT/JP2019/003581 JP2019003581W WO2020157950A1 WO 2020157950 A1 WO2020157950 A1 WO 2020157950A1 JP 2019003581 W JP2019003581 W JP 2019003581W WO 2020157950 A1 WO2020157950 A1 WO 2020157950A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
virtual machine
files
unit
archive
Prior art date
Application number
PCT/JP2019/003581
Other languages
French (fr)
Japanese (ja)
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 PCT/JP2019/003581 priority Critical patent/WO2020157950A1/en
Priority to CN201980090477.4A priority patent/CN113366450B/en
Priority to JP2020512906A priority patent/JP6762452B1/en
Priority to US17/414,949 priority patent/US11281395B2/en
Publication of WO2020157950A1 publication Critical patent/WO2020157950A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45579I/O management, e.g. providing access to device drivers or storage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation

Definitions

  • the present invention relates to an information processing device, a backup method, a restore method and a program.
  • a plurality of virtual machines may be operated in synchronization with each other.
  • OS real-time operating system
  • control application when a virtual machine operates a real-time operating system (hereinafter referred to as OS) and a control application, and another virtual machine operates a non-real-time OS and an information processing application so that both virtual machines are linked. Is.
  • An information processing device that has built a virtual environment has a storage device such as a hard disk device, and in case of a storage device crash, the data in the storage device may be backed up to an external storage device.
  • Patent Document 1 discloses that the host OS includes a backup function unit that backs up a virtual machine. From the host OS, the virtual machine looks like a collection of files including VHD (Virtual Hard Disk) files, and the backup function unit backs up the files that implement the virtual machine to back up the virtual machine.
  • VHD Virtual Hard Disk
  • the backup function unit backs up the files that implement the virtual machine to back up the virtual machine.
  • each virtual machine cannot recognize it as a collection of VHD files, and thus backup cannot be realized. That is, in a system including a plurality of virtual machines, it is difficult to properly perform a backup of the plurality of virtual machines in an information processing device that does not have a backup function unit in the host OS.
  • the present invention has been made in view of the above circumstances, and an object of the present invention is to realize backup of virtual machines in cooperation with virtual machines in an information processing apparatus including a plurality of virtual machines.
  • an information processing apparatus of the present invention includes a first virtual machine and a second virtual machine, and the second virtual machine collects files on the first virtual machine.
  • an archive creation part that creates an archive file of the collected files and stores it in the second virtual machine, and a backup that creates an image file of the second virtual machine including the archive file and backs it up to an external storage device And a section.
  • the virtual machines can be backed up by linking the virtual machines.
  • the figure which shows the hardware constitutions of the information processing apparatus of FIG. The figure which shows an example of the selection screen for the file collection list creation by the file collection setting part of FIG.
  • the flowchart which shows the file collection process of the file collection part of FIG. The flowchart which shows the master backup process of the master backup part of FIG.
  • the flowchart which shows the list preparation process of the file collection setting part of the information processing apparatus which concerns on the 2nd Embodiment of this invention.
  • the flowchart which shows the file collection process of the file collection part of the information processing apparatus which concerns on the 2nd Embodiment of this invention.
  • the flowchart which shows the backup process of the information processing apparatus which concerns on the 3rd Embodiment of this invention.
  • FIG. 1 is a block diagram showing a configuration of an information processing device 1 according to the exemplary embodiment of the present invention.
  • the information processing apparatus 1 is an industrial computer that controls FA (Factory Automation) equipment such as production machines, sensors, and drive equipment at a production site, collects data from the FA equipment, and performs various analyses.
  • FA Vectory Automation
  • a plurality of connected devices 2a, 2b, 2c are connected to the information processing device 1.
  • the connected devices 2a, 2b, 2c include PLCs (Programmable Logic Controllers) that control controlled devices such as assembly robots.
  • the information processing device 1 transmits information requesting data transmission and control information to the plurality of connected devices 2a, 2b, 2c, and the plurality of connected devices 2a, 2b, 2c requested data measured by sensors It sends various information such as data.
  • three connected devices 2a, 2b, and 2c are shown in FIG. 1, this is an example and the number of connected devices is not limited.
  • An external storage device 3 such as a hard disk device or a tape device for storing backup data is connected to the information processing device 1.
  • the information processing device 1 builds a virtual environment in which a plurality of virtual computers operate on a physical computer.
  • the information processing device 1 includes a hypervisor 4 and a root OS (Operating System) 5 that manages the hypervisor 4.
  • a plurality of virtual machines 6a, 6b, 6c operate on the hypervisor 4.
  • Guest OSs (Operating System) 7a, 7b, 7c are operating on the respective virtual machines 6a, 6b, 6c.
  • a plurality of files 8a and 8b such as application programs and user data exist on the guest OSs 7b and 7c, respectively.
  • the hypervisor 4 is a software program for realizing multiple virtual machines.
  • the hypervisor 4 allocates resources such as a CPU (Central Processing Unit) processing capacity, a RAM (Random Access Memory), and a recording area of a hard disk to a plurality of virtual machines 6a, 6b, 6c.
  • resources such as a CPU (Central Processing Unit) processing capacity, a RAM (Random Access Memory), and a recording area of a hard disk to a plurality of virtual machines 6a, 6b, 6c.
  • Root OS 5 is an operating system that activates and manages the hypervisor 4, and is synonymous with the host OS.
  • the root OS 5 is a real-time OS with high real-time responsiveness.
  • the virtual machines 6a, 6b, 6c are virtualized computers that operate on the hypervisor 4. Each virtual machine 6a, 6b, 6c behaves like the hardware of one computer.
  • the guest OSs 7a, 7b, 7c are OSs installed in the virtual machines 6a, 6b, 6c and operating in the virtual machines 6a, 6b, 6c.
  • the guest OSs 7a, 7b, and 7c are real-time OSs having high real-time responsiveness for performing real-time control of FA devices, or non-real-time general-purpose OSs equipped with abundant application programs.
  • the virtual machines 6a, 6b, 6c are each equipped with a real-time OS or a general-purpose OS as the guest OS 7a, 7b, 7c.
  • a software program for controlling the FA device On the guest OS, which is a real-time OS, a software program for controlling the FA device, a software program for collecting data from the FA device, a software program for diagnosing the collected data, a software program for setting various parameters of the FA device, and the collected data.
  • a file for data of the data diagnosis result is provided.
  • the guest OS which is a general-purpose OS
  • a software program that analyzes/analyzes the data collected from FA devices, and files such as data of analysis/analysis results are provided.
  • the virtual machine 6a includes a backup/restore device 9.
  • the backup/restore device 9 backs up and restores files of software programs and data in the virtual machines 6b and 6c to the external storage device 3 and from the external storage device 3 as described later.
  • the virtual machine 6a equipped with the backup/restore device 9 operates as a master, and the virtual machines 6b and 6c serve as slaves to be backed up and restored.
  • the virtual machine 6a is preferably operated by a general-purpose OS.
  • the general-purpose OS has abundant drivers, and it is easy to prepare an interface with the external storage device 3, and the virtual machine 6a including the backup/restore device 9 has an advantage of using the general-purpose OS.
  • the virtual machines 6b and 6c operate with a real-time OS.
  • the real-time OS does not have an interface for connecting to the external storage device 3 because the real-time OS is not rich in drivers and may require a dedicated design. Even with such a configuration, the virtual machines 6b and 6c can be backed up via the virtual machine 6a.
  • the virtual machines 6b and 6c are an example of a first virtual machine, and the virtual machine 6a is an example of a second virtual machine.
  • two virtual machines 6b and 6c are described as slave virtual machines, but this is an example of implementation, and the number of slave virtual machines is not limited.
  • the backup/restore device 9 collects the files stored in the slave virtual machines 6b and 6c and restores the files to the slave virtual machines 6b and 6c, and the virtual machines 6b and 6c.
  • a data conversion unit 11 that converts the collected files into an archive file and expands the archive file, and a master backup/restore unit 12 that backs up the image file and restores the backed up image file are provided.
  • Archive files are files that combine multiple files into one.
  • An image file is data in which data recorded in a storage device is filed while maintaining the file and folder structure.
  • the file collection/restoration unit 10 includes a file collection setting unit 10a that creates a list of files to be collected from the slave virtual machines 6b and 6c, and a file collection unit that collects files from the slave virtual machines 6b and 6c based on the list. 10b and a file restore unit 10c for restoring files to the virtual machines 6b and 6c.
  • the file collection setting unit 10a specifies files to be backed up among files stored in the slave virtual machines 6b and 6c, and creates a file collection list 13 that is a list of the specified files to be backed up. .. Further, the file collection setting unit 10a also specifies files to be backed up for the files stored in the connected devices 2a, 2b, 2c and creates the file collection list 13. Prior to the creation of the file collection list 13, the file collection setting unit 10a displays a selection screen for selecting a backed up file and prompts the user to select a file that needs to be backed up.
  • the file collection unit 10b accesses the slave virtual machines 6b, 6c and the connection devices 2a, 2b, 2c based on the created file collection list 13 to select files to be backed up for each virtual machine and each connection device. collect. Further, the file collection unit 10b instructs the data conversion unit 11 to convert the collected files into archive files for each of the virtual machines 6b and 6c and the connected devices 2a, 2b and 2c.
  • the file restore unit 10c restores the collected files to the virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
  • the data conversion unit 11 includes an archive creation unit 11a that creates an archive file of the collected files and an archive expansion unit 11b that expands the archive file.
  • the archive creation unit 11a creates a slave archive file 14 by converting the files collected by the file collection unit 10b into archive files for each of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
  • the archive creating unit 11a saves the created slave archive file 14 in the storage area of the master virtual machine 6a.
  • the archive expansion unit 11b expands the slave archive file 14 read by the file restore unit 10c.
  • the master backup/restore unit 12 includes a master backup unit 12a that backs up the image file of the virtual machine 6a that is a master, and a master restore unit 12b that restores the backed up image file of the virtual machine 6a.
  • the master backup unit 12a is an example of the claimed backup unit
  • the master restore unit 12b is an example of the claimed restore unit.
  • the master backup unit 12a converts all the data in the virtual machine 6a into an image file, creates a master image file 15, and stores it in the external storage device 3 as a backup file.
  • the master restore unit 12b reads the master image file 15 that is a backup file stored in the external storage device 3, expands it, and restores it in the virtual machine 6a.
  • the backup/restore device 9 creates a file collection list 13, a slave archive file 14, and a master image file 15 in the process of backup.
  • the file collection list 13 is a list of files to be backed up among the files included in the slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c created by the file collection setting unit 10a.
  • the file collection list 13 is stored in the storage area of the master virtual machine 6a.
  • the slave archive file 14 is a file included in the slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c, which are converted into archive files by the data conversion unit 11.
  • the slave archive file 14 is stored in the storage area of the master virtual machine 6a.
  • the master image file 15 is an image file of all data stored in the storage area of the master virtual machine 6a including the slave archive file 14.
  • the master image file 15 is stored in the external storage device 3.
  • the virtual machine initialization unit 16 initializes the information processing device 1 to the factory shipping state. After the initialization, the information processing device 1 is restored to a state in which the guest machines 7a, 7b, 7c are included in the virtual machines 6a, 6b, 6c. However, the master virtual machine 6a is restored to a state in which the backup/restore device 9 is included in addition to the guest OS 7a.
  • FIG. 2 shows an example of the hardware configuration of the information processing device 1.
  • the information processing apparatus 1 includes a CPU 31 that performs control processing, a ROM (Read Only Memory) 32 that stores programs and data, a RAM 33 that is a temporary storage area for programs and data, and a hard disk that is a large-capacity storage device.
  • the apparatus 34 includes an apparatus 34, an input/output unit 35 that transmits and receives to and from an external device, an operation unit 36 that performs an input operation, and a display unit 37 that displays an image.
  • the components included in the information processing device 1 are connected to each other via a bus.
  • the CPU 31 controls the overall operation of the information processing device 1.
  • the CPU 31 operates according to a program stored in the ROM 32 and uses the RAM 33 as a work area.
  • the ROM 32 stores programs and data for controlling the overall operation of the information processing device 1.
  • the RAM 33 functions as a work area for the CPU 31. That is, the CPU 31 temporarily writes a program and data in the RAM 33, and appropriately uses these programs and data.
  • the hard disk device 34 is a non-volatile storage device that stores information.
  • the hard disk device 34 stores a virtual machine program, an OS, various application programs, and data.
  • the input/output unit 35 is an input/output interface that transmits/receives data to/from the external storage device 3 and the connected devices 2a, 2b, 2c.
  • the operation unit 36 is a device that is operated by a user and inputs various instructions to the CPU 31, and includes a keyboard, a mouse, and the like.
  • the display unit 37 displays a screen of execution results of various processes, an operation screen, and the like.
  • the information processing device 1 transmits the control program executed by the connected devices 2a, 2b, 2c to the connected devices 2a, 2b, 2c.
  • the connected devices 2a, 2b, 2c control the controlled device by executing the control program. Further, the information processing device 1 requests the connected devices 2a, 2b, 2c for the data of the controlled device.
  • the connected devices 2a, 2b, 2c collect data.
  • the collected data is transmitted to the information processing device 1.
  • the device control and the data collection are executed by the virtual machine equipped with the real-time OS among the virtual machines 6a, 6b, 6c.
  • the analysis of the collected data is executed by the virtual machine having the general-purpose OS installed among the virtual machines 6a, 6b, 6c.
  • the backup process is performed by the backup/restore device 9 in the master virtual machine 6a when a file is added, changed, or deleted, when a user's instruction is received, or periodically.
  • the backup process is performed in two stages. In the first stage, the files 8a, 8b in the slave virtual machines 6b, 6c and the files 8c, 8d, 8e in the connected devices 2a, 2b, 2c are collected to create an archive file, and the archive file is set as a virtual file of the master. Saving in the storage area of the machine 6a.
  • the second step is to save the image file of the master virtual machine 6a in the external storage device 3.
  • a list designating files to be collected is created.
  • the user calls the file collection setting unit 10a of the file collection/restoration unit 10 from the backup/restore device 9 to specify a file to be backed up.
  • the file collection setting unit 10a selects a file to be backed up from the files 8a, 8b, 8c, 8d, and 8e in the slave virtual machines 6b and 6c and the connected devices 2a, 2b, and 2c.
  • the user creates a file collection list 13, which is a list of files to be backed up by the unit 10a.
  • a selection screen for selecting a backup target file is displayed on the screen of the display unit 37.
  • the user backs up from the slave virtual machines 6b and 6c excluding the master virtual machine 6a in the information processing apparatus 1 and a plurality of connected devices 2a, 2b and 2c connected to the information processing apparatus 1.
  • the file collection setting unit 10a accesses the selected virtual machine or the connected device and reads the file configuration information of the selected virtual machine or the connected device.
  • the read file configuration information is displayed on the display unit 37 as a selection screen. This file configuration information is presented to the user so that the user can select the file to be backed up.
  • FIG. 3 shows an example of a selection screen 41 for selecting files to be backed up.
  • the selection screen 41 hierarchically displays the file structure in the selected virtual machine or connected device.
  • the file name is displayed to the right of the icon of each file.
  • the uppermost file 42a displays "aaaa” as the file name.
  • the file 42b with the file name "bbbb” and the file 42c with the file name "cccc” are displayed as the lower layer files.
  • a file 42d with a file name "dddd” and a file 42e with a file name "eeee” are displayed as lower level files.
  • a check box is provided on the left side of the icon of each file. The user selects a file to be backed up by checking the check box of the file to be backed up.
  • the file includes an application program created by the user, a data file created by the user by the application program, an application program customized by the user, an OS setting information file, and the like.
  • the user selects these files created and changed by the user as files to be backed up. In an embedded OS with few user-configurable points, the data that the user can change is limited. Therefore, by excluding files that have not been changed by the user from backup targets, the backup size can be reduced, and the storage device can save the storage capacity required for backup.
  • files that are not likely to be changed in settings, OSs, application programs, and various data that are recovered by the recovery process of the information processing apparatus 1 to the factory shipping state may be excluded from selection targets. Since these files are not displayed on the selection screen 41 or the check boxes are not provided even if they are displayed, these files are excluded from the selection target.
  • the display of the selection screen 41 may display that the file is not changed.
  • the file may be excluded from the display target. Whether or not the file contents have been changed is determined by whether or not the file dates match and whether or not the file sizes match.
  • the lower-layer files 42b to 42e are also selected.
  • the file 42c is selected by checking the check box of the file 42c
  • the lower-layer files 42d and 42e are also selected. As shown in FIG. 3, when only the file 42d is selected, the check box of the file 42d is checked.
  • the user executes the confirmation button to confirm the selection.
  • the user continues to select another virtual machine or connected device that has not yet selected the file to be backed up and selects the file in the same manner as above.
  • the backup target files have been selected for all the slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c, the user selection process for creating the file collection list 13 ends.
  • the file collection setting unit 10a creates the file collection list 13 based on the user's selection.
  • FIG. 4 shows the structure of the created file collection list 13.
  • the connection device information 1 to n indicates the connection devices 2a, 2b and 2c connected to the slave virtual machines 6b and 6c and the information processing device 1.
  • the connected device information is provided as many as the number of slave virtual machines 6b and 6c and connected devices 2a, 2b and 2c connected to the information processing apparatus 1, but the slave devices not selected by the user because backup is not necessary. Virtual machines, connected devices, and connected devices that do not have files are excluded.
  • the connected device information has connection information and target file configuration information.
  • the connection information includes identification information of the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c, the number of retries for accessing the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c, and status information. doing.
  • the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c are accessed based on the identification information.
  • the number of retries the number of retries required for access is recorded. Whether or not the access is completed is recorded in the status information.
  • the target file configuration information indicates the information of the file that the user needs to back up among the files existing in the target slave virtual machines 6b and 6c or the connected devices 2a, 2b and 2c.
  • the file path, file name, file type, and file size of the target file are recorded as the target file information.
  • a file collection execution permission screen is displayed on the screen of the display unit 37.
  • the user instructs the file collection/restoration unit 10 to execute the file collection by executing the execution button on the screen.
  • the file collecting unit 10b of the file collecting/restoring unit 10 collects the files 8a, 8b to be backed up/restored from the slave virtual machines 6b, 6c by referring to the file collecting list 13 according to the flow shown in FIG. If the file collection list 13 includes the connected devices 2a, 2b, 2c, the files 8c, 8d, 8e to be backed up/restored by the connected devices 2a, 2b, 2c are also collected.
  • step S101 it is determined whether or not all the device information of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to be backed up has been read (step S101).
  • step S101: No since no device has been accessed and the device information has not been read yet (step S101: No), one piece of connected device information is read from the file collection list 13 (step S102).
  • the connection information is read from the read connection device information and the identification information in the connection information is used to access the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c (step S103). If the access is successful (step S104: Yes), the file to be backed up is downloaded by referring to the target file information of the connected device information (step S105).
  • step S104 When the access has failed (step S104: No), it is determined whether the number of retries for accessing the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c exceeds a specified value (step S104: No). Step S106). If the number of retries does not exceed the specified value (step S106: No), the number of retries is incremented by 1 (step S107), the process returns to step S103, and the access is performed again.
  • the data conversion unit 11 When the target file is downloaded, the data conversion unit 11 is instructed to create an archive file for each of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c from the downloaded file (step S108).
  • the archive creation unit 11a of the data conversion unit 11 compresses the target file for each of the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c, converts the target file into an archive file,
  • the slave archive file 14 is created.
  • the created slave archive file 14 is saved in the storage area of the master virtual machine 6a (step S109).
  • the status in the connection information is changed to complete (step S110).
  • the number of retries for accessing the slave virtual machine or the connected device exceeds the specified value (step S106: Yes)
  • the status is changed to complete (step S110).
  • Step S101 When the backup of the slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c is completed, it is confirmed whether there are any other slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c that need to be backed up ( Step S101). If there is another one, the above-described processing from step S102 to step S110 is repeated. If there is no other slave virtual machine 6b, 6c or connected device 2a, 2b, 2c that requires backup (step S101: Yes), the process ends.
  • the slave archive files 14 are created by the number of accessed virtual machines 6b, 6c and connected devices 2a, 2b, 2c, and are stored in the storage area of the master virtual machine 6a.
  • the display unit 37 displays that the file collection has ended.
  • the user confirms on the display screen that the slave archive files 14 have been created for all the target slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
  • the display screen displays an execution permission screen for backup of the image file of the master virtual machine 6a.
  • the user instructs the master backup/restore unit 12 to execute the master backup process by executing the execution button on the screen.
  • the master backup unit 12a of the master backup/restore unit 12 starts the master backup process of backing up the image file of the master virtual machine 6a.
  • the master backup unit 12a creates all the data in the master virtual machine 6a into one image file to create the master image file 15 (step S201).
  • the master image file 15 also includes data stored in the storage area of the master virtual machine 6a. That is, the file collecting/restoring unit 10 collects the files, and the data converting unit 11 also includes the slave archive file 14 converted into the archive file and the file collection list 13.
  • the master image file 15 converted into an image file is stored in the external storage device 3 (step S202), and the master backup process ends.
  • the backup destination is not limited to the external storage device 3 and may be a backup area in the hard disk device 34.
  • the backup destination may be specified by the user in the master backup/restore unit 12. Since the master backup/restore unit 12 has a general-purpose function of backing up/restoring the image file of the virtual machine 6a, it may be a system restore tool included in the operating system or commercially available backup/restore software.
  • the backup process is complete.
  • the data in the virtual machine 6a to be backed up does not include the guest OS 7a and the backup/restore device 9.
  • the information processing apparatus 1 backs up only the files in the virtual machine, and the common part is complemented by being restored by the virtual machine initialization unit 16 which is an initialization function included in the product itself.
  • the backup target is the master virtual environment
  • the image size is reduced compared to backing up all drives. Further, since it is possible to make one image file, it is not necessary to manage and back up the image file for each virtual environment. Therefore, the time required for backup is also reduced.
  • the restore process is performed by initializing the information processing apparatus 1 to the factory shipping state and then restoring the backed up data.
  • the master image file 15 stored in the external storage device 3 is expanded to restore the image file of the master virtual machine 6a.
  • the slave archive file 14 is expanded and the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c are restored.
  • the user uses the virtual machine initialization unit 16 included in the information processing device 1 to initialize the information processing device 1 to the factory shipping state.
  • the information processing device 1 is restored to a state in which the guest machines 7a, 7b, 7c are included in the virtual machines 6a, 6b, 6c.
  • the master virtual machine 6a is restored to a state in which the guest OS 7a further includes the backup/restore device 9.
  • a recovery program for initializing the information processing device 1 to the factory default state is stored in the recovery area in the hard disk device 34 of the information processing device 1.
  • the recovery program may be stored in a portable recording medium such as the ROM 32 of the information processing device 1, the external storage device 3, a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), or the like. Good.
  • the information processing device 1 When the information processing device 1 is powered on, the information processing device 1 reads a BIOS (Basic Input Output System) from the ROM 32 and executes the BIOS.
  • BIOS Basic Input Output System
  • the BIOS When the BIOS is executed, the user performs a key input operation to display a boot device setting screen.
  • the user sets the hard disk device 34 in which the recovery program is stored on the setting screen as a boot device.
  • the recovery program in the recovery area of the hard disk device 34 is read and the virtual machine initialization unit 16 is activated.
  • An image file of the storage contents of the hard disk device 34 at the time of factory shipment is stored in the recovery area of the external storage device 3, the portable recording medium or the hard disk device 34.
  • the image file includes a root OS, hypervisor, guest OS, backup/restore program, device driver, application program, and various data.
  • the virtual machine initialization unit 16 installs the image file and restores the information processing apparatus 1 to the initial state when shipped from the factory.
  • each virtual machine is set to have a guest OS, application programs, etc. installed, and the master virtual machine 6a is further provided with a backup/restore apparatus 9.
  • Is set The user restarts the information processing device 1 after initializing the information processing device 1.
  • the information processing device 1 executes the BIOS, reads the OS from the hard disk device 34, loads the OS into the RAM 33, and activates the OS.
  • the user activates the backup/restore device 9 from the master virtual machine 6a to execute a process of restoring the virtual machines 6a, 6b, 6c and the connected devices 2a, 2b, 2c.
  • the backup/restore device 9 may be automatically started by restarting the information processing device 1.
  • the user designates the master image file 15 stored in the external storage device 3 as the restore source to the master backup/restore unit 12 of the backup/restore device 9 and instructs the execution of the restore.
  • the master restore unit 12b of the master backup/restore unit 12 starts the master restore process for restoring the master image file 15.
  • the master restore unit 12b reads the master image file 15 from the external storage device 3 (step S301).
  • the master restore unit 12b restores the data of the virtual machine 6a by writing the read master image file 15 in the storage area of the master virtual machine 6a (step S302).
  • the master virtual machine 6a is restored to a state including the data of the master virtual machine 6a, the slave archive file 14, and the file collection list 13.
  • the display unit 37 displays a message indicating that the restore of the master virtual machine 6a has ended.
  • the user confirms that the master virtual machine 6a has been restored.
  • the display screen displays a restore execution permission screen for the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
  • the user instructs the file collection/restoration unit 10 to execute the slave restoration process by executing the execution button on the screen.
  • the file restoration unit 10c of the file collection/restoration unit 10 executes slave restoration processing according to the flow shown in FIG.
  • the file restoration unit 10c uses the data conversion unit 11 to expand the slave archive file 14 and convert it into a state in which it can be restored to the slave.
  • the file restore unit 10c uploads the file obtained by expanding the slave archive file 14 to the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
  • step S401 it is determined whether or not all the device information of the slave virtual machines 6b and 6c to be restored and the connected devices 2a, 2b and 2c have been read.
  • step S401 since neither device has been accessed and the device information has not been read yet (step S401: No), one piece of connected device information is read from the file collection list 13 (step S402). Connection information is read from the read connection device information, and the identification information in the connection information is used to access the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c (step S403).
  • step S404: Yes referring to the file collection list 13, the slave virtual machines 6b and 6c or the connection devices 2a, 2b and 2c downloaded to the archive decompression unit 11b of the data conversion unit 11 are referred to.
  • An instruction to expand the slave archive file 14 is issued (step S405).
  • step S404: No it is determined whether the number of retries for accessing the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c exceeds a specified value (step S404: No).
  • Step S406 When the number of retries does not exceed the specified value (step S406: No), the number of retries is incremented by 1 (step S407), the process returns to step S403, and the access is performed again.
  • the archive expansion unit 11b Upon receiving the expansion instruction of the slave archive file 14 in step S405, the archive expansion unit 11b responds to the expansion instruction by the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c stored in the master storage area.
  • the slave archive file 14 of is expanded.
  • the file restore unit 10c uploads the expanded file to the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c (step S408).
  • the upload is completed, the status in the connection information is changed to completed (step S409).
  • the number of retries of access to the slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c exceeds the specified value (step S406: Yes), the status is changed to complete (step S409).
  • Step S401 When restoration of one slave virtual machine 6b, 6c or connected device 2a, 2b, 2c is completed, it is confirmed whether there is another slave virtual machine 6b, 6c or connected device 2a, 2b, 2c that needs to be restored. (Step S401). If there are other items, the above-described processing from step S402 to step S409 is repeated. If there are no other slave virtual machines 6b, 6c or connected devices 2a, 2b, 2c that need to be restored (step S401: Yes), the slave restoration process ends.
  • the master restore unit 12b restores the virtual environment of the master virtual machine 6a from the master image file 15 of the external storage device 3.
  • the slave archive file 14 is restored in the storage area of the master virtual machine 6a and expanded via the archive expanding unit 11b.
  • the file restore unit 10c restores the expanded file to the target virtual machines 6b and 6c and the connected devices 2a, 2b and 2c. Since the image file stored in the external storage device 3 is only the master image file 15, it is not necessary to manage the image file for each virtual environment and to backup/restore it. In addition, it is possible to backup/restore files of connected connected devices, and it is possible to easily realize backup/restoration of the entire device or the entire manufacturing line.
  • the file collection setting unit 10a reads the previously created file collection list 13 from the storage area of the master virtual machine 6a (step S501).
  • the file collection setting unit 10a accesses the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to read the file configuration information (step S502).
  • the previously created file collection list 13 is compared with the read file configuration information, and the newly added, changed, or deleted file is extracted (step S503).
  • Whether a file has been added, changed, or deleted is determined by the file path name, file update date, file size, and the like. If the new file path name exists, it is determined that the file has been added. If the file path name has not changed and the file update date and the file size have changed, it is determined that the file has been changed. When the file path name no longer exists, it is determined that the file has been deleted.
  • the file collection list 13 created in the first embodiment is a list created by the user selecting whether or not the files need to be backed up. Therefore, a file that was not previously selected as not requiring backup may be recognized as a newly added file.
  • a list of unselected files is created in the file collection list 13. With this, by referring to this list when extracting files, the files described in this list can not be recognized as additional files. Alternatively, the determination may be made based on the file update date. If the update date of the file is before the creation date of the previous file collection list 13, it is determined that the file is not newly added this time.
  • the previously created file collection list 13 is updated to create a new file collection list 13 (step S504).
  • the file collection list 13 may be separately created without updating the file collection list 13.
  • the file collection unit 10b of the file collection/restore unit 10 collects the added and changed files based on the new file collection list 13. This file collection process will be described with reference to FIG.
  • the file collection unit 10b accesses the target slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to download the added or changed file (step S601). ..
  • the previously created slave archive file 14 stored in the storage area of the master virtual machine 6a is expanded by the data conversion unit 11.
  • the downloaded additional file is added to the file group obtained by expanding the slave archive file 14, and the file before change is replaced by the downloaded file after change.
  • the deleted file is deleted from the file group in which the slave archive file 14 is expanded (step S602).
  • the archive creation unit 11a creates an updated slave archive file 14 by converting the files into archive files for each slave virtual machine and each connected device (step S603).
  • the created slave archive file 14 is stored in the storage area of the master virtual machine 6a.
  • the master backup unit 12a of the master backup/restore unit 12 converts all the data including the slave archive file 14 into one image file and creates the updated master image file 15. To do.
  • the created master image file is stored in the external storage device 3.
  • the slave archive file 14 may not be updated by being replaced with the newly added, changed, or deleted file, and an archive file may be separately created for the newly added or changed file. As described above, it becomes possible to back up the newly added, changed, or deleted file.
  • the file configuration information read by accessing the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c is compared with the file collection list 13 to create a new backup file.
  • the slave virtual machines 6b and 6c and the connection devices 2a, 2b and 2c are accessed and read, and the slave virtual machines 6b and 6c and the connection devices in the state where the information processing apparatus 1 is initialized.
  • a backup file may be created by comparing the file configuration information of 2a, 2b, and 2c and extracting the added, changed, or deleted file.
  • the file collection setting unit 10a reads out the file configuration information of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c and stores it in advance when the information processing device 1 is in the initialization state.
  • the backup process is performed when a file is added, changed, or deleted, when a user's instruction is received, or periodically.
  • the file configuration information in the initialized state stored in advance is read (step S701).
  • the file collection setting unit 10a accesses the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to read the file configuration information (step S702).
  • the read file configuration information and the file configuration information in the initialized state are compared to extract the added, changed, and deleted files, and the file collection list 13 is created (step S703).
  • Step S704 the file collection unit 10b accesses the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c based on the updated file collection list 13 to collect files.
  • Step S704 The collected file is converted into an archive file by the data conversion unit 11, and a slave archive file 14 is created.
  • the updated slave archive file 14 is saved in the storage area of the master virtual machine 6a (step S705).
  • the master backup unit 12a of the master backup/restore unit 12 converts the entire data of the master virtual machine 6a into one image file and updates the master image file 15 (step S706). ..
  • the procedure of expanding the slave archive file 14 previously created in the second embodiment and adding, changing, or deleting the file to create a new slave archive file 14 can be omitted.
  • each process executed by the file collecting unit 10b, the archive creating unit 11a, the master backup unit 12a, the master restore unit 12b, the archive expanding unit 11b, and the file restore unit 10c is a program, and is read by a computer, for example. It may be stored in a recordable medium such as a CD-ROM or a DVD-ROM, which can be distributed. By installing this program in a computer, a computer that can realize the above-described processing may be configured. Then, in the case where each process is realized by sharing of the OS and the application, or when the OS and the application cooperate with each other, only the application may be stored in the recording medium.
  • the present invention can be widely applied to information processing devices that use virtual machines.
  • 1 information processing device 2a, 2b, 2c connected device, 3 external storage device, 4 hypervisor, 5 root OS, 6a, 6b, 6c virtual machine, 7a, 7b, 7c guest OS, 8a, 8b, 8c, 8d, 8e, 42a, 42b, 42c, 42d, 42e files, 9 backup/restore device, 10 file collection/restore unit, 10a file collection setting unit, 10b file collection unit, 10c file restore unit, 11 data conversion unit, 11a archive creation Section, 11b archive expansion section, 12 master backup/restore section, 12a master backup section, 12b master restore section, 13 file collection list, 14 slave archive file, 15 master image file, 16 virtual machine initialization section, 31 CPU, 32 ROM, 33 RAM, 34 hard disk device, 35 input/output unit, 36 operation unit, 37 display unit, 41 selection screen.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Retry When Errors Occur (AREA)

Abstract

An information processing device (1) comprises a master virtual machine (6a) and slave virtual machines (6b, 6c). The master virtual machine (6a) is provided with a file collection unit (10b) for collecting files in the slave virtual machines (6b, 6c), an archive creation unit (11a) for creating an archive file of the collected files and storing the same in the master virtual machine (6a), and a master backup unit (12a) for creating the image file of a second virtual machine (6a) that includes the archive file of the files and backs up the same in an external storage device (3).

Description

情報処理装置、バックアップ方法、リストア方法およびプログラムInformation processing device, backup method, restore method, and program
 本発明は、情報処理装置、バックアップ方法、リストア方法およびプログラムに関する。 The present invention relates to an information processing device, a backup method, a restore method and a program.
 仮想化環境を構築した情報処理装置において、複数の仮想マシンを連動して同時に稼働させることがある。
 例えば、ファクトリーオートメーションの分野において、ある仮想マシンでリアルタイムオペレーティングシステム(以下、OS)と制御アプリケーションを動作させ、別の仮想マシンで非リアルタイムOSと情報処理アプリケーションを動作させ、両仮想マシンを連携させる場合である。
In an information processing apparatus that has built a virtual environment, a plurality of virtual machines may be operated in synchronization with each other.
For example, in the field of factory automation, when a virtual machine operates a real-time operating system (hereinafter referred to as OS) and a control application, and another virtual machine operates a non-real-time OS and an information processing application so that both virtual machines are linked. Is.
 仮想化環境を構築した情報処理装置はハードディスク装置等の記憶装置を有しており、記憶装置のクラッシュに備え、記憶装置内のデータを外部記憶装置にバックアップすることがある。 An information processing device that has built a virtual environment has a storage device such as a hard disk device, and in case of a storage device crash, the data in the storage device may be backed up to an external storage device.
 複数の仮想マシン(ゲストOS)は、ホストOS上で動作する。特許文献1は、ホストOSが、仮想マシンのバックアップを行うバックアップ機能部を備えることを開示する。ホストOSからは、仮想マシンはVHD(Virtual Hard Disk )ファイルを含むファイルの集まりに見え、バックアップ機能部が仮想マシンを実現するファイルをバックアップすることにより仮想マシンのバックアップを行う。ここで、仮想マシンが安定的に動作するためには、ホストOSの機能を制限した方が好ましい。例えば、ホストOSは仮想マシンの管理に特化し、ユーザがホストOSにアクセスすることを制限する情報処理装置がある。このような場合、仮想マシン上でバックアップを実現できる情報処理装置が求められる。 -Multiple virtual machines (guest OS) operate on the host OS. Patent Document 1 discloses that the host OS includes a backup function unit that backs up a virtual machine. From the host OS, the virtual machine looks like a collection of files including VHD (Virtual Hard Disk) files, and the backup function unit backs up the files that implement the virtual machine to back up the virtual machine. Here, in order for the virtual machine to operate stably, it is preferable to limit the functions of the host OS. For example, there is an information processing device in which a host OS specializes in managing virtual machines and restricts a user from accessing the host OS. In such a case, an information processing device that can realize backup on a virtual machine is required.
特開2013-156873号公報JP, 2013-156873, A
 しかしながら、仮想マシン上にバックアップ機能部を設けた場合、各仮想マシンはVHDファイルの集まりと認識できないため、バックアップを実現することができない。つまり、複数の仮想マシンが含まれるシステムで、ホストOSにバックアップ機能部を設けない情報処理装置においては、複数の仮想マシンのバックアップを適切に実施することが困難であった。 However, if a backup function unit is provided on the virtual machine, each virtual machine cannot recognize it as a collection of VHD files, and thus backup cannot be realized. That is, in a system including a plurality of virtual machines, it is difficult to properly perform a backup of the plurality of virtual machines in an information processing device that does not have a backup function unit in the host OS.
 本発明は、上述の事情に鑑みてなされたものであり、複数の仮想マシンが含まれる情報処理装置において、仮想マシンの連携により、仮想マシンのバックアップを実現することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to realize backup of virtual machines in cooperation with virtual machines in an information processing apparatus including a plurality of virtual machines.
 上記目的を達成するために、本発明の情報処理装置は、第1の仮想マシンと第2の仮想マシンを備え、第2の仮想マシンは、第1の仮想マシン上のファイルを収集するファイル収集部と、収集したファイルのアーカイブファイルを作成し、第2の仮想マシン上に格納するアーカイブ作成部と、アーカイブファイルを含む第2の仮想マシンのイメージファイルを作成し、外部記憶装置にバックアップするバックアップ部と、を備える。 In order to achieve the above object, an information processing apparatus of the present invention includes a first virtual machine and a second virtual machine, and the second virtual machine collects files on the first virtual machine. Part, an archive creation part that creates an archive file of the collected files and stores it in the second virtual machine, and a backup that creates an image file of the second virtual machine including the archive file and backs it up to an external storage device And a section.
 本発明によれば、複数の仮想マシンが含まれる情報処理装置において、仮想マシンの連携により、仮想マシンのバックアップを実現することができる。 According to the present invention, in an information processing device including a plurality of virtual machines, the virtual machines can be backed up by linking the virtual machines.
本発明の第1の実施の形態に係る情報処理装置の機能的構成を示す図The figure which shows the functional structure of the information processing apparatus which concerns on the 1st Embodiment of this invention. 図1の情報処理装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the information processing apparatus of FIG. 図1のファイル収集設定部によるファイル収集リスト作成ための選択画面の一例を示す図The figure which shows an example of the selection screen for the file collection list creation by the file collection setting part of FIG. 図3の選択画面からの選択により作成されたファイル収集リストの一例を示す図The figure which shows an example of the file collection list created by selection from the selection screen of FIG. 図1のファイル収集部のファイル収集処理を示すフローチャートThe flowchart which shows the file collection process of the file collection part of FIG. 図1のマスタバックアップ部のマスタバックアップ処理を示すフローチャートThe flowchart which shows the master backup process of the master backup part of FIG. 図1のマスタリストア部のマスタリストア処理を示すフローチャートThe flowchart which shows the master restoration process of the master restoration part of FIG. 図1のファイルリストア部のスレーブリストア処理を示すフローチャートThe flowchart which shows the slave restoration process of the file restoration part of FIG. 本発明の第2の実施の形態に係る情報処理装置のファイル収集設定部のリスト作成処理を示すフローチャートThe flowchart which shows the list preparation process of the file collection setting part of the information processing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る情報処理装置のファイル収集部のファイル収集処理を示すフローチャートThe flowchart which shows the file collection process of the file collection part of the information processing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係る情報処理装置のバックアップ処理を示すフローチャートThe flowchart which shows the backup process of the information processing apparatus which concerns on the 3rd Embodiment of this invention.
 以下、本発明の実施の形態にかかる情報処理装置、バックアップ方法、リストア方法およびプログラムについて図面を参照して詳細に説明する。 Hereinafter, an information processing device, a backup method, a restore method, and a program according to an embodiment of the present invention will be described in detail with reference to the drawings.
(第1の実施の形態)
 図1は、本発明の実施の形態にかかる情報処理装置1の構成を示すブロック図である。
 情報処理装置1は、生産現場において生産機械、センサ、駆動機器等のFA(Factory Automation:ファクトリーオートメーション)機器を制御し、FA機器からデータを収集し、各種分析を行う産業用のコンピュータである。
(First embodiment)
FIG. 1 is a block diagram showing a configuration of an information processing device 1 according to the exemplary embodiment of the present invention.
The information processing apparatus 1 is an industrial computer that controls FA (Factory Automation) equipment such as production machines, sensors, and drive equipment at a production site, collects data from the FA equipment, and performs various analyses.
 情報処理装置1には、複数の接続機器2a,2b,2cが接続されている。接続機器2a,2b,2cは、組立ロボット等の被制御機器を制御するPLC(Programmable Logic Controller:プログラマブルロジックコントローラ)を備える。情報処理装置1は、複数の接続機器2a,2b,2cにデータの送信を要求する情報、制御情報を送信し、複数の接続機器2a,2b,2cは、センサが計測したデータ、要求されたデータ等種々の情報を送信する。なお、図1において、接続機器2a,2b,2cの3台が示されているが、一例であって接続台数は制限されない。 A plurality of connected devices 2a, 2b, 2c are connected to the information processing device 1. The connected devices 2a, 2b, 2c include PLCs (Programmable Logic Controllers) that control controlled devices such as assembly robots. The information processing device 1 transmits information requesting data transmission and control information to the plurality of connected devices 2a, 2b, 2c, and the plurality of connected devices 2a, 2b, 2c requested data measured by sensors It sends various information such as data. Although three connected devices 2a, 2b, and 2c are shown in FIG. 1, this is an example and the number of connected devices is not limited.
 また、情報処理装置1には、バックアップデータを記憶するハードディスク装置、テープ装置等の外部記憶装置3が接続されている。 An external storage device 3 such as a hard disk device or a tape device for storing backup data is connected to the information processing device 1.
 情報処理装置1は、物理的なコンピュータ上で、複数の仮想的なコンピュータを動作させる仮想化環境を構築している。情報処理装置1は、ハイパーバイザ4とそれを管理するルートOS(Operating System:オペレーティングシステム)5を含む。ハイパーバイザ4上で複数の仮想マシン6a,6b,6cが動作する。各仮想マシン6a,6b,6c上で、ゲストOS(Operating System:オペレーティングシステム)7a,7b,7cがそれぞれ動作している。ゲストOS7b,7c上に、それぞれアプリケーションプログラム、ユーザデータ等の複数のファイル8a,8bが存在している。 The information processing device 1 builds a virtual environment in which a plurality of virtual computers operate on a physical computer. The information processing device 1 includes a hypervisor 4 and a root OS (Operating System) 5 that manages the hypervisor 4. A plurality of virtual machines 6a, 6b, 6c operate on the hypervisor 4. Guest OSs (Operating System) 7a, 7b, 7c are operating on the respective virtual machines 6a, 6b, 6c. A plurality of files 8a and 8b such as application programs and user data exist on the guest OSs 7b and 7c, respectively.
 ハイパーバイザ4は、複数の仮想マシンを実現するためのソフトウェアプログラムである。ハイパーバイザ4は、CPU(Central Processing Unit)の処理能力、RAM(Random Access Memory)とハードディスクの記録領域等のリソースを複数の仮想マシン6a,6b,6cに割り振る。 The hypervisor 4 is a software program for realizing multiple virtual machines. The hypervisor 4 allocates resources such as a CPU (Central Processing Unit) processing capacity, a RAM (Random Access Memory), and a recording area of a hard disk to a plurality of virtual machines 6a, 6b, 6c.
 ルートOS5は、ハイパーバイザ4を起動し、管理するオペレーティングシステムであり、ホストOSと同義である。ルートOS5は、リアルタイム応答性の高いリアルタイムOSである。 Root OS 5 is an operating system that activates and manages the hypervisor 4, and is synonymous with the host OS. The root OS 5 is a real-time OS with high real-time responsiveness.
 仮想マシン6a,6b,6cは、ハイパーバイザ4上で動作する仮想化されたコンピュータである。それぞれの仮想マシン6a,6b,6cは、1台のコンピュータのハードウェアのように振る舞う。 The virtual machines 6a, 6b, 6c are virtualized computers that operate on the hypervisor 4. Each virtual machine 6a, 6b, 6c behaves like the hardware of one computer.
 ゲストOS7a,7b,7cは仮想マシン6a,6b,6cにそれぞれインストールされ、仮想マシン6a,6b,6cで動作するOSである。ゲストOS7a,7b,7cは、FA機器のリアルタイム制御を行うリアルタイム応答性の高いリアルタイムOS、または豊富なアプリケーションプログラムを搭載した非リアルタイムの汎用OSである。仮想マシン6a,6b,6cは、ゲストOS7a、7b、7cとして、リアルタイムOSと汎用OSのいずれかを搭載している。 The guest OSs 7a, 7b, 7c are OSs installed in the virtual machines 6a, 6b, 6c and operating in the virtual machines 6a, 6b, 6c. The guest OSs 7a, 7b, and 7c are real-time OSs having high real-time responsiveness for performing real-time control of FA devices, or non-real-time general-purpose OSs equipped with abundant application programs. The virtual machines 6a, 6b, 6c are each equipped with a real-time OS or a general-purpose OS as the guest OS 7a, 7b, 7c.
 リアルタイムOSであるゲストOS上に、FA機器を制御するソフトウェアプログラム、FA機器からデータを収集するソフトウェアプログラム、収集したデータを診断するソフトウェアプログラム、FA機器の各種パラメータを設定するソフトウェアプログラム、収集したデータ、データの診断結果のデータ等のファイルが設けられている。 On the guest OS, which is a real-time OS, a software program for controlling the FA device, a software program for collecting data from the FA device, a software program for diagnosing the collected data, a software program for setting various parameters of the FA device, and the collected data. A file for data of the data diagnosis result is provided.
 汎用OSであるゲストOS上に、FA機器から収集したデータを解析・分析するソフトウェアプログラム、解析・分析結果のデータ等のファイルが設けられている。 On the guest OS, which is a general-purpose OS, a software program that analyzes/analyzes the data collected from FA devices, and files such as data of analysis/analysis results are provided.
 これらのソフトウェアプログラムは、ゲストOS7a,7b,7cの上で動作し、処理を実行する。 -These software programs operate on the guest OSs 7a, 7b, 7c and execute processing.
 仮想マシン6aは、他の仮想マシン6b,6cと異なり、バックアップ・リストア装置9を備えている。バックアップ・リストア装置9は、後述するように仮想マシン6b,6c内のソフトウェアプログラムとデータとのファイルを外部記憶装置3にバックアップおよび外部記憶装置3からリストアする。バックアップ・リストア装置9が搭載された仮想マシン6aはマスタとして動作し、仮想マシン6b,6cはバックアップ・リストアの対象となるスレーブとなる。仮想マシン6aは、汎用OSで動作したほうが好ましい。汎用OSは、ドライバが豊富で、外部記憶装置3とのインタフェースの準備が容易であり、バックアップ・リストア装置9を含む仮想マシン6aは汎用OSを用いるメリットがある。一方、仮想マシン6b、6cはリアルタイムOSで動作する。リアルタイムOSはドライバが豊富ではなく、専用の設計が必要な場合があるため、外部記憶装置3に接続するインタフェースを備えていない。そのような構成であっても、仮想マシン6aを介することで、仮想マシン6b、6cのバックアップも可能である。仮想マシン6b,6cは、第1の仮想マシンの一例であり、仮想マシン6aは第2の仮想マシンの一例である。本実施の形態では、スレーブとなる仮想マシンとして仮想マシン6b,6cの2台が記載されているが、実施の一例であって、スレーブの仮想マシンの数は限定されない。 Unlike the other virtual machines 6b and 6c, the virtual machine 6a includes a backup/restore device 9. The backup/restore device 9 backs up and restores files of software programs and data in the virtual machines 6b and 6c to the external storage device 3 and from the external storage device 3 as described later. The virtual machine 6a equipped with the backup/restore device 9 operates as a master, and the virtual machines 6b and 6c serve as slaves to be backed up and restored. The virtual machine 6a is preferably operated by a general-purpose OS. The general-purpose OS has abundant drivers, and it is easy to prepare an interface with the external storage device 3, and the virtual machine 6a including the backup/restore device 9 has an advantage of using the general-purpose OS. On the other hand, the virtual machines 6b and 6c operate with a real-time OS. The real-time OS does not have an interface for connecting to the external storage device 3 because the real-time OS is not rich in drivers and may require a dedicated design. Even with such a configuration, the virtual machines 6b and 6c can be backed up via the virtual machine 6a. The virtual machines 6b and 6c are an example of a first virtual machine, and the virtual machine 6a is an example of a second virtual machine. In the present embodiment, two virtual machines 6b and 6c are described as slave virtual machines, but this is an example of implementation, and the number of slave virtual machines is not limited.
 バックアップ・リストア装置9は、スレーブの仮想マシン6b,6cに記憶されているファイルを収集するとともにスレーブの仮想マシン6b,6cにファイルをリストアするファイル収集・リストア部10と、仮想マシン6b,6cから収集されたファイルをアーカイブファイルに変換するとともにアーカイブファイルを展開するデータ変換部11と、イメージファイルをバックアップするとともにバックアップされたイメージファイルをリストアするマスタバックアップ・リストア部12と、を備えている。 The backup/restore device 9 collects the files stored in the slave virtual machines 6b and 6c and restores the files to the slave virtual machines 6b and 6c, and the virtual machines 6b and 6c. A data conversion unit 11 that converts the collected files into an archive file and expands the archive file, and a master backup/restore unit 12 that backs up the image file and restores the backed up image file are provided.
 アーカイブファイルとは、複数のファイルを1つにまとめたファイルである。イメージファイルとは、記憶装置に記録されたデータを、ファイルおよびフォルダ構造を保ったままファイル化したデータである。 Archive files are files that combine multiple files into one. An image file is data in which data recorded in a storage device is filed while maintaining the file and folder structure.
 ファイル収集・リストア部10は、スレーブの仮想マシン6b,6cから収集するファイルのリストを作成するファイル収集設定部10aと、リストに基づいてスレーブの仮想マシン6b,6cからファイルを収集するファイル収集部10bと、仮想マシン6b,6cにファイルをリストアするファイルリストア部10cと、を備えている。 The file collection/restoration unit 10 includes a file collection setting unit 10a that creates a list of files to be collected from the slave virtual machines 6b and 6c, and a file collection unit that collects files from the slave virtual machines 6b and 6c based on the list. 10b and a file restore unit 10c for restoring files to the virtual machines 6b and 6c.
 ファイル収集設定部10aは、スレーブである仮想マシン6b,6cに記憶されているファイルのうちのバックアップする対象のファイルを特定し、特定したバックアップ対象のファイルのリストであるファイル収集リスト13を作成する。さらに、ファイル収集設定部10aは、接続機器2a,2b,2cに記憶されているファイルについても、バックアップするファイルを特定してファイル収集リスト13を作成する。ファイル収集設定部10aは、ファイル収集リスト13の作成に先立ち、バックアップしたファイルを選択する選択画面を表示して、ユーザにバックアップを必要とするファイルを選択させる。 The file collection setting unit 10a specifies files to be backed up among files stored in the slave virtual machines 6b and 6c, and creates a file collection list 13 that is a list of the specified files to be backed up. .. Further, the file collection setting unit 10a also specifies files to be backed up for the files stored in the connected devices 2a, 2b, 2c and creates the file collection list 13. Prior to the creation of the file collection list 13, the file collection setting unit 10a displays a selection screen for selecting a backed up file and prompts the user to select a file that needs to be backed up.
 ファイル収集部10bは、作成されたファイル収集リスト13に基づいて、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスして各仮想マシンおよび各接続機器毎にバックアップ対象のファイルを収集する。さらに、ファイル収集部10bは、収集したファイルを仮想マシン6b,6cおよび接続機器2a,2b,2cの各々毎にアーカイブファイルに変換することをデータ変換部11に指示する。 The file collection unit 10b accesses the slave virtual machines 6b, 6c and the connection devices 2a, 2b, 2c based on the created file collection list 13 to select files to be backed up for each virtual machine and each connection device. collect. Further, the file collection unit 10b instructs the data conversion unit 11 to convert the collected files into archive files for each of the virtual machines 6b and 6c and the connected devices 2a, 2b and 2c.
 ファイルリストア部10cは、収集されたファイルを仮想マシン6b,6cおよび接続機器2a,2b,2cにリストアする。 The file restore unit 10c restores the collected files to the virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
 データ変換部11は、収集されたファイルのアーカイブファイルを作成するアーカイブ作成部11aと、アーカイブファイルを展開するアーカイブ展開部11bと、を備える。 The data conversion unit 11 includes an archive creation unit 11a that creates an archive file of the collected files and an archive expansion unit 11b that expands the archive file.
 アーカイブ作成部11aは、ファイル収集部10bによって収集されたファイルをスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2c毎にアーカイブファイルに変換し、スレーブアーカイブファイル14を作成する。アーカイブ作成部11aは、作成したスレーブアーカイブファイル14をマスタの仮想マシン6aの記憶領域に保存する。 The archive creation unit 11a creates a slave archive file 14 by converting the files collected by the file collection unit 10b into archive files for each of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c. The archive creating unit 11a saves the created slave archive file 14 in the storage area of the master virtual machine 6a.
 アーカイブ展開部11bは、ファイルリストア部10cによって読み出されたスレーブアーカイブファイル14を展開する。 The archive expansion unit 11b expands the slave archive file 14 read by the file restore unit 10c.
 マスタバックアップ・リストア部12は、マスタである仮想マシン6aのイメージファイルをバックアップするマスタバックアップ部12aと、バックアップされた仮想マシン6aのイメージファイルをリストアするマスタリストア部12bと、を備える。マスタバックアップ部12aは請求項のバックアップ部の一例であり、マスタリストア部12bは、請求項のリストア部の一例である。 The master backup/restore unit 12 includes a master backup unit 12a that backs up the image file of the virtual machine 6a that is a master, and a master restore unit 12b that restores the backed up image file of the virtual machine 6a. The master backup unit 12a is an example of the claimed backup unit, and the master restore unit 12b is an example of the claimed restore unit.
 マスタバックアップ部12aは、仮想マシン6a内のすべてのデータをイメージファイルに変換してマスタイメージファイル15を作成してバックアップファイルとして外部記憶装置3に記憶する。 The master backup unit 12a converts all the data in the virtual machine 6a into an image file, creates a master image file 15, and stores it in the external storage device 3 as a backup file.
 マスタリストア部12bは、外部記憶装置3に記憶されたバックアップファイルであるマスタイメージファイル15を読み出して、展開し、仮想マシン6aにリストアする。 The master restore unit 12b reads the master image file 15 that is a backup file stored in the external storage device 3, expands it, and restores it in the virtual machine 6a.
 バックアップ・リストア装置9は、バックアップの過程において、ファイル収集リスト13、スレーブアーカイブファイル14、マスタイメージファイル15を作成する。 The backup/restore device 9 creates a file collection list 13, a slave archive file 14, and a master image file 15 in the process of backup.
 ファイル収集リスト13は、ファイル収集設定部10aによって作成されたスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cに含まれるファイルのうちのバックアップする対象のファイルのリストである。ファイル収集リスト13は、マスタの仮想マシン6aの記憶領域に記憶される。 The file collection list 13 is a list of files to be backed up among the files included in the slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c created by the file collection setting unit 10a. The file collection list 13 is stored in the storage area of the master virtual machine 6a.
 スレーブアーカイブファイル14は、データ変換部11によってアーカイブファイルに変換されたスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cに含まれるファイルである。スレーブアーカイブファイル14は、マスタの仮想マシン6aの記憶領域に記憶される。 The slave archive file 14 is a file included in the slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c, which are converted into archive files by the data conversion unit 11. The slave archive file 14 is stored in the storage area of the master virtual machine 6a.
 マスタイメージファイル15は、スレーブアーカイブファイル14を含むマスタの仮想マシン6aの記憶領域に記憶された全てのデータのイメージファイルである。マスタイメージファイル15は、外部記憶装置3に記憶される。 The master image file 15 is an image file of all data stored in the storage area of the master virtual machine 6a including the slave archive file 14. The master image file 15 is stored in the external storage device 3.
 仮想マシン初期化部16は、情報処理装置1を工場出荷時状態に初期化する。初期化後、情報処理装置1は、仮想マシン6a,6b,6cにゲストOS7a,7b,7cが含まれた状態にリストアされる。ただし、マスタの仮想マシン6aは、ゲストOS7aに加えてバックアップ・リストア装置9が含まれた状態にリストアされる。 The virtual machine initialization unit 16 initializes the information processing device 1 to the factory shipping state. After the initialization, the information processing device 1 is restored to a state in which the guest machines 7a, 7b, 7c are included in the virtual machines 6a, 6b, 6c. However, the master virtual machine 6a is restored to a state in which the backup/restore device 9 is included in addition to the guest OS 7a.
 図2に、情報処理装置1のハードウェア構成の例を示す。
 情報処理装置1は、制御処理を行うCPU31と、プログラム、データを記憶するROM(Read Only Memory)32と、プログラム、データの一時的な格納領域であるRAM33と、大容量の記憶装置であるハードディスク装置34と、外部装置と送受信を行う入出力部35と、入力操作を行う操作部36と、画像を表示する表示部37と、を備える。情報処理装置1が備える各構成要素は、バスを介して相互に接続される。
FIG. 2 shows an example of the hardware configuration of the information processing device 1.
The information processing apparatus 1 includes a CPU 31 that performs control processing, a ROM (Read Only Memory) 32 that stores programs and data, a RAM 33 that is a temporary storage area for programs and data, and a hard disk that is a large-capacity storage device. The apparatus 34 includes an apparatus 34, an input/output unit 35 that transmits and receives to and from an external device, an operation unit 36 that performs an input operation, and a display unit 37 that displays an image. The components included in the information processing device 1 are connected to each other via a bus.
 CPU31は、情報処理装置1の全体の動作を制御する。なお、CPU31は、ROM32に格納されているプログラムに従って動作し、RAM33をワークエリアとして使用する。ROM32は、情報処理装置1の全体の動作を制御するためのプログラム、データを記憶する。RAM33は、CPU31のワークエリアとして機能する。つまり、CPU31は、RAM33にプログラム、データを一時的に書き込み、これらのプログラム、データを適宜利用する。 The CPU 31 controls the overall operation of the information processing device 1. The CPU 31 operates according to a program stored in the ROM 32 and uses the RAM 33 as a work area. The ROM 32 stores programs and data for controlling the overall operation of the information processing device 1. The RAM 33 functions as a work area for the CPU 31. That is, the CPU 31 temporarily writes a program and data in the RAM 33, and appropriately uses these programs and data.
 ハードディスク装置34は、情報を記憶する不揮発性の記憶装置である。ハードディスク装置34は、仮想マシンのプログラム、OS、各種アプリケーションプログラム、データを記憶する。 The hard disk device 34 is a non-volatile storage device that stores information. The hard disk device 34 stores a virtual machine program, an OS, various application programs, and data.
 入出力部35は、外部記憶装置3、接続機器2a,2b,2cとの間でデータを送受信する入出力インタフェースである。 The input/output unit 35 is an input/output interface that transmits/receives data to/from the external storage device 3 and the connected devices 2a, 2b, 2c.
 操作部36は、ユーザにより操作され、CPU31に種々の指示を入力する装置であり、キーボード、マウス等を備える。
 表示部37は、各種処理の実行結果の画面、操作画面等を表示する。
The operation unit 36 is a device that is operated by a user and inputs various instructions to the CPU 31, and includes a keyboard, a mouse, and the like.
The display unit 37 displays a screen of execution results of various processes, an operation screen, and the like.
 次に、上記構成を有する情報処理装置1の動作について説明する。 Next, the operation of the information processing device 1 having the above configuration will be described.
 情報処理装置1は、接続機器2a,2b,2cで実行される制御プログラムを、接続機器2a,2b,2cに送信する。接続機器2a,2b,2cは、制御プログラムを実行することにより、被制御機器を制御する。また、情報処理装置1は、接続機器2a,2b,2cに被制御機器のデータを要求する。接続機器2a,2b,2cは、データ収集を行う。収集されたデータは、情報処理装置1に送信される。
 ここで、装置制御、データ収集は、仮想マシン6a,6b,6cのうちリアルタイムOSを搭載する仮想マシンが実行する。また、収集されたデータの分析は、仮想マシン6a,6b,6cのうち汎用OSを搭載する仮想マシンが実行する。
The information processing device 1 transmits the control program executed by the connected devices 2a, 2b, 2c to the connected devices 2a, 2b, 2c. The connected devices 2a, 2b, 2c control the controlled device by executing the control program. Further, the information processing device 1 requests the connected devices 2a, 2b, 2c for the data of the controlled device. The connected devices 2a, 2b, 2c collect data. The collected data is transmitted to the information processing device 1.
Here, the device control and the data collection are executed by the virtual machine equipped with the real-time OS among the virtual machines 6a, 6b, 6c. Further, the analysis of the collected data is executed by the virtual machine having the general-purpose OS installed among the virtual machines 6a, 6b, 6c.
 次に、情報処理装置1におけるバックアップ処理について説明する。
 バックアップ処理は、マスタの仮想マシン6a内のバックアップ・リストア装置9によって、ファイルを追加、変更、削除をした時、ユーザの指示を受けた時あるいは定期的に行われる。バックアップ処理は、2段階で行われる。第1段階は、スレーブの仮想マシン6b,6c内のファイル8a,8bおよび接続機器2a,2b,2c内のファイル8c,8d,8eを収集してアーカイブファイルを作成し、アーカイブファイルをマスタの仮想マシン6aの記憶領域に保存することである。第2段階は、マスタの仮想マシン6aのイメージファイルを外部記憶装置3に保存することである。
Next, the backup process in the information processing device 1 will be described.
The backup process is performed by the backup/restore device 9 in the master virtual machine 6a when a file is added, changed, or deleted, when a user's instruction is received, or periodically. The backup process is performed in two stages. In the first stage, the files 8a, 8b in the slave virtual machines 6b, 6c and the files 8c, 8d, 8e in the connected devices 2a, 2b, 2c are collected to create an archive file, and the archive file is set as a virtual file of the master. Saving in the storage area of the machine 6a. The second step is to save the image file of the master virtual machine 6a in the external storage device 3.
 第1段階のスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2c内のファイル収集の前に、収集すべきファイルを指定するリストを作成する。
 最初にユーザは、バックアップ・リストア装置9からファイル収集・リストア部10のファイル収集設定部10aを呼び出して、バックアップ対象のファイルを指定する。ファイル収集設定部10aは、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2c内のファイル8a,8b,8c,8d,8eからバックアップ処理を行いたいファイルを選択することによって、ファイル収集設定部10aがバックアップ処理を行うファイルのリストであるファイル収集リスト13をユーザが作成する。
Before collecting files in the first stage slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c, a list designating files to be collected is created.
First, the user calls the file collection setting unit 10a of the file collection/restoration unit 10 from the backup/restore device 9 to specify a file to be backed up. The file collection setting unit 10a selects a file to be backed up from the files 8a, 8b, 8c, 8d, and 8e in the slave virtual machines 6b and 6c and the connected devices 2a, 2b, and 2c. The user creates a file collection list 13, which is a list of files to be backed up by the unit 10a.
 ファイル収集設定部10aが呼び出されると、表示部37の画面上にバックアップ対象ファイルを選択する選択画面が表示される。
 まず、ユーザは、情報処理装置1内のマスタの仮想マシン6aを除くスレーブの仮想マシン6b,6cおよび情報処理装置1に接続されている複数の接続機器2a,2b,2cの中からバックアップを行いたいファイルが存在する仮想マシンあるいは接続機器を選択する。
 仮想マシンあるいは接続機器が選択されると、ファイル収集設定部10aは、選択された仮想マシンあるいは接続装置にアクセスして選択された仮想マシンあるいは接続機器のファイル構成情報を読み出す。読み出されたファイル構成情報は、表示部37に選択画面として表示される。このファイル構成情報をユーザに提示して、バックアップの対象となるファイルをユーザに選択させる。
When the file collection setting unit 10a is called, a selection screen for selecting a backup target file is displayed on the screen of the display unit 37.
First, the user backs up from the slave virtual machines 6b and 6c excluding the master virtual machine 6a in the information processing apparatus 1 and a plurality of connected devices 2a, 2b and 2c connected to the information processing apparatus 1. Select the virtual machine or connected device where the desired file exists.
When the virtual machine or the connected device is selected, the file collection setting unit 10a accesses the selected virtual machine or the connected device and reads the file configuration information of the selected virtual machine or the connected device. The read file configuration information is displayed on the display unit 37 as a selection screen. This file configuration information is presented to the user so that the user can select the file to be backed up.
 図3は、バックアップ対象のファイルを選択する選択画面41の一例を示す。
 選択画面41は、選択された仮想マシンあるいは接続機器内のファイル構造を階層的に表示している。各ファイルのアイコンの右側に、ファイル名が表示されている。図3において、一番上のファイル42aは、ファイル名として「aaaa」を表示している。ファイル名「aaaa」のファイル42aには、下層のファイルとしてファイル名「bbbb」のファイル42bおよびファイル名「cccc」のファイル42cが表示されている。ファイル42cには、さらに下層のファイルとしてファイル名「dddd」のファイル42dおよびファイル名「eeee」のファイル42eが表示されている。各ファイルのアイコンの左側に、チェックボックスが設けられている。ユーザはバックアップを行いたいファイルのチェックボックスにチェックを入れることにより、バックアップ対象となるファイルを選択する。
FIG. 3 shows an example of a selection screen 41 for selecting files to be backed up.
The selection screen 41 hierarchically displays the file structure in the selected virtual machine or connected device. The file name is displayed to the right of the icon of each file. In FIG. 3, the uppermost file 42a displays "aaaa" as the file name. In the file 42a with the file name "aaaa", the file 42b with the file name "bbbb" and the file 42c with the file name "cccc" are displayed as the lower layer files. In the file 42c, a file 42d with a file name "dddd" and a file 42e with a file name "eeee" are displayed as lower level files. A check box is provided on the left side of the icon of each file. The user selects a file to be backed up by checking the check box of the file to be backed up.
 ファイルは、ユーザが作成したアプリケーションプログラム、アプリケーションプログラムによってユーザが作成したデータファイル、ユーザによってカスタマイズされたアプリケーションプログラム、OSの設定情報ファイル等を含む。
 ユーザは、ユーザが作成、変更したこれらのファイルをバックアップ対象ファイルとして選択する。ユーザによる設定可能箇所が少ない組込みOSでは、ユーザが変更できるデータは限られている。したがって、ユーザが変更していないファイルをバックアップ対象から外すことによって、バックアップサイズを小さくすることができ、記憶装置はバックアップに必要な記憶容量を節約することができる。
 選択画面41において、設定変更の可能性がないファイル、情報処理装置1の工場出荷状態へのリカバリ処理によりリカバリされるOS、アプリケーションプログラム、各種データについて、選択対象から除外してもよい。選択画面41にこれらのファイルが表示されないか、表示されたとしてもチェックボックスが設けられないことにより、これらのファイルは選択対象から除外される。
The file includes an application program created by the user, a data file created by the user by the application program, an application program customized by the user, an OS setting information file, and the like.
The user selects these files created and changed by the user as files to be backed up. In an embedded OS with few user-configurable points, the data that the user can change is limited. Therefore, by excluding files that have not been changed by the user from backup targets, the backup size can be reduced, and the storage device can save the storage capacity required for backup.
On the selection screen 41, files that are not likely to be changed in settings, OSs, application programs, and various data that are recovered by the recovery process of the information processing apparatus 1 to the factory shipping state may be excluded from selection targets. Since these files are not displayed on the selection screen 41 or the check boxes are not provided even if they are displayed, these files are excluded from the selection target.
 なお、以前にバックアップが行われていた場合であって、ファイル内容に変更がないファイルが存在するとき、選択画面41の表示において、当該ファイルに変更ない旨の表示をしてもよい。あるいは当該ファイルを表示対象から外してもよい。ファイル内容の変更の有無は、ファイル日付が一致するか否か、ファイルサイズが一致するか否か等により判断される。 It should be noted that, in the case where a backup has been performed before, and there is a file whose file content has not changed, the display of the selection screen 41 may display that the file is not changed. Alternatively, the file may be excluded from the display target. Whether or not the file contents have been changed is determined by whether or not the file dates match and whether or not the file sizes match.
 ユーザは、例えば、ファイル42aのチェックボックスにチェックを入れることによりファイル42aを選択すると、下層のファイル42b~42eも選択されることになる。同様に、ファイル42cのチェックボックスにチェックを入れることによりファイル42cを選択すると、下層のファイル42d,42eも選択されることになる。図3に示すように、ファイル42dのみを選択する場合は、ファイル42dのチェックボックスにチェックを入れる。 When the user selects the file 42a by, for example, checking the check box of the file 42a, the lower-layer files 42b to 42e are also selected. Similarly, when the file 42c is selected by checking the check box of the file 42c, the lower- layer files 42d and 42e are also selected. As shown in FIG. 3, when only the file 42d is selected, the check box of the file 42d is checked.
 ファイルの選択が終了すると、ユーザは確定ボタンを実行することにより、選択が確定される。
 ユーザは、引き続き、まだバックアップ対象ファイルを選択していない別の仮想マシンあるいは接続機器を選択して上記と同様にファイルの選択を行う。
 スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのすべてについてバックアップ対象ファイルの選択が終了したら、ファイル収集リスト13作成のためのユーザの選択処理は終了する。
 ファイル収集設定部10aは、ユーザの選択に基づき、ファイル収集リスト13を作成する。
When the selection of the file is completed, the user executes the confirmation button to confirm the selection.
The user continues to select another virtual machine or connected device that has not yet selected the file to be backed up and selects the file in the same manner as above.
When the backup target files have been selected for all the slave virtual machines 6b and 6c and the connected devices 2a, 2b and 2c, the user selection process for creating the file collection list 13 ends.
The file collection setting unit 10a creates the file collection list 13 based on the user's selection.
 図4は、作成されたファイル収集リスト13の構成を示す。
 接続機器情報1~nは、スレーブの仮想マシン6b,6cおよび情報処理装置1に接続されている接続機器2a,2b,2cを示している。接続機器情報は、情報処理装置1に接続されているスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cの数だけ設けられるが、ユーザによりバックアップの必要がないとして選択されなかったスレーブの仮想マシンおよび接続機器、ファイルが存在しない接続機器は除かれる。
 接続機器情報は、接続情報と対象ファイル構成情報を有している。
FIG. 4 shows the structure of the created file collection list 13.
The connection device information 1 to n indicates the connection devices 2a, 2b and 2c connected to the slave virtual machines 6b and 6c and the information processing device 1. The connected device information is provided as many as the number of slave virtual machines 6b and 6c and connected devices 2a, 2b and 2c connected to the information processing apparatus 1, but the slave devices not selected by the user because backup is not necessary. Virtual machines, connected devices, and connected devices that do not have files are excluded.
The connected device information has connection information and target file configuration information.
 接続情報は、スレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cの識別情報、スレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cへアクセスするためのリトライ回数、ステータス情報を有している。ファイル収集の際、上記識別情報に基づいて目的のスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cにアクセスする。リトライ回数は、アクセスするまでに要したリトライの回数が記録される。ステータス情報に、アクセス完了の有無が記録される。 The connection information includes identification information of the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c, the number of retries for accessing the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c, and status information. doing. At the time of file collection, the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c are accessed based on the identification information. As the number of retries, the number of retries required for access is recorded. Whether or not the access is completed is recorded in the status information.
 対象ファイル構成情報は、対象のスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2c内に存在するファイルのうち、ユーザがバックアップを必要とするファイルの情報を示している。
 対象ファイルの情報として、対象ファイルのファイルパス、ファイル名、ファイル種別、ファイルサイズが記録されている。
The target file configuration information indicates the information of the file that the user needs to back up among the files existing in the target slave virtual machines 6b and 6c or the connected devices 2a, 2b and 2c.
The file path, file name, file type, and file size of the target file are recorded as the target file information.
 ファイル収集リスト13が作成されると、表示部37の画面上にファイル収集の実行許可画面が表示される。ユーザは、画面上の実行ボタンを実行することにより、ファイル収集・リストア部10に対してファイル収集の実行を指示する。
 ファイル収集・リストア部10のファイル収集部10bは、図5に示すフローに従い、ファイル収集リスト13を参照してスレーブの仮想マシン6b,6cからバックアップ・リストア対象のファイル8a,8bを収集する。また、ファイル収集リスト13に接続機器2a,2b,2cが含まれる場合は、接続機器2a,2b,2cのバックアップ・リストア対象のファイル8c,8d,8eも収集する。
When the file collection list 13 is created, a file collection execution permission screen is displayed on the screen of the display unit 37. The user instructs the file collection/restoration unit 10 to execute the file collection by executing the execution button on the screen.
The file collecting unit 10b of the file collecting/restoring unit 10 collects the files 8a, 8b to be backed up/restored from the slave virtual machines 6b, 6c by referring to the file collecting list 13 according to the flow shown in FIG. If the file collection list 13 includes the connected devices 2a, 2b, 2c, the files 8c, 8d, 8e to be backed up/restored by the connected devices 2a, 2b, 2c are also collected.
 まず、バックアップの対象とされるスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのすべての機器情報を読み出したか否か判断される(ステップS101)。
 最初は、まだどこにもアクセスしておらず、機器情報を読み出していないので(ステップS101:No)、ファイル収集リスト13から接続機器情報を1つ読み出す(ステップS102)。
 読み出された接続機器情報から接続情報を読み出し、接続情報内の識別情報を使い、スレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cにアクセスする(ステップS103)。
 アクセスが成功した場合(ステップS104:Yes)、接続機器情報の対象ファイル情報を参照し、バックアップ対象のファイルをダウンロードする(ステップS105)。
 アクセスに失敗した場合(ステップS104:No)、対象とされるスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cへのアクセスのリトライ回数が規定値を越えているか否かを判断する(ステップS106)。
 リトライ回数が規定値を越えていない場合(ステップS106:No)、リトライ回数を1だけインクリメントして(ステップS107)、ステップS103に戻り、再度アクセスする。
First, it is determined whether or not all the device information of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to be backed up has been read (step S101).
At first, since no device has been accessed and the device information has not been read yet (step S101: No), one piece of connected device information is read from the file collection list 13 (step S102).
The connection information is read from the read connection device information and the identification information in the connection information is used to access the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c (step S103).
If the access is successful (step S104: Yes), the file to be backed up is downloaded by referring to the target file information of the connected device information (step S105).
When the access has failed (step S104: No), it is determined whether the number of retries for accessing the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c exceeds a specified value (step S104: No). Step S106).
If the number of retries does not exceed the specified value (step S106: No), the number of retries is incremented by 1 (step S107), the process returns to step S103, and the access is performed again.
 対象ファイルをダウンロードすると、データ変換部11に対してダウンロードしたファイルからスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cの各々毎にアーカイブファイルを作成する指示を出す(ステップS108)。作成指示に応じてデータ変換部11のアーカイブ作成部11aは、対象のスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cの各々毎に対象ファイルを圧縮し、アーカイブファイルに変換して、スレーブアーカイブファイル14を作成する。作成されたスレーブアーカイブファイル14はマスタの仮想マシン6aの記憶領域に保存される(ステップS109)。保存が終了すると、接続情報内のステータスを完了に変更する(ステップS110)。また、スレーブの仮想マシンまたは接続機器のアクセスのリトライ回数が規定値を越えた場合(ステップS106:Yes)も、ステータスを完了に変更する(ステップS110)。 When the target file is downloaded, the data conversion unit 11 is instructed to create an archive file for each of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c from the downloaded file (step S108). In response to the creation instruction, the archive creation unit 11a of the data conversion unit 11 compresses the target file for each of the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c, converts the target file into an archive file, The slave archive file 14 is created. The created slave archive file 14 is saved in the storage area of the master virtual machine 6a (step S109). When the storage is completed, the status in the connection information is changed to complete (step S110). Also, when the number of retries for accessing the slave virtual machine or the connected device exceeds the specified value (step S106: Yes), the status is changed to complete (step S110).
 スレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cのバックアップが完了すると、他にバックアップの必要があるスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cが存在するか確認する(ステップS101)。他にも存在する場合は、前述したステップS102からステップS110までの処理を繰り返す。他にバックアップを必要とするスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cが存在しない場合(ステップS101:Yes)、処理を終了する。
 スレーブアーカイブファイル14は、アクセスした仮想マシン6b,6cおよび接続機器2a,2b,2cの数だけ作成され、マスタの仮想マシン6aの記憶領域に保存される。
When the backup of the slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c is completed, it is confirmed whether there are any other slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c that need to be backed up ( Step S101). If there is another one, the above-described processing from step S102 to step S110 is repeated. If there is no other slave virtual machine 6b, 6c or connected device 2a, 2b, 2c that requires backup (step S101: Yes), the process ends.
The slave archive files 14 are created by the number of accessed virtual machines 6b, 6c and connected devices 2a, 2b, 2c, and are stored in the storage area of the master virtual machine 6a.
 ファイル収集処理が終了すると、表示部37にファイル収集が終了した旨の表示がなされる。ユーザは、対象とするすべてのスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cについてスレーブアーカイブファイル14が作成されたことを表示画面により確認する。
 表示画面は、マスタの仮想マシン6aのイメージファイルのバックアップの実行許可画面を表示する。ユーザは、画面上の実行ボタンを実行することにより、マスタバックアップ・リストア部12に対してマスタバックアップ処理の実行を指示する。
When the file collection process ends, the display unit 37 displays that the file collection has ended. The user confirms on the display screen that the slave archive files 14 have been created for all the target slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
The display screen displays an execution permission screen for backup of the image file of the master virtual machine 6a. The user instructs the master backup/restore unit 12 to execute the master backup process by executing the execution button on the screen.
 ユーザが、マスタバックアップ・リストア部12に対し、バックアップの実行を指示すると、マスタバックアップ・リストア部12のマスタバックアップ部12aがマスタの仮想マシン6aのイメージファイルをバックアップするマスタバックアップ処理を開始する。 When the user instructs the master backup/restore unit 12 to execute a backup, the master backup unit 12a of the master backup/restore unit 12 starts the master backup process of backing up the image file of the master virtual machine 6a.
 図6に示すように、マスタバックアップ部12aは、マスタの仮想マシン6a内の全てのデータを1つのイメージファイルに変換してマスタイメージファイル15を作成する(ステップS201)。マスタイメージファイル15は、マスタの仮想マシン6aの記憶領域に記憶されているデータも含む。すなわち、ファイル収集・リストア部10によりファイルが収集され、データ変換部11によりアーカイブファイルに変換されたスレーブアーカイブファイル14およびファイル収集リスト13も含まれる。イメージファイルに変換されたマスタイメージファイル15は外部記憶装置3に記憶され(ステップS202)、マスタバックアップ処理は終了する。 As shown in FIG. 6, the master backup unit 12a creates all the data in the master virtual machine 6a into one image file to create the master image file 15 (step S201). The master image file 15 also includes data stored in the storage area of the master virtual machine 6a. That is, the file collecting/restoring unit 10 collects the files, and the data converting unit 11 also includes the slave archive file 14 converted into the archive file and the file collection list 13. The master image file 15 converted into an image file is stored in the external storage device 3 (step S202), and the master backup process ends.
 バックアップ先は、外部記憶装置3に限らず、ハードディスク装置34内のバックアップ領域であってもよい。バックアップ先については、マスタバックアップ・リストア部12において、ユーザが指定可能としてもよい。
 なお、マスタバックアップ・リストア部12は、仮想マシン6aのイメージファイルをバックアップ・リストアする汎用的機能を有することから、オペレーティングシステムが備えるシステムのリストアツールや市販のバックアップ・リストアソフトウェアであってもよい。
The backup destination is not limited to the external storage device 3 and may be a backup area in the hard disk device 34. The backup destination may be specified by the user in the master backup/restore unit 12.
Since the master backup/restore unit 12 has a general-purpose function of backing up/restoring the image file of the virtual machine 6a, it may be a system restore tool included in the operating system or commercially available backup/restore software.
 以上でバックアップの工程は完了する。なお、バックアップする仮想マシン6a内のデータは、ゲストOS7a、バックアップ・リストア装置9を含まない。情報処理装置1は、仮想マシン内のファイルのみをバックアップし、共通部分は製品自体が備える初期化機能である仮想マシン初期化部16でリストアすることにより補完する。 The backup process is complete. The data in the virtual machine 6a to be backed up does not include the guest OS 7a and the backup/restore device 9. The information processing apparatus 1 backs up only the files in the virtual machine, and the common part is complemented by being restored by the virtual machine initialization unit 16 which is an initialization function included in the product itself.
 上述のバックアップ処理は、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのバックアップ対象のファイルを収集し、収集したファイルをスレーブアーカイブファイル14としてマスタの仮想マシン6aの記憶領域に保存してマスタの仮想マシン6aに集約する。マスタバックアップ・リストア部12は、マスタの仮想環境のみ全体を外部記憶装置3にバックアップする。このように、複数の仮想マシンが含まれる情報処理装置において、仮想マシンの連携により、仮想マシンのバックアップを実現することができる。 In the backup process described above, files to be backed up by the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c are collected, and the collected files are saved as slave archive files 14 in the storage area of the master virtual machine 6a. The master virtual machine 6a. The master backup/restore unit 12 backs up the entire virtual environment of the master to the external storage device 3. As described above, in an information processing apparatus including a plurality of virtual machines, the virtual machines can be backed up by cooperation of the virtual machines.
 バックアップ対象はマスタ仮想環境となるため、全ドライブをバックアップするよりイメージサイズが削減される。また、1つのイメージファイルにすることができるため、仮想環境毎にイメージファイルを管理し、バックアップする必要がない。したがって、バックアップに要する時間も削減される。 Since the backup target is the master virtual environment, the image size is reduced compared to backing up all drives. Further, since it is possible to make one image file, it is not necessary to manage and back up the image file for each virtual environment. Therefore, the time required for backup is also reduced.
 また、全ドライブからバックアップする場合、起動用ドライブからブートし、バックアップ・リストアプログラムを起動する必要がある。仮想環境の制約上、他の仮想環境のドライブは直接閲覧できないので、全ドライブへのアクセスは別ドライブからのブートが必要である。この場合、各仮想環境を停止する必要があり、各環境の処理を継続できないため、可用性が低下する。
 これに対して、マスタの仮想マシン6aのゲストOS7a上でバックアップ処理を実行するため、全仮想マシンを停止する必要がないため、可用性低下を防ぐことができる。
Also, when backing up from all drives, it is necessary to boot from the boot drive and start the backup/restore program. Due to the limitations of the virtual environment, the drives of other virtual environments cannot be viewed directly, so access to all drives requires booting from another drive. In this case, since it is necessary to stop each virtual environment and the processing of each environment cannot be continued, availability decreases.
On the other hand, since the backup process is executed on the guest OS 7a of the master virtual machine 6a, it is not necessary to stop all the virtual machines, so that it is possible to prevent a decrease in availability.
 続いてリストア処理について説明する。
 リストア処理は、情報処理装置1を工場出荷状態に初期化した後に、バックアップされているデータをリストアすることによって行われる。初期化後、外部記憶装置3に記憶されているマスタイメージファイル15を展開してマスタの仮想マシン6aのイメージファイルをリストアする。マスタの仮想マシン6aのリストア後、スレーブアーカイブファイル14が展開されてスレーブの仮想マシン6b,6cおよび接続機器2a,2b、2cがリストアされる。
Next, the restore process will be described.
The restore process is performed by initializing the information processing apparatus 1 to the factory shipping state and then restoring the backed up data. After initialization, the master image file 15 stored in the external storage device 3 is expanded to restore the image file of the master virtual machine 6a. After the master virtual machine 6a is restored, the slave archive file 14 is expanded and the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c are restored.
 まず、情報処理装置1を工場出荷状態に初期化する処理について説明する。
 ユーザは情報処理装置1が備える仮想マシン初期化部16を用いて、情報処理装置1を工場出荷時状態に初期化する。初期化後に情報処理装置1は、仮想マシン6a,6b,6cにゲストOS7a,7b,7cが含まれた状態にリストアされる。マスタの仮想マシン6aは、さらにゲストOS7a上にバックアップ・リストア装置9が含まれた状態にリストアされる。
First, a process of initializing the information processing device 1 to the factory shipping state will be described.
The user uses the virtual machine initialization unit 16 included in the information processing device 1 to initialize the information processing device 1 to the factory shipping state. After the initialization, the information processing device 1 is restored to a state in which the guest machines 7a, 7b, 7c are included in the virtual machines 6a, 6b, 6c. The master virtual machine 6a is restored to a state in which the guest OS 7a further includes the backup/restore device 9.
 情報処理装置1のハードディスク装置34内のリカバリ領域に情報処理装置1を工場出荷時状態に初期化するリカバリプログラムが格納されている。リカバリプログラムは、情報処理装置1のROM32、外部記憶装置3、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disc Read Only Memory)等の可搬性記録媒体に記憶されていてもよい。
 情報処理装置1の電源が投入されると、情報処理装置1はROM32からBIOS(Basic Input Output System)を読み出してBIOSの実行を行う。BIOSの実行時にユーザがキー入力操作を行うことにより起動デバイスの設定画面を表示する。ユーザは設定画面においてリカバリプログラムが記憶されたハードディスク装置34を起動デバイスとして設定する。設定が行われると、ハードディスク装置34のリカバリ領域内のリカバリプログラムを読み出して仮想マシン初期化部16を起動する。
A recovery program for initializing the information processing device 1 to the factory default state is stored in the recovery area in the hard disk device 34 of the information processing device 1. The recovery program may be stored in a portable recording medium such as the ROM 32 of the information processing device 1, the external storage device 3, a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), or the like. Good.
When the information processing device 1 is powered on, the information processing device 1 reads a BIOS (Basic Input Output System) from the ROM 32 and executes the BIOS. When the BIOS is executed, the user performs a key input operation to display a boot device setting screen. The user sets the hard disk device 34 in which the recovery program is stored on the setting screen as a boot device. When the setting is performed, the recovery program in the recovery area of the hard disk device 34 is read and the virtual machine initialization unit 16 is activated.
 外部記憶装置3、可搬性記録媒体またはハードディスク装置34内のリカバリ領域には、工場出荷時におけるハードディスク装置34の記憶内容のイメージファイルが格納されている。イメージファイルは、ルートOS、ハイパーバイザ、ゲストOS、バックアップ・リストアプログラム、デバイスドライバ、アプリケーションプログラム、各種データを含む。仮想マシン初期化部16は、上記イメージファイルをインストールして情報処理装置1を工場出荷時の初期状態にリストアする。 An image file of the storage contents of the hard disk device 34 at the time of factory shipment is stored in the recovery area of the external storage device 3, the portable recording medium or the hard disk device 34. The image file includes a root OS, hypervisor, guest OS, backup/restore program, device driver, application program, and various data. The virtual machine initialization unit 16 installs the image file and restores the information processing apparatus 1 to the initial state when shipped from the factory.
 情報処理装置1が工場出荷時の初期状態にリストアされると、各仮想マシンはゲストOS、アプリケーションプログラム等が搭載された状態とされ、マスタの仮想マシン6aはさらにバックアップ・リストア装置9が搭載された状態とされる。
 ユーザは、情報処理装置1の初期化後、情報処理装置1を再起動する。情報処理装置1はBIOSを実行してハードディスク装置34からOSを読み出してRAM33にロードしてOSを起動する。ユーザは、マスタの仮想マシン6aからバックアップ・リストア装置9を起動して仮想マシン6a,6b,6cおよび接続機器2a,2b,2cをリストアする処理を実行する。なお、情報処理装置1の再起動により自動的にバックアップ・リストア装置9が起動してもよい。
When the information processing apparatus 1 is restored to the initial state when shipped from the factory, each virtual machine is set to have a guest OS, application programs, etc. installed, and the master virtual machine 6a is further provided with a backup/restore apparatus 9. Is set
The user restarts the information processing device 1 after initializing the information processing device 1. The information processing device 1 executes the BIOS, reads the OS from the hard disk device 34, loads the OS into the RAM 33, and activates the OS. The user activates the backup/restore device 9 from the master virtual machine 6a to execute a process of restoring the virtual machines 6a, 6b, 6c and the connected devices 2a, 2b, 2c. The backup/restore device 9 may be automatically started by restarting the information processing device 1.
 ユーザは、バックアップ・リストア装置9のマスタバックアップ・リストア部12に対し、リストア元として外部記憶装置3に保管されているマスタイメージファイル15を指定し、リストアの実行を指示する。リストアの実行の指示を受けてマスタバックアップ・リストア部12のマスタリストア部12bは、マスタイメージファイル15をリストアするマスタリストア処理を開始する。 The user designates the master image file 15 stored in the external storage device 3 as the restore source to the master backup/restore unit 12 of the backup/restore device 9 and instructs the execution of the restore. Upon receiving the restore execution instruction, the master restore unit 12b of the master backup/restore unit 12 starts the master restore process for restoring the master image file 15.
 図7に示すように、マスタリストア部12bは、外部記憶装置3からマスタイメージファイル15を読み出す(ステップS301)。マスタリストア部12bは、読み出したマスタイメージファイル15をマスタの仮想マシン6aの記憶領域に書き込んで仮想マシン6aのデータをリストアする(ステップS302)。リストア実行後、マスタの仮想マシン6aはマスタの仮想マシン6aのデータおよびスレーブアーカイブファイル14、ファイル収集リスト13を含んだ状態にリストアされる。 As shown in FIG. 7, the master restore unit 12b reads the master image file 15 from the external storage device 3 (step S301). The master restore unit 12b restores the data of the virtual machine 6a by writing the read master image file 15 in the storage area of the master virtual machine 6a (step S302). After the restoration is executed, the master virtual machine 6a is restored to a state including the data of the master virtual machine 6a, the slave archive file 14, and the file collection list 13.
 マスタリストア処理が終了すると、表示部37にマスタの仮想マシン6aのリストアが終了した旨の表示がなされる。ユーザは、マスタの仮想マシン6aがリストアしたことを確認する。
 表示画面は、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのリストアの実行許可画面を表示する。ユーザは、画面上の実行ボタンを実行することにより、ファイル収集・リストア部10に対してスレーブリストア処理の実行を指示する。
When the master restore process ends, the display unit 37 displays a message indicating that the restore of the master virtual machine 6a has ended. The user confirms that the master virtual machine 6a has been restored.
The display screen displays a restore execution permission screen for the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c. The user instructs the file collection/restoration unit 10 to execute the slave restoration process by executing the execution button on the screen.
 ファイル収集・リストア部10のファイルリストア部10cは、図8に示すフローに従い、スレーブリストア処理を実行する。
 ファイルリストア部10cはデータ変換部11を使用して、スレーブアーカイブファイル14を展開してスレーブへリストア可能な状態に変換する。
 ファイルリストア部10cはファイル収集リスト13に従い、スレーブアーカイブファイル14を展開したファイルをスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアップロードする。
The file restoration unit 10c of the file collection/restoration unit 10 executes slave restoration processing according to the flow shown in FIG.
The file restoration unit 10c uses the data conversion unit 11 to expand the slave archive file 14 and convert it into a state in which it can be restored to the slave.
According to the file collection list 13, the file restore unit 10c uploads the file obtained by expanding the slave archive file 14 to the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c.
 まず、リストアの対象とされるスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのすべての機器情報を読み出したか否か判断される(ステップS401)。
 最初は、まだいずれにもアクセスしておらず、機器情報を読み出していないので(ステップS401:No)、ファイル収集リスト13から任意の接続機器情報を1つ読み出す(ステップS402)。
 読み出された接続機器情報から接続情報を読み出し、接続情報内の識別情報を使い、スレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cにアクセスする(ステップS403)。
First, it is determined whether or not all the device information of the slave virtual machines 6b and 6c to be restored and the connected devices 2a, 2b and 2c have been read (step S401).
At first, since neither device has been accessed and the device information has not been read yet (step S401: No), one piece of connected device information is read from the file collection list 13 (step S402).
Connection information is read from the read connection device information, and the identification information in the connection information is used to access the slave virtual machines 6b, 6c or the connection devices 2a, 2b, 2c (step S403).
 アクセスが成功した場合(ステップS404:Yes)、ファイル収集リスト13を参照して、データ変換部11のアーカイブ展開部11bに対してダウンロードしたスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cのスレーブアーカイブファイル14の展開指示を出す(ステップS405)。
 アクセスに失敗した場合(ステップS404:No)、対象とされるスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cへのアクセスのリトライ回数が規定値を越えているか否かを判断する(ステップS406)。
 リトライ回数が規定値を越えていない場合(ステップS406:No)、リトライ回数を1だけインクリメントして(ステップS407)、ステップS403に戻り、再度アクセスする。
If the access is successful (step S404: Yes), referring to the file collection list 13, the slave virtual machines 6b and 6c or the connection devices 2a, 2b and 2c downloaded to the archive decompression unit 11b of the data conversion unit 11 are referred to. An instruction to expand the slave archive file 14 is issued (step S405).
If the access has failed (step S404: No), it is determined whether the number of retries for accessing the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c exceeds a specified value (step S404: No). Step S406).
When the number of retries does not exceed the specified value (step S406: No), the number of retries is incremented by 1 (step S407), the process returns to step S403, and the access is performed again.
 ステップS405においてスレーブアーカイブファイル14の展開指示を受けると、展開指示に応じてアーカイブ展開部11bは、マスタの記憶領域に記憶された対象のスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cのスレーブアーカイブファイル14を展開する。ファイルリストア部10cは、展開されたファイルを対象のスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cにアップロードする(ステップS408)。アップロードが完了すると、接続情報内のステータスを完了に変更する(ステップS409)。また、スレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cのアクセスのリトライ回数が規定値を越えた場合(ステップS406:Yes)も、ステータスを完了に変更する(ステップS409)。 Upon receiving the expansion instruction of the slave archive file 14 in step S405, the archive expansion unit 11b responds to the expansion instruction by the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c stored in the master storage area. The slave archive file 14 of is expanded. The file restore unit 10c uploads the expanded file to the target slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c (step S408). When the upload is completed, the status in the connection information is changed to completed (step S409). Also, when the number of retries of access to the slave virtual machines 6b, 6c or the connected devices 2a, 2b, 2c exceeds the specified value (step S406: Yes), the status is changed to complete (step S409).
 一のスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cのリストアが完了すると、他にリストアの必要があるスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cが存在するか確認する(ステップS401)。他にも存在する場合は、前述したステップS402からステップS409までの処理を繰り返す。他にリストアを必要とするスレーブの仮想マシン6b,6cまたは接続機器2a,2b,2cが存在しない場合(ステップS401:Yes)、スレーブリストア処理を終了する。 When restoration of one slave virtual machine 6b, 6c or connected device 2a, 2b, 2c is completed, it is confirmed whether there is another slave virtual machine 6b, 6c or connected device 2a, 2b, 2c that needs to be restored. (Step S401). If there are other items, the above-described processing from step S402 to step S409 is repeated. If there are no other slave virtual machines 6b, 6c or connected devices 2a, 2b, 2c that need to be restored (step S401: Yes), the slave restoration process ends.
 本実施の形態では、マスタリストア部12bが、外部記憶装置3のマスタイメージファイル15からマスタの仮想マシン6aの仮想環境をリストアする。マスタの仮想マシン6aの仮想環境がリストアされると、スレーブアーカイブファイル14がマスタの仮想マシン6aの記憶領域にリストアされ、アーカイブ展開部11bを通じて展開される。ファイルリストア部10cは、展開されたファイルを対象となる仮想マシン6b,6cおよび接続機器2a,2b,2cへリストアする。
 外部記憶装置3に記憶するイメージファイルはマスタイメージファイル15だけであるので、仮想環境毎にイメージファイルを管理し、バックアップ・リストアする必要がない。
 また接続された接続機器のファイルのバックアップ・リストアが可能であり、装置全体や製造ライン全体のバックアップ・リストアを容易に実現できる。
In the present embodiment, the master restore unit 12b restores the virtual environment of the master virtual machine 6a from the master image file 15 of the external storage device 3. When the virtual environment of the master virtual machine 6a is restored, the slave archive file 14 is restored in the storage area of the master virtual machine 6a and expanded via the archive expanding unit 11b. The file restore unit 10c restores the expanded file to the target virtual machines 6b and 6c and the connected devices 2a, 2b and 2c.
Since the image file stored in the external storage device 3 is only the master image file 15, it is not necessary to manage the image file for each virtual environment and to backup/restore it.
In addition, it is possible to backup/restore files of connected connected devices, and it is possible to easily realize backup/restoration of the entire device or the entire manufacturing line.
(第2の実施の形態)
 第1の実施の形態では、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cからバックアップするファイルをユーザが選択してファイル収集リスト13を作成した後、このリストに基づいてファイルを収集していた。
 本実施の形態は、上記によってファイルのバックアップが行われた後、ファイルが追加、更新、削除された場合の新たなバックアップについて説明する。既に以前にバックアップが行われているので、以前にバックアップされたものとの差分に基づき、新たなバックアップデータを作成する。
 かかるバックアップは、追加、更新等が行われる度、あるいは定期的に行われる。また、バックアップは、自動的に行うことができる。
(Second embodiment)
In the first embodiment, after the user selects files to be backed up from the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to create the file collection list 13, the files are collected based on this list. Was.
In the present embodiment, a new backup will be described when a file is added, updated, or deleted after the file is backed up as described above. Since the backup has already been performed previously, new backup data is created based on the difference from the previously backed up data.
Such backup is performed every time addition or update is performed, or periodically. Also, backup can be done automatically.
 最初に、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cから収集するファイル収集リスト13を作成するリスト作成処理を図9に従って説明する。
 まず、ファイル収集設定部10aは、前回作成されたファイル収集リスト13をマスタの仮想マシン6aの記憶領域から読み出す(ステップS501)。次に、ファイル収集設定部10aは、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスしてファイル構成情報を読み出す(ステップS502)。次に、前回作成されたファイル収集リスト13と読み出されたファイル構成情報を比較して、新たに追加、変更、削除されたファイルを抽出する(ステップS503)。
First, a list creation process for creating the file collection list 13 collected from the slave virtual machines 6b and 6c and the connection devices 2a, 2b and 2c will be described with reference to FIG.
First, the file collection setting unit 10a reads the previously created file collection list 13 from the storage area of the master virtual machine 6a (step S501). Next, the file collection setting unit 10a accesses the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to read the file configuration information (step S502). Next, the previously created file collection list 13 is compared with the read file configuration information, and the newly added, changed, or deleted file is extracted (step S503).
 ファイルが追加、変更、削除されたか否かは、ファイルパス名、ファイル更新日付、ファイルサイズ等により判断される。
 新しいファイルパス名が存在している場合、ファイルが追加されたものと判断される。また、ファイルパス名に変更がない場合であって、ファイル更新日付、ファイルサイズに変化がある場合、ファイルが変更されたものと判断される。また、ファイルパス名が存在しなくなった場合、ファイルが削除されたものと判断される。
Whether a file has been added, changed, or deleted is determined by the file path name, file update date, file size, and the like.
If the new file path name exists, it is determined that the file has been added. If the file path name has not changed and the file update date and the file size have changed, it is determined that the file has been changed. When the file path name no longer exists, it is determined that the file has been deleted.
 ここで、第1の実施の形態で作成されたファイル収集リスト13は、ユーザによりバックアップの必要のあるファイルであるか否か選択されて作成されたリストである。したがって、バックアップが不要であるとして以前に選択されなかったファイルが新たに追加されたファイルであるとして認識されるおそれがある。これに対して、ファイル収集リスト13に選択されなかったファイルのリストを作成しておく。これによって、ファイルの抽出の際に、このリストを参照することによって、このリストに記載のあるファイルを追加ファイルとして認識しないことができる。
 または、ファイル更新日付で判断してもよい。ファイルの更新日付が前回のファイル収集リスト13の作成日より前である場合、今回新たに追加されたファイルではないと判断される。
Here, the file collection list 13 created in the first embodiment is a list created by the user selecting whether or not the files need to be backed up. Therefore, a file that was not previously selected as not requiring backup may be recognized as a newly added file. On the other hand, a list of unselected files is created in the file collection list 13. With this, by referring to this list when extracting files, the files described in this list can not be recognized as additional files.
Alternatively, the determination may be made based on the file update date. If the update date of the file is before the creation date of the previous file collection list 13, it is determined that the file is not newly added this time.
 新たに追加、変更、削除されたファイルが抽出されると、前回作成されたファイル収集リスト13を更新して新たなファイル収集リスト13を作成する(ステップS504)。
 なお、ファイル収集リスト13を更新しないで、追加、変更、削除されたファイルのリストを別途作成してもよい。
When the newly added, changed, or deleted file is extracted, the previously created file collection list 13 is updated to create a new file collection list 13 (step S504).
The file collection list 13 may be separately created without updating the file collection list 13.
 新たなファイル収集リスト13が作成されると、ファイル収集・リストア部10のファイル収集部10bが新たなファイル収集リスト13に基づいて、追加、変更されたファイルを収集する。このファイル収集処理を図10に従って、説明する。 When the new file collection list 13 is created, the file collection unit 10b of the file collection/restore unit 10 collects the added and changed files based on the new file collection list 13. This file collection process will be described with reference to FIG.
 まず、ファイル収集リスト13に基づいて、ファイル収集部10bは、対象のスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスして追加、変更されたファイルをダウンロードする(ステップS601)。次に、マスタの仮想マシン6aの記憶領域に記憶されている前回作成のスレーブアーカイブファイル14をデータ変換部11により展開する。スレーブアーカイブファイル14を展開したファイル群にダウンロードされた追加ファイルを加えるとともに、変更前のファイルをダウンロードされた変更後のファイルに置き換える。さらに、スレーブアーカイブファイル14を展開したファイル群から削除ファイルを削除する(ステップS602)。 First, based on the file collection list 13, the file collection unit 10b accesses the target slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to download the added or changed file (step S601). .. Next, the previously created slave archive file 14 stored in the storage area of the master virtual machine 6a is expanded by the data conversion unit 11. The downloaded additional file is added to the file group obtained by expanding the slave archive file 14, and the file before change is replaced by the downloaded file after change. Further, the deleted file is deleted from the file group in which the slave archive file 14 is expanded (step S602).
 ファイルの追加、変更、削除が完了したら、アーカイブ作成部11aは、スレーブの仮想マシン毎および接続機器毎にファイルをアーカイブファイルに変換して更新されたスレーブアーカイブファイル14を作成する(ステップS603)。作成されたスレーブアーカイブファイル14は、マスタの仮想マシン6aの記憶領域に保存される。
 スレーブアーカイブファイル14が更新されると、マスタバックアップ・リストア部12のマスタバックアップ部12aは、スレーブアーカイブファイル14を含む全てのデータを1つのイメージファイルに変換して更新されたマスタイメージファイル15を作成する。作成されたマスタイメージファイルは、外部記憶装置3に保存される。
When the addition, modification, and deletion of files are completed, the archive creation unit 11a creates an updated slave archive file 14 by converting the files into archive files for each slave virtual machine and each connected device (step S603). The created slave archive file 14 is stored in the storage area of the master virtual machine 6a.
When the slave archive file 14 is updated, the master backup unit 12a of the master backup/restore unit 12 converts all the data including the slave archive file 14 into one image file and creates the updated master image file 15. To do. The created master image file is stored in the external storage device 3.
 なお、新たに追加、変更、削除されたファイルに置き換えてスレーブアーカイブファイル14を更新しないで、新たに追加、変更されたファイルについて別途アーカイブファイルを作成してもよい。
 以上により、新たに追加、変更、削除されたファイルをバックアップすることが可能となる。
The slave archive file 14 may not be updated by being replaced with the newly added, changed, or deleted file, and an archive file may be separately created for the newly added or changed file.
As described above, it becomes possible to back up the newly added, changed, or deleted file.
(第3の実施の形態)
 上記実施の形態では、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスして読み出したファイル構成情報とファイル収集リスト13を比較して新たなバックアップファイルを作成した。
 これに対して、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスして読み出したファイル構成情報と情報処理装置1を初期化した状態におけるスレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのファイル構成情報を比較して追加、変更、削除されたファイルを抽出してバックアップファイルを作成してもよい。
(Third Embodiment)
In the above embodiment, the file configuration information read by accessing the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c is compared with the file collection list 13 to create a new backup file.
On the other hand, the slave virtual machines 6b and 6c and the connection devices 2a, 2b and 2c are accessed and read, and the slave virtual machines 6b and 6c and the connection devices in the state where the information processing apparatus 1 is initialized. A backup file may be created by comparing the file configuration information of 2a, 2b, and 2c and extracting the added, changed, or deleted file.
 この場合、ファイル収集設定部10aは、情報処理装置1が初期化状態にある時に、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cのファイル構成情報を読み出して予め記憶しておく。
 バックアップ処理は、ファイルを追加、変更、削除をした時、ユーザの指示を受けた時あるいは定期的に行われる。図11に示すように、まず、予め記憶しておいた初期化状態のファイル構成情報を読み出す(ステップS701)。次に、ファイル収集設定部10aは、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスしてファイル構成情報を読み出す(ステップS702)。
 読み出されたファイル構成情報と初期化状態におけるファイル構成情報を比較して追加、変更、削除されたファイルを抽出し、ファイル収集リスト13を作成する(ステップS703)。
In this case, the file collection setting unit 10a reads out the file configuration information of the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c and stores it in advance when the information processing device 1 is in the initialization state.
The backup process is performed when a file is added, changed, or deleted, when a user's instruction is received, or periodically. As shown in FIG. 11, first, the file configuration information in the initialized state stored in advance is read (step S701). Next, the file collection setting unit 10a accesses the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c to read the file configuration information (step S702).
The read file configuration information and the file configuration information in the initialized state are compared to extract the added, changed, and deleted files, and the file collection list 13 is created (step S703).
 追加、更新、削除されたファイルか否かは、ファイルパス名、ファイル更新日付、ファイルサイズ等によって判断される。
 ファイル収集リスト13が更新されると、ファイル収集部10bは、更新されたファイル収集リスト13に基づいて、スレーブの仮想マシン6b,6cおよび接続機器2a,2b,2cにアクセスしてファイルを収集する(ステップS704)。収集されたファイルは、データ変換部11によりアーカイブファイルに変換され、スレーブアーカイブファイル14が作成される。更新されたスレーブアーカイブファイル14は、マスタの仮想マシン6aの記憶領域に保存される(ステップS705)。
Whether the file has been added, updated, or deleted is determined by the file path name, the file update date, the file size, and the like.
When the file collection list 13 is updated, the file collection unit 10b accesses the slave virtual machines 6b, 6c and the connected devices 2a, 2b, 2c based on the updated file collection list 13 to collect files. (Step S704). The collected file is converted into an archive file by the data conversion unit 11, and a slave archive file 14 is created. The updated slave archive file 14 is saved in the storage area of the master virtual machine 6a (step S705).
 スレーブアーカイブファイル14が更新されると、マスタバックアップ・リストア部12のマスタバックアップ部12aがマスタの仮想マシン6aのデータ全体を1つのイメージファイルに変換してマスタイメージファイル15を更新する(ステップS706)。
 以上の実施の形態では、第2の実施の形態において前回作成したスレーブアーカイブファイル14を展開してファイルの追加、変更、削除して新たなスレーブアーカイブファイル14を作成する手順を省略できる。
When the slave archive file 14 is updated, the master backup unit 12a of the master backup/restore unit 12 converts the entire data of the master virtual machine 6a into one image file and updates the master image file 15 (step S706). ..
In the above-described embodiment, the procedure of expanding the slave archive file 14 previously created in the second embodiment and adding, changing, or deleting the file to create a new slave archive file 14 can be omitted.
 本発明では、ファイル収集部10b、アーカイブ作成部11a、マスタバックアップ部12a、マスタリストア部12b、アーカイブ展開部11b、および、ファイルリストア部10cで実行される各処理をプログラムとし、例えば、コンピュータが読み取り可能なCD-ROM、DVD-ROM等の記録媒体に格納して配布できるようにしてもよい。このプログラムをコンピュータにインストールすることにより、上述の各処理を実現することができるコンピュータを構成してもよい。そして、各処理をOSとアプリケーションとの分担、またはOSとアプリケーションとの協同により実現する場合等には、アプリケーションのみを記録媒体に格納してもよい。 In the present invention, each process executed by the file collecting unit 10b, the archive creating unit 11a, the master backup unit 12a, the master restore unit 12b, the archive expanding unit 11b, and the file restore unit 10c is a program, and is read by a computer, for example. It may be stored in a recordable medium such as a CD-ROM or a DVD-ROM, which can be distributed. By installing this program in a computer, a computer that can realize the above-described processing may be configured. Then, in the case where each process is realized by sharing of the OS and the application, or when the OS and the application cooperate with each other, only the application may be stored in the recording medium.
 本発明は、広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能である。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention can be variously embodied and modified without departing from the broad spirit and scope. Further, the above-described embodiments are for explaining the present invention and do not limit the scope of the present invention. That is, the scope of the present invention is shown not by the embodiments but by the scope of the claims. Various modifications made within the scope of the claims and the scope of the invention equivalent thereto are considered to be within the scope of the present invention.
 本発明は、仮想マシンを利用する情報処理装置に広く適用することができる。 The present invention can be widely applied to information processing devices that use virtual machines.
 1 情報処理装置、2a,2b,2c 接続機器、3 外部記憶装置、4 ハイパーバイザ、5 ルートOS、6a,6b,6c 仮想マシン、7a,7b,7c ゲストOS、8a,8b,8c,8d,8e,42a,42b,42c,42d,42e ファイル、9 バックアップ・リストア装置、10 ファイル収集・リストア部、10a ファイル収集設定部、10b ファイル収集部、10c ファイルリストア部、11 データ変換部、11a アーカイブ作成部、11b アーカイブ展開部、12 マスタバックアップ・リストア部、12a マスタバックアップ部、12b マスタリストア部、13 ファイル収集リスト、14 スレーブアーカイブファイル、15 マスタイメージファイル、16 仮想マシン初期化部、31 CPU、32 ROM、33 RAM、34 ハードディスク装置、35 入出力部、36 操作部、37 表示部、41 選択画面。 1 information processing device, 2a, 2b, 2c connected device, 3 external storage device, 4 hypervisor, 5 root OS, 6a, 6b, 6c virtual machine, 7a, 7b, 7c guest OS, 8a, 8b, 8c, 8d, 8e, 42a, 42b, 42c, 42d, 42e files, 9 backup/restore device, 10 file collection/restore unit, 10a file collection setting unit, 10b file collection unit, 10c file restore unit, 11 data conversion unit, 11a archive creation Section, 11b archive expansion section, 12 master backup/restore section, 12a master backup section, 12b master restore section, 13 file collection list, 14 slave archive file, 15 master image file, 16 virtual machine initialization section, 31 CPU, 32 ROM, 33 RAM, 34 hard disk device, 35 input/output unit, 36 operation unit, 37 display unit, 41 selection screen.

Claims (11)

  1.  第1の仮想マシンと第2の仮想マシンを備え、
     前記第2の仮想マシンは、
     前記第1の仮想マシン上のファイルを収集するファイル収集部と、
     収集した前記ファイルのアーカイブファイルを作成し、前記第2の仮想マシン上に格納するアーカイブ作成部と、
     前記アーカイブファイルを含む前記第2の仮想マシンのイメージファイルを作成し、外部記憶装置にバックアップするバックアップ部と、
     を備える情報処理装置。
    Comprises a first virtual machine and a second virtual machine,
    The second virtual machine is
    A file collection unit that collects files on the first virtual machine;
    An archive creating unit that creates an archive file of the collected files and stores the archive file on the second virtual machine;
    A backup unit for creating an image file of the second virtual machine including the archive file and backing it up to an external storage device;
    An information processing apparatus including.
  2.  前記第1の仮想マシンは、1以上の仮想マシンであり、
     前記アーカイブ作成部は、収集された前記ファイルを前記第1の仮想マシン毎に1つのアーカイブファイルに変換する、
     請求項1に記載の情報処理装置。
    The first virtual machine is one or more virtual machines,
    The archive creation unit converts the collected files into one archive file for each of the first virtual machines,
    The information processing apparatus according to claim 1.
  3.  前記第2の仮想マシンは、前記第1の仮想マシン上のOSを除くファイルから収集するファイルを指定するファイル収集設定部をさらに備え、
     前記バックアップ部は、指定した収集するファイルのリストを含め前記第2の仮想マシンのイメージファイルを作成する、
     請求項1または2に記載の情報処理装置。
    The second virtual machine further includes a file collection setting unit that specifies files to be collected from files other than the OS on the first virtual machine,
    The backup unit creates an image file of the second virtual machine including a specified list of files to be collected,
    The information processing apparatus according to claim 1.
  4.  前記ファイル収集部は、前記情報処理装置に接続される接続機器上のファイルを収集する、
     請求項1から3のいずれか1項に記載の情報処理装置。
    The file collecting unit collects files on a connected device connected to the information processing device,
    The information processing apparatus according to any one of claims 1 to 3.
  5.  前記第2の仮想マシンは、
     前記バックアップ部によりバックアップされた前記第2の仮想マシンのイメージファイルをリストアするリストア部と、
     前記アーカイブ作成部により作成された前記アーカイブファイルを展開するアーカイブ展開部と、
     前記アーカイブファイルを展開して得られた前記ファイルを前記第1の仮想マシン上にアップロードするファイルリストア部と、
     を備える請求項1から4のいずれか1項に記載の情報処理装置。
    The second virtual machine is
    A restore unit for restoring the image file of the second virtual machine backed up by the backup unit,
    An archive expanding unit that expands the archive file created by the archive creating unit,
    A file restore unit for uploading the file obtained by expanding the archive file onto the first virtual machine;
    The information processing apparatus according to any one of claims 1 to 4, further comprising:
  6.  前記第1の仮想マシンおよび前記第2の仮想マシンを初期化状態でリストアする仮想マシン初期化部をさらに備える、
     請求項5に記載の情報処理装置。
    A virtual machine initialization unit that restores the first virtual machine and the second virtual machine in an initialized state,
    The information processing device according to claim 5.
  7.  前記第2の仮想マシンのイメージファイルに含まれる収集するファイルのリストに基づき、前記アーカイブ展開部は、前記アーカイブファイルを展開し、前記ファイルリストア部は、展開して得られた前記ファイルを前記第1の仮想マシン上にアップロードする、
     請求項5または6に記載の情報処理装置。
    The archive decompression unit decompresses the archive file based on the list of files to be collected included in the image file of the second virtual machine, and the file restoration unit decompresses the file obtained by decompression. Upload to 1 virtual machine,
    The information processing apparatus according to claim 5 or 6.
  8.  第1の仮想マシン上の指定されたファイルを収集するステップと、
     収集した前記ファイルのアーカイブファイルを作成し、第2の仮想マシン上に格納するステップと、
     前記ファイルのアーカイブファイルを含む前記第2の仮想マシンのイメージファイルをバックアップするステップと、
     を備えるバックアップ方法。
    Collecting a specified file on the first virtual machine,
    Creating an archive file of the collected files and storing it on a second virtual machine;
    Backing up an image file of the second virtual machine including an archive file of the files;
    Backup method that includes.
  9.  第1の仮想マシン上のファイルのアーカイブファイルが格納された第2の仮想マシンのイメージファイルをリストアするステップと、
     前記第1の仮想マシン上のファイルのアーカイブファイルを展開するステップと、
     展開して得られた前記ファイルを前記第1の仮想マシン上にアップロードするステップと、
     を備えるリストア方法。
    Restoring an image file of a second virtual machine in which an archive file of files on the first virtual machine is stored,
    Decompressing an archive file of files on the first virtual machine;
    Uploading the extracted and obtained file onto the first virtual machine;
    Restoration method including.
  10.  コンピュータに、
     第1の仮想マシン上の指定されたファイルを収集するステップと、
     収集した前記ファイルのアーカイブファイルを作成し、第2の仮想マシン上に格納するステップと、
     前記ファイルのアーカイブファイルを含む前記第2の仮想マシンのイメージファイルをバックアップするステップと、
     を実行させるプログラム。
    On the computer,
    Collecting a specified file on the first virtual machine,
    Creating an archive file of the collected files and storing it on a second virtual machine;
    Backing up an image file of the second virtual machine including an archive file of the files;
    A program to execute.
  11.  コンピュータに、
     第1の仮想マシン上のファイルのアーカイブファイルが格納された第2の仮想マシンのイメージファイルをリストアするステップと、
     前記第1の仮想マシン上のファイルのアーカイブファイルを展開するステップと、
     展開して得られた前記ファイルを前記第1の仮想マシン上にアップロードするステップと、
     を実行させるプログラム。
    On the computer,
    Restoring an image file of a second virtual machine in which an archive file of files on the first virtual machine is stored,
    Decompressing an archive file of files on the first virtual machine;
    Uploading the extracted and obtained file onto the first virtual machine;
    A program to execute.
PCT/JP2019/003581 2019-02-01 2019-02-01 Information processing device, backup method, restore method, and program WO2020157950A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/JP2019/003581 WO2020157950A1 (en) 2019-02-01 2019-02-01 Information processing device, backup method, restore method, and program
CN201980090477.4A CN113366450B (en) 2019-02-01 2019-02-01 Information processing apparatus, backup method, recovery method, and program
JP2020512906A JP6762452B1 (en) 2019-02-01 2019-02-01 Information processing equipment, backup method, restore method and program
US17/414,949 US11281395B2 (en) 2019-02-01 2019-02-01 Information processing device, backup method, restore method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/003581 WO2020157950A1 (en) 2019-02-01 2019-02-01 Information processing device, backup method, restore method, and program

Publications (1)

Publication Number Publication Date
WO2020157950A1 true WO2020157950A1 (en) 2020-08-06

Family

ID=71840399

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/003581 WO2020157950A1 (en) 2019-02-01 2019-02-01 Information processing device, backup method, restore method, and program

Country Status (4)

Country Link
US (1) US11281395B2 (en)
JP (1) JP6762452B1 (en)
CN (1) CN113366450B (en)
WO (1) WO2020157950A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012176307A1 (en) * 2011-06-23 2012-12-27 株式会社日立製作所 Storage administration system and storage administration method
WO2013030967A1 (en) * 2011-08-30 2013-03-07 富士通株式会社 Backup method and backup program
JP2014044630A (en) * 2012-08-28 2014-03-13 Oyo Denshi:Kk Information system
WO2015132941A1 (en) * 2014-03-07 2015-09-11 株式会社日立製作所 Computer

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000035920A (en) 1998-07-17 2000-02-02 Nec Corp Fault restoration method for system and storage medium storing program for fault restoration of system
JP2002049534A (en) 2000-07-31 2002-02-15 Rexas Inc Backup/restoring system, backup unit, and backup/ restoring method
CN102541686B (en) * 2011-11-29 2015-07-01 中标软件有限公司 Method for achieving backup and disaster recovery of system by utilizing virtual machine
JP2013156873A (en) 2012-01-31 2013-08-15 Fujitsu Ltd Prediction program, prediction apparatus, and prediction method
US9772907B2 (en) * 2013-09-13 2017-09-26 Vmware, Inc. Incremental backups using retired snapshots
JP2015204025A (en) 2014-04-15 2015-11-16 日本電気株式会社 Information processing system, arrangement device, arrangement method and program
CN107544871B (en) * 2017-07-21 2020-10-02 新华三云计算技术有限公司 Virtual machine disk backup method and device
CN108182128A (en) * 2017-12-29 2018-06-19 广州鼎甲计算机科技有限公司 Based on XEN without Agent virtual back-up restoring method
CN108874585B (en) * 2018-05-25 2021-01-22 南京云信达科技有限公司 File backup method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012176307A1 (en) * 2011-06-23 2012-12-27 株式会社日立製作所 Storage administration system and storage administration method
WO2013030967A1 (en) * 2011-08-30 2013-03-07 富士通株式会社 Backup method and backup program
JP2014044630A (en) * 2012-08-28 2014-03-13 Oyo Denshi:Kk Information system
WO2015132941A1 (en) * 2014-03-07 2015-09-11 株式会社日立製作所 Computer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"ESX Server 3.5, ESX Server 3i version 3.5, VirtualCenter 2.5 Update 2 release", VMWARE, INC., 25 July 2008 (2008-07-25), XP055728532, Retrieved from the Internet <URL:https://www.vmware.com/files/jp/pdf/vi3_35_25_u2_vm_backup_ja.pdf> [retrieved on 20190410] *

Also Published As

Publication number Publication date
CN113366450A (en) 2021-09-07
US11281395B2 (en) 2022-03-22
US20220043576A1 (en) 2022-02-10
CN113366450B (en) 2022-12-09
JPWO2020157950A1 (en) 2021-02-18
JP6762452B1 (en) 2020-09-30

Similar Documents

Publication Publication Date Title
JP5772127B2 (en) Virtual machine management method, information processing apparatus, and virtual machine management program
AU2008231291B2 (en) IT automation appliance imaging system and method
US20040098426A1 (en) Backup system, backup method, program for backup, and backup service provision system
JP2005523485A (en) Appliance server with drive partitioning scheme to accommodate increased application size
JPWO2006104197A1 (en) Processing device, program, and storage medium
US20150277986A1 (en) Dynamic partition dual boot mobile phone device
JP4755244B2 (en) Information generation method, information generation program, and information generation apparatus
EP1758024A2 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
JP2006268377A (en) Program start-up controller and program start-up control method
TW202137002A (en) Data storage device and method for maintaining normal boot operation of data storage device
JP5683186B2 (en) Start-up acceleration method, information processing apparatus, and program
JP6762452B1 (en) Information processing equipment, backup method, restore method and program
US8954380B2 (en) Application management method and information processing apparatus
JP4613598B2 (en) Disk system
JP2001306327A (en) Application execution method before activation of os, and data processing system
JP4780015B2 (en) Backup apparatus, method, and program
JP6428047B2 (en) Information processing system, management control method, and management control program
JP2000305756A (en) Data processor and data processing method and storage medium storing computer readable program
JP5066946B2 (en) OS type automatic specifying device, OS automatic starting device, processor system, OS type automatic specifying method, OS automatic starting method, program, and storage medium
JP6580920B2 (en) Information processing apparatus, method for updating operating environment setting information of information processing apparatus, and program for updating operating environment setting information of information processing apparatus
CN114026506B (en) Programmable display and data management method
JP5618716B2 (en) FACILITY MANAGEMENT FILE EDITING DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP5725546B2 (en) Storage system
JP7091928B2 (en) Support equipment, support programs, control systems
CN116126385A (en) Data storage device and method capable of updating operating system rapidly

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020512906

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 19913758

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19913758

Country of ref document: EP

Kind code of ref document: A1