[go: up one dir, main page]

CN101114228A - A method and system for quickly installing an operating system - Google Patents

A method and system for quickly installing an operating system Download PDF

Info

Publication number
CN101114228A
CN101114228A CNA2006100618194A CN200610061819A CN101114228A CN 101114228 A CN101114228 A CN 101114228A CN A2006100618194 A CNA2006100618194 A CN A2006100618194A CN 200610061819 A CN200610061819 A CN 200610061819A CN 101114228 A CN101114228 A CN 101114228A
Authority
CN
China
Prior art keywords
operating system
restored
information
server
sample memory
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CNA2006100618194A
Other languages
Chinese (zh)
Inventor
赵建磊
刘光伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2006100618194A priority Critical patent/CN101114228A/en
Publication of CN101114228A publication Critical patent/CN101114228A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method of rapid installing operating system and the system. The method includes the steps that: a. a recovery program completes the installation of an awaiting recovery system according to the backup system information and the backup system data of the operating system in a sample memory. The invention makes up the deficiencies of the prior art by adopting the technic proposal that the installed operating system is backed up into the sample memory by a backup program, then recovery operation is conducted on a server that has the same type with the backup operating system in the sample memory, the operating system in the sample memory is cloned to the server that has the same type, and the need of repeated installation of the server that has the same type manually is avoided. The invention greatly shortens the installation time of operating systems, reduces operation complexity, and realizes mass installation of operating systems.

Description

一种快速安装操作系统的方法及其系统 A method and system for quickly installing an operating system

技术领域technical field

本发明涉及操作系统安装技术领域,具体来说,涉及安装UNIX操作系统和Linux操作系统的技术。The invention relates to the technical field of operating system installation, in particular to the technology for installing UNIX operating systems and Linux operating systems.

背景技术Background technique

目前UNIX操作系统和Linux操作系统的按照都存在按照过程复杂、不能采用克隆方式批量安装的问题。At present, both the UNIX operating system and the Linux operating system have the problem that the installation process is complicated and cannot be installed in batches by cloning.

以UNIX中的Solaris操作系统为例,目前在金融、通讯和电信领域有大量的服务器使用Solaris操作系统,使用较多的是Solaris 8和Solaris 10版本。Take the Solaris operating system in UNIX as an example. At present, there are a large number of servers in the fields of finance, communication and telecommunications using the Solaris operating system, and Solaris 8 and Solaris 10 versions are mostly used.

Solaris操作系统安装过程复杂,安装过程中需要人工干预地方多,出错后难以回退,因此对安装Solaris系统的工程师有很高要求,每次生产发货需要Sun公司上门调测安装,安装系统(包括应用程序在内)需要8到1 0个小时或更多时间。The installation process of the Solaris operating system is complicated, requiring manual intervention in many places during the installation process, and it is difficult to roll back after an error occurs. Therefore, there are high requirements for engineers who install the Solaris system. Every production and delivery requires Sun to come to the site for commissioning and installation. The installation system ( Including application) takes 8 to 10 hours or more.

如图1所示,Solaris操作系统传统的安装方法是使用CD/DVD进行安装,按照安装过程中的提示信息一步一步操作,安装过程中的操作步骤需要设置。As shown in Figure 1, the traditional installation method of the Solaris operating system is to use CD/DVD to install, follow the prompt information during the installation process to operate step by step, and the operation steps in the installation process need to be set.

安装Solaris操作系统时使用CD/DVD进行人机交互安装,安装过程中工程师对提示信息进行答复,配置相关参数,配置完成后继续进行安装。因此,现有的Solaris操作系统的安装存在如下的问题:When installing the Solaris operating system, use CD/DVD for human-computer interaction installation. During the installation process, the engineer will reply to the prompt information, configure relevant parameters, and continue the installation after the configuration is completed. Therefore, the installation of the existing Solaris operating system has the following problems:

(1)安装操作系统过程人机交互过程多,操作复杂,人机交互过程容易引起误操作,误操作后不能回退只能重新安装,对安装工程师的技能要求较高,需要专业人士安装。(1) There are many human-computer interaction processes during the installation of the operating system, and the operation is complicated. The human-computer interaction process is likely to cause misoperations. After misoperations, it cannot be rolled back and can only be reinstalled. The requirements for installation engineers are relatively high, and professional installation is required.

