CN107463431A - A kind of file management method and device - Google Patents

A kind of file management method and device Download PDF

Info

Publication number
CN107463431A
CN107463431A CN201710705856.2A CN201710705856A CN107463431A CN 107463431 A CN107463431 A CN 107463431A CN 201710705856 A CN201710705856 A CN 201710705856A CN 107463431 A CN107463431 A CN 107463431A
Authority
CN
China
Prior art keywords
virtual machine
configuration
rom equipment
machine configuration
management 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
CN201710705856.2A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710705856.2A priority Critical patent/CN107463431A/en
Publication of CN107463431A publication Critical patent/CN107463431A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of file management method and device, the above method and comprised the following steps:Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes, with postponing, to send a notification message to management server;The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.In above-mentioned technical proposal, virtual machine obtains virtual machine configuration and completes to match somebody with somebody and postpones by virtual machine CD-ROM equipment, the virtual machine CD-ROM equipment is controlled to unload the virtual machine configuration by management server, it effectively prevent user misoperation, meanwhile it also ensure that being smoothed out for virtual machine (vm) migration process.

Description

A kind of file management method and device
Technical field
The invention belongs to field of cloud calculation, more particularly to a kind of file management method and device.
Background technology
In cloud computing environment, virtual machine quantity that a data center is managed, which has, to be dramatically increased, big in order to realize Virtual machine rapid deployment is measured, user would generally make a basic virtual machine template in cloud computing management platform, and this is virtual One initialization Agent is installed in machine template, by a large amount of virtual machines of virtual machine template batch rapid deployment, disposed During virtual machine, generally require to carry out individual cultivation to the virtual machine of new deployment out.
It is existing to be achieved in that:
1st, the personalized configuration information of user's input, such as password etc., the personalized configuration information that user is inputted are received It is packaged into the optical file of ISO forms;
2nd, after completion virtual machine is disposed by virtual machine template, the optical file is mounted in virtual machine CD-ROM drive;
3rd, virtual machine is opened, after VME operating system starts, initialization Agent in virtual machine is from virtual machine User is read in CD-ROM drive and inputs configuration information, completes the individual cultivation of the virtual machine.
In such scheme, after virtual machine completes initialization, because virtual machine CD-ROM drive is associated with ISO files, therefore it is empty The ISO files of personalized configuration information are still included in plan machine CD-ROM drive;This causes user when opening virtual machine, and still thinking needs Virtual machine initialized, cause to misread to user, influence user's operation;On the other hand, in virtual machine (vm) migration, virtually Machine state is also required to real-time migration, and initialization files are present, and can also influence virtual machine (vm) migration process.
Therefore, there is an urgent need to provide a kind of package management file to solve above-mentioned technical problem.
The content of the invention
The present invention provides a kind of file management method and device, to solve the above problems.
The embodiment of the present invention provides a kind of file management method, comprises the following steps:Virtual machine is set by virtual machine CD-ROM drive It is standby to obtain virtual machine configuration and complete, with postponing, to send a notification message to management server;
The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
The embodiment of the present invention also provides a kind of document management apparatus, including processor, is adapted for carrying out each instruction;Storage is set Standby, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and performed by the processor;
Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes, with postponing, to send out to management server Send notification message;
The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
Technical scheme provided in an embodiment of the present invention:Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment And complete, with postponing, to send a notification message to management server;The management server controls the virtual machine CD-ROM equipment to unload Carry the virtual machine configuration.
In above-mentioned technical proposal, virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes to configure Afterwards, control the virtual machine CD-ROM equipment to unload the virtual machine configuration by management server, effectively prevent user Maloperation, meanwhile, it also ensure that being smoothed out for virtual machine (vm) migration process.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the file management method flow chart of the embodiment of the present invention 1;
Fig. 2 show the file management method flow chart of the embodiment of the present invention 2;
Fig. 3 show the document management apparatus structure chart of the embodiment of the present invention 3.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
The technical characterstic of the present invention is:
The virtual machine template for including initialization Agent is made in cloud computing management platform, based on the virtual machine template batch Amount creates the virtual machine of preset number, and carries out individual cultivation to the virtual machine of new deployment out, initial in virtual machine After changing Agent completion individual cultivation, the initialization Agent sends what initialization was completed to cloud computing management platform Signal, after cloud computing management platform receives the initialization completion signal, cloud computing management platform, which is sent, unloads the virtual machine The instruction of configuration file in CD-ROM drive, complete the unloading of configuration file in virtual machine CD-ROM drive.
It is as follows to implement principle:
First, user makes the virtual machine template for including initialization Agent in cloud computing management platform, based on the void Plan machine template batch disposes a large amount of virtual machines, that the configuration data of personalization is inputted during deployment and will input user Property configuration data is packaged into the optical file of ISO forms;
Secondly, user opens newly deployed virtual machine by cloud computing management platform, while user opens virtual machine It is the CD-ROM equipment that virtual machine configuration is mounted to virtual machine by initialization optical file (optical file of ISO forms);
Again, after virtual machine is opened successfully, the initialization Agent of virtual machine internal starts, and reads in CD-ROM equipment Virtual machine configuration, to virtual machine carry out initial configuration;
After completing to the initial configuration of virtual machine, initialization Agent sends initialization to cloud computing management platform Complete signal;
Finally, cloud computing management platform receives the initialization completion signal, sends virtual in unloading virtual machine CD-ROM equipment The instruction of machine configuration file, complete the unloading of virtual machine configuration in virtual machine CD-ROM equipment.
Fig. 1 show the file management method flow chart of the embodiment of the present invention 1, comprises the following steps:
Step 101:Obtain virtual machine template;
Step 102:The virtual machine of batch deployment preset number simultaneously inputs personalized configuration data;
Step 103:Open virtual machine and mount virtual machine configuration file;
Step 104:Virtual machine is completed, with postponing, to send initialization completion signal;
Step 105:Management server receives initialization completion signal;
Step 106:The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
Fig. 2 show the file management method flow chart of the embodiment of the present invention 2, comprises the following steps:
Step 201:Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completed with postponing, to management Server sends a notification message;
Further, the notification message carries configuration and completes information.
Further, before virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment, in addition to:
The virtual machine of preset number is created by virtual machine template, wherein, the virtual machine template carries initialization agency Program.
Further, virtual machine configuration data, and the void by the virtual machine configuration data conversion into preset format are obtained Plan machine configuration file;
When virtual machine is opened, by the virtual machine configuration carry to the virtual machine CD-ROM equipment.
Further, the initialization Agent in the virtual machine, read by the virtual machine CD-ROM equipment The virtual machine configuration.
Step 202:The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
Fig. 3 show the document management apparatus structure chart of the embodiment of the present invention 3, including processor, is adapted for carrying out each instruction; Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and performed by the processor;
Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes, with postponing, to send out to management server Send notification message;
The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
Further, the notification message carries configuration and completes information.
Further, before virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment, in addition to:
The virtual machine of preset number is created by virtual machine template, wherein, the virtual machine template carries initialization agency Program.
Further, virtual machine configuration data, and the void by the virtual machine configuration data conversion into preset format are obtained Plan machine configuration file;
When virtual machine is opened, by the virtual machine configuration carry to the virtual machine CD-ROM equipment.
Further, the initialization Agent in the virtual machine, read by the virtual machine CD-ROM equipment The virtual machine configuration.
Technical scheme provided in an embodiment of the present invention:Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment And complete, with postponing, to send a notification message to management server;The management server controls the virtual machine CD-ROM equipment to unload Carry the virtual machine configuration.
In above-mentioned technical proposal, virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes to configure Afterwards, control the virtual machine CD-ROM equipment to unload the virtual machine configuration by management server, effectively prevent user Maloperation, meanwhile, it also ensure that being smoothed out for virtual machine (vm) migration process.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

1. a kind of file management method, it is characterised in that comprise the following steps:
Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes, with postponing, to send to management server logical Know message;
The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
2. file management method according to claim 1, it is characterised in that the notification message carries configuration and completes letter Breath.
3. file management method according to claim 1 or 2, it is characterised in that virtual machine passes through virtual machine CD-ROM equipment Before obtaining virtual machine configuration, in addition to:
The virtual machine of preset number is created by virtual machine template, wherein, the virtual machine template carries initialization Agent.
4. file management method according to claim 3, it is characterised in that virtual machine configuration data are obtained, and by described in Virtual machine configuration of the virtual machine configuration data conversion into preset format;
When virtual machine is opened, by the virtual machine configuration carry to the virtual machine CD-ROM equipment.
5. file management method according to claim 4, it is characterised in that the initialization agency in the virtual machine Program, the virtual machine configuration is read by the virtual machine CD-ROM equipment.
6. a kind of document management apparatus, including processor, it is adapted for carrying out each instruction;Storage device, suitable for storing a plurality of instruction, institute Instruction is stated to be suitable to be loaded and performed by the processor;
Virtual machine obtains virtual machine configuration by virtual machine CD-ROM equipment and completes, with postponing, to send to management server logical Know message;
The management server controls the virtual machine CD-ROM equipment to unload the virtual machine configuration.
7. document management apparatus according to claim 6, it is characterised in that the notification message carries configuration and completes letter Breath.
8. the document management apparatus according to claim 6 or 7, it is characterised in that virtual machine passes through virtual machine CD-ROM equipment Before obtaining virtual machine configuration, in addition to:
The virtual machine of preset number is created by virtual machine template, wherein, the virtual machine template carries initialization Agent.
9. document management apparatus according to claim 8, it is characterised in that virtual machine configuration data are obtained, and by described in Virtual machine configuration of the virtual machine configuration data conversion into preset format;
When virtual machine is opened, by the virtual machine configuration carry to the virtual machine CD-ROM equipment.
10. document management apparatus according to claim 9, it is characterised in that the initialization generation in the virtual machine Program is managed, the virtual machine configuration is read by the virtual machine CD-ROM equipment.
CN201710705856.2A 2017-08-16 2017-08-16 A kind of file management method and device Pending CN107463431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710705856.2A CN107463431A (en) 2017-08-16 2017-08-16 A kind of file management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710705856.2A CN107463431A (en) 2017-08-16 2017-08-16 A kind of file management method and device

Publications (1)

Publication Number Publication Date
CN107463431A true CN107463431A (en) 2017-12-12

Family

ID=60549985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710705856.2A Pending CN107463431A (en) 2017-08-16 2017-08-16 A kind of file management method and device

Country Status (1)

Country Link
CN (1) CN107463431A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363608A (en) * 2018-02-06 2018-08-03 广东睿江云计算股份有限公司 A kind of virtual machine configuration method and its system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840346A (en) * 2009-12-30 2010-09-22 北京世纪互联宽带数据中心有限公司 Method and system for deploying cloud host computer
CN102567075A (en) * 2011-12-05 2012-07-11 中标软件有限公司 Virtual machine context setting method in cloud computing environment
CN103309682A (en) * 2012-03-07 2013-09-18 上海聚耘信息科技有限公司 Fast start and allocation method for virtual machine
CN103986662A (en) * 2014-05-22 2014-08-13 浪潮电子信息产业股份有限公司 Cross-virtualization-platform virtual router achieving method
CN107038062A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of virtual machine initial method and device based on cloud platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840346A (en) * 2009-12-30 2010-09-22 北京世纪互联宽带数据中心有限公司 Method and system for deploying cloud host computer
CN102567075A (en) * 2011-12-05 2012-07-11 中标软件有限公司 Virtual machine context setting method in cloud computing environment
CN103309682A (en) * 2012-03-07 2013-09-18 上海聚耘信息科技有限公司 Fast start and allocation method for virtual machine
CN103986662A (en) * 2014-05-22 2014-08-13 浪潮电子信息产业股份有限公司 Cross-virtualization-platform virtual router achieving method
CN107038062A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of virtual machine initial method and device based on cloud platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363608A (en) * 2018-02-06 2018-08-03 广东睿江云计算股份有限公司 A kind of virtual machine configuration method and its system
CN108363608B (en) * 2018-02-06 2021-12-14 广东睿江云计算股份有限公司 Virtual machine configuration method and system

Similar Documents

Publication Publication Date Title
CN105763602B (en) A kind of method of data request processing, server and system
CN106775924A (en) Virtual machine starts method and apparatus
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CN107733985A (en) A kind of cloud computing system functional unit dispositions method and device
CN105183674B (en) USB virtualizes network mapping method, apparatus and usb hub
CN104754032A (en) Method and device for deploying OpenStack
CN107547237A (en) Virtual network function VNF update methods, device and VNF bags
CN108229213A (en) Access control method, system and electronic equipment
CN108021400A (en) Data processing method and device, computer-readable storage medium and equipment
CN106959927A (en) The method and device of the positional information of logical partition in acquisition virtual machine
CN106569874B (en) Store the operating method and physical server of equipment
CN108399331A (en) Application process trial method and system
CN106164858A (en) Data View shows mechanism
CN109086109A (en) Page display method and device, electronic equipment and medium
CN105117274B (en) Virtual machine migration method and device
EP3572940A1 (en) Method and device for scheduling vcpu thread
CN107463431A (en) A kind of file management method and device
CN107741853A (en) A kind of method, system and the information management platform of deployment services device
CN112559127A (en) Virtual machine creation method, device, host and storage medium
CN107562520A (en) The method and apparatus of the internal memory of dilatation virtual machine
CN107819598A (en) A kind of method and device for managing network function node
CN107122315A (en) A kind of access control method and terminal
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
CN108121574B (en) Hot upgrading method and device for kernel module and virtual machine system
CN110362324A (en) A kind of network interface card upgrade method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171212

RJ01 Rejection of invention patent application after publication