CN101114228A - Method for rapid installing operating system and system thereof - Google Patents

Method for rapid installing operating system and system thereof 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
recovery
sample storage
server
information
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 kind of method of rapid installing operating system and system thereof
Technical field
The present invention relates to the operating system installation technical field, specifically, relate to the technology that UNIX operating system and (SuSE) Linux OS are installed.
Background technology
Present UNIX operating system and (SuSE) Linux OS according to all existing according to process complexity, the problem that can not adopt clone's mode to install in batches.
With the solaris operating system among the UNIX is example, at present has a large amount of servers to use solaris operating system at finance, communication and field of telecommunications, and using more is Solaris 8 and Solaris 10 versions.
Solaris operating system installation process complexity, need the manual intervention place many in the installation process, be difficult to rollback after makeing mistakes, therefore the slip-stick artist that solaris system is installed is had high requirements, produce delivery needs Sun Microsystems to transfer survey that installation system (comprising application program) needs 8 to 10 hours or more time are installed to the doorstep at every turn.
As shown in Figure 1, the traditional installation method of solaris operating system is to use CD/DVD to install, and operates step by step according to the information in the installation process, and the operation steps in the installation process needs to be provided with.
Use CD/DVD to carry out man-machine interaction when solaris operating system is installed and install, the slip-stick artist answers information in the installation process, and the configuration correlation parameter is proceeded to install after configuration is finished.Therefore, there is following problem in the installation of existing solaris operating system:
(1) installing operating system process man-machine interaction process is many, complicated operation, and the man-machine interaction process causes maloperation easily, can not can only reinstall by rollback after the maloperation, and the technical ability of installation engineer is had relatively high expectations, and needs the professional person to install.
(2) installation process is consuming time longer, and skilled generally speaking slip-stick artist installs complete operating system needs 3 hours or longer time, and installation process length consuming time has prolonged the production cycle, has strengthened warehousing pressure, and shipping period is elongated accordingly.
(3) installation process can not be noted and be used for the copy transplanting, need repeat when again solaris operating system being installed to install.
Except above-mentioned UNIX operating system, also there is same problem in the installation process of (SuSE) Linux OS.
(SuSE) Linux OS is installed can be used and above-mentioned identical installation process.In addition, can adopt Ghost software to realize that the clone installs for x86 framework hardware systems.
Using Ghost software that (SuSE) Linux OS is installed is the clone technology of using always, this scheme need be cloned the LINUX operating system of installing on the x86 framework hardware platform, mounted linux system is cloned into image file, and the clone who utilizes this image file to carry out (SuSE) Linux OS then on x86 framework of the same type installs.
But above-mentioned clone installation method only can be cloned installation to the (SuSE) Linux OS on the x86 framework hardware platform, is not suitable for the installation of UNIX operating system; In addition, Ghost software is not free software, and using this software to clone needs the extra Ghost of purchase software when installing, increased production cost or operation cost; Simultaneously, use Ghost software to clone and be difficult to realize the customization demand when installing, be restricted when cloning at the customization system that uses.
Summary of the invention
The object of the present invention is to provide a kind of method and system thereof of Fast Installation solaris operating system, to solve operating system installation complexity in the prior art, the problem that installation effectiveness is low.
For achieving the above object, the present invention adopts following technical scheme:
A kind of method of rapid installing operating system, described method comprises the steps:
A, recovery routine are finished the installation for the treatment of recovery system according to the system information and the system data of the operating system that backs up in the sample storage.
Wherein also comprise before the step a:
Recovery routine in the described sample storage is copied in the temp directory for the treatment of recovery system.
Wherein also comprise before the step a:
A0, with the system information of mounted operating system and system data back-up in described sample storage.
Wherein step a0 specifically comprises:
Stand-by program backups to the partition information of described mounted operating system in the described sample storage;
Described stand-by program backups to the data in each subregion in the described sample storage according to the partition information circulation of mounted operating system.
The partition information of wherein said mounted operating system comprises disk partition scheme and partition size, root partition information and number of disks information.
Wherein step a0 also comprises: described stand-by program backups to the server type of described mounted operating system in the described sample storage.
Wherein step a specifically comprises:
A1, described recovery routine carry out subregion according to the partition information that backs up in the described sample storage to the described recovery system for the treatment of, create file system;
A2, described recovery routine return to described treating in the recovery system with the system data in the described sample storage successively according to described subregion.
Described method also comprises:
Whether described recovery routine detects the described server type for the treatment of recovery system consistent with the server type of the mounted operating system that backs up in the described sample storage, if consistently change step a, otherwise process ends.
Described method also comprises:
Described recovery routine detects the described hard disk quantity of recovery system for the treatment of and whether is less than the hard disk quantity of the server of the mounted operating system that backs up in the described sample storage, if be no less than then change step a, otherwise process ends.
Wherein said operating system is UNIX operating system or (SuSE) Linux OS.
Wherein said UNIX operating system is specially solaris operating system.
Wherein also comprise after the step a: on the described root partition for the treatment of recovery system, create bootstrap block, the configuration device driver, system resets automatically.
The present invention also provides a kind of system of rapid installing operating system, and described system comprises:
Install the server of operating system, be used for supplying sample storage to back up the system information and the system data of already installed operating system;
Sample storage is used for from the server that installs operating system the system information and the system data of the described already installed operating system of backup, and the server that is used for treating by recovery routine recovery system carries out recovery operation.
Wherein said operating system is UNIX operating system or (SuSE) Linux OS.
The present invention also provides a kind of device of rapid installing operating system, and backup has the system information and the system data of mounted operating system in the described device, can treat recovery system by recovery routine and carry out recovery operation.
The present invention overcomes the deficiencies in the prior art, employing by stand-by program with the system information of mounted operating system and system data back-up in sample storage, according to the system information of the operating system that backs up in the sample storage and system data the server of same model is carried out recovery operation then, operating system in the sample storage is cloned in the server of same model, the technical scheme of avoiding manually the server to same model to repeat to install, shortened the set-up time of operating system significantly, reduce the complicated operation degree, and realized the mass installing operating system.
Description of drawings
Fig. 1 is the process flow diagram of existing installation solaris operating system;
Fig. 2 is the system construction drawing of the embodiment of the invention;
Fig. 3 is the mounted solaris operating system process flow diagram of the described backup of the embodiment of the invention;
Fig. 4 treats the process flow diagram that recovery system is installed for the embodiment of the invention is described by the sample band.
Embodiment
Ultimate principle of the present invention be by stand-by program with the system information of mounted operating system and system data back-up in sample storage, with the operation system information that backs up in the sample storage and system data the server of same model is carried out recovery operation then, operating system in the sample storage is cloned in the server of same model, avoids manually the server of same model is repeated to install.
Installation process with solaris operating system in the present embodiment describes, and is elaborated below in conjunction with the drawings and specific embodiments.
The system architecture of the embodiment of the invention comprises as shown in Figure 2:
Install the server A of solaris operating system, installed the system information and the system data of solaris operating system for the sample storage backup;
Sample storage is used for from the server that installs solaris operating system the system information and the system data of the described already installed solaris operating system of backup, and the server for the treatment of recovery system by recovery routine carries out recovery operation.
Need the program of exploitation to comprise two parts, a part is the system backup program, and a part is a system recovery program.The effect of system backup program is that from an already installed server A (to call the server of making the sample band in the following text) system its solaris system to be backuped in the tape (also can be other sample storage, the embodiment of the invention is example with the tape), the tape that backup has installed system is called the sample band.The effect of system recovery program is to treat operating system partition according to the system partitioning information that backs up in the sample band, then the system data in the sample band is returned in the server, finishes the Fast Installation operation.
In server A, preserve above-mentioned system backup program and system recovery program, when sample storage to server A in already installed solaris operating system when backing up, stand-by program in sample storage, backups to the system information of solaris system in the server A and system data back-up in the sample storage with recovery routine simultaneously.
When making the sample band, at first utility command ufsdump (being used for the ufs file system is backed up or dump) backs up to system backup program and system recovery program first of tape.When using sample band recovery system, at first utility command ufsrestore (being used for the ufs file system is recovered) recovers first blocks of data of sample band out, the data of recovering to come out just comprise automatic recovery program, carry out automatic recovery program then, finish clone operations.
As shown in Figure 2, mounted operating system is backed up comprise the steps:
1, whether detection system meets the requirement of backup, if the data in the system are crossed by mirror image or encapsulated by Volume Manager (Symantec company volume management software) and can not carry out backup operation, for not meeting backup request, system will provide information, process ends.
If 2 systems meet backup request, the backup server model information backs up the server type get off by uname (checking solaris operating system, Hostname, type of server information) order.
3, use df (checking the disk space operating position) order and prtvtoc (output disk partition information) order standby system partition information, comprise disk partition scheme and partition size, and the backup root partition information.
4, backup disk quantity and disk size information.
5, relevant information and the recovery routine with above-mentioned backup uses the ufsdump order to backup in the tape.
6, according to the system partitioning message loop data in each slice (subregion of the hard disk in the solaris system) subregion are backuped in the tape, use the ufsdump order to finish backup operation.
Just finished the making of sample band after backup is finished, this sample band can be used for follow-up system recovery operation.Eject tape after backup is finished from magnetic tape station, stick corresponding label and preserve on tape, the fast quick-recovery that can be used for such type is installed.
After the backup of already installed solaris operating system, can utilize sample storage to finish the recovery operation of the server for the treatment of recovery system this moment in sample storage is finished server A.
At first, recovery routine in the sample storage need be copied in the server for the treatment of recovery system, read the system information of the already installed solaris operating system that backs up in the sample storage after the recovery routine operation, treat recovery system according to partition information wherein and carry out subregion, then the system data of storing in the sample storage is copied in the system to be recovered successively according to subregion.
The flow process of the sample band installation solaris operating system that use is good specifically comprises the steps: as shown in Figure 4
1, at first is to be ready to hardware system, comprises that one can be read the magnetic tape station of sample band and the sample band of making, and is connected to magnetic tape station on the server to be recovered.
2, by fixing disc (CD/DVD) guidance system.
3, the recovery routine with first of sample band the inside returns in the temp directory for the treatment of recovery system.
4, recovery routine detects and to treat that the recovery system type is whether consistent with the type that backs up in the sample band, if the consistent step 5 of changeing, otherwise commentaries on classics step 9.
5, recovery routine detects and treats whether recovery system hard disk quantity is less than the hard disk quantity of making sample band system (if the operating system installation in the making sample band system is on three hard disks, treat that recovery system has only a hard disk, recovery operation is failed certainly so, be exactly the problem of hard disk size in addition, treat that the recovery system hard-disk capacity must be more than or equal to the hard-disk capacity of making sample band system, otherwise can't carry out subregion, system data also can't recover fully), change step 6 if be no less than, otherwise change step 9.
6, recovery routine is treated recovery system according to the partition information that backs up in the sample band and is carried out subregion, creates file system.
7, carrying out recovery routine returns to the system data in the sample band in the system successively according to subregion.
8, on root partition, create bootstrap block, the configuration device driver, the system that resets automatically finishes recovery operation.
9, finish.
Adopt above-mentioned scheme restore system operation probably to need about 0.5~1 hour, compare by manually treating to every that recovery system is installed, shortened the time that solaris system is installed greatly with of the prior art.
Though in the embodiment of the invention with solaris operating system according to being that example describes, protection scope of the present invention is not limited to the installation of solaris operating system, technical scheme of the present invention is equally applicable to the installation of other UNIX and (SuSE) Linux OS.

Claims (15)

1. the method for a rapid installing operating system is characterized in that, described method comprises the steps:
A, recovery routine are finished the installation for the treatment of recovery system according to the system information and the system data of the operating system that backs up in the sample storage.
2. method according to claim 1 is characterized in that, wherein also comprises before the step a:
Recovery routine in the described sample storage is copied in the temp directory for the treatment of recovery system.
3. method according to claim 1 is characterized in that, wherein also comprises before the step a:
A0, with the system information of mounted operating system and system data back-up in described sample storage.
4. method according to claim 3 is characterized in that, wherein step a0 specifically comprises:
Stand-by program backups to the partition information of described mounted operating system in the described sample storage;
Described stand-by program backups to the data in each subregion in the described sample storage according to the partition information circulation of mounted operating system.
5. method according to claim 4 is characterized in that, the partition information of described mounted operating system comprises disk partition scheme and partition size, root partition information and number of disks information.
6. method according to claim 4 is characterized in that, wherein step a0 also comprises: described stand-by program backups to the server type of described mounted operating system in the described sample storage.
7. method according to claim 1 is characterized in that, it is characterized in that, wherein step a specifically comprises:
A1, described recovery routine carry out subregion according to the partition information that backs up in the described sample storage to the described recovery system for the treatment of, create file system;
A2, described recovery routine return to described treating in the recovery system with the system data in the described sample storage successively according to described subregion.
8. method according to claim 1 is characterized in that, described method also comprises:
Whether described recovery routine detects the described server type for the treatment of recovery system consistent with the server type of the mounted operating system that backs up in the described sample storage, if consistently change step a, otherwise process ends.
9. method according to claim 1 is characterized in that, described method also comprises:
Described recovery routine detects the described hard disk quantity of recovery system for the treatment of and whether is less than the hard disk quantity of the server of the mounted operating system that backs up in the described sample storage, if be no less than then change step a, otherwise process ends.
10. according to claim 1 or 7 or 8 or 9 described methods, it is characterized in that described operating system is UNIX operating system or (SuSE) Linux OS.
11. method according to claim 10 is characterized in that, described UNIX operating system is specially solaris operating system.
12. method according to claim 1 is characterized in that, wherein also comprises after the step a: on the described root partition for the treatment of recovery system, create bootstrap block, the configuration device driver, system resets automatically.
13. the system of a rapid installing operating system is characterized in that, described system comprises:
Install the server of operating system, be used for supplying sample storage to back up the system information and the system data of already installed operating system;
Sample storage is used for from the server that installs operating system the system information and the system data of the described already installed operating system of backup, and the server that is used for treating by recovery routine recovery system carries out recovery operation.
14. system according to claim 13 is characterized in that, described operating system is UNIX operating system or (SuSE) Linux OS.
15. the device of a rapid installing operating system is characterized in that, backup has the system information and the system data of mounted operating system in the described device, can treat recovery system by recovery routine and carry out recovery operation.
CNA2006100618194A 2006-07-25 2006-07-25 Method for rapid installing operating system and system thereof Pending CN101114228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100618194A CN101114228A (en) 2006-07-25 2006-07-25 Method for rapid installing operating system and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100618194A CN101114228A (en) 2006-07-25 2006-07-25 Method for rapid installing operating system and system thereof

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 Method for rapid installing operating system and system thereof