(2)安装过程耗时较长,一般情况下熟练的工程师安装完整的操作系统需要3个小时或更长时间,安装过程耗时长延长了生产周期,加大了库存压力,发货周期相应的被拉长。(2) The installation process takes a long time. Generally, it takes 3 hours or more for a skilled engineer to install a complete operating system. The long installation process prolongs the production cycle and increases the inventory pressure. The delivery cycle is corresponding is stretched.

(3)安装过程不能记录下来用于拷贝移植,再进行安装Solaris操作系统时需要重复安装。(3) The installation process cannot be recorded for copying and transplantation, and the installation of the Solaris operating system needs to be repeated.

除了上述的UNIX操作系统之外,Linux操作系统的安装过程也存在同样的问题。In addition to the above-mentioned UNIX operating system, the installation process of the Linux operating system also has the same problem.

安装Linux操作系统可以使用和上述相同的安装过程。除此之外,对于x86架构硬件体系可以采用Ghost软件实现克隆安装。Installing the Linux operating system can use the same installation process as above. In addition, Ghost software can be used to implement clone installation for the x86 architecture hardware system.

使用Ghost软件对Linux操作系统安装是常用的克隆技术,该方案需要对x86架构硬件平台上安装的LINUX操作系统进行克隆,把安装好的Linux系统克隆成镜像文件,然后利用此镜像文件在同类型x86架构上进行Linux操作系统的克隆安装。Using Ghost software to install the Linux operating system is a commonly used cloning technology. This solution needs to clone the LINUX operating system installed on the x86 architecture hardware platform, clone the installed Linux system into a mirror file, and then use this mirror file in the same type Clone and install the Linux operating system on the x86 architecture.

但上述的克隆安装方法仅能对x86架构硬件平台上的Linux操作系统进行克隆安装,不适用于UNIX操作系统的安装;此外,Ghost软件不是免费的软件,使用该软件进行克隆安装时需要额外购买Ghost软件,增加了生产成本或运营成本;同时,使用Ghost软件进行克隆安装时难以实现定制化需求,针对应用的定制化系统进行克隆时受到限制。However, the above-mentioned cloning installation method can only clone and install the Linux operating system on the x86 architecture hardware platform, and is not suitable for the installation of the UNIX operating system; in addition, the Ghost software is not free software, and additional purchase is required when using this software for cloning installation Ghost software increases production costs or operating costs; at the same time, it is difficult to realize customization requirements when using Ghost software for cloning installation, and there are restrictions when cloning customized systems for applications.

发明内容Contents of the invention

本发明的目的在于提供一种快速安装Solaris操作系统的方法及其系统,以解决现有技术中操作系统安装复杂,安装效率低下的问题。The object of the present invention is to provide a method and system for quickly installing the Solaris operating system, so as to solve the problems of complicated and low installation efficiency of the operating system in the prior art.

为实现上述目的,本发明采用如下的技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种快速安装操作系统的方法,所述的方法包括如下步骤:A method for quickly installing an operating system, said method comprising the steps of:

a、恢复程序根据样本存储器中备份的操作系统的系统信息和系统数据完成对待恢复系统的安装。a. The restoration program completes the installation of the system to be restored according to the system information and system data of the operating system backed up in the sample memory.

其中步骤a之前还包括:Wherein before step a also includes:

将所述的样本存储器中的恢复程序拷贝至待恢复系统的临时目录中。Copy the restoration program in the sample storage to the temporary directory of the system to be restored.

其中步骤a之前还包括:Wherein before step a also includes:

a0、将已安装好的操作系统的系统信息和系统数据备份到所述的样本存储器中。a0. Backup the system information and system data of the installed operating system into the sample memory.

其中步骤a0具体包括:Wherein step a0 specifically includes:

备份程序将所述的已安装好的操作系统的分区信息备份到所述的样本存储器中;The backup program backs up the partition information of the installed operating system into the sample memory;

所述的备份程序根据已安装好的操作系统的分区信息循环把每个分区中的数据备份到所述的样本存储器中。The backup program cyclically backs up the data in each partition to the sample memory according to the partition information of the installed operating system.

其中所述的已安装好的操作系统的分区信息包括磁盘分区方案和分区大小、根分区信息以及磁盘数量信息。The partition information of the installed operating system described therein includes disk partition scheme and partition size, root partition information, and disk quantity information.

其中步骤a0还包括:所述的备份程序将所述的已安装好的操作系统的服务器机型备份到所述的样本存储器中。The step a0 further includes: the backup program backups the server model with the installed operating system into the sample memory.

其中步骤a具体包括:Wherein step a specifically includes:

a1、所述的恢复程序根据所述的样本存储器中备份的分区信息对所述的待恢复系统进行分区,创建文件系统;a1. The recovery program partitions the system to be recovered according to the partition information backed up in the sample storage, and creates a file system;

a2、所述的恢复程序将所述的样本存储器中的系统数据按照所述的分区依次恢复到所述的待恢复系统中。a2. The restoration program restores the system data in the sample memory to the system to be restored sequentially according to the partitions.

所述的方法还包括:The method also includes:

所述的恢复程序检测所述的待恢复系统的服务器机型是否与所述的样本存储器中备份的已安装好的操作系统的服务器机型一致,如果一致转步骤a,否则结束流程。The restoration program detects whether the server model of the system to be restored is consistent with the server model of the installed operating system backed up in the sample memory, if they are consistent, go to step a, otherwise end the process.

所述的方法还包括:The method also includes:

所述的恢复程序检测所述的待恢复系统的硬盘数量是否少于所述的样本存储器中备份的已安装好的操作系统的服务器的硬盘数量,如果不少于则转步骤a,否则结束流程。The restoration program detects whether the number of hard disks of the system to be restored is less than the number of hard disks of the server with the installed operating system backed up in the sample memory, if not, go to step a, otherwise end the process .

其中所述的操作系统为UNIX操作系统或者Linux操作系统。The operating system described therein is a UNIX operating system or a Linux operating system.

其中所述的UNIX操作系统具体为Solaris操作系统。The UNIX operating system described therein is specifically the Solaris operating system.

其中步骤a之后还包括:在所述的待恢复系统的根分区上创建引导块,配置设备驱动程序,自动重新启动系统。After step a, the method further includes: creating a boot block on the root partition of the system to be restored, configuring device drivers, and automatically restarting the system.

本发明还提供了一种快速安装操作系统的系统,所述的系统包括:The present invention also provides a system for quickly installing an operating system, the system comprising:

已经安装好操作系统的服务器,用来供样本存储器备份已经安装好的操作系统的系统信息和系统数据;The server with the operating system installed is used for the sample storage to back up the system information and system data of the installed operating system;

样本存储器,用来从已经安装好操作系统的服务器中备份所述的已经安装好的操作系统的系统信息和系统数据,并用来通过恢复程序对待恢复系统的服务器进行恢复操作。The sample memory is used to back up the system information and system data of the installed operating system from the server on which the operating system has been installed, and is used to restore the server whose system is to be restored through a restoration program.

其中所述的操作系统为UNIX操作系统或者Linux操作系统。The operating system described therein is a UNIX operating system or a Linux operating system.

本发明还提供了一种快速安装操作系统的装置,所述的装置中备份有已安装好的操作系统的系统信息和系统数据,能够通过恢复程序对待恢复系统进行恢复操作。The present invention also provides a device for quickly installing an operating system. The system information and system data of the installed operating system are backed up in the device, and the system to be restored can be restored through a restoration program.

本发明克服现有技术的不足,采用通过备份程序将安装好的操作系统的系统信息和系统数据备份到样本存储器中,然后根据样本存储器中备份的操作系统的系统信息和系统数据对相同型号的服务器进行恢复操作,将样本存储器中的操作系统克隆到相同型号的服务器中,避免通过手动方式对相同型号的服务器进行重复安装的技术方案,大幅度缩短了操作系统的安装时间,降低了操作复杂度,并且实现了批量化安装操作系统。The present invention overcomes the deficiencies of the prior art, adopts the backup program to back up the system information and system data of the installed operating system into the sample storage, and then performs the same type of operation according to the system information and system data of the backup operating system in the sample storage. The server restores the operating system, clones the operating system in the sample storage to the server of the same model, avoids the technical solution of repeated installation of the server of the same model by manual means, greatly shortens the installation time of the operating system, and reduces the complexity of the operation Degree, and realize the batch installation of the operating system.

附图说明Description of drawings

图1为现有的安装Solaris操作系统的流程图;Fig. 1 is the flow chart of existing installation Solaris operating system;

图2为本发明实施例的系统结构图;Fig. 2 is a system structural diagram of an embodiment of the present invention;

图3为本发明实施例所述的备份已安装好的Solaris操作系统流程图;Fig. 3 is the installed Solaris operating system flowchart of the backup described in the embodiment of the present invention;

图4为本发明实施例所述的通过样本带对待恢复系统安装的流程图。Fig. 4 is a flow chart of installing the system to be restored through the sample tape according to the embodiment of the present invention.

具体实施方式Detailed ways

本发明的基本原理是通过备份程序将安装好的操作系统的系统信息和系统数据备份到样本存储器中,然后用样本存储器中备份的操作系统信息和系统数据对相同型号的服务器进行恢复操作,将样本存储器中的操作系统克隆到相同型号的服务器中,避免通过手动方式对相同型号的服务器进行重复安装。The basic principle of the present invention is to back up the system information and system data of the installed operating system to the sample memory through the backup program, and then use the operating system information and system data backed up in the sample memory to restore the server of the same model. The operating systems in the sample storage are cloned to servers of the same model, avoiding repeated manual installations on servers of the same model.

本实施例中以Solaris操作系统的安装过程来进行说明,以下结合附图和具体实施例进行详细说明。In this embodiment, the installation process of the Solaris operating system is used for illustration, which will be described in detail below with reference to the drawings and specific embodiments.

本发明实施例的系统结构如图2所示,包括:The system structure of the embodiment of the present invention is shown in Figure 2, including:

已经安装好Solaris操作系统的服务器A,供样本存储器备份已经安装好Solaris操作系统的系统信息和系统数据;The server A with the Solaris operating system installed is used for the sample storage to back up the system information and system data of the installed Solaris operating system;

样本存储器,用来从已经安装好Solaris操作系统的服务器中备份所述的已经安装好的Solaris操作系统的系统信息和系统数据,通过恢复程序对待恢复系统的服务器进行恢复操作。The sample memory is used to back up the system information and system data of the installed Solaris operating system from the server on which the Solaris operating system has been installed, and restore the server to be restored through the recovery program.

需要开发的程序包括两部分,一部分是系统备份程序,一部分是系统恢复程序。系统备份程序的作用是从一台已经安装好的服务器A(以下称制作样本带的服务器)系统中将其Solaris系统备份到磁带中(也可以是其他的样本存储器,本发明实施例以磁带为例),备份已安装好系统的磁带称为样本带。系统恢复程序的作用是根据样本带中备份的系统分区信息对待操作系统分区,然后将样本带中的系统数据恢复到服务器中,完成快速安装操作。The program to be developed includes two parts, one is the system backup program and the other is the system recovery program. The effect of the system backup program is to back up its Solaris system in the tape from an installed server A (hereinafter referred to as the server making the sample tape) system (also can be other sample storage, the embodiment of the present invention uses the tape as Example), the tape for backing up the installed system is called a sample tape. The function of the system recovery program is to treat the operating system partition according to the system partition information backed up in the sample tape, and then restore the system data in the sample tape to the server to complete the quick installation operation.

在服务器A中保存有上述的系统备份程序和系统恢复程序,当样本存储器对服务器A中已经安装好的Solaris操作系统进行备份时,备份程序将服务器A中Solaris系统的系统信息和系统数据备份到样本存储器中,同时将恢复程序备份到样本存储器中。The above-mentioned system backup program and system recovery program are stored in server A. When the sample memory backs up the installed Solaris operating system in server A, the backup program will back up the system information and system data of the Solaris system in server A to At the same time, backup the recovery program to the sample memory.

在制作样本带时,首先使用命令ufsdump(用于对ufs文件系统进行备份或转储)把系统备份程序和系统恢复程序备份至磁带的第一块。在使用样本带恢复系统时,首先使用命令ufsrestore(用于对ufs文件系统进行恢复)把样本带中的第一块数据恢复出来,恢复出来的数据就包括自动恢复程序,然后执行自动恢复程序,完成克隆操作。When making a sample tape, first use the command ufsdump (used to back up or dump the ufs file system) to back up the system backup program and system recovery program to the first block of the tape. When using the sample tape to restore the system, first use the command ufsrestore (used to restore the ufs file system) to restore the first piece of data in the sample tape, the restored data includes the automatic recovery program, and then execute the automatic recovery program, Complete the cloning operation.

如图2所示,对安装好的操作系统进行备份包括如下步骤:As shown in Figure 2, backing up the installed operating system includes the following steps:

1、检测系统是否符合备份的要求,如果系统中的数据被镜像过或者被Volume Manager(Symantec公司卷管理软件)封装过将不能进行备份操作,对于不符合备份要求的,系统将给出提示信息,结束流程。1. Check whether the system meets the backup requirements. If the data in the system has been mirrored or encapsulated by Volume Manager (Symantec volume management software), the backup operation cannot be performed. For those that do not meet the backup requirements, the system will give a prompt message , to end the process.

2、如果系统符合备份要求,备份服务器机型信息,通过uname(查看Solaris操作系统、主机名称、服务器类型信息)命令把服务器机型备份下来。2. If the system meets the backup requirements, back up the server model information, and use the uname (view Solaris operating system, host name, server type information) command to back up the server model.

3、使用df(查看磁盘空间使用情况)命令和prtvtoc(输出磁盘分区信息)命令备份系统分区信息,包括磁盘分区方案和分区大小,并备份根分区信息。3. Use the df (view disk space usage) command and the prtvtoc (output disk partition information) command to back up the system partition information, including the disk partition scheme and partition size, and back up the root partition information.

4、备份磁盘数量和磁盘大小信息。4. Backup disk quantity and disk size information.

5、将上述备份的相关信息及恢复程序使用ufsdump命令备份到磁带中。5. Use the ufsdump command to back up the relevant information of the above backup and the recovery program to the tape.

6、根据系统分区信息循环把每个slice(Solaris系统中的硬盘的分区)分区中的数据备份到磁带中,使用ufsdump命令完成备份操作。6. According to the system partition information, back up the data in each slice (hard disk partition in the Solaris system) partition to the tape cyclically, and use the ufsdump command to complete the backup operation.

备份完成后就完成了样本带的制作,该样本带可以用于后续的系统恢复操作。备份完成后从磁带机中弹出磁带,在磁带上贴上相应的标签保存起来,可以用于该类机型的快速恢复安装。After the backup is completed, the production of the sample tape is completed, and the sample tape can be used for subsequent system recovery operations. After the backup is complete, eject the tape from the tape drive, affix a corresponding label on the tape and save it, which can be used for quick recovery installation of this type of model.

当样本存储器完成对服务器A中已经安装好的Solaris操作系统的备份后,此时可以利用样本存储器完成对待恢复系统的服务器的恢复操作。After the sample storage completes the backup of the installed Solaris operating system on the server A, the sample storage can be used to complete the recovery operation of the server whose system is to be restored.

首先,需要将样本存储器中恢复程序复制到待恢复系统的服务器中,恢复程序运行后读取样本存储器中备份的已经安装好的Solaris操作系统的系统信息,根据其中的分区信息对待恢复系统进行分区,然后将样本存储器中存储的系统数据按照分区依次拷贝到待恢复的系统中。First, you need to copy the recovery program in the sample storage to the server of the system to be recovered. After the recovery program runs, read the system information of the installed Solaris operating system backed up in the sample storage, and partition the system to be recovered according to the partition information. , and then copy the system data stored in the sample storage to the system to be restored in sequence according to the partitions.

使用制作好的样本带安装Solaris操作系统的流程如图4所示,具体包括如下步骤:Figure 4 shows the process of installing the Solaris operating system using the prepared sample belt, including the following steps:

1、首先是准备好硬件系统,包括一个能够读样本带的磁带机和制作好的样本带,把磁带机连接到待恢复的服务器上。1. First, prepare the hardware system, including a tape drive capable of reading the sample tape and the prepared sample tape, and connect the tape drive to the server to be restored.

2、通过安装光盘(CD/DVD)引导系统。2. Boot the system through the installation CD (CD/DVD).

3、将样本带里面第一块的恢复程序恢复至待恢复系统的临时目录中。3. Restore the recovery program of the first block in the sample tape to the temporary directory of the system to be recovered.

4、恢复程序检测待恢复系统机型是否和样本带中备份的机型一致,如果一致转步骤5,否则转步骤9。4. The restoration program detects whether the model of the system to be restored is consistent with the model backed up in the sample tape, if they are consistent, go to step 5, otherwise go to step 9.

5、恢复程序检测待恢复系统硬盘数量是否少于制作样本带系统的硬盘数量(如果制作样本带系统中的操作系统安装在三个硬盘上,待恢复系统只有一个硬盘,那么恢复操作肯定失败,另外就是硬盘大小的问题,待恢复系统硬盘容量必须大于等于制作样本带系统的硬盘容量,否则无法进行分区,系统数据也无法完全恢复),如果不少于转步骤6,否则转步骤9。5. The recovery program checks whether the number of hard disks of the system to be restored is less than the number of hard disks of the system for making the sample tape (if the operating system in the system for making the sample tape is installed on three hard disks, and the system to be restored has only one hard disk, then the recovery operation must fail. Another issue is the size of the hard disk. The hard disk capacity of the system to be restored must be greater than or equal to the hard disk capacity of the system for making the sample tape, otherwise the partition cannot be performed, and the system data cannot be fully restored.) If not less than that, go to step 6, otherwise go to step 9.

6、恢复程序根据样本带中备份的分区信息对待恢复系统进行分区,创建文件系统。6. The recovery program partitions the system to be recovered according to the partition information backed up in the sample tape, and creates a file system.

7、执行恢复程序把样本带中的系统数据按照分区依次恢复到系统中。7. Execute the recovery program to restore the system data in the sample tape to the system in sequence according to the partitions.

8、在根分区上创建引导块,配置设备驱动程序,自动重新启动系统,完成恢复操作。8. Create a boot block on the root partition, configure device drivers, automatically restart the system, and complete the recovery operation.

9、结束。9. End.

采用上述的方案恢复系统操作大概需要0.5~1小时左右,同现有技术中的通过手动对每台待恢复系统进行安装相比,极大的缩短了安装Solaris系统的时间。It takes about 0.5-1 hour to restore the system operation by adopting the above scheme, which greatly shortens the time for installing the Solaris system compared with the manual installation of each system to be restored in the prior art.

虽然本发明实施例中以Solaris操作系统的按照为例进行说明,但本发明的保护范围不限于Solaris操作系统的安装,本发明的技术方案同样适用于其他UNIX和Linux操作系统的安装。Although the implementation of the Solaris operating system is used as an example for illustration in the embodiment of the present invention, the protection scope of the present invention is not limited to the installation of the Solaris operating system, and the technical solution of the present invention is also applicable to the installation of other UNIX and Linux operating systems.

Claims (15)

