CN104503823A - P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system - Google Patents

P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system Download PDF

Info

Publication number
CN104503823A
CN104503823A CN201410801131.XA CN201410801131A CN104503823A CN 104503823 A CN104503823 A CN 104503823A CN 201410801131 A CN201410801131 A CN 201410801131A CN 104503823 A CN104503823 A CN 104503823A
Authority
CN
China
Prior art keywords
virtual machine
oem
operating system
configuration
physical server
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
CN201410801131.XA
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.)
HUNAN TONGFEI POWER SWITCHING INFORMATION CO Ltd
State Grid Corp of China SGCC
State Grid Hunan Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Hunan Electric Power Co Ltd
Original Assignee
HUNAN TONGFEI POWER SWITCHING INFORMATION CO Ltd
State Grid Corp of China SGCC
State Grid Hunan Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Hunan Electric Power 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 HUNAN TONGFEI POWER SWITCHING INFORMATION CO Ltd, State Grid Corp of China SGCC, State Grid Hunan Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Hunan Electric Power Co Ltd filed Critical HUNAN TONGFEI POWER SWITCHING INFORMATION CO Ltd
Priority to CN201410801131.XA priority Critical patent/CN104503823A/en
Publication of CN104503823A publication Critical patent/CN104503823A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a P2V (physical to virtual) transferring and configuration method based on the OEM (original equipment manufacturer) operating system. The method includes: assessing capacity allocation of a physical server to be transferred and creating a virtual machine in a virtual environment; using a transfer tool to create a snapshot of an operating system and data in the physical server to be transferred, and coping the snapshot to the virtual machine created in the step 1; creating a disk for an OME partition independently during copying to the virtual machine; repairing a generated client operating system and checking out current virtual hardware; loading configuration and drivers of the virtual machine finishing copying; judging the type of a physical host and the type of the OEM system of the physical server to be transferred, and determining the brand of the physical server to be transferred; downloading a corresponding BIOS (basic input/output system) file, and placing the BIOS file in a file catalogue of the virtual machine; revising the configuration of the virtual machine; storing a configuration file, and rebooting the virtual machine. The method has the advantages that conversion from the physical machine to the virtual machine is achieved and system reliability can be quickly improved.

Description

Based on P2V migration and the collocation method of OEM operating system
Technical field
The present invention relates to a kind of P2V based on OEM operating system to move and collocation method.
Background technology
In the implementation process of infosystem software and hardware resources pond, very important step realizes excessive to virtual machine platform of application system on physical server.The moving method of current main flow has two kinds, and a kind of is adopt the method redeployed, and after also namely setting up virtual machine, redeploys application system on a virtual machine; Another is the method adopting physical to virtual (Physical to virtual is called for short P2V), and P2V refers to and will move in the physical hard disk of operating system, application program or data form computer in a virtual environment or in disk partition.
OEM subregion be the source software of computer pre-installed software or backup software deposit subregion, migration is had to the physical server of OEM subregion, moving in virtualized environment, because the host that uses in virtualized environment and source physical server brand exist inconsistent situation, there is the situation that cannot normally run in the virtual machine after migration.
Summary of the invention
For guaranteeing that the physical server with OEM subregion can move successfully smoothly, a kind of P2V based on OEM operating system provided herein moves and collocation method, P2V moving method is implemented to OEM operating system, and change is configured to the virtual machine moved, guarantee that the virtual machine after having moved can normally run.
This P2V based on OEM operating system provided by the invention moves and collocation method, comprises the steps:
Step one, assesses the capacity configuration of physical server to be migrated, newly-built virtual machine in virtualized environment;
Step 2, utilizes Migration tools, to the operating system in physical server to be migrated and data creation snapshot, and in virtual machine snap copy to step one newly created;
Step 3, in virtual machine copy procedure, is OEM partition creating one piece of disk separately;
Step 4, repairs the client operating system of generation and checks current virtual hardware;
Step 5, loads the configuration of the virtual machine copied and driving;
Step 6, judges to run the physics host of virtual machine and the type of physical server OEM system to be migrated;
Step 7, when running the physics host of virtual machine and physical server OEM system to be migrated is different brands, confirms the brand of physical server to be migrated;
Step 8, the BIOS file of corresponding physical server brand in download step seven, and download file is positioned in step one newly-built virtual machine respective file catalogue;
Step 9, amendment virtual machine configuration;
Step 10, preserves configuration file, and restarts virtual machine, complete whole migration and the configuration of P2V thus.
Backup virtual machine configuration file is also comprised between described step 8 and step 9.
When described physics host and virtual machine OEM system are same brands, also comprise following operation:
Step 1, modifies to original virtual machine configuration file, and configuration item is wherein revised as SMBIOS.reflectHost=True;
Step 2, restarts virtual machine, and completes the loading of virtual machine configuration item, completes P2V migration and the configuration of the physical server with OEM operating system thus.
Backup virtual machine configuration file is also comprised before described step 1.
The virtual machine file size of described step one needs the size can holding physical server to be migrated.
Described Migration tools is virtual machine image Core Generator.
The invention describes the P2V moving method for OEM operating system, owing to there is OEM subregion, need extra increase OEM subregion when moving, and after having moved, the configuration file of virtual machine is modified, guarantee that the virtual machine moved can normally run.
By the enforcement of the inventive method, can complete the transition process of OEM operating system from physical server to virtual machine, ensure that the smooth excessiveness of application system from physical machine to virtual machine, ensure that fast construction and the realization of application system on virtual machine.
Accompanying drawing explanation
Fig. 1 is that OEM operating system P2V of the present invention moves process flow diagram.
Fig. 2 is virtual machine configuration modification process figure of the present invention.
Embodiment
For guaranteeing that the physical server with OEM subregion can move in virtual machine environment smoothly, the present invention is to P2V transition process, and the collocation method after having moved has been described in detail.
As shown in Figure 1, the concrete implementation step of P2V moving method first of the present invention is as follows.
Step 1, obtains physical server information to be migrated, assesses physical server capacity configuration to be migrated.
Step 2, newly-built virtual machine in virtualized environment, virtual machine file size needs the size can holding physics device.
For creating target virtual machine, capacity setting need be greater than the capacity of present physical server.
Step 3, utilizes virtual machine image to generate Migration tools (such as VMware Converter), to the operating system in physical server to be migrated and data creation snapshot; By snap copy in the new virtual machine created.
Step 4, creates OEM subregion in virtual machine; In virtual machine copy procedure, needing separately is OEM partition creating one piece of disk.
Step 5, repairs the client operating system of generation and checks current virtual hardware.
Step 6, loads the configuration of the virtual machine copied and driving.
Then, the present invention modifies configuration again.
Virtual machine after having copied, cannot normal load system configuration parameter owing to comprising OEM subregion, needs the type of the physical server confirming current operation virtual machine further, and completes the amendment to configuration file, could normally run.
As shown in Figure 2, when the present invention is configured, according to running the physics host of virtual machine and whether physical server OEM system to be migrated is that same brand is divided into two kinds of situations.
Situation one, physics host and the physical server OEM system to be migrated of running virtual machine are same brands, then carry out following steps:
1. backup virtual machine configuration file; So that revise unsuccessful after recover;
2. pair original virtual machine configuration file is modified, and configuration item is wherein revised as SMBIOS.reflectHost=True, shows that current virtual machine is consistent with the BIOS microcode of physical machine to be migrated;
3. restart virtual machine, and complete the loading of virtual machine, then complete whole migration and the configuration of P2V.
Situation two, physics host and the physical server OEM system to be migrated of running virtual machine are different brands, then carry out following steps:
1. confirm the brand of physical server to be migrated;
2. download corresponding BIOS file (such as: download file is called SLICET.ROM), and download file is positioned in virtual machine respective file catalogue; Namely be positioned in above-mentioned P2V moving method step 2 newly-built virtual machine respective file catalogue;
3. backup virtual machine configuration file (such as config.vmx), recovers to revise unsuccessfully;
4. revise virtual machine configuration config.vmx, last amendment increase attribute in configuration file, and configuration entry value is set to corresponding BIOS file title, such as configuration item is named as VM.filename, and value need provide the fullpath of SLICET.ROM file for VM.filename=SLICET.ROM();
5. preserve configuration file, and restart virtual machine, complete whole migration and the configuration of P2V.
Below in conjunction with embodiment, the present invention is further illustrated.
Embodiment: physical machine and virtual machine OEM system are different brands.
Directly search DELL BIOS on the net for DELL, DELL BIOS file to download.
1. download and upload DELL BIOS file (SLICET.ROM) to the data at virtual machine place and store, be preferably placed in virtual machine catalogue.
2. close virtual machine and open config option menu, option and installment parameter.
3. adding a line bios440.filename, be worth for SLICET.ROM(relative path and Actual path, because being upload to virtual machine catalogue in example for this reason, therefore is current directory) and preserve.
Also can select directly to revise virtual machine configuration, increase configuration item and be set to bios440.filename=SLICET.ROM.
4. start confirms that dummy machine system is had moved successfully.

Claims (6)

1., based on P2V migration and the collocation method of OEM operating system, comprise the steps:
Step one, assesses the capacity configuration of physical server to be migrated, newly-built virtual machine in virtualized environment;
Step 2, utilizes Migration tools, to the operating system in physical server to be migrated and data creation snapshot, and in virtual machine snap copy to step one newly created;
Step 3, in virtual machine copy procedure, is OEM partition creating one piece of disk separately;
Step 4, repairs the client operating system of generation and checks current virtual hardware;
Step 5, loads the configuration of the virtual machine copied and driving;
Step 6, judges to run the physics host of virtual machine and the type of physical server OEM system to be migrated;
Step 7, when running the physics host of virtual machine and physical server OEM system to be migrated is different brands, confirms the brand of physical server to be migrated;
Step 8, the BIOS file of corresponding physical server brand in download step seven, and download file is positioned in step one newly-built virtual machine respective file catalogue;
Step 9, amendment virtual machine configuration;
Step 10, preserves configuration file, and restarts virtual machine, complete whole migration and the configuration of P2V thus.
2. the P2V based on OEM operating system according to claim 1 moves and collocation method, it is characterized in that, also comprises backup virtual machine configuration file between described step 8 and step 9.
3. the P2V based on OEM operating system according to claim 1 moves and collocation method, it is characterized in that, when described physics host and virtual machine OEM system are same brands, also comprises following operation:
Step 1, modifies to original virtual machine configuration file, and configuration item is wherein revised as SMBIOS.reflectHost=True;
Step 2, restarts virtual machine, and completes the loading of virtual machine configuration item, completes P2V migration and the configuration of the physical server with OEM operating system thus.
4. the P2V based on OEM operating system according to claim 3 moves and collocation method, it is characterized in that, also comprises backup virtual machine configuration file before described step 1.
5. the P2V based on OEM operating system according to claim 1 moves and collocation method, it is characterized in that, the virtual machine file size of described step one needs the size can holding physical server to be migrated.
6. the P2V based on OEM operating system according to claim 1 moves and collocation method, and it is characterized in that, described Migration tools is virtual machine image Core Generator.
CN201410801131.XA 2014-12-22 2014-12-22 P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system Pending CN104503823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410801131.XA CN104503823A (en) 2014-12-22 2014-12-22 P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410801131.XA CN104503823A (en) 2014-12-22 2014-12-22 P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system

Publications (1)

Publication Number Publication Date
CN104503823A true CN104503823A (en) 2015-04-08

Family

ID=52945224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410801131.XA Pending CN104503823A (en) 2014-12-22 2014-12-22 P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system

Country Status (1)