Country Status (1)

Country Link
CN (1) CN101114228A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833487A (en) * 2010-04-16 2010-09-15 山东高效能服务器和存储研究院 Realization method of automation synchronous mirror image 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
CN116610500A (en) * 2023-07-20 2023-08-18 深圳市科力锐科技有限公司 Data backup method, device, equipment and storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833487A (en) * 2010-04-16 2010-09-15 山东高效能服务器和存储研究院 Realization method of automation synchronous mirror image 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 郑州云海信息技术有限公司 Backup recovery device and method for small computer computing partition operating system
CN110968462A (en) * 2019-12-13 2020-04-07 重庆首厚智能科技研究院有限公司 Real-time safety backup system
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
CN101114228A (en) Method for rapid installing operating system and system thereof
US8117168B1 (en) Methods and systems for creating and managing backups using virtual disks
CN106407356B (en) Data backup method and device
US10678663B1 (en) Synchronizing storage devices outside of disabled write windows
CN1331063C (en) On-line data backup method based on data volume snapshot
US6078932A (en) Point-in-time backup utilizing multiple copy technologies
EP2788876B1 (en) System and method for restoring application data
CN102782639B (en) Enable to copy the system and method that target reclaims untapped storage space in thin supply storage system
US8065272B2 (en) Systems and methods for tracking changes to a volume
EP2168042B1 (en) Execution of point-in-time copy operations in continuous mirroring environments
CN101770410A (en) System restore method, virtual machine managing device and system based on client operating system
KR20030017532A (en) Data storage system and process
CN102346697A (en) Method and system for backing up and recovering Android package (APK) and mobile terminal
CN110188000A (en) Application disaster recovery method and system based on virtualization and iSCSI or FC
CN105446826A (en) Virtual machine backup and recovery method and device
US7694169B2 (en) Restoring a client device
CN101344863A (en) Back-up system and method
US20050235281A1 (en) Combined software installation package
CN102073560A (en) Data backup method and device
CN103176864A (en) Backup method, backup device and mobile terminal based on Android system
WO2016067725A1 (en) Disk distribution system
US20040193944A1 (en) Method and apparatus for enabling consistent ancillary disk array storage device operations with respect to a main application
CN104461773A (en) Backup deduplication method of virtual machine
CN104572354A (en) Backup and restoration method for operating system based on restoration service and equipment thereof
CN108829351B (en) Method for converting MBR disk into GPT disk

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