1.一种快速安装操作系统的方法,其特征在于,所述的方法包括如下步骤:1. A method for quickly installing an operating system, characterized in that, the method comprises the steps: a、恢复程序根据样本存储器中备份的操作系统的系统信息和系统数据完成对待恢复系统的安装。a. The restoration program completes the installation of the system to be restored according to the system information and system data of the operating system backed up in the sample memory. 2.根据权利要求1所述的方法,其特征在于,其中步骤a之前还包括:2. The method according to claim 1, characterized in that, before step a, further comprising: 将所述的样本存储器中的恢复程序拷贝至待恢复系统的临时目录中。Copy the restoration program in the sample storage to the temporary directory of the system to be restored. 3.根据权利要求1所述的方法,其特征在于,其中步骤a之前还包括:3. The method according to claim 1, characterized in that, before step a, further comprising: a0、将已安装好的操作系统的系统信息和系统数据备份到所述的样本存储器中。a0. Backup the system information and system data of the installed operating system into the sample memory. 4.根据权利要求3所述的方法,其特征在于,其中步骤a0具体包括:4. The method according to claim 3, wherein step a0 specifically comprises: 备份程序将所述的已安装好的操作系统的分区信息备份到所述的样本存储器中;The backup program backs up the partition information of the installed operating system into the sample memory; 所述的备份程序根据已安装好的操作系统的分区信息循环将每个分区中的数据备份到所述的样本存储器中。The backup program cyclically backs up the data in each partition to the sample memory according to the partition information of the installed operating system. 5.根据权利要求4所述的方法,其特征在于,所述的已安装好的操作系统的分区信息包括磁盘分区方案和分区大小、根分区信息以及磁盘数量信息。5. The method according to claim 4, wherein the partition information of the installed operating system includes disk partition scheme and partition size, root partition information, and disk quantity information. 6.根据权利要求4所述的方法,其特征在于,其中步骤a0还包括:所述的备份程序将所述的已安装好的操作系统的服务器机型备份到所述的样本存储器中。6. The method according to claim 4, wherein the step a0 further comprises: the backup program backs up the server model of the installed operating system into the sample memory. 7.根据权利要求1所述的方法,其特征在于,其特征在于,其中步骤a具体包括:7. The method according to claim 1, characterized in that, wherein step a specifically comprises: a1、所述的恢复程序根据所述的样本存储器中备份的分区信息对所述的待恢复系统进行分区,创建文件系统;a1. The recovery program partitions the system to be recovered according to the partition information backed up in the sample storage, and creates a file system; a2、所述的恢复程序将所述的样本存储器中的系统数据按照所述的分区依次恢复到所述的待恢复系统中。a2. The restoration program restores the system data in the sample memory to the system to be restored sequentially according to the partitions. 8.根据权利要求1所述的方法,其特征在于,所述的方法还包括:8. method according to claim 1, is characterized in that, described method also comprises: 所述的恢复程序检测所述的待恢复系统的服务器机型是否与所述的样本存储器中备份的已安装好的操作系统的服务器机型一致,如果一致转步骤a,否则结束流程。The restoration program detects whether the server model of the system to be restored is consistent with the server model of the installed operating system backed up in the sample memory, if they are consistent, go to step a, otherwise end the process. 9.根据权利要求1所述的方法,其特征在于,所述的方法还包括:9. method according to claim 1, is characterized in that, described method also comprises: 所述的恢复程序检测所述的待恢复系统的硬盘数量是否少于所述的样本存储器中备份的已安装好的操作系统的服务器的硬盘数量,如果不少于则转步骤a,否则结束流程。The restoration program detects whether the number of hard disks of the system to be restored is less than the number of hard disks of the server with the installed operating system backed up in the sample memory, if not, go to step a, otherwise end the process . 10.根据权利要求1或者7或者8或者9所述的方法,其特征在于,所述的操作系统为UNIX操作系统或者Linux操作系统。10. The method according to claim 1 or 7 or 8 or 9, wherein the operating system is a UNIX operating system or a Linux operating system. 11.根据权利要求10所述的方法,其特征在于,所述的UNIX操作系统具体为Solaris操作系统。11. The method according to claim 10, wherein the UNIX operating system is specifically the Solaris operating system. 12.根据权利要求1所述的方法,其特征在于,其中步骤a之后还包括:在所述的待恢复系统的根分区上创建引导块,配置设备驱动程序,自动重新启动系统。12. The method according to claim 1, further comprising: after step a, creating a boot block on the root partition of the system to be restored, configuring device drivers, and restarting the system automatically. 13.一种快速安装操作系统的系统,其特征在于,所述的系统包括:13. A system for quickly installing an operating system, characterized in that the system includes: 已经安装好操作系统的服务器,用来供样本存储器备份已经安装好的操作系统的系统信息和系统数据;The server with the operating system installed is used for the sample storage to back up the system information and system data of the installed operating system; 样本存储器,用来从已经安装好操作系统的服务器中备份所述的已经安装好的操作系统的系统信息和系统数据,并用来通过恢复程序对待恢复系统的服务器进行恢复操作。The sample memory is used to back up the system information and system data of the installed operating system from the server on which the operating system has been installed, and is used to restore the server whose system is to be restored through a restoration program. 14.根据权利要求13所述的系统,其特征在于,所述的操作系统为UNIX操作系统或者Linux操作系统。14. The system according to claim 13, wherein the operating system is a UNIX operating system or a Linux operating system. 15.一种快速安装操作系统的装置,其特征在于,所述的装置中备份有已安装好的操作系统的系统信息和系统数据,能够通过恢复程序对待恢复系统进行恢复操作。15. A device for quickly installing an operating system, characterized in that the system information and system data of the installed operating system are backed up in the device, and the system to be restored can be restored through a restoration program.
CNA2006100618194A 2006-07-25 2006-07-25 A method and system for quickly installing an operating system Pending CN101114228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100618194A CN101114228A (en) 2006-07-25 2006-07-25 A method and system for quickly installing an operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100618194A CN101114228A (en) 2006-07-25 2006-07-25 A method and system for quickly installing an operating system

Publications (1)

Publication Number Publication Date
CN101114228A true CN101114228A (en) 2008-01-30

Family

ID=39022591

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006100618194A Pending CN101114228A (en) 2006-07-25 2006-07-25 A method and system for quickly installing an operating system

Country Status (1)