Country Link
CN (1) CN104503823A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866372A (en) * 2015-05-13 2015-08-26 华中科技大学 Server integration oriented high efficiency physical machine to virtual machine conversion method
CN106886448A (en) * 2017-02-22 2017-06-23 郑州云海信息技术有限公司 A kind of introduction method and device of OVA files
CN107885580A (en) * 2017-11-22 2018-04-06 深信服科技股份有限公司 A kind of cloud moving method, device, equipment and storage medium
CN110347483A (en) * 2018-04-08 2019-10-18 中兴通讯股份有限公司 Physical machine is to virtual machine migration method, device and storage medium
CN112083972A (en) * 2020-09-18 2020-12-15 山东英信计算机技术有限公司 BMC system configuration method, device, equipment and readable storage medium
CN113326105A (en) * 2021-08-04 2021-08-31 深圳市科力锐科技有限公司 Hardware equipment configuration method, device and equipment based on host migration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060010176A1 (en) * 2004-06-16 2006-01-12 Armington John P Systems and methods for migrating a server from one physical platform to a different physical platform
CN102081552A (en) * 2009-12-01 2011-06-01 华为技术有限公司 Method, device and system for transferring from physical machine to virtual machine on line
US20110208929A1 (en) * 2010-02-22 2011-08-25 Mccann William Jon In-place virtualization during operating system installation
CN103455360A (en) * 2013-09-25 2013-12-18 浪潮电子信息产业股份有限公司 Method for migration of physical operating system to virtualized platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060010176A1 (en) * 2004-06-16 2006-01-12 Armington John P Systems and methods for migrating a server from one physical platform to a different physical platform
CN102081552A (en) * 2009-12-01 2011-06-01 华为技术有限公司 Method, device and system for transferring from physical machine to virtual machine on line
US20110208929A1 (en) * 2010-02-22 2011-08-25 Mccann William Jon In-place virtualization during operating system installation
CN103455360A (en) * 2013-09-25 2013-12-18 浪潮电子信息产业股份有限公司 Method for migration of physical operating system to virtualized platform

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LZY: "如何在虚拟机中安装OEM版Windows XP", 《电脑自做》 *
QYL8412267: "HP服务器迁移到虚拟化平台后OEM系统无法激活", 《HTTPS://WENKU.BAIDU.COM/VIEW/A12430C70508763231121299.HTML》 *
ROBERT LARSON: "十个步骤将操作系统从物理机迁移到虚拟机—VMST与ADS加速虚拟化传播", 《WINDOWS IT PRO MAGAZINE:国际中文版》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866372A (en) * 2015-05-13 2015-08-26 华中科技大学 Server integration oriented high efficiency physical machine to virtual machine conversion method
CN104866372B (en) * 2015-05-13 2018-02-27 华中科技大学 The efficient physical machine that a kind of service-oriented device is integrated is to virtual machine conversion method
CN106886448A (en) * 2017-02-22 2017-06-23 郑州云海信息技术有限公司 A kind of introduction method and device of OVA files
CN106886448B (en) * 2017-02-22 2021-06-11 郑州云海信息技术有限公司 OVA file importing method and device
CN107885580A (en) * 2017-11-22 2018-04-06 深信服科技股份有限公司 A kind of cloud moving method, device, equipment and storage medium
CN110347483A (en) * 2018-04-08 2019-10-18 中兴通讯股份有限公司 Physical machine is to virtual machine migration method, device and storage medium
CN110347483B (en) * 2018-04-08 2021-05-11 中兴通讯股份有限公司 Method and device for migrating physical machine to virtual machine and storage medium
US11886902B2 (en) 2018-04-08 2024-01-30 Xi'an Zhongxing New Software Co., Ltd. Physical-to-virtual migration method and apparatus, and storage medium
CN112083972A (en) * 2020-09-18 2020-12-15 山东英信计算机技术有限公司 BMC system configuration method, device, equipment and readable storage medium
CN113326105A (en) * 2021-08-04 2021-08-31 深圳市科力锐科技有限公司 Hardware equipment configuration method, device and equipment based on host migration

Similar Documents

Publication Publication Date Title
EP3561669B1 (en) Containerized application deployment
US9875133B2 (en) Virtual machine disk image installation
CN104503823A (en) P2V (physical to virtual) transferring and configuration method based on OEM (original equipment manufacturer) operating system
CN110088733B (en) Storage layer-based orchestration of virtual machine migration
US20210216360A1 (en) Virtual machine migration method and apparatus
US8209290B1 (en) Generic granular restore of application data from a volume image backup
US11086662B2 (en) Method and system of migrating applications to a cloud-computing environment
CN102147747B (en) The system and method for the upgrading path strengthened
CN107733985B (en) Method and device for deploying functional components of cloud computing system
US11662996B2 (en) System and method for downgrading applications
US8752039B1 (en) Dynamic upgrade of operating system in a network device
CN105335253A (en) Method and device for creating virtual machine system disk snapshots
US20160077919A1 (en) Methods and apparatus to perform site recovery of a virtual data center
RU2010150809A (en) SYNCHRONIZATION OF VIRTUAL MACHINE LIFE CYCLES AND APPLICATIONS
JP2012088901A (en) Software management device, software management method, and software management program
CN107329792B (en) Docker container starting method and device
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
CN108121543A (en) A kind of software code process of compilation method and device
WO2016111673A1 (en) Multi-tenant upgrading
CN102053848A (en) Automatic installation method for Linux operating system
TWI520063B (en) Management system for service of multiple operating environments, and method thereof
KR102054980B1 (en) Computing system and method for automatically generating embedded software on virtualized system
US20230305828A1 (en) Virtual upgrade layer-based application upgrade
KR102423056B1 (en) Method and system for swapping booting disk
JP6102441B2 (en) Virtual machine management method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150408

WD01 Invention patent application deemed withdrawn after publication