CN103747107B - A kind of compatible cloud operating platform and its implementation - Google Patents
A kind of compatible cloud operating platform and its implementation Download PDFInfo
- Publication number
- CN103747107B CN103747107B CN201410040366.1A CN201410040366A CN103747107B CN 103747107 B CN103747107 B CN 103747107B CN 201410040366 A CN201410040366 A CN 201410040366A CN 103747107 B CN103747107 B CN 103747107B
- Authority
- CN
- China
- Prior art keywords
- server
- virtual machine
- management
- proxy
- specifies
- 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
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of compatible cloud operating platform and its implementation, compatible cloud operating platform includes the management server cluster that same user terminal is connected, described management server cluster is connected with management information storage server cluster and server proxy cluster via LAN or the Internet by network cable, described storage server cluster includes the management information storage server composition of the information of the plural information containing server proxy cluster and user terminal, and management module of the prior art can be prevented effectively from reference to its implementation can not coexist, high availability can not be met, do not support that one key of virtual machine application is disposed, resources of virtual machine monitoring and virtual machine application is not supported to monitor and do not support virtual machine with physical machine while the defect of management.
Description
Technical field
The invention belongs to cloud computing infrastructure are serviced and technical field of virtualization, and in particular to a kind of compatible cloud behaviour
Make platform and its implementation.
Background technology
The hardware resource (including CPU, RAM, hard disk and network controller) of computer can be virtualized into by Intel Virtualization Technology
Resource pool, to create virtual machine multiple functional, that its own operating system and application can be run as " true " computer, per
The system that individual virtual machine all includes complete set, thus do not have potential conflict.Virtualized operation principle is directly to calculate
Above machine hardware or host service function platform insert a functional module that simplifies, the functional module comprising one with dynamic and
Transparent mode distributes the virtual machine monitor of hardware resource, and different operating platforms can be simultaneously run in separate unit physical machine,
Hardware resource is shared each other.Due to being to encapsulate whole computer (including CPU, internal memory, operating system and network equipment)
Get up, therefore virtual machine can be completely compatible with the x86 operating platforms of all standards, application module and device driver.Can be same
When in single computer the multiple operating platforms of safe operation and application module, each operating platform and application module can be
Using the resource needed for which when needing.
And the cloud operating platform for being directed to existing virtual machine technique mostly achieves virtualization and the cloud management of physical machine, but
Also generally existing has the disadvantage that:
1. support mostly that single virtualization management module or multiple virtualization management modules can not coexist;
2. single one physical node administration or the management of many physical nodes can not meet high availability;
3. do not support that one key of virtual machine application is disposed;
4. do not support that resources of virtual machine monitoring and virtual machine application are monitored;
5. virtual machine is not supported with physical machine while management.
Content of the invention
Present invention aim at providing a kind of compatible cloud operating platform and its implementation, pipe of the prior art is solved
Reason module can not coexist, can not meet high availability, do not support the deployment of one key of virtual machine application, do not support that resources of virtual machine is monitored
Virtual machine is monitored and is not supported with virtual machine application with physical machine while the defect of management.
For reaching above-mentioned purpose, the present invention is adopted the following technical scheme that:
A kind of compatible cloud operating platform, including the management server cluster that same user terminal is connected, described management
Server cluster is by network cable via LAN or the Internet with management information storage server cluster and agency's clothes
Business device cluster is connected;Described storage server cluster includes two or more and contains server proxy cluster information and user
The management information storage server composition of end message;The server proxy cluster includes more than one according to regional information
The data center of division, each data center include the more than one back end divided according to configuration information, each
Back end include more than one according to purposes information divide proxy server group, each server group include one with
On proxy server;Server proxy cluster is also connected with data storage server group;The data storage server group
Including primary storage server group and auxiliary storage server group, primary storage server group includes more than one primary storage service
Device, auxiliary storage server group include more than one auxiliary storage server;Described management server cluster is Campatible
The management node of cloud operating platform, server proxy cluster are the agent node of compatible cloud operating platform or calculate section
Point.
A kind of implementation method of compatible cloud operating platform, comprises the following steps:
Step 1:Start compatible cloud operating platform first, the user terminal being connected with compatible cloud operating platform passes through
The management server that specifies in management server cluster sends the register instruction with log-on message, in management server cluster
The management server that specifies carries out the process of the register instruction, and the process for register instruction includes being sent to log-on message and deposits
In the management information storage server that specifies in storage server cluster, the log-on message is stored in by management information storage server
The data space of its inner setting;
Step 2:All proxy servers in the server proxy cluster that compatible cloud operating platform is connected are to management
The management server that specifies in server cluster sends the register instruction with configuration information, specifies in management server cluster
Management server carries out the process of the register instruction, and the process for register instruction includes sending configuration information to storage service
In the management information storage server that specifies in device cluster, management information storage server is stored in the configuration information inside which
The data space of setting so as to set up permanent network connection with specified management server;
Step 3:User terminal sends virtual machine template or virtual machine image uploading instructions to specified management server, refers to
Fixed management server sets up network connection with the auxiliary storage server that specifies in auxiliary storage server group, it is intended that management service
Virtual machine template to be uploaded for user or virtual machine image are uploaded in auxiliary storage server group by network connection and are specified by device
Auxiliary storage server in;
Step 4:User terminal sends the resource bid instruction for setting up virtual machine to specified management server, it is intended that pipe
Reason server parses the user profile and resource bid information that the resource bid instruction for setting up virtual machine obtains user terminal, refers to
Fixed management server encapsulates a query statement according to the resource bid information that obtains of parsing, it is intended that management server will
The query statement is sent to the management information storage server that specify in storage server cluster, it is intended that management information storage clothes
Business device executes the query statement, and the result for executing the query statement is to return to disclosure satisfy that foundation is empty to specified management server
Any one proxy server in the server proxy cluster of the resource bid command request of plan machine is taken as selected agency
Business device, it is intended that management server set up network connection with the selected proxy server;
The resource bid instruction for setting up virtual machine is sent to selected agency service by the management server that then specifies
Execute in device, that is, the proxy server that selectes distributes CPU, internal memory, Internet resources and the primary storage server group middle finger of itself
Then the storage resource of fixed main storage auxiliary is deposited according to specified with meeting the demand of the resource bid for setting up virtual machine instruction
The virtual machine template stored in storage server or virtual machine image, this completes the establishment of virtual machine, and the wound by virtual machine
The object information that builds sends back the management server that specifies, it is intended that management server by the object information of the establishment of the virtual machine
The management information storage server that specifies is stored in, and sends the object information of the establishment of the virtual machine to user terminal.
In the step 3, user terminal sends virtual machine template to specified management server or virtual machine image is uploaded
Instruction, the management server that specifies parse user's letter that the virtual machine template or virtual machine image uploading instructions obtain user terminal
Then the user profile be encapsulated into query statement, then specified the query statement into storage server cluster by breath
Management information storage server sends, and the described management information storage server that specifies is executed after it have received query statement
The instruction obtains Query Result, and Query Result is returned the management server that specifies, and the management server that specifies is received to be looked into
After asking result, the Query Result is compared with the user profile of user terminal, is judged whether with operating right;If there are
Operating right, the then management server that specifies set up network connection with the auxiliary storage server that specifies in auxiliary storage server group,
Virtual machine template to be uploaded for user or virtual machine image are uploaded to auxiliary storage by network connection by the management server that specifies
In the auxiliary storage server that specifies in server group;If without operating right, it is intended that management server to user terminal send out
Send without operating right information.
In the step 4, user terminal sends the resource bid instruction for setting up virtual machine to specified management server, refers to
Fixed management server parses user profile and the resource bid that the resource bid instruction for setting up virtual machine obtains user terminal
Then the user profile be encapsulated into query statement by information, is then specified the query statement into storage server cluster
Management information storage server send, the described management information storage server that specifies held after it have received query statement
The capable instruction obtains Query Result, and Query Result is returned the management server that specifies, and the management server that specifies is received
After Query Result, the Query Result is compared with the user profile of user terminal, is judged whether with operating right;If
There is operating right, then the resource bid information that the management server that specifies is obtained according to parsing continues executing with latter acts;If
Without operating right, it is intended that management server to user terminal send without operating right information.
A proxy server is selected from server proxy cluster in step 4 as the mistake of selected proxy server
Journey is by one or more realization in following several scheduling strategies, specifically includes following several scheduling strategies:
(1) main frame label preference strategy
Create virtual machine when according to user select corresponding numerical procedure, define the interior of virtual machine in numerical procedure
The size with CPU is deposited, but if being provided with main frame label in the numerical procedure, then the virtuality that regulation is created with the numerical procedure
Machine needs to operate on the proxy server consistent with the label of the numerical procedure, if the proxy server inadequate resource,
To the response that user returns inadequate resource, it is impossible to successfully create virtual machine;
(2) maximum resource utilization strategy
If X is the free memory (unit of certain proxy server:M), Y is the available CPU (lists of certain proxy server
Position:MHz), Me is total internal memory (unit of certain proxy server:M), m is the memory usage of certain proxy server, and n is
The cpu busy percentage of certain proxy server, coreN are the core number of certain proxy server, and speedN is certain agency service
Dominant frequency (the unit of device:MHz), then:
X=Me* (1-m);
Y=coreN*speedN* (1-n);
If the memory size required in numerical procedure is UMe, the core number of CPU is coreU, and CPU frequency is speedU, then
Select proxy server requirement be:
coreU<coreN;
coreU*speedU<Y;
UMe<X;
Require to return a result set after inquiry proxy server cluster according to three above, if the result set is less than 1,
Response that user terminals resources deficiency cannot create virtual machine is then returned to;Virtual machine will be created if result set is equal to 1
Request is transmitted to the establishment that the proxy server goes to complete virtual machine;Will be according to resource utilization most if result set is more than 1
Bigization strategy carries out the selection of proxy server, i.e., according to m+n size to result set in proxy server be ranked up, select
The maximum proxy server of m+n values is selected as the host for creating virtual machine;
(3) CPU and internal memory balance policy
If X is the free memory (unit of certain proxy server:M), Y is the available CPU (lists of certain proxy server
Position:MHz), Me is total internal memory (unit of certain proxy server:M), m is the memory usage of certain proxy server, and n is
The cpu busy percentage of certain proxy server, coreN are the core number of certain proxy server, and speedN is certain agency service
Dominant frequency (the unit of device:MHz), then:
X=Me* (1-m);
Y=coreN*speedN* (1-n);
If the memory size required in numerical procedure is UMe, the core number of CPU is coreU, and CPU frequency is speedU, then
Select proxy server requirement be:
coreU<coreN;
coreU*speedU<Y;
UMe<X;
Require to go inquiry proxy server cluster return a result set also according to three above, if result set is little
In 1, then return to the response that user terminals resources deficiency cannot create virtual machine;To create if result set is equal to 1 virtual
The request of machine is transmitted to the establishment that the proxy server goes to complete virtual machine;It is equal according to CPU and internal memory if result set is more than 1
Weighing apparatus strategy carries out the selection of proxy server, and specific practice is as follows:
If:Q=(coreU*speedU)/Ume*100%;
P=X* (1-Q)+Y*Q
By the P values of all proxy servers in result set according to sorting from big to small, the wherein maximum agency of P values is selected to take
Business device is used as the host for creating virtual machine.
Compared with prior art, the present invention has advantages below:
1st, multiple virtual management programs coexist, and for different virtual management programs, develop different Agents,
The interface of virtual management program is called, realizes docking with the zero difference of system, agent node program pin is to different virtualizations
Management program, calls its interface, while realizing the basic functions such as Virtual Machine Manager, is that management node output accordant interface is supplied
Which calls, to above shielding the difference of underlying virtual management program, can have multiple virtual management programs in system while
Exist, there is provided more powerful versatility.
2nd, can cross-region many physical node multi-zone supervisions, and realize High Availabitity, management node integrated management multiple across
A large amount of physical machines of the data center of region, carry out stratified management to which, and realize safe Network Isolation, single management
Node at most 5000 physical machines of management.The clustered deploy(ment) of management node in order to improve high availability, can also be realized, is solved
The single-point problem of management node.
3rd, support that the deployment of one key of virtual machine application, conventional cloud operating system only achieve the deployment of operating system, do not have
There is the related realization for applying key deployment, while the system achieves deployment VME operating system, answering for needs may be selected
Disposed with a key, and a kind of selection of application miscellaneous editions is provided, in the final step for creating virtual machine, can select will be in wound
The application program and version number that disposes while virtual machine is built, application installation package and peace after the completion of virtual machine creating, will be downloaded automatically
Installation and configuration that dress script is applied, build use environment for user faster, more practical.
4th, support that resources of virtual machine monitoring and application monitoring, conventional cloud operating system can only support virtual machine place host
Monitoring resource, be not carried out the monitoring resource to user virtual machine, application that more user is not disposed on a virtual machine fortune
The monitoring of market condition, our systems are developed and are transported for virtual machine and virtual machine application from the easy angle of user side
The monitoring programme of market condition, can choose whether to enable according to user, can monitoring system aggregate resource service condition, can monitor and be
The occupation condition of each process being currently running in system.
5th, support to manage virtual machine and physical machine simultaneously, conventional cloud operating system realizes the function of management virtual machine, it is impossible to
Physical machine is monitored and is managed, the system achieves monitoring and management while to virtual machine and physical machine, can be with image tube
Reason virtual machine is equally monitored to physical machine resource, it is possible to achieve to the operation such as cycle power of physical machine.
Description of the drawings
Fig. 1 is the attachment structure schematic diagram of the compatible cloud operating platform of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples content of the invention is described further:
With reference to shown in Fig. 1, a kind of compatible cloud operating platform, including the management server cluster that same user terminal is connected
1, described management server cluster 1 passes through network cable via LAN or the Internet 9 with management information storage server
Cluster 2 and server proxy cluster 3 are connected, and described storage server cluster 2 includes plural containing agency
The management information storage server 4 of the information of the information of server cluster 3 and user terminal is constituted, and server proxy cluster 3 is wrapped
The more than one data center 5 divided according to regional information is included, each data center 5 includes more than one according to configuration
The back end 6 that information is divided, each back end 6 include the more than one proxy server divided according to purposes information
Group 7, each server group 7 includes more than one proxy server 8, and server proxy cluster 3 is also with primary storage server
Group 10 is connected with auxiliary storage server group 11, and primary storage server group 10 includes more than one primary storage server 12,
Auxiliary storage server group 11 includes more than one auxiliary storage server 13, and described management server cluster 1 is also simultaneous
The management node of appearance formula cloud operating platform, server proxy cluster 3 also be compatible cloud operating platform agent node or
Calculate node.
The implementation method of described compatible cloud operating platform, step are as follows:
Step 1:Start compatible cloud operating platform first, the user terminal being connected with compatible cloud operating platform passes through
The management server that specifies in management server cluster 1 sends the register instruction with log-on message, management server cluster 1
In the management server specified carry out the process of the register instruction, the process for register instruction includes being sent to log-on message
In the management information storage server 4 that specifies in storage server cluster 2, management information storage server 4 is by the log-on message
It is stored in the data space of its inner setting;
Step 2:And all proxy servers 8 in the server proxy cluster 3 that compatible cloud operating platform is connected
The management server that specifies in management server cluster 1 sends the register instruction with configuration information, management server cluster 1
In the management server specified carry out the process of the register instruction, the process for register instruction includes sending configuration information to
In the management information storage server 4 that specifies in storage server cluster 2, management information storage server 4 is by the configuration information
Be stored in the data space of its inner setting so as to permanent network connection is set up with specified management server;
Step 3:User terminal sends virtual machine template or virtual machine image uploading instructions to specified management server, refers to
Fixed management server parses the user profile that the virtual machine template or virtual machine image uploading instructions obtain user terminal, then
The user profile is encapsulated into query statement, the management letter that then query statement is specified into storage server cluster 2
Breath storage server 4 sends, and the described management information storage server 4 that specifies executes this after it have received query statement and refers to
So that arriving Query Result, and Query Result is returned the management server specified, it is intended that management server receive inquiry knot
After fruit, the Query Result is compared with the user profile of user terminal, is judged whether with operating right, if there are operation
Authority, it is intended that management server set up network connection with the auxiliary storage server 13 that specifies in auxiliary storage server group 11, refer to
Virtual machine template to be uploaded for user or virtual machine image are uploaded to auxiliary storage clothes by network connection by fixed management server
In the auxiliary storage server 13 that specifies in business device group 11, if without operating right, it is intended that management server to user terminal
Send without operating right information;
Step 4:User terminal sends the resource bid instruction for setting up virtual machine to specified management server, it is intended that pipe
Reason server parses the user profile and resource bid information that the resource bid instruction for setting up virtual machine obtains user terminal, so
The user profile is encapsulated into query statement afterwards, the management that then query statement is specified into storage server cluster 2
Information storage server 4 sends, and the described management information storage server 4 that specifies is executed after it have received query statement should
Instruction obtains Query Result, and Query Result is returned the management server that specifies, it is intended that management server receive inquiry
As a result, after, the Query Result is compared with the user profile of user terminal, is judged whether with operating right;
Step 5:If there are operating right, it is intended that management server according to the resource bid information that obtains of parsing, encapsulation
One query statement, it is intended that management server the query statement is sent to the management letter that specify in storage server cluster 2
Breath storage server 4, it is intended that management information storage server 4 execute the query statement, the result for executing the query statement is
Return in the server proxy cluster 3 that disclosure satisfy that the resource bid command request for setting up virtual machine to specified management server
Any one proxy server 8 as selected proxy server, it is intended that management server with the selected agency service
Network connection set up by device, and the resource bid instruction for setting up virtual machine is sent to selected generation by the management server that then specifies
Execute in reason server, that is, the proxy server that selectes distributes CPU, internal memory, Internet resources and the primary storage server of itself
The storage resource of the main storage 12 that specifies in 10 is organized to meet the demand of the resource bid for setting up virtual machine instruction, then basis
The virtual machine template stored in the auxiliary storage server 13 that specifies or virtual machine image, this completes the establishment of virtual machine, and
The object information of the establishment of virtual machine is sent back the management server that specifies, it is intended that management server by the wound of the virtual machine
The object information that builds is stored in the management information storage server 4 that specifies, and the object information of the establishment of the virtual machine is sent to
User terminal, if without operating right, it is intended that management server to user terminal send without operating right information.
Further, from server proxy cluster, a proxy server is selected to take as selected agency in steps of 5
The process of business device is by one or more realization in following several scheduling strategies, specifically includes following several scheduling plans
Slightly:
(1) main frame label preference strategy
Create virtual machine when according to user select corresponding numerical procedure, define the interior of virtual machine in numerical procedure
The size with CPU is deposited, but if being provided with main frame label in the numerical procedure, then the virtuality that regulation is created with the numerical procedure
Machine needs to operate on the proxy server consistent with the label of the numerical procedure, if the proxy server inadequate resource,
To the response that user returns inadequate resource, it is impossible to successfully create virtual machine;
(2) maximum resource utilization strategy
If X is the free memory (unit of certain proxy server:M), Y is the available CPU (lists of certain proxy server
Position:MHz), Me is total internal memory (unit of certain proxy server:M), m is the memory usage of certain proxy server, and n is
The cpu busy percentage of certain proxy server, coreN are the core number of certain proxy server, and speedN is certain agency service
Dominant frequency (the unit of device:MHz), then:
X=Me* (1-m);
Y=coreN*speedN* (1-n);
If the memory size required in numerical procedure is UMe, the core number of CPU is coreU, and CPU frequency is speedU, then
Select proxy server requirement be:
coreU<coreN;
coreU*speedU<Y;
UMe<X;
Require to return a result set after inquiry proxy server cluster according to three above, if the result set is less than 1,
Response that user terminals resources deficiency cannot create virtual machine is then returned to;Virtual machine will be created if result set is equal to 1
Request is transmitted to the establishment that the proxy server goes to complete virtual machine;Will be according to resource utilization most if result set is more than 1
Bigization strategy carries out the selection of proxy server, i.e., according to m+n size to result set in proxy server be ranked up, select
The maximum proxy server of m+n values is selected as the host for creating virtual machine;
The strategy is operated on same proxy server in order to the virtual machine that creates user is as much as possible, until
The proxy server resource exhaustion, that is, reach saturation, can so make the load centralization of proxy server, make idle server
In a dormant state, operation cost is saved.
(3) CPU and internal memory balance policy
CPU and internal memory balance policy be according to user select numerical procedure in CPU determine which is important with the proportioning of internal memory
Property, then in the strategy of usable results concentration one optimal solution of selection, concrete grammar is:
If X is the free memory (unit of certain proxy server:M), Y is the available CPU (lists of certain proxy server
Position:MHz), Me is total internal memory (unit of certain proxy server:M), m is the memory usage of certain proxy server, and n is
The cpu busy percentage of certain proxy server, coreN are the core number of certain proxy server, and speedN is certain agency service
Dominant frequency (the unit of device:MHz), then:
X=Me* (1-m);
Y=coreN*speedN* (1-n);
If the memory size required in numerical procedure is UMe, the core number of CPU is coreU, and CPU frequency is speedU, then
Select proxy server requirement be:
coreU<coreN;
coreU*speedU<Y;
UMe<X;
Require to go inquiry proxy server cluster return a result set also according to three above, if result set is little
In 1, then return to the response that user terminals resources deficiency cannot create virtual machine;To create if result set is equal to 1 virtual
The request of machine is transmitted to the establishment that the proxy server goes to complete virtual machine;It is equal according to CPU and internal memory if result set is more than 1
Weighing apparatus strategy carries out the selection of proxy server, and specific practice is as follows:
If:Q=(coreU*speedU)/Ume*100%;
P=X* (1-Q)+Y*Q
By the P values of all proxy servers in result set according to sorting from big to small, the wherein maximum agency of P values is selected to take
Business device is used as the host for creating virtual machine.
The above, is only presently preferred embodiments of the present invention, not makees any pro forma restriction to the present invention, though
So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any is familiar with this professional technology people
Member, in the range of without departing from technical solution of the present invention, when the technology contents using the disclosure above make a little change or modification
For the Equivalent embodiments of equivalent variations, as long as be without departing from technical solution of the present invention content, according to the technical spirit of the present invention,
Within the spirit and principles in the present invention, any simple modification, equivalent and improvement that above example is made etc., still
Belong within the protection domain of technical solution of the present invention.
Claims (5)
1. a kind of compatible cloud operating platform, it is characterised in that:Including the management server cluster that same user terminal is connected
(1), described management server cluster (1) is stored with management information via LAN or the Internet (9) by network cable
Server cluster (2) and server proxy cluster (3) are connected;Described storage server cluster (2) include two with
The upper composition of the management information storage server (4) containing server proxy cluster (3) information and user terminal information;The agency
Server cluster (3) includes that the more than one data center (5) divided according to regional information, each data center (5) wrap
The more than one back end (6) divided according to configuration information is included, each back end (6) includes more than one basis
The proxy server group (7) that purposes information is divided, each server group (7) include more than one proxy server (8);Generation
Reason server cluster (3) is also connected with data storage server group;
The data storage server group includes primary storage server group (10) and auxiliary storage server group (11), primary storage service
Device group (10) includes more than one primary storage server (12), and auxiliary storage server group (11) include more than one auxiliary
Storage server (13);
Described management server cluster (1) is the management node of compatible cloud operating platform, and server proxy cluster (3) is i.e.
Agent node or calculate node for compatible cloud operating platform;
The virtual machine of compatible cloud operating platform realizes that process is as follows:
Step 1:User terminal is sent with log-on message by the management server that specifies in management server cluster (1)
Log-on message is sent to storage server cluster (2) by register instruction, the management server that specifies in management server cluster (1)
The management information storage server (4) inside the specified log-on message is stored in inside management information storage server (4) sets
Fixed data space;
Step 2:The pipe that all proxy servers (8) in server proxy cluster (3) are specified in management server cluster (1)
Reason server sends the register instruction with configuration information, and the management server that specifies in management server cluster (1) will be configured
Information is sent in the management information storage server (4) that specify in storage server cluster (2), management information storage server
(4) configuration information is stored in the data space of its inner setting, make the corresponding proxy server of the configuration information with
The management server that specifies sets up permanent net connection;
Step 3:User terminal sends virtual machine template or virtual machine image uploading instructions to specified management server, it is intended that
Management server sets up network connection with the auxiliary storage server (13) that specifies in auxiliary storage server group (11), it is intended that management
Virtual machine template to be uploaded for user or virtual machine image are uploaded to auxiliary storage server group by network connection by server
(11) in the auxiliary storage server (13) that specifies in;
Step 4:User terminal sends the resource bid instruction for setting up virtual machine to specified management server, it is intended that management clothes
Business device parses the user profile and resource bid information that the resource bid instruction for setting up virtual machine obtains user terminal, it is intended that
Management server encapsulates a query statement according to the resource bid information that obtains of parsing, it is intended that management server this is looked into
Ask instruction and be sent in storage server cluster (2) the management information storage server (4) that specifies, it is intended that management information storage
Server (4) executes the query statement, returns to specified management server and disclosure satisfy that the resource bid for setting up virtual machine refers to
Any one proxy server (8) in the server proxy cluster (3) that order is required is used as the proxy server that selectes, it is intended that
Management server sets up network connection with the selected proxy server;This is set up the management server that specifies the money of virtual machine
Source application instruction is sent in selected proxy server and executes, and completes the establishment of virtual machine, and by the establishment of virtual machine
Object information sends back the management server that specifies, it is intended that management server the object information of the establishment of the virtual machine is stored in
The management information storage server (4) that specifies, and send the object information of the establishment of the virtual machine to user terminal.
2. the implementation method of the compatible cloud operating platform described in a kind of claim 1, it is characterised in that comprise the following steps:
Step 1:Start compatible cloud operating platform first, pass through to pipe with the user terminal that compatible cloud operating platform is connected
The management server that specifies in reason server cluster (1) sends the register instruction with log-on message, management server cluster (1)
In the management server specified carry out the process of the register instruction, the process for register instruction includes being sent to log-on message
In the management information storage server (4) that specifies in storage server cluster (2), this is noted by management information storage server (4)
Data space of the volume information Store in its inner setting;
Step 2:All proxy servers (8) in the server proxy cluster (3) that compatible cloud operating platform is connected are to pipe
The management server that specifies in reason server cluster (1) sends the register instruction with configuration information, management server cluster (1)
In the management server specified carry out the process of the register instruction, the process for register instruction includes sending configuration information to
In the management information storage server (4) that specifies in storage server cluster (2), this is matched somebody with somebody by management information storage server (4)
Confidence breath is stored in the data space of its inner setting, makes the corresponding proxy server of the configuration information and specified management
Server sets up permanent net connection;
Step 3:User terminal sends virtual machine template or virtual machine image uploading instructions to specified management server, it is intended that
Management server sets up network connection with the auxiliary storage server (13) that specifies in auxiliary storage server group (11), it is intended that management
Virtual machine template to be uploaded for user or virtual machine image are uploaded to auxiliary storage server group by network connection by server
(11) in the auxiliary storage server (13) that specifies in;
Step 4:User terminal sends the resource bid instruction for setting up virtual machine to specified management server, it is intended that management clothes
Business device parses the user profile and resource bid information that the resource bid instruction for setting up virtual machine obtains user terminal, it is intended that
Management server encapsulates a query statement according to the resource bid information that obtains of parsing, it is intended that management server this is looked into
Ask instruction and be sent in storage server cluster (2) the management information storage server (4) that specifies, it is intended that management information storage
Server (4) executes the query statement, and the result for executing the query statement is to return disclosure satisfy that to specified management server
Any one proxy server (8) conduct in the server proxy cluster (3) of the resource bid command request for setting up virtual machine
Selected proxy server, it is intended that management server set up network connection with the selected proxy server;
Then the management server that specifies is sent to the resource bid instruction for setting up virtual machine in selected proxy server
Execute, that is, the proxy server that selectes distributes CPU, internal memory, Internet resources and primary storage server group (10) middle finger of itself
The storage resource of fixed main storage (12) to meet the demand of the resource bid for setting up virtual machine instruction, then specify by basis
Virtual machine template or virtual machine image of storage in auxiliary storage server (13), this completes the establishment of virtual machine, and by void
The object information of the establishment of plan machine sends back the management server that specifies, it is intended that management server by the establishment of the virtual machine
Object information is stored in the management information storage server (4) that specifies, and sends the object information of the establishment of the virtual machine to use
Family terminal.
3. the implementation method of compatible cloud operating platform according to claim 2, it is characterised in that:In the step 3, use
Family terminal sends virtual machine template or virtual machine image uploading instructions, the management server solution that specifies to specified management server
The user profile that the virtual machine template or virtual machine image uploading instructions obtain user terminal is analysed, then by the user profile encapsulation
Become query statement, the management information storage server (4) that then query statement is specified into storage server cluster (2)
Send, the described management information storage server (4) that specifies executes the instruction after it have received query statement and inquired about
As a result, the management server that specifies and by Query Result is returned, after the management server that specifies receives Query Result, this is looked into
Ask result to be compared with the user profile of user terminal, judge whether with operating right;If there are operating right, then specify
Management server set up network connection with the auxiliary storage server (13) that specifies in auxiliary storage server group (11), it is intended that pipe
Virtual machine template to be uploaded for user or virtual machine image are uploaded to auxiliary storage server group by network connection by reason server
(11) in the auxiliary storage server (13) that specifies in;If without operating right, it is intended that management server to user terminal send out
Send without operating right information.
4. the implementation method of compatible cloud operating platform according to claim 2, it is characterised in that:In the step 4, use
Family terminal sends the resource bid instruction for setting up virtual machine to specified management server, and the management server that specifies parses this and builds
The resource bid instruction of vertical virtual machine obtains the user profile and resource bid information of user terminal, then by the user profile envelope
Dress up as query statement, the management information storage server that then specifies the query statement into storage server cluster (2)
(4) send, the described management information storage server (4) that specifies executes the instruction after it have received query statement and looked into
Result is ask, and Query Result is returned the management server that specifies, after the management server that specifies receives Query Result, should
Query Result is compared with the user profile of user terminal, is judged whether with operating right;
If there are operating right, then the resource bid information that the management server that specifies is obtained according to parsing, continue executing with behind
Operation, it is intended that management information storage server (4) return to specified management server and disclosure satisfy that the money for setting up virtual machine
Any one proxy server (8) in the server proxy cluster (3) of source application command request is used as the agency service that selectes
Device, it is intended that management server set up network connection with the selected proxy server;Then the management server that specifies should
The resource bid instruction for setting up virtual machine is sent in selected proxy server and executes, and completes the establishment of virtual machine, and by void
The object information that plan machine is created sends back the management server that specifies, it is intended that management server by the knot of the establishment of the virtual machine
Fruit information is stored in the management information storage server (4) that specifies, and sends the object information of the virtual machine creating to user end
End;
If without operating right, it is intended that management server to user terminal send without operating right information.
5. the implementation method of compatible cloud operating platform according to claim 2, it is characterised in that:In step 4 from generation
It is by following several as the process of the proxy server that selectes to select a proxy server (8) in reason server cluster (3)
One or more realization in kind scheduling strategy, specifically include following several scheduling strategies:
(1) main frame label preference strategy
Create virtual machine when according to user select corresponding numerical procedure, define in numerical procedure virtual machine internal memory and
The size of CPU, but if being provided with main frame label in the numerical procedure, then the virtual machine that the regulation numerical procedure is created is needed
Operate on the proxy server consistent with the label of the numerical procedure, if the proxy server inadequate resource, to
Family returns the response of inadequate resource, it is impossible to successfully create virtual machine;
(2) maximum resource utilization strategy
If X is the free memory (unit of certain proxy server:M), Y is the available CPU (units of certain proxy server:
MHz), Me is total internal memory (unit of certain proxy server:M), m is the memory usage of certain proxy server, and n is certain
The cpu busy percentage of proxy server, coreN are the core number of certain proxy server, and speedN is certain proxy server
Dominant frequency (unit:MHz), then:
X=Me* (1-m);
Y=coreN*speedN* (1-n);
If the memory size required in numerical procedure is UMe, the core number of CPU is coreU, and CPU frequency is speedU, then select
The requirement of proxy server is:
coreU<coreN;
coreU*speedU<Y;
UMe<X;
Require to return a result set after inquiry proxy server cluster according to three above, if the result set is returned less than 1
Back to the response that user terminals resources deficiency cannot create virtual machine;The request of virtual machine will be created if result set is equal to 1
It is transmitted to the establishment that the proxy server goes to complete virtual machine;To be maximized according to resource utilization if result set is more than 1
Strategy carries out the selection of proxy server, i.e., according to m+n size to result set in proxy server be ranked up, select m+
The maximum proxy server of n values is used as the host for creating virtual machine;
(3) CPU and internal memory balance policy
If X is the free memory (unit of certain proxy server:M), Y is the available CPU (units of certain proxy server:
MHz), Me is total internal memory (unit of certain proxy server:M), m is the memory usage of certain proxy server, and n is certain
The cpu busy percentage of proxy server, coreN are the core number of certain proxy server, and speedN is certain proxy server
Dominant frequency (unit:MHz), then:
X=Me* (1-m);
Y=coreN*speedN* (1-n);
If the memory size required in numerical procedure is UMe, the core number of CPU is coreU, and CPU frequency is speedU, then select
The requirement of proxy server is:
coreU<coreN;
coreU*speedU<Y;
UMe<X;
Require to go inquiry proxy server cluster return a result set also according to three above, if result set is less than 1,
Response that user terminals resources deficiency cannot create virtual machine is then returned to;Virtual machine will be created if result set is equal to 1
Request is transmitted to the establishment that the proxy server goes to complete virtual machine;According to CPU and internal memory equilibrium plan if result set is more than 1
The selection of proxy server is slightly carried out, and specific practice is as follows:
If:Q=(coreU*speedU)/Ume*100%;
P=X* (1-Q)+Y*Q
By the P values of all proxy servers in result set according to sorting from big to small, the wherein maximum proxy server of P values is selected
As the host for creating virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410040366.1A CN103747107B (en) | 2014-01-27 | 2014-01-27 | A kind of compatible cloud operating platform and its implementation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410040366.1A CN103747107B (en) | 2014-01-27 | 2014-01-27 | A kind of compatible cloud operating platform and its implementation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103747107A CN103747107A (en) | 2014-04-23 |
CN103747107B true CN103747107B (en) | 2017-03-15 |
Family
ID=50504093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410040366.1A Active CN103747107B (en) | 2014-01-27 | 2014-01-27 | A kind of compatible cloud operating platform and its implementation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103747107B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219329A (en) * | 2014-09-28 | 2014-12-17 | 浪潮软件集团有限公司 | Method for deploying service through content distribution in cluster server |
CN105912403B (en) * | 2016-04-14 | 2019-08-06 | 聚好看科技股份有限公司 | The method for managing resource and device of Docker container |
CN106790354B (en) * | 2016-11-15 | 2020-04-14 | 上海东土远景工业科技有限公司 | Communication method and device for preventing data congestion |
CN108073426B (en) * | 2017-03-29 | 2021-07-06 | 北京青云科技股份有限公司 | Software management method, device and system based on cloud computing |
CN107135274A (en) * | 2017-06-20 | 2017-09-05 | 郑州云海信息技术有限公司 | The memory management method and device of a kind of distributed cluster system |
CN107426320A (en) * | 2017-07-31 | 2017-12-01 | 郑州云海信息技术有限公司 | Information processing method and information processing system for Openstack |
CN108388433B (en) * | 2017-12-28 | 2021-09-17 | 深圳创新科软件技术有限公司 | Management platform deployment method of super-fusion system |
CN108429768A (en) * | 2018-05-29 | 2018-08-21 | 新华三云计算技术有限公司 | Cloud data analysis service manages system, method and cloud server |
KR101987661B1 (en) * | 2018-07-19 | 2019-06-11 | 나무기술 주식회사 | Cluster resource allocating and managing method on cloud platform |
CN109298898B (en) * | 2018-08-24 | 2022-04-26 | 深圳职业技术学院 | Automatic configuration method and device for cloud computing resources |
CN109669846B (en) * | 2018-12-14 | 2022-04-01 | 北京金山云网络技术有限公司 | Management information query method, device and computer readable medium |
CN115001990B (en) * | 2022-05-25 | 2024-07-30 | 济南浪潮数据技术有限公司 | Cross-region openstack cluster management method and system based on declarative API |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1738244A (en) * | 2004-08-17 | 2006-02-22 | 北京亿阳巨龙智能网技术有限公司 | Method for setting application server by proxy server in soft switching system |
CN101060663A (en) * | 2006-04-21 | 2007-10-24 | 中兴通讯股份有限公司 | A method for realizing the dynamic reconstruction service of cluster system |
CN102185900A (en) * | 2011-04-18 | 2011-09-14 | 北京新媒传信科技有限公司 | Application service platform system and method for developing application services |
CN202077062U (en) * | 2011-04-18 | 2011-12-14 | 北京新媒传信科技有限公司 | Application service platform system |
CN102427480A (en) * | 2011-12-31 | 2012-04-25 | 北京新媒传信科技有限公司 | Application access method in a plurality of application service platform systems |
CN202218272U (en) * | 2011-09-15 | 2012-05-09 | 广东金智慧物联网科技有限公司 | Practical training integrated system of internet of things based on cloud computing |
-
2014
- 2014-01-27 CN CN201410040366.1A patent/CN103747107B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1738244A (en) * | 2004-08-17 | 2006-02-22 | 北京亿阳巨龙智能网技术有限公司 | Method for setting application server by proxy server in soft switching system |
CN101060663A (en) * | 2006-04-21 | 2007-10-24 | 中兴通讯股份有限公司 | A method for realizing the dynamic reconstruction service of cluster system |
CN102185900A (en) * | 2011-04-18 | 2011-09-14 | 北京新媒传信科技有限公司 | Application service platform system and method for developing application services |
CN202077062U (en) * | 2011-04-18 | 2011-12-14 | 北京新媒传信科技有限公司 | Application service platform system |
CN202218272U (en) * | 2011-09-15 | 2012-05-09 | 广东金智慧物联网科技有限公司 | Practical training integrated system of internet of things based on cloud computing |
CN102427480A (en) * | 2011-12-31 | 2012-04-25 | 北京新媒传信科技有限公司 | Application access method in a plurality of application service platform systems |
Also Published As
Publication number | Publication date |
---|---|
CN103747107A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747107B (en) | A kind of compatible cloud operating platform and its implementation | |
CN110704186B (en) | Computing resource allocation method and device based on hybrid distribution architecture and storage medium | |
CN103870314B (en) | Method and system for simultaneously operating different types of virtual machines by single node | |
CN111542064B (en) | Container arrangement management system and arrangement method for wireless access network | |
CN105207798B (en) | Service arrangement method and device in software defined network | |
CN105190558B (en) | For creating the method and system of logical resource | |
US11301303B2 (en) | Resource pool processing to determine to create new virtual resource pools and storage devices based on currebt pools and devices not meeting SLA requirements | |
CN107689882A (en) | The method and apparatus of service deployment in a kind of virtualization network | |
CN109426549A (en) | Distribution is interconnected for the accelerator of virtual environment | |
CN108062248A (en) | Method for managing resource, system, equipment and the storage medium of isomery virtual platform | |
WO2017080391A1 (en) | Network service deployment method and device | |
CN111212116A (en) | High-performance computing cluster creating method and system based on container cloud | |
CN108293041A (en) | A kind of distribution method of resource, device and system | |
CN107409436B (en) | Cloud platform, application running method and access network unit | |
CN104503832B (en) | A kind of scheduling virtual machine system and method for fair and efficiency balance | |
CN111835679B (en) | Tenant resource management method and device under multi-tenant scene | |
CN108781166A (en) | The determination method and network function of VNFM virtualizes composer | |
CN111552550A (en) | Task scheduling method, device and medium based on GPU (graphics processing Unit) resources | |
CN109522090A (en) | Resource regulating method and device | |
CN103677983A (en) | Scheduling method and device of application | |
CN108696373B (en) | Virtual resource allocation method, NFVO and system | |
CN104429121B (en) | The method and platform commenced business in the cloud system of base station | |
CN108028806A (en) | The method and apparatus that virtual resource is distributed in network function virtualization NFV networks | |
Doan et al. | Reusing sub-chains of network functions to support mec services | |
CN102929693B (en) | Performance evaluation method and device for servers of whole equipment cabinet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 710065 Shaanxi city of Xi'an province high tech Zone Branch Road, No. 168 West Technology Park C building room 620 Applicant after: XI'AN RADIO-OFCAM INFORMATION TECHNOLOGY CO., LTD. Address before: 710065 Shaanxi city of Xi''an province high tech Zone Branch Road, No. 168 West Technology Park C building room 620 Applicant before: Xi'an Radiocom Systems Co., Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |