Mirror image file making and starting method of diskless system

A technology of image files and production methods, applied in software deployment and other directions, can solve problems such as large image files, inability to analyze kernel errors, and high network pressure.

Active Publication Date: 2019-05-21
NAT UNIV OF DEFENSE TECH
View PDF14 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In actual use, the traditional diskless computer startup method has the following defects: 1) When customizing the image of the target operating system, all files such as the kernel module, system software, library files, and header files required by the system must be organized according to the rules of the linux directory tree Packed into the image file, the image file is too large, and the system takes a long time to transfer the file through the network when the system is booted, and the network pressure is high. At the same time, the time for decompressing the larger image file to the memory will be longer
At the same time, the kernel has a limit on the image size
2) Due to the different needs of users, it is impossible to know all the files needed when customizing the image. Therefore, when the user's needs change frequently, the im

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mirror image file making and starting method of diskless system
  • Mirror image file making and starting method of diskless system
  • Mirror image file making and starting method of diskless system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] Such as figure 1 As shown, the implementation steps of the image file making method of the diskless system of the present embodiment include:

[0067] 1) For the target operating system of the computer client of the diskless system, configure the basic kernel module used to start the kernel and mount the NFS service. After the configuration is completed, compile the module to generate the kernel and kernel module;

[0068] 2) Generate the root file system directory of the target operating system according to the kernel and kernel modules, and add an execution script after the kernel is started in the root file system directory. The execution script is configured to mount the NFS service and obtain the system software from the NFS server, Application software, drivers;

[0069] 3) Add the kdump tool in the root file system directory, and configure the kdump tool to store the system downtime log on the specified NFS server, and configure the kdump tool to start the kdump...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a mirror image file making and starting method of a diskless system. The mirror image file making method comprises the following steps: configuring a kernel basic module to compile and generate a kernel and a kernel module; Generating a root file system directory of the target operating system, after the kernel is added into the root file system directory to be started, theNFS service is mounted; obtaining the execution scripts of the software and the driver from the NFS server, a kdump tool is added and configured to be started and store system downtime logs to an NFSserver, a system log service script is established to redirect the system logs to the NFS server, and a root file system directory is packaged to generate a target operation system mirror image; thestarting method comprises the step of realizing diskless starting based on the mirror image file and PXE + DHCP + TFTP + NFS. According to the method, the size of the mirror image file can be greatlyreduced, the starting efficiency is improved, and system fault analysis during system downtime is facilitated.

Description

technical field [0001] The invention relates to a computer diskless startup technology, in particular to a method for making and starting an image file of a diskless system. Background technique [0002] Generally speaking, the operating system is installed in the hard disk, which is the so-called "boot with disk". However, some computer clients in high-performance computing, embedded systems, Internet cafes, hotels, education and many other fields do not have local disks. In these systems, computer clients need to load and run operating systems from remote servers, that is, "diskless start up". All the information of the computer client in the diskless boot system is stored in the memory, such as: the operating system, the logs generated during the running of the system, and the kernel running information are all stored in the memory. Information will be lost. [0003] In the diskless system, the server where the diskless system kernel and mirror image are located is cal...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/61
Inventor 朱清华张蕾王睿伯董勇张伟周恩强谢旻迟万庆张文喆张百达高颖慧陈凤英
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products