Country Link
CN (1) CN101114228A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833487A (en) * 2010-04-16 2010-09-15 山东高效能服务器和存储研究院 A Realization Method of Automated Synchronous Mirroring and Restoration
CN102169441A (en) * 2011-03-18 2011-08-31 浪潮电子信息产业股份有限公司 Rapid deployment method for blade operation system
CN102750203A (en) * 2012-06-07 2012-10-24 浪潮电子信息产业股份有限公司 Linux-based rapid deploying method
CN103412776A (en) * 2013-08-12 2013-11-27 浪潮电子信息产业股份有限公司 Method for debugging blade server in parallel
CN104731632A (en) * 2015-04-14 2015-06-24 北京百度网讯科技有限公司 Method and system for deploying operating system
CN105786569A (en) * 2016-02-26 2016-07-20 联想(北京)有限公司 Information processing method and electronic equipment
CN106681771A (en) * 2016-12-30 2017-05-17 合网络技术(北京)有限公司 System reinstallation method and device
CN107678880A (en) * 2017-09-08 2018-02-09 郑州云海信息技术有限公司 A kind of minicomputer calculates partition operating system Backup and Restore device and method
CN110968462A (en) * 2019-12-13 2020-04-07 重庆首厚智能科技研究院有限公司 Real-time safety backup system
CN114816843A (en) * 2022-03-28 2022-07-29 联想开天科技有限公司 System recovery method and electronic equipment
CN116610500A (en) * 2023-07-20 2023-08-18 深圳市科力锐科技有限公司 Data backup method, device, equipment and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833487A (en) * 2010-04-16 2010-09-15 山东高效能服务器和存储研究院 A Realization Method of Automated Synchronous Mirroring and Restoration
CN102169441A (en) * 2011-03-18 2011-08-31 浪潮电子信息产业股份有限公司 Rapid deployment method for blade operation system
CN102750203A (en) * 2012-06-07 2012-10-24 浪潮电子信息产业股份有限公司 Linux-based rapid deploying method
CN103412776A (en) * 2013-08-12 2013-11-27 浪潮电子信息产业股份有限公司 Method for debugging blade server in parallel
CN104731632A (en) * 2015-04-14 2015-06-24 北京百度网讯科技有限公司 Method and system for deploying operating system
CN105786569B (en) * 2016-02-26 2019-07-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105786569A (en) * 2016-02-26 2016-07-20 联想(北京)有限公司 Information processing method and electronic equipment
CN106681771A (en) * 2016-12-30 2017-05-17 合网络技术(北京)有限公司 System reinstallation method and device
CN106681771B (en) * 2016-12-30 2020-12-29 阿里巴巴(中国)有限公司 System reinstallation method and device
CN107678880A (en) * 2017-09-08 2018-02-09 郑州云海信息技术有限公司 A kind of minicomputer calculates partition operating system Backup and Restore device and method
CN107678880B (en) * 2017-09-08 2020-04-03 郑州云海信息技术有限公司 A kind of small computer computing partition operating system backup and recovery device and method
CN110968462A (en) * 2019-12-13 2020-04-07 重庆首厚智能科技研究院有限公司 Real-time safety backup system
CN114816843A (en) * 2022-03-28 2022-07-29 联想开天科技有限公司 System recovery method and electronic equipment
CN116610500A (en) * 2023-07-20 2023-08-18 深圳市科力锐科技有限公司 Data backup method, device, equipment and storage medium
CN116610500B (en) * 2023-07-20 2024-04-09 深圳市科力锐科技有限公司 Data backup method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
AU2012347883B2 (en) System and method for restoring application data
TWI505087B (en) System reset
US7370164B1 (en) Backup of virtual machines from the base machine
AU2014374256B2 (en) Systems and methods for improving snapshot performance
CN102057358B (en) Systems and methods for tracking changes to a volume
CN111143132B (en) A BIOS recovery method, apparatus, device and readable storage medium
US8578203B2 (en) Providing a backup service from a remote backup data center to a computer through a network
CN101344863A (en) Back-up system and method
CN105550062B (en) The data reflow method restored based on continuous data protection and time point browsing
CN101243413A (en) Systems and methods for virtualizing backup images
EP3769224B1 (en) Configurable recovery states
US9619340B1 (en) Disaster recovery on dissimilar hardware
CN101114228A (en) A method and system for quickly installing an operating system
EP3970019B1 (en) Method for updating an operating system of a computing device
CN115658392B (en) A Hierarchical Image Backup Scheduling Method and Device Based on Xinchuang Cloud Base
CN115576743B (en) Operating system recovery method, operating system recovery device, computer equipment and storage medium
CN102968358A (en) Quick recovery method of soft RAID1 deployment system
CN111966644A (en) Supercomputer data storage method, device, system and storage medium
US8407301B1 (en) Systems and methods for creating incremental images of cluster volumes
CN114443060A (en) Operating system deployment method and system
EP3769225B1 (en) Free space pass-through
CN112256481A (en) Data recovery method and system in agile development
CN114840361B (en) Method for accelerating database recovery and application
CN112596958A (en) Database backup method, device, equipment and storage medium
US12423194B2 (en) Disaster recovery for private-network data backup and recovery systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication