CN106034142B - A kind of information processing method and server - Google Patents
A kind of information processing method and server Download PDFInfo
- Publication number
- CN106034142B CN106034142B CN201510108968.0A CN201510108968A CN106034142B CN 106034142 B CN106034142 B CN 106034142B CN 201510108968 A CN201510108968 A CN 201510108968A CN 106034142 B CN106034142 B CN 106034142B
- Authority
- CN
- China
- Prior art keywords
- server
- module
- virtual
- starting
- virtual module
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of information processing method and servers, are applied in first server, which comprises will be allocated to second server with the first storage associated first virtual module of equipment;Start PXE function, obtains the first startup file for starting first virtual module from remote server;Based on first startup file, start first virtual module.Pass through the above method provided by the present application, solving server in the prior art there is technical issues that starting virtual module cannot be obtained automatically, realize that server can obtain the startup file of virtual module automatically to start the technical effect of virtual module.
Description
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and server.
Background technique
With the extensive development of internet, demand of the large-scale operator to server is also increasing, and server needs
The data volume of processing is also increasing, therefore, in server is commonly configured with multiple VM (virtual machine, virtual machine)
To handle data, or using multiple property servers carry out data processing.Either by multiple VM still by multiple entities
Server carries out data processing, requires the management module for managing these servers, which is responsible for will therewith
The storage equipment of connection distributes to multiple entities, and perhaps virtual server enables multiple entities or virtual server to read
Get the os starting file in storage equipment, and then start-up operation system.Multiple entities or virtual server are logical
When crossing the data in multiple storage equipment that management module reading is connect with management module, it is necessary to first start a virtual module
VF (virtual function, virtual functions), so could be read by the VF be stored in it is associated with the virtual module
Store the operating system file in equipment.
Present inventor during technical solution, has found the above-mentioned prior art at least in invention the embodiment of the present application
It has the following technical problems:
VF due in the prior art, starting virtual module generally requires the BIOS that technical staff manually modifies server
(Basic Input and Output system, basic input output system), is loaded onto server for the startup file of VF
After in BIOS, that is, the driving file of VF will be generally integrated into advance in virtual server or the BIOS of property server, Cai Nengqi
The VF of dynamic virtual module.But since number of servers is huge in server system, cause the workload of technical staff huge.That is,
Increase a kind of PCIE device for supporting startup function in this way, requires the BIOS generation of modification virtual server or property server
Code increases the support started to this equipment VF.So server in the prior art exists cannot obtain starting virtually automatically
The technical issues of startup file of module.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and server, deposits for solving server in the prior art
The technical issues of cannot obtain the startup file of starting virtual module automatically, realize that server can automatically obtain virtual module
Startup file to start the technical effect of virtual module.
On the one hand, the embodiment of the present application provides a kind of information processing method, is applied in first server, the method packet
It includes:
Second server will be allocated to the first storage associated first virtual module of equipment, wherein first storage
Equipment is any storage equipment in M storage equipment connecting with the first server, and the second server is described
Any server in N number of server of first server management, first virtual module are and the first storage equipment
Any virtual module in associated P virtual module, M, N and P are the integer more than or equal to 1;
Start PXE (preboot execute environment, Pre-boot Execution Environment) function, from remote server
Obtain the first startup file for starting first virtual module;
Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
First operating system is run in business device.
Optionally, it is described will with first storage associated first virtual module of equipment be allocated to second server after,
The method also includes:
First virtual module is loaded onto the second server;
Based on first virtual module, the id information of the first storage equipment is obtained.
Optionally, starting PXE (preboot execute environment, the Pre-boot Execution Environment) function, from
Remote server obtains the first startup file for starting first virtual module, specifically includes:
Determine the IP address for the remote server that first startup file is stored in;
Based on the IP address, sends first for obtaining first startup file and request to the remote service
Device;
Obtain first startup file of the remote server based on the first request feedback.
Optionally, described based on described the when the second server is the virtual server of the first server
One startup file starts first virtual module, so that the second server can be read by first virtual module
The first os starting file in the first storage equipment is taken, and then runs described first in the second server
Operating system specifically includes:
Start Virtual Machine Manager module in the first server;
First BIOS of the second server is installed by the Virtual Machine Manager module;
It controls the second server and starts the first BIOS, so that the first BIOS can be by described in reading
First startup file starts first virtual module;
Based on the id information, controls the second server and run after reading the first os starting file
First operating system.
Optionally, described to be based on first startup file when the second server is property server, start institute
The first virtual module is stated, so that the second server can read the first storage equipment by first virtual module
In the first os starting file, and then run first operating system in the second server, specifically include:
It controls the second server and starts the 2nd BIOS, so that the 2nd BIOS reads the first starting text
Part starts first virtual module;
Based on the id information, controls the second server and run after reading the first os starting file
First operating system.
Optionally, the first server is with PCIe (Peripherial Component Interconnect
Express, high speed peripheral component interconnection) mode connect with N number of server.
Optionally, the first server is with PCIe (Peripherial Component Interconnect
Express, high speed peripheral component interconnection) mode connect with the M storage equipment.
On the other hand, the embodiment of the present application also provides a kind of server, comprising:
First configuration unit, for second server will to be allocated to the first storage associated first virtual module of equipment,
Wherein, the first storage equipment be connect with the server the M any storage equipment stored in equipment, described second
Server is any server in N number of server of the server admin, and first virtual module is and described first
Any virtual module in the associated P virtual module of equipment is stored, M, N and P are the integer more than or equal to 1;
First start unit, for starting PXE (preboot execute environment, Pre-boot Execution Environment)
Function obtains the first startup file for starting first virtual module from remote server;
Second start unit starts first virtual module, so that described for being based on first startup file
Second server can read the first os starting file in the first storage equipment by first virtual module,
And then first operating system is run in the second server.
Optionally, the server further include:
First loading unit, for described the second clothes will to be allocated to the first storage associated first virtual module of equipment
It is engaged in after device, first virtual module is loaded onto the second server;
First acquisition unit obtains the id information of the first storage equipment for being based on first virtual module.
Optionally, first start unit specifically includes:
First determining module, for determining the IP address of the remote server that first startup file is stored in;
First sending module, for being based on the IP address, transmission is asked for obtaining the first of first startup file
It asks to the remote server;
First obtains module, for obtaining first starting of the remote server based on the first request feedback
File.
Optionally, second start unit specifically includes:
First starting module, for when the second server is the virtual server of the server, described in starting
Virtual Machine Manager module in server;
First installation module, for installing the first BIOS of the second server by the Virtual Machine Manager module;
First control module starts the first BIOS for controlling the second server, so that described first
BIOS can start first virtual module by reading first startup file;
Second control module controls the second server and is reading first operation for being based on the id information
First operating system is run after System startup files.
Optionally, second start unit specifically includes:
Third control module, for controlling the second server and opening when the second server is property server
Dynamic 2nd BIOS starts first virtual module so that the 2nd BIOS reads first startup file;
4th control module controls the second server and is reading first operation for being based on the id information
First operating system is run after System startup files.
Optionally, the server is with PCIe (Peripherial Component Interconnect Express, height
Fast peripheral component interconnection) mode connect with N number of server.
Optionally, the server is with PCIe (Peripherial Component Interconnect Express, height
Fast peripheral component interconnection) mode connect with the M storage equipment.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
It will be with the first storage virtual mould of equipment associated first due to using in the technical solution of the embodiment of the present application
Block is allocated to second server;Start PXE function, obtains first for starting first virtual module from remote server
Startup file;Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
The technological means of first operating system is run in business device.In this way, first server is in the second server point for its management
After virtual module, the PXE having the function of by first server is obtained from remote server for starting opening for virtual module
Dynamic file, and then start the VF function of virtual module, and then read by the VF and to be stored in and the virtual module is associated deposits
The operating system file of the second server in equipment is stored up, and then starts the operating system of second server.So solving existing
The technical issues of startup file of starting virtual module cannot be obtained automatically with the presence of the server in technology, realize server energy
Obtain the startup file of virtual module automatically based on PXE function to start the technical effect of virtual module.
It will be with the first storage virtual mould of equipment associated first due to using in the technical solution of the embodiment of the present application
Block is allocated to second server;Start PXE function, obtains first for starting first virtual module from remote server
Startup file;Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
The technological means of first operating system is run in business device.In this way, with the not needing manual modification BIOS of each server,
Only have by one in the management server of PXE function, the multiple server operating systems of starting can be realized, so that multiple clothes
Business device handles mass data.So the technical solution in the embodiment of the present application does not need additional configuration and customization, it is real
Show when starting multiple associated entities or virtual server, design architecture is simple, the lower technology effect of the cost of manual maintenance
Fruit.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of information processing method in the embodiment of the present application one;
Fig. 2 is the method flow diagram executed after step S101 in the embodiment of the present application one;
Fig. 3 is the method flow diagram that step S102 is executed in the embodiment of the present application one;
Fig. 4 is the method flow diagram that step S103 is executed in the embodiment of the present application one;
Fig. 5 is the method flow diagram that step S103 is executed in the embodiment of the present application two;
Fig. 6 is a kind of structural schematic diagram of server in the embodiment of the present application three.
Specific embodiment
The embodiment of the present application provides a kind of information processing method and server, deposits for solving server in the prior art
The technical issues of cannot obtain the startup file of starting virtual module automatically, realize that server can automatically obtain virtual module
Startup file to start the technical effect of virtual module.
A kind of information processing method is applied in first server, which comprises
Second server will be allocated to the first storage associated first virtual module of equipment, wherein first storage
Equipment is any storage equipment in M storage equipment connecting with the first server, and the second server is described
Any server in N number of server of first server management, first virtual module are and the first storage equipment
Any virtual module in associated P virtual module, M, N and P are the integer more than or equal to 1;
Start PXE (preboot execute environment, Pre-boot Execution Environment) function, from remote server
Obtain the first startup file for starting first virtual module;
Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
First operating system is run in business device.
It will be with the first storage virtual mould of equipment associated first due to using in the technical solution of the embodiment of the present application
Block is allocated to second server;Start PXE function, obtains first for starting first virtual module from remote server
Startup file;Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
The technological means of first operating system is run in business device.In this way, first server is in the second server point for its management
After virtual module, the PXE having the function of by first server is obtained from remote server for starting opening for virtual module
Dynamic file, and then start the VF function of virtual module, and then read by the VF and to be stored in and the virtual module is associated deposits
The operating system file of the second server in equipment is stored up, and then starts the operating system of second server.So solving existing
The technical issues of startup file of starting virtual module cannot be obtained automatically with the presence of the server in technology, realize server energy
Obtain the startup file of virtual module automatically based on PXE function to start the technical effect of virtual module.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention
It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical solution of the present invention
Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present application and embodiment
In technical characteristic can be combined with each other.
Embodiment one
The present embodiment is with VMM's (virtual machine manager, virtual machine manager) with first server
Server.Also, first server has a PXE module, and the PXE module is able to achieve PXE function.N number of server is
It is described in detail for multiple virtual servers of one server configuration.
Referring to FIG. 1, the embodiment of the present application provides a kind of information processing method, it is applied in first server, the side
Method includes:
S101: second server will be allocated to the first storage associated first virtual module of equipment, wherein described first
Storage equipment is any storage equipment in M storage equipment connecting with the first server, and the second server is
Any server in N number of server of the first server management, first virtual module are and first storage
Any virtual module in the associated P virtual module of equipment, M, N and P are the integer more than or equal to 1;
S102: starting PXE (preboot execute environment, Pre-boot Execution Environment) function takes from distal end
Business device obtains the first startup file for starting first virtual module;
S103: being based on first startup file, starts first virtual module, so that the second server energy
The first os starting file in the first storage equipment is read by first virtual module, and then described the
First operating system is run in two servers.
In the specific implementation process, the first server be with VMM (virtual machine manager, virtually
Machine manager) server.Also, first server has a PXE module, and the PXE module is able to achieve PXE function.
Specifically, when first server is the server with VMM, the specific implementation of step S101 are as follows: first service
The VMM of device is configured with N number of VM (virtual machine, virtual machine), also, first server is connected with M storage equipment,
This M storage equipment is respectively provided with multiple PF (physical function, the physical function) module being associated, also, more
Any one PF module has P VF (virtual function, virtual functions) module in a PF module.First server
VMM can manage the multiple VF modules for storing the associated multiple PF modules of equipment with M and having with multiple PF modules.First clothes
The VMM of business device will store the first VF module assignment in the associated first PF module of equipment with M stores in equipment first and give
Second server in multiple VM, wherein the VMM of first server can also distribute IP for multiple VM of management.Wherein, the first clothes
Business device supports SR-IOV (a single-root I/O virtualization, single input/output with M storage equipment monarch
Virtualization) function.
Referring to FIG. 2, after step slol, before step S102, the method in the embodiment of the present application further include as
Lower step:
S201: first virtual module is loaded onto the second server;
S202: being based on first virtual module, obtains the id information of the first storage equipment.
Specifically, when first server is the server with VMM, the specific implementation of above-mentioned steps are as follows: first service
First VF of the first virtual module is loaded onto second server by the VMM of device, it may be assumed that the VMM of first server is by the first virtual mould
First VF of block distributes to second server, and the first VF is loaded onto second server.First VF is being loaded onto the second clothes
It is engaged in after device, first server obtains the id information with the associated first storage equipment of the first VF.For example, in first server
After first VF of the first virtual module is distributed to second server by VMM, the first storage is obtained from the identification information of the first VF
The id information of equipment.Wherein, the id information of the first storage equipment is specially the identification information of the first storage equipment.
After the above steps, the embodiment of the present application just executes step S102, it may be assumed that starting PXE (preboot
Execute environment, Pre-boot Execution Environment) function, it is obtained from remote server virtual for starting described first
First startup file of module.
Referring to FIG. 3, step S102 specifically includes the following steps:
S301: the IP address for the remote server that first startup file is stored in is determined;
S302: being based on the IP address, sends first for obtaining first startup file and requests to the distal end
Server;
S303: first startup file of the remote server based on the first request feedback is obtained.
Specifically, when first server is the server with VMM, the specific implementation of step S102 are as follows: first service
The PXE network interface card of device can broadcast a solicited message, for requesting the first information of remote server.Also, in the solicited message
MAC Address including second server.Such as: the PXE module of first server can broadcast a FIND frame, include in the frame
The MAC Address of first server.Remote server is after receiving the solicited message, according to the MAC Address in solicited message, inspection
Whether in long-range log-on data library have the configuration of the MAC Address record, have the configuration of the MAC Address to record in remote server if looking into
When, that is, show that remote server is stored with the first startup file.Remote server sends the first information to first server, this
The first information includes the IP address of remote server.After first server receives the first information, starting first will be just requested
First request of the first startup file of VF module is sent to remote server.After remote server receives the first request,
Corresponding first startup file can be found according to the mac address information of the first server in its long-range log-on data library, and
First startup file is sent to first server.
After executing the step S102, the embodiment of the present application just executes step S103, it may be assumed that based on the first starting text
Part starts first virtual module, so that the second server can read described the by first virtual module
The first os starting file in one storage equipment, and then first operation system is run in the second server
System.
Referring to FIG. 4, step S103 specifically includes the following steps:
S401: start Virtual Machine Manager module in the first server;
S402: the first BIOS of the second server is installed by the Virtual Machine Manager module;
S403: it controls the second server and starts the first BIOS, so that the first BIOS can pass through reading
First startup file is taken, first virtual module is started;
S404: being based on the id information, controls the second server and is reading the first os starting file
After run first operating system.
Specifically, when first server is the server with VMM, the specific implementation of step S103 are as follows: open first
VMM in server, the VMM in first server install the first BIOS of virtual second server, wherein second server
With standard BIOS identical with first server, and the first BIOS that first server is supplied to second server is a son
Module, the first BIOS can start in the standard BIOS of second server, and then the first BIOS may be read into the first startup file
Start the VF of the first virtual module afterwards, in turn, after the VF of the first virtual module is in the open state, second server can be based on
The id information of first storage equipment, access the first storage equipment read the first operation system being stored in the first storage equipment
System startup file, and then start the first operating system.In turn, the first operation system that second server is provided in the first storage equipment
Under system, the first storage equipment is used.In the specific implementation process, the first operating system can be Linux, Unix,
Windows can also be other operating system certainly, here, the application is with no restrictions.
Embodiment two
The present embodiment with first server be a management server, for managing the N number of second server being attached thereto, this
N number of second server is property server, also, first server has a PXE module, and the PXE module is able to achieve PXE function
It is described in detail for energy, in the present embodiment, first server is with PCIe (Peripherial Component
Interconnect Express, high speed peripheral component interconnection) mode connect with N number of server.Also, first clothes
Be engaged in device with PCIe (Peripherial Component Interconnect Express, high speed peripheral component interconnection) mode with
The M storage equipment connection.
Referring to FIG. 1, the embodiment of the present application provides a kind of information processing method, it is applied in first server, the side
Method includes:
S101: second server will be allocated to the first storage associated first virtual module of equipment, wherein described first
Storage equipment is any storage equipment in M storage equipment connecting with the first server, and the second server is
Any server in N number of server of the first server management, first virtual module are and first storage
Any virtual module in the associated P virtual module of equipment, M, N and P are the integer more than or equal to 1;
S102: starting PXE (preboot execute environment, Pre-boot Execution Environment) function takes from distal end
Business device obtains the first startup file for starting first virtual module;
S103: being based on first startup file, starts first virtual module, so that the second server energy
The first os starting file in the first storage equipment is read by first virtual module, and then described the
First operating system is run in two servers.
Specifically, first server is the specific implementation of step S101 when managing the server of N number of entity second server
Are as follows: first server manages N number of second server, also, first server is connected with M storage equipment, this M storage equipment
It is respectively provided with multiple PF (physical function, the physical function) module being associated, also, is appointed in multiple PF modules
PF module of anticipating has P VF (virtual function, virtual functions) module.First server can be managed deposits with M
Multiple VF modules storage equipment associated multiple PF modules and had with multiple PF modules.First server will be stored with M
The first VF module assignment in the first storage associated first PF module of equipment in equipment is to second server, wherein first
Server can also distribute IP for the second server of management.First server and M storage equipment all support MR-IOV (muti-
Root I/O virtualization, more input/output virtualizations) or SR-IOV (a single-root I/O
Virtualization, single input/output virtualization) function.
Referring to FIG. 2, after step slol, before step S102, the method in the embodiment of the present application further include as
Lower step:
S201: first virtual module is loaded onto the second server;
S202: being based on first virtual module, obtains the id information of the first storage equipment.
Specifically, the specific implementation of above-mentioned steps are as follows: the first VF of the first virtual module is loaded by first server
Two servers, it may be assumed that the first VF of the first virtual module is distributed to second server by first server, and the first VF is loaded onto
Second server.After the first VF is loaded onto second server, first server acquisition is deposited with the first VF associated first
Store up the id information of equipment.For example, after the first VF of the first virtual module is distributed to second server by first server, from
The id information of the first storage equipment is obtained in the identification information of one VF.Wherein, the id information of the first storage equipment is specially first
Store the identification information of equipment.
After the above steps, the embodiment of the present application just executes step S102, it may be assumed that starting PXE (preboot
Execute environment, Pre-boot Execution Environment) function, it is obtained from remote server virtual for starting described first
First startup file of module.
Referring to FIG. 3, step S102 specifically includes the following steps:
S301: the IP address for the remote server that first startup file is stored in is determined;
S302: being based on the IP address, sends first for obtaining first startup file and requests to the distal end
Server;
S303: first startup file of the remote server based on the first request feedback is obtained.
Specifically, the specific implementation of step S102 are as follows: the PXE network interface card of first server can broadcast a solicited message, use
In the first information of request remote server.It also, include the MAC Address of first server in the solicited message.Such as: first
The PXE module of server can broadcast a FIND frame, include the MAC Address of first server in the frame.Remote server exists
After receiving the solicited message, according to the MAC Address in solicited message, check in long-range log-on data library with whether having the MAC
The configuration of location records, and when remote server has the configuration of the MAC Address to record, that is, shows that remote server is stored with first and opens
Dynamic file.Remote server sends the first information to first server, this first information includes the IP address of remote server.
After first server receives the first information, the first request hair of the first startup file of the first VF module of starting will be just requested
It send to remote server.It, can be according to the first clothes in its long-range log-on data library after remote server receives the first request
The mac address information of business device finds corresponding first startup file, and the first startup file is sent to first server.
After executing the step S102, the embodiment of the present application just executes step S103, it may be assumed that based on the first starting text
Part starts first virtual module, so that the second server can read described the by first virtual module
The first os starting file in one storage equipment, and then first operation system is run in the second server
System.
Referring to FIG. 5, step S103 specifically includes the following steps:
S501: controlling the second server and start the 2nd BIOS, opens so that the 2nd BIOS reads described first
Dynamic file, starts first virtual module;
S502: being based on the id information, controls the second server and is reading the first os starting file
After run first operating system;
Specifically, the specific implementation of step S103 are as follows: the instruction of the 2nd BIOS of first server transmission starting to the second clothes
Business device, second server start the 2nd BIOS after receiving the instruction.Wherein, second server has and first server
Identical standard BIOS, and the 2nd BIOS of second server is a submodule of standard BIOS, the 2nd BIOS can be second
Start in the standard BIOS of server, so the 2nd BIOS may be read into the first startup file after start the first virtual module
VF, in turn, after the VF of the first virtual module is in the open state, second server can be based on the ID letter of the first storage equipment
Breath, access the first storage equipment, reads the first os starting file being stored in the first storage equipment, and then start
First operating system.In turn, second server first is stored under the first operating system that the first storage equipment provides using this
Equipment.In the specific implementation process, the first operating system can be Linux, Unix, Windows, can also be other behaviour certainly
Make system, here, the application is with no restrictions.
Embodiment three
Referring to FIG. 6, based on the same inventive concept, the method for corresponding embodiment one and embodiment two, the embodiment of the present application
Two also provide a kind of server, comprising:
First configuration unit 601, for second service will to be allocated to the first storage associated first virtual module of equipment
Device, wherein the first storage equipment is any storage equipment in M storage equipment connecting with the server, described
Second server be the server admin N number of server in any server, first virtual module be with it is described
Any virtual module in the first storage associated P virtual module of equipment, M, N and P are the integer more than or equal to 1;
First start unit 602, for starting PXE, (preboot execute environment, pretrigger execute ring
Border) function, the first startup file for starting first virtual module is obtained from remote server;
Second start unit 603, for starting first virtual module based on first startup file, so that
The second server can read the first os starting in the first storage equipment by first virtual module
File, and then first operating system is run in the second server.
The server further include:
First loading unit, for described the second clothes will to be allocated to the first storage associated first virtual module of equipment
It is engaged in after device, first virtual module is loaded onto the second server;
First acquisition unit obtains the id information of the first storage equipment for being based on first virtual module.
First start unit specifically includes:
First determining module, for determining the IP address of the remote server that first startup file is stored in;
First sending module, for being based on the IP address, transmission is asked for obtaining the first of first startup file
It asks to the remote server;
First obtains module, for obtaining first starting of the remote server based on the first request feedback
File.
Second start unit specifically includes:
First starting module, for when the second server is the virtual server of the server, described in starting
Virtual Machine Manager module in server;
First installation module, for installing the first BIOS of the second server by the Virtual Machine Manager module;
First control module starts the first BIOS for controlling the second server, so that described first
BIOS can start first virtual module by reading first startup file;
Second control module controls the second server and is reading first operation for being based on the id information
First operating system is run after System startup files.
Second start unit specifically includes:
Third control module, for controlling the second server and opening when the second server is property server
Dynamic 2nd BIOS starts first virtual module so that the 2nd BIOS reads first startup file;
4th control module controls the second server and is reading first operation for being based on the id information
First operating system is run after System startup files.
The server is with PCIe (Peripherial Component Interconnect Express, high-speed peripheral
Component interconnection) mode connect with N number of server.
The server is with PCIe (Peripherial Component Interconnect Express, high-speed peripheral
Component interconnection) mode connect with the M storage equipment.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented
Fruit:
It will be with the first storage virtual mould of equipment associated first due to using in the technical solution of the embodiment of the present application
Block is allocated to second server;Start PXE function, obtains first for starting first virtual module from remote server
Startup file;Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
The technological means of first operating system is run in business device.In this way, first server is in the second server point for its management
After virtual module, the PXE having the function of by first server is obtained from remote server for starting opening for virtual module
Dynamic file, and then start the VF function of virtual module, and then read by the VF and to be stored in and the virtual module is associated deposits
The operating system file of the second server in equipment is stored up, and then starts the operating system of second server.So solving existing
The technical issues of startup file of starting virtual module cannot be obtained automatically with the presence of the server in technology, realize server energy
Obtain the startup file of virtual module automatically based on PXE function to start the technical effect of virtual module.
It will be with the first storage virtual mould of equipment associated first due to using in the technical solution of the embodiment of the present application
Block is allocated to second server;Start PXE function, obtains first for starting first virtual module from remote server
Startup file;Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
The technological means of first operating system is run in business device.In this way, with the not needing manual modification BIOS of each server,
Only have by one in the management server of PXE function, the multiple server operating systems of starting can be realized, so that multiple clothes
Business device handles mass data.So the technical solution in the embodiment of the present application does not need additional configuration and customization, it is real
Show when starting multiple associated entities or virtual server, design architecture is simple, the lower technology effect of the cost of manual maintenance
Fruit.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
Second server will be allocated to the first storage associated first virtual module of equipment, wherein first storage
Equipment is any storage equipment in M storage equipment connecting with the first server, and the second server is described
Any server in N number of server of first server management, first virtual module are and the first storage equipment
Any virtual module in associated P virtual module, M, N and P are the integer more than or equal to 1;
Start PXE (preboot execute environment, Pre-boot Execution Environment) function, from remote server
Obtain the first startup file for starting first virtual module;
Based on first startup file, start first virtual module, so that the second server can pass through
First virtual module reads the first os starting file in the first storage equipment, and then in second clothes
First operating system is run in business device.
Optionally, when the computer program instructions corresponding with information processing method in storage medium are read by an electronic equipment
It takes or is performed, after step will be allocated to second server with the first storage associated first virtual module of equipment, also
Include the following steps:
First virtual module is loaded onto the second server;
Based on first virtual module, the id information of the first storage equipment is obtained.
Optionally, stored in the storage medium and step: starting PXE (preboot execute
Environment, Pre-boot Execution Environment) function, for starting first virtual module is obtained from remote server
One startup file, corresponding computer instruction specifically comprise the following steps: in by specific implementation procedure
Determine the IP address for the remote server that first startup file is stored in;
Based on the IP address, sends first for obtaining first startup file and request to the remote service
Device;
Obtain first startup file of the remote server based on the first request feedback.
Optionally, when the second server is the virtual server of the first server, in the storage medium
Store and step: being based on first startup file, starts first virtual module, so that the second server energy
The first os starting file in the first storage equipment is read by first virtual module, and then described the
First operating system is run in two servers, corresponding computer instruction in by specific implementation procedure, specifically include as
Lower step:
Start Virtual Machine Manager module in the first server;
First BIOS of the second server is installed by the Virtual Machine Manager module;
It controls the second server and starts the first BIOS, so that the first BIOS can be by described in reading
First startup file starts first virtual module;
Based on the id information, controls the second server and run after reading the first os starting file
First operating system.
Optionally, it when the second server is property server, stored in the storage medium and step: is based on
First startup file starts first virtual module, so that the second server can be virtual by described first
Module reads the first os starting file in the first storage equipment, and then institute is run in the second server
The first operating system is stated, corresponding computer instruction specifically comprises the following steps: in by specific implementation procedure
It controls the second server and starts the 2nd BIOS, so that the 2nd BIOS reads the first starting text
Part starts first virtual module;
Based on the id information, controls the second server and run after reading the first os starting file
First operating system.
Optionally, the first server is with PCIe (Peripherial Component Interconnect
Express, high speed peripheral component interconnection) mode connect with N number of server.
Optionally, the first server is with PCIe (Peripherial Component Interconnect
Express, high speed peripheral component interconnection) mode connect with the M storage equipment.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of information processing method is applied in first server, which comprises
Second server will be allocated to the first storage associated first virtual module of equipment, wherein the first storage equipment
For the M any storage equipment stored in equipment connecting with the first server, the second server is described first
Any server in N number of server of server admin, first virtual module are to be associated with the first storage equipment
P virtual module in any virtual module, M, N and P are the integer more than or equal to 1;
Start Pre-boot Execution Environment PXE function, obtains first for starting first virtual module from remote server
Startup file;
Based on first startup file, start first virtual module, so that the second server can be by described
First virtual module reads the first os starting file in the first storage equipment, and then in the second server
Middle operation first operating system.
2. the method as described in claim 1, which is characterized in that the virtual mould of equipment associated first will be stored with first described
Block is allocated to after second server, and in the starting PXE function, is obtained from remote server for starting described first
Before first startup file of virtual module, the method also includes:
First virtual module is loaded onto the second server;
Based on first virtual module, the id information of the first storage equipment is obtained.
3. the method as described in claim 1, which is characterized in that the starting Pre-boot Execution Environment PXE function takes from distal end
Business device obtains the first startup file for starting first virtual module, specifically includes:
Determine the IP address for the remote server that first startup file is stored in;
Based on the IP address, sends first for obtaining first startup file and request to the remote server;
Obtain first startup file of the remote server based on the first request feedback.
4. method according to claim 2, which is characterized in that the second server be the first server it is virtual
It is described to be based on first startup file when server, start first virtual module, so that the second server energy
The first os starting file in the first storage equipment is read by first virtual module, and then described the
First operating system is run in two servers, is specifically included:
Start Virtual Machine Manager module in the first server;
First BIOS of the second server is installed by the Virtual Machine Manager module;
It controls the second server and starts the first BIOS, so that the first BIOS can be by reading described first
Startup file starts first virtual module;
Based on the id information, the second server is controlled after reading the first os starting file described in operation
First operating system.
5. method according to claim 2, which is characterized in that when the second server is property server, the base
In first startup file, start first virtual module, so that the second server can be empty by described first
Quasi- module reads the first os starting file in the first storage equipment, and then runs in the second server
First operating system, specifically includes:
It controls the second server and starts the 2nd BIOS, so that the 2nd BIOS reads first startup file, open
Move first virtual module;
Based on the id information, the second server is controlled after reading the first os starting file described in operation
First operating system.
6. method as claimed in claim 5, which is characterized in that the first server interconnects the side PCIe with high speed peripheral component
Formula is connect with N number of server.
7. the method as described in claim any in claim 1-6, which is characterized in that the first server is with high-speed peripheral group
Part interconnection PCIe mode is connect with the M storage equipment.
8. a kind of server, comprising:
First configuration unit, for second server will to be allocated to the first storage associated first virtual module of equipment, wherein
The first storage equipment is any storage equipment in M storage equipment connecting with the server, the second service
Device is any server in N number of server of the server admin, and first virtual module is and first storage
Any virtual module in the associated P virtual module of equipment, M, N and P are the integer more than or equal to 1;
First start unit is obtained from remote server for starting described for starting Pre-boot Execution Environment PXE function
First startup file of one virtual module;
Second start unit starts first virtual module, so that described second for being based on first startup file
Server can read the first os starting file in the first storage equipment by first virtual module, in turn
First operating system is run in the second server.
9. server as claimed in claim 8, which is characterized in that the server further include:
First loading unit, for described second server will to be allocated to the first storage associated first virtual module of equipment
Later, and in the starting PXE function, the first starting for starting first virtual module is obtained from remote server
Before file, first virtual module is loaded onto the second server;
First acquisition unit obtains the id information of the first storage equipment for being based on first virtual module.
10. server as claimed in claim 8, which is characterized in that first start unit specifically includes:
First determining module, for determining the IP address of the remote server that first startup file is stored in;
First sending module sends first for obtaining first startup file and requests extremely for being based on the IP address
The remote server;
First obtains module, for obtaining the first starting text of the remote server based on the first request feedback
Part.
11. server as claimed in claim 9, which is characterized in that second start unit specifically includes:
First starting module, for starting the service when the second server is the virtual server of the server
Virtual Machine Manager module in device;
First installation module, for installing the first BIOS of the second server by the Virtual Machine Manager module;
First control module starts the first BIOS for controlling the second server, so that the first BIOS energy
It is enough to pass through reading first startup file, starting first virtual module;
Second control module controls the second server and is reading first operating system for being based on the id information
First operating system is run after startup file.
12. server as claimed in claim 9, which is characterized in that second start unit specifically includes:
Third control module, for when the second server is property server, controlling second server starting the
Two BIOS start first virtual module so that the 2nd BIOS reads first startup file;
4th control module controls the second server and is reading first operating system for being based on the id information
First operating system is run after startup file.
13. server as claimed in claim 12, which is characterized in that the server interconnects the side PCIe with high speed peripheral component
Formula is connect with N number of server.
14. the server as described in claim any in claim 8-13, which is characterized in that the server is with high-speed peripheral group
Part interconnection PCIe mode is connect with the M storage equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510108968.0A CN106034142B (en) | 2015-03-12 | 2015-03-12 | A kind of information processing method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510108968.0A CN106034142B (en) | 2015-03-12 | 2015-03-12 | A kind of information processing method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106034142A CN106034142A (en) | 2016-10-19 |
CN106034142B true CN106034142B (en) | 2019-09-24 |
Family
ID=57150593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510108968.0A Active CN106034142B (en) | 2015-03-12 | 2015-03-12 | A kind of information processing method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106034142B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304209B (en) * | 2018-02-28 | 2021-01-15 | 联想(北京)有限公司 | Firmware upgrading method and firmware upgrading system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2043320A1 (en) * | 2007-09-28 | 2009-04-01 | Deutsche Telekom AG | Method and system for automatic and remote server provisioning using virtual machine appliances |
CN102571926A (en) * | 2011-12-19 | 2012-07-11 | 杭州瑞网广通信息技术有限公司 | Network storage system and starting method thereof |
CN102654836A (en) * | 2011-03-01 | 2012-09-05 | 鸿富锦精密工业(深圳)有限公司 | Virtual machine mounting system and method |
TW201439911A (en) * | 2012-12-28 | 2014-10-16 | Hon Hai Prec Ind Co Ltd | System and method for installing virtual machines |
-
2015
- 2015-03-12 CN CN201510108968.0A patent/CN106034142B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2043320A1 (en) * | 2007-09-28 | 2009-04-01 | Deutsche Telekom AG | Method and system for automatic and remote server provisioning using virtual machine appliances |
CN102654836A (en) * | 2011-03-01 | 2012-09-05 | 鸿富锦精密工业(深圳)有限公司 | Virtual machine mounting system and method |
CN102571926A (en) * | 2011-12-19 | 2012-07-11 | 杭州瑞网广通信息技术有限公司 | Network storage system and starting method thereof |
TW201439911A (en) * | 2012-12-28 | 2014-10-16 | Hon Hai Prec Ind Co Ltd | System and method for installing virtual machines |
Also Published As
Publication number | Publication date |
---|---|
CN106034142A (en) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11405274B2 (en) | Managing virtual network functions | |
US11061712B2 (en) | Hot-plugging of virtual functions in a virtualized environment | |
US9304752B2 (en) | Software deployment in a distributed virtual machine environment | |
US20180189109A1 (en) | Management system and management method for computer system | |
US10193963B2 (en) | Container virtual machines for hadoop | |
US10705830B2 (en) | Managing hosts of a pre-configured hyper-converged computing device | |
US10838776B2 (en) | Provisioning a host of a workload domain of a pre-configured hyper-converged computing device | |
US10705831B2 (en) | Maintaining unallocated hosts of a pre-configured hyper-converged computing device at a baseline operating system version | |
US10263907B2 (en) | Managing virtual network ports | |
US9678984B2 (en) | File access for applications deployed in a cloud environment | |
US9858110B2 (en) | Virtual credential adapter for use with virtual machines | |
CN102722414A (en) | Input/output (I/O) resource management method for multi-root I/O virtualization sharing system | |
US11343141B2 (en) | Methods and apparatus to migrate physical server hosts between virtual standard switches and virtual distributed switches in a network | |
US9652263B2 (en) | Migrating servers into a secured environment | |
US10310881B2 (en) | Compositing data model information across a network | |
US20220053001A1 (en) | Methods and apparatus for automatic configuration of a containerized computing namespace | |
EP3637252A1 (en) | Virtual machine deployment method and omm virtual machine | |
US20200225971A1 (en) | Enhanced management of storage repository availability in a virtual environment | |
CN103207805A (en) | Virtualization-based hard disk reuse system | |
CN106209445B (en) | A kind of Visualized data centre disposed by network | |
CN106034142B (en) | A kind of information processing method and server | |
CN107967165B (en) | Virtual machine offline migration method based on LVM | |
US9866451B2 (en) | Deployment of enterprise applications | |
CN109962788A (en) | Multi-controller dispatching method, device and system and computer readable storage medium | |
Suzuki et al. | Private Cloud Platform Based on Open Source Technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |