CN106886373A - The disk operating method of physical machine, device and physical machine - Google Patents

The disk operating method of physical machine, device and physical machine Download PDF

Info

Publication number
CN106886373A
CN106886373A CN201710092529.4A CN201710092529A CN106886373A CN 106886373 A CN106886373 A CN 106886373A CN 201710092529 A CN201710092529 A CN 201710092529A CN 106886373 A CN106886373 A CN 106886373A
Authority
CN
China
Prior art keywords
physical machine
disk
disk operating
server
operating parameter
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.)
Granted
Application number
CN201710092529.4A
Other languages
Chinese (zh)
Other versions
CN106886373B (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710092529.4A priority Critical patent/CN106886373B/en
Publication of CN106886373A publication Critical patent/CN106886373A/en
Application granted granted Critical
Publication of CN106886373B publication Critical patent/CN106886373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application proposes a kind of disk operating method of physical machine, device and physical machine, and the disk operating method of the physical machine includes:The first server that server operation is automated is realized during user is passed into public cloud to the disk operating demand of physical machine;Perform the PXE that the first server issues and restart task, load PXE systems;Downloaded from the first server and belong to the disk operating parameter of the physical machine, it is described belong to the physical machine disk operating parameter be the first server generation PXE systems in the disk operating parameter that can recognize that;Disk operating parameter according to the physical machine is operated to the disk of the physical machine.The application can realize the automation of physical machine disk operating, such that it is able to flexibly tackle various, ever-increasing disk operating demand, improve Consumer's Experience, and not interfere with bottom disk operating code, maintain easily.

Description

The disk operating method of physical machine, device and physical machine
Technical field
The application is related to Internet technical field, more particularly to a kind of disk operating method of physical machine, device and physics Machine.
Background technology
For the physical machine of public cloud, disk operating of the user to different physical machines, for example:How disk does disk array (Redundant Arrays of Independent Disks;Hereinafter referred to as:RAID), each physical machine how subregion, each Subregion needs to do each subregion after which kind of file system, installation file system, and how carry etc. has different demands, when So can also there is similar demand in common physical machine, and above-mentioned disk operating all can be different in different user.
The disk operating mode used in the physical machine of current public cloud, is according to different type of machines, different set meals, not of the same trade or business Business, travels through all of combination, then selects conventional several as template parameter, in system installation process, further according to installation The template that parameter is specified, the corresponding code operation of the template is carried out to disk.So, once increasing type or set meal, Huo Zheye newly Business has different demands, it is necessary to increase corresponding template, extremely dumb;If increasing template, also need to increase corresponding templates Bottom disk operating code, if things go on like this, bottom disk operating code extreme redundancy, maintenance difficulties increase.
Application content
The purpose of the application is intended at least solve to a certain extent one of technical problem in correlation technique.
Therefore, first purpose of the application is a kind of disk operating method for proposing physical machine.The method can be with root Disk operating parameter is generated to the disk operating demand of physical machine according to user, and then physical machine magnetic is realized according to disk operating parameter The automation of disk operation, such that it is able to flexibly tackle various, ever-increasing disk operating demand, improves Consumer's Experience, And bottom disk operating code is not interfered with, is maintained easily.
Second purpose of the application is the disk operating device for proposing a kind of physical machine.
3rd purpose of the application is to propose a kind of physical machine.
4th purpose of the application is to propose a kind of computer-readable medium.
To achieve these goals, the disk operating method of the physical machine of the application first aspect embodiment, including:To use The first server that server operation is automated is realized during public cloud is passed to the disk operating demand of physical machine in family;Perform institute State the Pre-boot Execution Environment PXE that first server issues and restart task, load PXE systems;Downloaded from the first server Belong to the disk operating parameter of the physical machine, the disk operating parameter for belonging to the physical machine is the first server According to the disk operating parameter that be can recognize that in the PXE systems that the user generates to the disk operating demand of physical machine;According to institute The disk operating parameter for stating physical machine is operated to the disk of the physical machine.
In the disk operating method of the physical machine of the embodiment of the present application, the disk operating demand transmission by user to physical machine To after the first server that server operation automation is realized in public cloud, the pretrigger that above-mentioned first server is issued is performed Performing environment (Preboot Execute Environment;Hereinafter referred to as:PXE) restart task, load PXE systems, Ran Houcong First server downloads the disk operating parameter for belonging to above-mentioned physical machine, and then according to the disk operating parameter pair of above-mentioned physical machine The disk of above-mentioned physical machine is operated, such that it is able to realize the disk operating demand generation disk behaviour according to user to physical machine Make parameter, and then the automation of physical machine disk operating is realized according to disk operating parameter, can flexibly tackle various, continuous Increased disk operating demand, improves Consumer's Experience, and does not interfere with bottom disk operating code, maintains easily.
To achieve these goals, the disk operating device of the physical machine of the application second aspect embodiment, including:Send Module, the first of server operation automation is realized in public cloud for user to be passed to the disk operating demand of physical machine Server;Performing module, task is restarted for performing the Pre-boot Execution Environment PXE that the first server is issued, and loads PXE System;Download module, the disk operating parameter of the physical machine is belonged to for being downloaded from the first server, described to belong to institute The disk operating parameter for stating physical machine is disk operating demand generation of the first server according to the user to physical machine PXE systems in can recognize that disk operating parameter;Operation module, for according to the disk operating parameter of the physical machine to institute The disk for stating physical machine is operated.
In the disk operating device of the physical machine of the embodiment of the present application, disk operating of the transfer module by user to physical machine Demand is passed to after the first server that server operation automation is realized in public cloud, and performing module performs above-mentioned first clothes The PXE that business device is issued restarts task, loads PXE systems, and then download module is downloaded from first server and belongs to above-mentioned physical machine Disk operating parameter, and then operation module carries out according to the disk operating parameter of above-mentioned physical machine to the disk of above-mentioned physical machine Operation, such that it is able to realize generating disk operating parameter to the disk operating demand of physical machine according to user, and then according to disk Operating parameter realizes the automation of physical machine disk operating, can flexibly tackle various, ever-increasing disk operating demand, Consumer's Experience is improve, and does not interfere with bottom disk operating code, maintained easily.
To achieve these goals, the physical machine of the application third aspect embodiment, including:One or more treatment Device;Memory;Input/output unit, service is realized in public cloud for user to be passed to the disk operating demand of physical machine The first server of device operation automation;And the disk operating ginseng for belonging to the physical machine is downloaded from the first server Number, the disk operating parameter for belonging to the physical machine is the first server according to the user to the disk of physical machine The disk operating parameter that be can recognize that in the PXE systems of operational requirements generation;One or more program, it is one or more of Program storage is proceeded as follows in the memory when by one or more of computing devices:Described defeated Enter output device and pass to the disk operating demand of physical machine user to realize the of server operation automation in public cloud After one server, the Pre-boot Execution Environment PXE that the execution first server is issued restarts task, loads PXE systems;Root The disk operating parameter of the physical machine downloaded according to the input/output unit is operated to the disk of the physical machine.
In the physical machine of the embodiment of the present application, input/output unit passes to user to the disk operating demand of physical machine Realized in public cloud after the first server of server operation automation, the above-mentioned first server of computing device is issued PXE restarts task, loads PXE systems, and then input/output unit downloads the disk for belonging to above-mentioned physical machine from first server Operating parameter, and then processor can grasp according to the disk operating parameter of above-mentioned physical machine to the disk of above-mentioned physical machine Make, such that it is able to realize generating disk operating parameter to the disk operating demand of physical machine according to user, and then grasped according to disk The automation of physical machine disk operating is realized as parameter, various, ever-increasing disk operating demand can be flexibly tackled, carried Consumer's Experience high, and bottom disk operating code is not interfered with, maintain easily.
To achieve these goals, the computer-readable medium of the application fourth aspect embodiment, is stored thereon with calculating Machine program, the computer program is when executed by realizing method as described above.
The aspect and advantage that the application is added will be set forth in part in the description, and will partly become from the following description Substantially, or recognized by the practice of the application.
Brief description of the drawings
The above-mentioned and/or additional aspect of the application and advantage will become from the following description of the accompanying drawings of embodiments Substantially and be readily appreciated that, wherein:
Fig. 1 is the flow chart of disk operating method one embodiment of the application physical machine;
Fig. 2 is the schematic diagram of application scenarios one embodiment of the disk operating method of the application physical machine;
Fig. 3 is the parameter of the disk operating demand of expression C1 in the disk operating method of the application physical machine;
Fig. 4 is the parameter of the disk operating demand of expression C2 in the disk operating method of the application physical machine;
Fig. 5 is the structural representation of disk operating device one embodiment of the application physical machine;
Fig. 6 is the structural representation of the application physical machine one embodiment.
Specific embodiment
Embodiments herein is described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached It is exemplary to scheme the embodiment of description, is only used for explaining the application, and it is not intended that limitation to the application.Conversely, this The embodiment of application includes all changes fallen into the range of the spiritual and intension of attached claims, modification and is equal to Thing.
Fig. 1 is the flow chart of disk operating method one embodiment of the application physical machine, as shown in figure 1, above-mentioned physics The disk operating method of machine can include:
Step 101, realizes that server operation is automatic during user is passed into public cloud to the disk operating demand of physical machine The first server of change.
Wherein, the first server that server operation automation is realized in above-mentioned public cloud can be server operation system Structure (Server Operation Architecture;Hereinafter referred to as:SOA) server, certain the present embodiment is not limited in This, the first server that server operation automation is realized in above-mentioned public cloud can also be other servers, the present embodiment This is not limited.
Step 102, the PXE that execution first server is issued restarts task, loads PXE systems.
Step 103, the disk operating parameter for belonging to above-mentioned physical machine is downloaded from above-mentioned first server, above-mentioned to belong to above-mentioned The disk operating parameter of physical machine is the PXE systems that first server is generated according to above-mentioned user to the disk operating demand of physical machine The disk operating parameter that be can recognize that in system.
In the present embodiment, above-mentioned first server receives the disk operating demand of the user to physical machine of physical machine transmission Afterwards, above-mentioned user will be converted to first server the magnetic that be can recognize that in PXE systems to the disk operating demand of physical machine Disk operating parameter, is then stored in the memory database of above-mentioned first server.The PXE that first server is issued is performed in physical machine Restart task, after loading PXE systems, above-mentioned physical machine can the automatic disk operating that above-mentioned physical machine is downloaded from first server Parameter.
Step 104, the disk operating parameter according to above-mentioned physical machine is operated to the disk of above-mentioned physical machine.
Specifically, the disk operating parameter according to above-mentioned physical machine carries out operation to the disk of above-mentioned physical machine can be: Disk operating parameter according to above-mentioned physical machine one of is proceeded as follows or combination to the disk of above-mentioned physical machine:To above-mentioned thing The disk of reason machine does disk array, and subregion is carried out to above-mentioned disk array, is the subregion installation file system of above-mentioned disk array, And the mount point of the subregion of above-mentioned disk array is set.
That is, be different from and being placed on installation file system and setting mount point and installing operating system in the prior art Perform afterwards, in the present embodiment, disk operating, including installation file system and setting mount point can be installed in operating system Centrality is completed before completion, while realizing that disk operating is parameterized, realizes centralization, reduces interaction, is improved The success rate of disk operating.
And in the present embodiment, the mount point of the subregion of disk array can be set according to the demand of user, this with it is existing Technology is compared using fixed disk mount point, reduces fixed limitation, improves Consumer's Experience.
When implementing, the above-mentioned disk operating parameter according to above-mentioned physical machine is grasped to the disk of above-mentioned physical machine Work can be:The bottom disk operating public function that the disk operating parameter of above-mentioned physical machine passes to above-mentioned physical machine is carried out Disk operating.
In the disk operating method of above-mentioned physical machine, during user passed into public cloud to the disk operating demand of physical machine Realize after the first server of server operation automation, the PXE that the above-mentioned first server of execution is issued restarts task, loads PXE systems, then download the disk operating parameter for belonging to above-mentioned physical machine from first server, and then according to above-mentioned physical machine Disk operating parameter is operated to the disk of above-mentioned physical machine, such that it is able to realize the disk operating according to user to physical machine Demand generation disk operating parameter, and then the automation of physical machine disk operating is realized according to disk operating parameter, can be flexible Various, the ever-increasing disk operating demand of reply, improves Consumer's Experience, and do not interfere with bottom disk operating generation Code, maintains easily.
The disk operating method of the physical machine that the application embodiment illustrated in fig. 1 is provided can be used for the applied field shown in Fig. 2 Jing Zhong, Fig. 2 are the schematic diagram of application scenarios one embodiment of the disk operating method of the application physical machine.As shown in Fig. 2 public Having cloud user has two kinds of physical machine, there is the 5 pieces of solid state hard disc of 480G (Solid State in the first physical machine C1 Drives;Hereinafter referred to as:SSD) disk, the SSD disks and 3 pieces of serial senior skills of 500G for having 2 pieces of 500G in second physical machine C2 Art annex (Serial Advanced Technology Attachment;Hereinafter referred to as:SATA) disk, both physical machines are all There is RAID card.Present user is respectively to the disk operating demand of above two physical machine:
C1:1) above two pieces of SSD disks are RAID1, and for installation file system, root partition is 50G, remaining space point Individual area, is mounted under "/home " catalogue;2) three pieces of SSD disks are RAID5 below, and Fen Liangge areas, one of subregion 400G hangs It is downloaded under "/data1 " catalogue, another subregion uses remaining space, is mounted under "/data2 " catalogue.
C2:1) above two pieces of SSD disks are RAID0, and for installation file system, root partition is 100G, remaining space point One area, is mounted under "/home " catalogue;2) three pieces of SATA disks are RAID5 below, and Fen Sange areas, two of which subregion is respectively used 100G, is mounted under "/home/data1 " and "/home/data2 " catalogue respectively, and the 3rd subregion uses remaining space, hangs It is downloaded under "/home/data3 " catalogue.
As shown in Fig. 2 the first server for being used to realize server operation automation in public cloud is SOA servers, it It is responsible for organizing disk operating parameter and issuing PXE restarting task.Fig. 3 for the application physical machine disk operating method in represent C1 Disk operating demand parameter, Fig. 4 is to represent the disk operating demand of C2 in the disk operating method of the application physical machine Parameter.It is respectively received after the disk operating demand of C1 and C2 transmission, SOA respectively can turn the parameter shown in Fig. 3 and Fig. 4 The recognizable disk operating parameter of PXE systems is changed to, the memory database of SOA is then stored in respectively (for example:SOA redis), And then start to issue PXE and restart task to C1, C2, then C1, C2 will perform PXE and restart task, from the guiding of SOA servers Loading customizes PXE systems, automatic after loading successfully that the disk operating parameter for being belonging respectively to C1 and C2 is downloaded from SOA servers, Then the disk operating parameter of oneself is passed to bottom disk operating public function and carries out disk operating by C1 and C2 respectively, including The disk to C1 and C2 does disk array respectively, and subregion is carried out to above-mentioned disk array, is that the subregion of above-mentioned disk array is installed File system, and the mount point of the subregion of above-mentioned disk array is set.
Fig. 5 is the structural representation of disk operating device one embodiment of the application physical machine, the thing in the present embodiment The disk operating device of reason machine can realize the disk operating method of the physical machine shown in the application Fig. 1.As shown in figure 5, above-mentioned The disk operating device of physical machine can include:Sending module 51, performing module 52, download module 53 and operation module 54;
Wherein, sending module 51, clothes are realized in public cloud for user to be passed to the disk operating demand of physical machine The first server of device operation automation of being engaged in;Wherein, the first server of server operation automation is realized in above-mentioned public cloud Can be SOA servers, certain the present embodiment is not limited to that, the of server operation automation is realized in above-mentioned public cloud One server can also be other servers, and the present embodiment is not limited this.
Performing module 52, task is restarted for performing the PXE that first server is issued, and loads PXE systems.
Download module 53, the disk operating parameter of above-mentioned physical machine is belonged to for being downloaded from first server, above-mentioned to belong to The disk operating parameter of above-mentioned physical machine is disk operating demand generation of the first server according to above-mentioned user to physical machine The disk operating parameter that be can recognize that in PXE systems;In the present embodiment, above-mentioned first server receives the user of physical machine transmission After the disk operating demand of physical machine, the disk operating demand conversion that first server will be by above-mentioned user to physical machine It is the disk operating parameter that be can recognize that in PXE systems, is then stored in the memory database of above-mentioned first server.In performing module The PXE that 52 execution first servers are issued restarts task, and after loading PXE systems, download module 53 can be automatic from first service Device downloads the disk operating parameter of above-mentioned physical machine.
Operation module 54, grasps for the disk operating parameter according to above-mentioned physical machine to the disk of above-mentioned physical machine Make.Specifically, operation module 54, enter specifically for the disk operating parameter according to above-mentioned physical machine to the disk of above-mentioned physical machine One of following operation of row or combination:Disk to above-mentioned physical machine does disk array, and subregion is carried out to above-mentioned disk array, for upper State the subregion installation file system of disk array, and the mount point that the subregion of above-mentioned disk array is set.
That is, be different from and being placed on installation file system and setting mount point and installing operating system in the prior art Perform afterwards, in the present embodiment, disk operating, including installation file system and setting mount point can be installed in operating system Centrality is completed before completion, while realizing that disk operating is parameterized, realizes centralization, reduces interaction, is improved The success rate of disk operating.
And in the present embodiment, the mount point of the subregion of disk array can be set according to the demand of user, this with it is existing Technology is compared using fixed disk mount point, reduces fixed limitation, improves Consumer's Experience.
When implementing, operation module 54 is above-mentioned specifically for the disk operating parameter of above-mentioned physical machine is passed to The bottom disk operating public function of physical machine carries out disk operating.
In the disk operating device of above-mentioned physical machine, disk operating demand transmission of the sending module 51 by user to physical machine To after the first server that server operation automation is realized in public cloud, performing module 52 is performed under above-mentioned first server The PXE of hair restarts task, loads PXE systems, and then download module 53 downloads the magnetic for belonging to above-mentioned physical machine from first server Disk operating parameter, and then operation module 54 grasps according to the disk operating parameter of above-mentioned physical machine to the disk of above-mentioned physical machine Make, such that it is able to realize generating disk operating parameter to the disk operating demand of physical machine according to user, and then grasped according to disk The automation of physical machine disk operating is realized as parameter, various, ever-increasing disk operating demand can be flexibly tackled, carried Consumer's Experience high, and bottom disk operating code is not interfered with, maintain easily.
Fig. 6 is the structural representation of the application physical machine one embodiment.The physical machine that Fig. 6 shows is only one and shows Example, should not carry out any limitation to the function of the embodiment of the present application and using range band.
As shown in fig. 6, physical machine 12 is showed in the form of universal computing device.The component of physical machine 12 can include but not It is limited to:One or more processor or processing unit 16, system storage 28, connection different system component (including system Memory 28 and processing unit 16) bus 18.
Bus 18 represents one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, AGP, processor or the local bus using any bus structures in various bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture;Hereinafter referred to as:ISA) bus, MCA (Micro Channel Architecture;Below Referred to as:MAC) bus, enhanced isa bus, VESA (Video Electronics Standards Association;Hereinafter referred to as:VESA) local bus and periphery component interconnection (Peripheral Component Interconnection;Hereinafter referred to as:PCI) bus.
Physical machine 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by physics The usable medium that machine 12 is accessed, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (Random Access Memory;Hereinafter referred to as:RAM) 30 and/or cache memory 32.Physical machine 12 can be with Further include other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media that (Fig. 6 do not show, commonly referred to " hard drive Device ").Although not shown in Fig. 6, can provide for being driven to the disk that may move non-volatile magnetic disk (such as " floppy disk ") read-write Dynamic device, and to removable anonvolatile optical disk (for example:Compact disc read-only memory (Compact Disc Read Only Memory;Hereinafter referred to as:CD-ROM), digital multi read-only optical disc (Digital Video Disc Read Only Memory;Hereinafter referred to as:DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can be produced including at least one program Product, the program product has one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application The function of embodiment.
With one group of program/utility 40 of (at least one) program module 42, can store in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, potentially include the realization of network environment in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiments described herein.
Physical machine 12 can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.) Letter, can also enable a user to the equipment communication that interact with the physical machine 12 with one or more, and/or with so that the physical machine 12 any equipment (such as network interface card, modem etc.) communications that can be communicated with one or more of the other computing device. This communication can be carried out by input/output (I/O) interface 22.Also, physical machine 12 can also be by network adapter 20 Communicated with one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet). As shown in fig. 6, network adapter 20 is communicated by bus 18 with other modules of physical machine 12.Although it should be understood that in figure not Show, physical machine 12 can be combined and use other hardware and/or software module, including but not limited to:Microcode, device drives Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by running program of the storage in system storage 28 so that perform various function application and Data processing, for example, realize the disk operating method of the physical machine that the application is provided.
The application also provides a kind of computer-readable medium, is stored thereon with computer program, above computer program quilt The disk operating method of the physical machine that the application is provided can be realized during computing device.
Above computer computer-readable recording medium can be using any combination of one or more computer-readable media.Computer Computer-readable recording medium can be computer-readable signal media or computer-readable recording medium.Computer-readable recording medium is for example System, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor are may be-but not limited to-, or arbitrarily Combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:With one or more The electrical connection of wire, portable computer diskette, hard disk, random access memory (RAM), read-only storage (Read Only Memory;Hereinafter referred to as:ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory;Hereinafter referred to as:) or flash memory, optical fiber, portable compact disc read-only storage (CD-ROM), optical memory EPROM Part, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable recording medium can be appointed What include or storage program tangible medium, the program can be commanded execution system, device or device use or and its It is used in combination.
Computer-readable signal media can include the data-signal propagated in a base band or as a carrier wave part, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for being used or program in connection by instruction execution system, device or device.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
Computer for performing the application operation can be write with one or more programming language or its combination Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++, Also including conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform on the user computer, partly perform on the user computer, performed as an independent software kit, portion Part on the user computer is divided to perform on the remote computer or performed on remote computer or server completely. It is related in the situation of remote computer, remote computer can be by the network of any kind --- including LAN (Local Area Network;Hereinafter referred to as:) or wide area network (Wide Area Network LAN;Hereinafter referred to as:WAN) it is connected to user Computer, or, it may be connected to outer computer (such as using ISP come by Internet connection).
It should be noted that in the description of the present application, term " first ", " second " etc. are only used for describing purpose, without It is understood that to indicate or implying relative importance.Additionally, in the description of the present application, unless otherwise indicated, the implication of " multiple " It is two or more.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion Point, and the scope of the preferred embodiment of the application includes other realization, wherein can not press shown or discussion suitable Sequence, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be by the application Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the application can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (Programmable Gate Array;Hereinafter referred to as:PGA), field programmable gate array (Field Programmable Gate Array;Hereinafter referred to as:FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried The rapid hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional module in the application each embodiment can be integrated in a processing module, or Modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated module Both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.If the integrated module Realized in the form of using software function module and as independent production marketing or when using, it is also possible to which storage can in a computer In reading storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described Point is contained at least one embodiment of the application or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to the limitation to the application is interpreted as, one of ordinary skill in the art within the scope of application can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (8)

1. a kind of disk operating method of physical machine, it is characterised in that including:
The first service that server operation is automated is realized during user is passed into public cloud to the disk operating demand of physical machine Device;
Perform the Pre-boot Execution Environment PXE that the first server issues and restart task, load PXE systems;
The disk operating parameter for belonging to the physical machine, the disk for belonging to the physical machine are downloaded from the first server Can know in the PXE systems that operating parameter is the first server to be generated according to the user to the disk operating demand of physical machine Other disk operating parameter;
Disk operating parameter according to the physical machine is operated to the disk of the physical machine.
2. method according to claim 1, it is characterised in that the disk operating parameter according to the physical machine is to institute Stating the disk of physical machine and carrying out operation includes:
Disk operating parameter according to the physical machine one of is proceeded as follows or combination to the disk of the physical machine:To institute The disk for stating physical machine does disk array, and subregion is carried out to the disk array, is the subregion installation file of the disk array System, and the mount point of the subregion of the disk array is set.
3. method according to claim 1 and 2, it is characterised in that the disk operating parameter according to the physical machine Carrying out operation to the disk of the physical machine includes:
The bottom disk operating public function that the disk operating parameter of the physical machine passes to the physical machine is carried out into disk Operation.
4. the disk operating device of a kind of physical machine, it is characterised in that including:
Sending module, for user to be passed into public cloud to the disk operating demand of physical machine in realize that server operation is automatic The first server of change;
Performing module, task, loading PXE systems are restarted for performing the Pre-boot Execution Environment PXE that the first server is issued System;
Download module, the disk operating parameter of the physical machine is belonged to for being downloaded from the first server, described to belong to institute The disk operating parameter for stating physical machine is disk operating demand generation of the first server according to the user to physical machine PXE systems in can recognize that disk operating parameter;
Operation module, operates for the disk operating parameter according to the physical machine to the disk of the physical machine.
5. device according to claim 4, it is characterised in that
The operation module, specifically for the disk operating parameter according to the physical machine disk of the physical machine is carried out as One of lower operation or combination:Disk to the physical machine does disk array, and subregion is carried out to the disk array, is the magnetic The subregion installation file system of disk array, and the mount point of the subregion of the disk array is set.
6. the device according to claim 4 or 5, it is characterised in that
The operation module, the bottom disk specifically for the disk operating parameter of the physical machine to be passed to the physical machine Operation public function carries out disk operating.
7. a kind of physical machine, it is characterised in that including:
One or more processor;
Memory;
Input/output unit, for user to be passed into public cloud to the disk operating demand of physical machine in realize server operation The first server of automation;And the disk operating parameter for belonging to the physical machine is downloaded from the first server, it is described The disk operating parameter for belonging to the physical machine is the first server according to the user to the disk operating need of physical machine The disk operating parameter that be can recognize that in the PXE systems sought survival;
One or more program, one or more of program storages in the memory, when by one or Proceeded as follows during multiple computing devices:
Realize that server is grasped in user is passed to public cloud by the input/output unit to the disk operating demand of physical machine After the first server that work is automated, the Pre-boot Execution Environment PXE that the execution first server is issued restarts task, plus Carry PXE systems;Magnetic of the disk operating parameter of the physical machine downloaded according to the input/output unit to the physical machine Disk is operated.
8. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that the computer program is processed The method as described in any in claim 1-3 is realized when device is performed.
CN201710092529.4A 2017-02-21 2017-02-21 Physical machine and magnetic disk operation method and device thereof Active CN106886373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710092529.4A CN106886373B (en) 2017-02-21 2017-02-21 Physical machine and magnetic disk operation method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710092529.4A CN106886373B (en) 2017-02-21 2017-02-21 Physical machine and magnetic disk operation method and device thereof

Publications (2)

Publication Number Publication Date
CN106886373A true CN106886373A (en) 2017-06-23
CN106886373B CN106886373B (en) 2020-02-04

Family

ID=59180129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710092529.4A Active CN106886373B (en) 2017-02-21 2017-02-21 Physical machine and magnetic disk operation method and device thereof

Country Status (1)

Country Link
CN (1) CN106886373B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213453A (en) * 2018-09-25 2019-01-15 郑州云海信息技术有限公司 A kind of disk management method and relevant apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050108474A1 (en) * 2003-11-04 2005-05-19 Weijia Zhang System and method for remote raid configuration
CN103744695A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 Method and system for operating system remote installation on basis of PXE
CN104935468A (en) * 2015-06-24 2015-09-23 宋敏 PXE technology-based interactive system and method for realizing operation of operating system thereof
CN105426207A (en) * 2015-11-13 2016-03-23 浪潮电子信息产业股份有限公司 PXE-based method for rapidly installing operation systems in batches
CN106095339A (en) * 2016-06-13 2016-11-09 浪潮(北京)电子信息产业有限公司 A kind of RAID collocation method for server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050108474A1 (en) * 2003-11-04 2005-05-19 Weijia Zhang System and method for remote raid configuration
CN103744695A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 Method and system for operating system remote installation on basis of PXE
CN104935468A (en) * 2015-06-24 2015-09-23 宋敏 PXE technology-based interactive system and method for realizing operation of operating system thereof
CN105426207A (en) * 2015-11-13 2016-03-23 浪潮电子信息产业股份有限公司 PXE-based method for rapidly installing operation systems in batches
CN106095339A (en) * 2016-06-13 2016-11-09 浪潮(北京)电子信息产业有限公司 A kind of RAID collocation method for server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213453A (en) * 2018-09-25 2019-01-15 郑州云海信息技术有限公司 A kind of disk management method and relevant apparatus

Also Published As

Publication number Publication date
CN106886373B (en) 2020-02-04

Similar Documents

Publication Publication Date Title
CN107924323B (en) Dependency-based container deployment
US9710304B2 (en) Methods and apparatus to select virtualization environments for migration
CN101398770B (en) System for and method of migrating one or more virtual machines
US10678581B2 (en) Methods and apparatus to select virtualization environments during deployment
US9778635B2 (en) Executing an additive manufacturing job by a plurality of additive manufacturing printers
US11003561B2 (en) Systems and methods for predicting information handling resource failures using deep recurrent neural networks
JP6753200B2 (en) Methods, systems and computer programs for cloud-based computing clusters for simulated operator training systems
CN112764872B (en) Computer device, virtualization acceleration device, remote control method, and storage medium
US10235235B2 (en) Modular system awareness in virtualized information handling systems
US10817319B1 (en) Compatibility-based configuration of hardware with virtualization software
US9558028B2 (en) Systems and methods for migration of virtual machines across virtual storage resources
CN106775928A (en) A kind of virtual machine Autonomic Migration Framework system and method between isomery cloud platform
CN105700956A (en) Distributed job processing method and system
CN106911500A (en) The collocation method of physical machine, device and physical machine
CN101075210B (en) Apparatus and method for partitioning hard disk without reboot
US20170109185A1 (en) Systems and methods for multi-root input/output virtualization-based management by single service processor
CN105389190A (en) Operating system starting method, apparatus and system
CN106886373A (en) The disk operating method of physical machine, device and physical machine
CN102393838B (en) Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server
US20160232023A1 (en) Systems and methods for defining virtual machine dependency mapping
US8468298B2 (en) Management device and management method
WO2015191023A1 (en) Method and apparatus of subsidiary volume management
CN106843768A (en) Hard disc data method for deleting and device
US20200133682A1 (en) System and method for automatically reconfiguring a computer between a cryptocurrency mining mode and a gaming mode
CN108984276A (en) A kind of host migration method and apparatus

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
GR01 Patent grant
GR01 Patent grant