CN108874411A - A kind of method and related system of system infrastructure upgrading - Google Patents
A kind of method and related system of system infrastructure upgrading Download PDFInfo
- Publication number
- CN108874411A CN108874411A CN201710335637.XA CN201710335637A CN108874411A CN 108874411 A CN108874411 A CN 108874411A CN 201710335637 A CN201710335637 A CN 201710335637A CN 108874411 A CN108874411 A CN 108874411A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- service application
- virtual
- management system
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Hardware Redundancy (AREA)
- Stored Programmes (AREA)
Abstract
Method, virtual architecture management system, business management system and virtualization computer system, this method that the application discloses a kind of upgrading of system infrastructure include:Virtual architecture management system will dispose the first kind virtual machine (vm) migration of service application to first server set, by the second class virtual machine (vm) migration to second server set, wherein, it include one or more servers in the first server set, it include one or more servers in the second server set, server is the server for running the service application virtual machine in the first server set and the second server set;First identifier is added to the first server set, second identifier is added to the second server set;Upgrade system infrastructure according to the mark of server set, the system infrastructure includes the software program and driver of virtual management node and virtualization software and server, reduces update time with this, improves upgrading efficiency.
Description
Technical field
This application involves system infrastructure a kind of in computer field more particularly to field of cloud calculation upgrading method,
Virtual architecture management system, business management system and virtualization computer system.
Background technique
With the development of cloud computing technology, more and more service applications are using virtualization or cloud platform deployment.Virtualization
Or cloud platform may be collectively referred to as infrastructure.Infrastructure is mainly using virtualization software or cloud platform software to calculating, deposit
The resources such as storage, network carry out virtualization and form resource pool, provide virtual resource to service application.Service application is deployed in basis and sets
On the resource pool for applying software offer, as service application uses deploying virtual machine.
More virtual machines can be run on a physical server in the prior art, when system infrastructure have new features or
When repairing leaky (bug), needs to upgrade system infrastructure and restart server.The method of upgrading uses redundant server
Mode:Virtual machine on server that one to be upgraded all is migrated to redundant server, after the completion of upgrading, then virtual
Machine is migrated to the server for having completed upgrading.Method according to this upgrades server in infrastructure by platform.Moreover,
The server and server to be upgraded for needing operator to identify redundant server, upgrading is completed in escalation process, by platform
By on the virtual machine (vm) migration to redundant server on server to be upgraded, escalation process the degree of automation is not high, needs to safeguard
Personnel are largely hand-manipulated.Entire escalation process speed is slow, and the period is long, and will increase hardware by the way of redundant server
Cost.On the other hand, the restarting process of virtual machine (vm) migration process and services device may cause in service provided by service application
It is disconnected, influence service operation.Therefore, time-consuming, hardware cost is high, the degree of automation is low in the presence of upgrading for the upgrading scheme of the prior art
It will lead to the problem of service application is interrupted with escalation process.
Summary of the invention
This application provides a kind of methods of system infrastructure upgrading, virtual architecture management system, business management system
And virtualization computer system, it can solve in the upgrading scheme of the prior art that time-consuming, hardware cost is high and escalation process is led
The problem of causing service application to interrupt.
In a first aspect, providing a kind of method of system infrastructure upgrading, this method includes:Firstly, virtual architecture management
The concentration deployment message that system is sent according to business management system will dispose the first kind virtual machine (vm) migration of service application to first
Server set, by the second class virtual machine (vm) migration to second server set.Then, to the first mark of first server set addition
Know, second identifier is added to second server set.Finally, the mark according still further to server set upgrades system infrastructure.
Wherein, virtual architecture management system is for managing hardware resource, virtualization layer and virtual resource.The first server set and
Server in the second server set is the server for running the service application virtual machine.It concentrates and is wrapped in deployment message
The mark and classification of the virtual machine of deployment service application are included, which is deployment mode of the business management system according to service application
It divides, business management system is used for management business application.System infrastructure includes managing the first kind virtual machine and institute
State the virtual management node of the second class virtual machine, the software program and driver of virtualization software and server.
In one possible implementation, the deployment mode of the service application includes separate unit deployment mode, active and standby portion
Administration's mode and load sharing deployment mode, the classification for disposing the virtual machine of the service application include:
When the service application uses the separate unit deployment mode, the virtual machine for disposing the service application is described the
It is a kind of;
When the service application uses the active and standby deployment mode, the virtual of the main-use mode of the service application is disposed
Machine is the first kind, and the virtual machine of standby mode is second class;
When the service application uses the load sharing deployment mode, all virtual machines of the service application are disposed
For the first kind;Alternatively, the virtual machine for disposing the preset value of the service application is the first kind, other virtual machines are institute
State the second class.
In one possible implementation, virtual architecture management system is set according to the mark upgrading basis of server set
Applying software includes:First identification has the second server set of the second identifier;Then, second server set is closed
In the second class virtual machine;Updating operation is executed to system infrastructure in second server set again;When second server set
When middle system infrastructure upgrades successfully, start the second class virtual machine in second server set.
In one possible implementation, it is answered when virtual architecture management system receives the business that business management system is sent
When message successful with change state, modification first server set is identified as second identifier, and modification second server
Set is identified as first identifier.
In one possible implementation, the method for virtual architecture upgrading system infrastructure further includes:
Identify the first server set with the second identifier;Close the second class virtual machine in first server set;To first
System infrastructure executes updating operation in server set;When system infrastructure upgrades successfully in second server set
When, it is virtual to start the second class in first server set;Delete the second identifier and described of the first server set
The first identifier of two server sets.
In one possible implementation, virtual architecture management system can divide first server according to presetting rule
Set and second server set.Wherein, presetting rule includes the hardware configuration of server, the virtual machine for disposing service application
At least one of quantity and performance requirement.
Description through the above, virtual architecture management system can will be in the middle part of virtual machine collection according to the classification of virtual machine
It affixes one's name in the different server set in virtualization computer system, and server set is added and is identified, virtual architecture management
System upgrades according to system infrastructure of the different identification to server set, without additional redundant server, with this
Reduce hardware cost in redundant server mode.Further, by virtual architecture management system according to virtual machine in service application
It is sorted between the server in virtualization computer system and is migrated, and the upgrading preparation stage only needs once to migrate
Journey is avoided the virtual machine (vm) migration of deployment service application in server by platform to redundant server, again will be virtual after upgrading successfully
Machine migration migrates back time delay brought by upgrade server from redundant server, improves upgrading efficiency.On the other hand, upgraded
Cheng Zhong distinguishes the virtual machine of different classifications in conjunction with the deployment mode of service application, and concentrates virtual machine according to the classification and dispose
In different server set, it can guarantee that service application can in escalation process to avoid service disconnection in infrastructure escalation process
To operate normally.
Second aspect, the application provide a kind of method of system infrastructure upgrading, and this method includes:Firstly, business pipe
Reason system carries out classification marker to the virtual machine of deployment service application according to the deployment mode of service application.Then, to virtual frame
Structure management system, which is sent, concentrates deployment message, in order to which virtual architecture management system is soft to infrastructure according to concentration deployment message
Part is upgraded.Wherein, concentrating in deployment message includes the mark and classification for disposing the virtual machine of service application.
In one possible implementation, deployment mode includes separate unit deployment mode, active and standby deployment mode and load point
Carry on a shoulder pole deployment mode.Then:
When service application uses separate unit deployment mode, the virtual machine indicia for disposing service application is by business management system
The first kind;
When service application uses active and standby deployment mode, business management system will dispose the void of the main-use mode of service application
Quasi- machine is labeled as the first kind, is the second class by the virtual machine indicia of standby mode;
It is first by all virtual machine indicias for disposing service application when service application uses load sharing deployment mode
Class;It is the second class by other virtual machine indicias alternatively, being the first kind by the virtual machine indicia for the preset value for disposing service application.
Description through the above, business management system is according to each service application in technical solution provided by the present application
Deployment mode to virtual machine carry out classification marker, and will include virtual machine identify and classify concentration deployment message be sent to void
Quasi- architecture management system, by virtual architecture management system according to concentrating deployment message according to the classification of virtual machine by virtual machine (vm) migration
The different server set into virtualization computer system, then again upgrades system infrastructure, reduces redundancy with this
Hardware cost in server mode.On the other hand, in escalation process, different classifications are distinguished in conjunction with the deployment mode of service application
Virtual machine, and virtual machine concentration is deployed in by different server set according to the classification, it can be to avoid infrastructure escalation process
Middle service disconnection guarantees that service application can operate normally in escalation process.
The third aspect, the application provide a kind of device of system infrastructure upgrading, and described device includes for executing the
On the one hand the modules of the system infrastructure upgrade method or in any possible implementation of first aspect.
Fourth aspect, the application provide a kind of device of system infrastructure upgrading, and described device includes for executing the
The modules of two aspects or the system infrastructure upgrade method in any possible implementation of second aspect.
5th aspect, the application provide a kind of virtualization computer system, and the virtualization computer system includes virtual
Architecture management system, business management system and at least one virtual machine, at least one described virtual machine operate at least one clothes
It is engaged on device, at least one described virtual machine is answered for disposing service application, the business management system for managing the business
With the virtual architecture management system is for managing at least one described virtual machine and at least one described server.The void
Quasi- architecture management system is used to execute the operating procedure of first aspect and any possible implementation the method for first aspect,
The business management system is used to execute the operation step of second aspect and any possible implementation the method for second aspect
Suddenly.
6th aspect, the application provide a kind of computer readable storage medium, deposit in the computer readable storage medium
Instruction is contained, when run on a computer, so that computer executes method described in above-mentioned various aspects.
7th aspect, this application provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes method described in above-mentioned various aspects.
The application can also be further combined on the basis of the implementation that above-mentioned various aspects provide to provide more
More implementations.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to attached needed in the application
Figure is briefly described:
Fig. 1 is a kind of configuration diagram of virtualization computer system provided by the present application;
Fig. 2 is a kind of flow diagram of the method for infrastructure framework upgrading provided by the present application;
Fig. 3 is the configuration diagram of another virtualization computer system provided by the present application;
Fig. 4 is a kind of structural schematic diagram of the device of infrastructure upgrading provided by the present application;
Fig. 5 is the structural schematic diagram of the device of another infrastructure upgrading provided by the present application.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
Fig. 1 is a kind of schematic diagram of virtualization computer system provided in an embodiment of the present invention, as shown, virtualization meter
It include hardware resource 110, virtualization layer 120, virtual resource 130, operation system 140, virtual architecture management system in calculation machine system
System 150 and business management system 160.
Include the calculating that building virtualized infrastructure is provided in hardware resource (hardware resources) 110, deposit
The equipment of storage and Internet resources.It include at least one equipment in hardware resource 110, which includes calculating equipment, storage equipment
And the network equipment.For example, calculating equipment can be server, such as X86 server or ARM (advanced RISC machines)
Server;Storage equipment can be the server or storage array of deployment storage software;The network equipment can be interchanger or nothing
Line communication equipment.
Virtualization layer (virtualization layer) 120 refers to using virtualization software to calculating, storage, network etc.
Hardware resource is virtualized.Wherein, Xen, HyperV can be used in virtualization software, and KVM also can be used, and the present invention does not make
Limitation.
It include that void is carried out to hardware resource 110 by virtualization software in virtual resource (virtual resources) 130
The resource that quasi-ization is formed, such as virtual computing resource, virtual network resource, virtual storage resource, and be made of virtual resource
Virtual machine.
Hardware resource 110, virtualization layer 120 and virtual resource 130 also may be collectively referred to as virtual architecture layer
(virtualized infrastructure layer)。
It include one or more service applications in operation system 140, each service application is deployed in one or more virtual
In machine, i.e., operation has the application program of service application on these virtual machines.Specifically, service application can be adopted according to business demand
At least one of with the following methods deployment:
Mode one:Separate unit deployment mode.Separate unit deployment mode, that is, each application only runs business on a virtual machine and answers
Application program.
Mode two:Active and standby deployment mode.Active and standby deployment mode is mainly to dispose the multiple virtual of the same service application
In machine select a main-use mode virtual machine, the virtual machine mainly for the treatment of service application request message;Other are virtual
Machine is standby mode, these virtual machines request message that processing business is not applied, spare when the virtual-machine fail of main-use mode
The virtual machine of mode can be upgraded to the virtual machine of main-use mode, continue with the request message of service application.Wherein, standby mode
Virtual machine rise main process and can use arbitration mechanism.For example, being monitored using third party's virtual machine or server, work as master
When with the virtual-machine fail of mode, primary mould is upgraded to according to the virtual machine of load one low-load of selection of each spare virtual machine
The virtual machine of formula, continues with business.Alternatively, the virtual machine of standby mode, which rises main process, can also use heartbeat monitor machine
System.For example, primary failure is identified by regular heartbeat monitor mode between main-use mode virtual machine and standby mode virtual machine, when
It, can be in standby mode virtual machine when the virtual machine Lungs from Non-Heart-Beating of the virtual machine monitoring of standby mode to main-use mode responds return
Any selection one upgrades to main-use mode.It is worth noting that how to upgrade to main-use mode for standby mode virtual machine
The present invention is with no restriction.
Mode three:Load sharing deployment mode.Load sharing deployment mode refers to the multiple of the same service application of deployment
Virtual machine is imitated according to the treatment process of the request message of preset tactful shared service application so as to improve service application processing
Rate.
Virtual architecture management system (virtualized infrastructure manager) 150 is for realizing virtualization
The management of infrastructure is responsible for being managed collectively hardware resource 110, virtualization layer 120 and virtual resource 130, monitoring, providing
Source scheduling, troubleshooting etc., resource support is provided, and open interface is provided for the operation of operation system 140 etc..Virtual architecture management
System 150 be referred to as be virtualization layer component part.It include managing at least one void in virtual architecture management system 150
The virtual management node of quasi- machine, the virtual management node can be made of one or more servers, can also be by one
Or multi-dummy machine composition.
Business management system 160 is used to be managed the service application of operation on a virtual machine.Such as create service application,
Schedule virtual resources and closing service application etc. in distributing service application, service application.Business management system can manage one
Or multiple service applications.The interface that business management system calls virtual architecture management system to provide provides for service application operation
Resource realizes service application granting, deployment etc..Business management system 160 is docked with virtual architecture management system 150.In addition, same
One business management system can be docked with multiple virtual architecture management systems.It include managing at least in business management system 160
The service management node of one service application, the service management node can be made of one or more servers, can also be by
One or multi-dummy machine composition.
Business management system 160 and operation system 140 can be collectively referred to as application layer again.Business management system 160 and business system
System 140 can be the separated system of logic, as shown in Figure 1, can also realize the function of the two by a system.
When system infrastructure there are new features or repairs leaky, need to execute system infrastructure upgrading behaviour
Make, and during upgrading also needs to restart server.System infrastructure includes the virtual management operated on hardware resource 110
The software program of node, virtualization software, hardware resource 110.Wherein, virtual management node, which refers to, realizes in virtualization software
Management node, for create virtual machine, management virtual machine, monitoring virtual machine.Virtualization softening includes realizing virtualization technology
In be deployed in software program on virtual management node or virtual machine, such as DHCP service on virtual management node or virtual
The Microsoft Loopback Adapter driver run on machine.The software program of hardware resource 110 refer to run in hardware device it is non-virtualized
Program, such as mainboard management control unit (baseboard management controller, BMC) software or trawl performance
Program or firmware (firmware).
Next, the method that a kind of infrastructure provided in an embodiment of the present invention upgrades is discussed in detail in conjunction with Fig. 2.Such as Fig. 2
It is shown, the method includes:
S201, business management system carry out contingency table according to virtual machine of the service application deployment mode to deployment service application
Note.
Specifically, in the available virtualization computer system of business management system all service applications deployment information.
Such as service application mark, dispose service application virtual machine quantity and mark and deployment service application it is each virtual
The deployment mode of machine.Further, business management system can be empty to deployment service application according to the deployment mode of service application
Quasi- machine carries out classification marker.Wherein, the classification for disposing the virtual machine of service application is related to deployment mode, is identified using the first kind
It is mainly responsible for the virtual machine of the processing task of service application.Such as service application use active and standby deployment mode when, master state
Virtual machine can be labeled as the first kind.It shares using standby mode in the task processes of the second class label service application or jointly
The virtual machine of processing task.For example, the virtual machine of standby mode, which can mark, is when service application uses active and standby deployment mode
Two classes.Specifically include following several situations:
Situation one:When service application uses separate unit deployment mode, the classification of the virtual machine of service application can will be disposed
Labeled as the first kind.Since separate unit deployment mode situation needs to have virtual machine to be in starting state always, guarantee business is not interrupted,
Therefore, use the virtual machine indicia of separate unit deployment mode for the first kind service application.
Situation two:It can be first by the virtual machine indicia of main-use mode when service application uses active and standby deployment mode
The virtual machine indicia of standby mode is the second class by class.
Situation three:When service application uses load sharing deployment mode, due to the virtual machine of load sharing deployment mode
Between shared service application processing task, a part of virtual machine can be closed in escalation process, another part is empty
Quasi- machine continues to undertake the processing task of service application, thereby guarantees that service application is not interrupted.Therefore, service application will can be disposed
Whole virtual machine indicias be the first kind.Alternatively it is also possible to be the by the virtual machine indicia for the preset value for disposing service application
Another part virtual machine indicia is the second class by one kind.Wherein, preset value, which can be, will dispose the virtual machine quantity of service application
Half be labeled as the first kind, by other virtual machine indicias be the second class.Alternatively, preset value can be according to business demand
Virtual machine indicia classification to designated ratio, for example guarantees the process performance of service application, will dispose the virtual machine of service application
In 40% virtual machine indicia be the first kind, by other 60% virtual machine indicia be the second class.
As an optional embodiment, in infrastructure upgrade method provided by the present invention, business management system
It can use more than two classification the virtual machine of deployment service application is marked, such as according to the deployment mode of service application
It by the virtual machine indicia for disposing service application is three classes with the loading condition of each virtual machine.
S202, business management system are sent to virtual architecture management system concentrates deployment message.
Concentrating in deployment message includes the mark and classification for disposing the virtual machine of service application.Optionally, deployment is concentrated to disappear
It can also include the mark and deployment mode of service application in breath.
Illustratively, table 1 is a kind of example for concentrating deployment message.Wherein, concentrating deployment message includes the mark of service application
Know, dispose the mark of the virtual machine of each service application, the deployment mode of each virtual machine, and classification.
A kind of example for concentrating deployment message of table 1
As a possible embodiment, operating process for step S201 and S202, business management system can also be with
By the mark for disposing service application, the quantity for the virtual machine for disposing service application and mark and dispose each of service application
The deployment mode of virtual machine is sent to virtual architecture management system, by virtual architecture management system according to the portion of deployment service application
Administration's mode carries out classification marker to the virtual machine of deployment service application.Business pipe in the method and step S202 of specific classification marker
Method used in reason system is identical, does not pluck repeat herein.
S203, virtual architecture management system dispose message for first kind virtual machine (vm) migration to first server collection according to concentration
It closes, by the second class virtual machine (vm) migration to second server set.
The mark of the virtual machine of each service application and classification will according to concentrating in deployment message for virtual architecture management system
Different conditions virtual machine (vm) migration is into different server set.It wherein, include one or more services in first server set
Device includes one or more servers in second server set.Clothes in first server set and second server set
Business device is equipment, i.e. first server set and second service in hardware resource 110 in virtualization computer system shown in Fig. 1
Server in device set is server in virtualization computer system, rather than the redundancy services other than virtualization computer system
Device.The division of server set can according to presetting rule by Servers-all in virtualization computer system according to presetting rule
It is divided into first server set and second server set.Presetting rule can be the hardware configuration according to server for one
Sub-server is divided into first server set, and another part server is divided into second server set.Illustratively, according to
The number and memory size segmentation service device set of server central processing unit (central processor unit, CPU).It can
Selection of land, presetting rule can also divide different server set according to the quantity of server according to business demand.For example, if empty
It include 4 servers in quasi-ization computer system, it is assumed that in the deployment mode of service application, using the business of separate unit deployment mode
Using there is 1;There are 3 using the service application of active and standby deployment mode mode, each service application uses two deploying virtual machines;
There are 2 using the service application of load sharing deployment mode mode, each service application uses four deploying virtual machines.So,
2 servers can be divided into first server set, 2 servers are divided into second server set.Alternatively, by 1
Platform server is divided into first server set, other 3 servers are divided into second server set.Optionally, preset rule
Then different server set can also be divided according to the virtual machine quantity of deployment service application.For example, if virtualization computer
It include the virtual machine of 15 deployment service applications in system, it is contemplated that the quantity for the virtual machine that each server can be run will be virtual
Change 3 servers in computer system and is divided into three set, first server set
S204, virtual architecture management system add first identifier to first server set, add to second server set
Add second identifier.
After step S203 virtual architecture management system is completed to the migration of the virtual machine of service application, virtual architecture management
System adds first identifier to first server set, adds second identifier to second server set.Illustratively, first identifier
Can be to be primary, second identifier can be spare.Alternatively, first identifier can be to prepare upgrading for plan upgrading, second identifier.
Specifically, virtual architecture management system can use the mark of specified file or data-base recording different server set
Know.Illustratively, it is as shown in table 2 that different server set identification is recorded in virtual architecture management system, as shown in table 2, virtual frame
It include the server and mark that each server set is included in the different server mark of structure management system record.
The example of 2 virtual architecture management system of table record different server set identification
Optionally, each server also can use the server set and mark of specified file or data-base recording where it
Know.Physical record form is identical as table 2 or comprising other fields, such as the IP of server.Optionally, the mark of different server set
Knowledge also can use the form that both the above mode combines and be recorded, i.e., in virtual architecture management system and each server
Record has the mark of different server set.
S205 (optional), virtual architecture management system are sent to business management system concentrates deployment success message.
Deployment success message is concentrated to be used to indicate virtual architecture management system according to concentration deployment message that different classifications are empty
Quasi- machine Successful migration is into different server set.
S206 (optional), business management system are sent to virtual architecture management system closes the second class virtual machine message.
Business management system, can basis after the concentration deployment success message for receiving the transmission of virtual architecture management system
The case where service application, sends to virtual architecture management system and closes the second class virtual machine message, which is used to indicate virtual frame
Structure management system closes the second class virtual machine.
S207, the identification of virtual architecture management system have the second server set of second identifier, close second server
The second class virtual machine in set.
Virtual architecture management system can also be after according to deployment message migration virtual machine be concentrated, and identification has second identifier
Second server set, close second server set in the second class virtual machine.Specifically, virtual architecture management system is known
Not Ju You the method for second server set of second identifier include:
When virtual architecture management system is identified using specified file or data-base recording different server, virtual architecture pipe
Reason system directly reads the different server set identification as shown in Table 2 of its record, and the with second identifier is identified with this
Server included in two server sets and second server set.
When each server by utilizing specified file or data-base recording different server identify, virtual architecture management system
It needs to read the content recorded in each server respectively, and the second server set with second identifier is identified with this, with
And server included in second server set.
When virtual architecture management system and each server utilize specified file or data-base recording different server mark
When knowledge, the different server set identification as shown in Table 2 of its record is can be read directly in virtual architecture management, identifies tool with this
There is server included in the second server set and second server set of second identifier.
Further, after the identification of virtual architecture management system has the server set of second identifier, server set is closed
Each virtual machine in conjunction.The process of closing can be virtual architecture management system and send the closing of instruction Information Notification Services device virtually
Machine.
It is worth noting that virtual architecture management system is disposing message to first kind virtual machine and the second class according to concentration
After virtual machine executes migration operation, step S207 to S208 can be directly executed, the updating operation of system infrastructure is completed.It can
Selection of land, step S205 to S206 are the reliabilities in order to improve service application in system infrastructure escalation process.For example, business
After management system sends concentration deployment message to virtual architecture management system, there is the virtual-machine fail of deployment service application, this
When, it executes updating operation and needs to close virtual machine, may cause service application can not normally complete task processing.
S208, virtual architecture management system execute updating operation to the system infrastructure of second server set.
Specifically, base of the virtual architecture management system after closing the second class virtual machine, directly to second server set
Infrastructure software executes updating operation.Scalable system infrastructure includes operating on hardware resource 110 shown in FIG. 1
Virtual management node, virtualization software, the software program of hardware resource 110 and driver.
S209, virtual architecture management system send second server set to business management system and upgrade successfully message.
S210 (optional), business management system send the second class virtual machine message of starting to virtual architecture management system.
Similar with step S205, virtual architecture management system can notify industry after second server set upgrades successfully
Business management system sends the second class virtual machine message of starting, business management system tune according to business demand by business management system
It is connect with the application programming interface (application programming interface, API) of virtual architecture management system
Mouth notice virtual architecture management system starts the second class virtual machine, includes the mark for closing virtual machine in the api interface
(identify), the mark of server where starting virtual machine.
S211, virtual architecture management system start the second class virtual machine in second server set.
S212, virtual architecture management system send the second class virtual machine to business management system and start success message.
Virtual architecture management system can directly open in second server after upgrading successfully to second server set
Dynamic second class virtual machine, and the successful message informing business management system of the second class virtual machine will be started.
S213, business management system change dispose the classification of the virtual machine of service application.
Specifically, the assorting process of the virtual machine of business management system change deployment service application, it is related with deployment way,
Specifically include following several situations:
Situation one:When service application uses separate unit deployment mode, due to only having a virtual machines performing tasks processing, it is
Guarantee that service application is not interrupted, does not change the classification of the virtual machine of the service application using separate unit deployment mode, deployment business is answered
The classification of virtual machine is still labeled as the first kind.
Situation two:When service application uses active and standby deployment mode, business management system needs to be implemented masterslave switchover, i.e., former
Stand-by state is changed to master state, and former master state is changed to stand-by state.Correspondingly, the classification of virtual machine is also by the first kind
It is changed to the second class, the second class is changed to the first kind.
Situation three:If service application uses load sharing deployment mode, and the status indication of all virtual machines is the first kind,
The state of virtual machine is not changed then.If service application uses load sharing deployment mode, and a part of virtual machine indicia is
The first kind, another part virtual machine indicia are the second class, then exchange two-part mark information.It will be labeled as the portion of the first kind
Dividing virtual machine indicia is the second class, will be the first kind labeled as the second sector of breakdown virtual machine indicia.
Illustratively, table 3 is a kind of example of virtual machine classification change corresponding with table 1.
A kind of example of virtual machine classification change corresponding with table 1 of table 3
S214, business management system send classification to virtual architecture management system and change successful message.
S215, virtual architecture management system modify the second identifier that is identified as of first server set, modify second service
Device set is identified as first identifier.
It is worth noting that needing to dispose the virtual machine of service application when service application uses separate unit deployment mode
It migrates into the second server set upgraded successfully.When service application uses load balancing deployment mode, and all deployment
When the virtual machine of the service application is marked as the first kind, virtual architecture management system needs that the void of the service application will be disposed
Quasi- machine is migrated into the second server set upgraded successfully, to avoid service disconnection caused by virtual machine is closed.
S216, (optional) virtual architecture management system send server set mark and change to business management system successfully to disappear
Breath.
S217 (optional), business management system are sent to virtual architecture management system closes first kind virtual machine message.
S218, the identification of virtual architecture management system have the first server set of second identifier, close first server
Second class virtual machine in set.
S219, virtual architecture management system execute updating operation to system infrastructure in first server set.
S220, virtual architecture management system send first server set to business management system and upgrade successfully message.
S221 (optional), business management system send the second class virtual machine message of starting to virtual architecture management system.
S222, virtual architecture management system start the second class virtual machine in first server set.
S223, virtual architecture management system send the second class virtual machine to business management system and start success message.
Step S217 to step S224 is identical to step S212 operating process as step S206, and details are not described herein.
S225, virtual architecture management system delete the second identifier of first server set and the first mark of second server
Know.
The system infrastructure liter of first server set and second server set is completed in virtual architecture management system
It, can also be according to preset scheduling strategy by virtual machine equiblibrium mass distribution to each server, so as to improve physical resource after grade
Utilization rate.In addition, the virtual machine of the main-use mode of different business application is separately deployed on different server, avoid servicing
Device failure influences service application, improves the reliability of entire virtualization computer system.
Description through the above, virtual architecture management system can will be in the middle part of virtual machine collection according to the classification of virtual machine
It affixes one's name in virtualization computer system in different server set, and server set is added and is identified, virtual architecture management system
System upgrades according to system infrastructure of the different identification to server set, participates in upgrading without additional redundant server
Process, in such a way that this reduces redundant server in hardware cost.Further, by virtual architecture management system according to service application
Middle virtual machine shape, which is sorted between the server of virtualization computer system, to be migrated, and the upgrading preparation stage only needs once to move
Journey is moved past, avoids by platform to redundant server again the virtual machine (vm) migration that dispose service application in server after upgrading successfully
Virtual machine (vm) migration migrates back time delay brought by upgrade server from redundant server, improves upgrading efficiency.On the other hand, it rises
During grade, the virtual machine of different classifications is distinguished in conjunction with the deployment mode of service application, and is concentrated virtual machine according to the state
It is deployed in different server set, can guarantee that business is answered in escalation process to avoid service disconnection in infrastructure escalation process
With can operate normally.
As an optional embodiment, in infrastructure escalation process, virtual architecture management system is answered in finishing service
After concentration deployment, the virtual machine of the second class can also directly be executed to closing behaviour according to the classification of virtual machine in service application
Make, and updating operation is executed to the system infrastructure of second server set, again in second server set after upgrading successfully
The second class virtual machine of middle starting reduces update time so as to improve upgrading efficiency.
Further, a kind of system infrastructure liter provided in an embodiment of the present invention is further described in conjunction with the example of Fig. 3
The method of grade.Fig. 3 is the schematic diagram of another virtualized infrastructure framework provided in an embodiment of the present invention.As shown, empty
It include virtual architecture management system, business management system, server 1 and server 2 in quasi-ization infrastructure framework.Server 1
With include 2 two service applications of service application 1 and service application in server 2, each service application be respectively adopted two it is virtual
Machine utilizes active and standby deployment mode.Virtual machine 1 is the virtual machine of the main-use mode of service application 1, and virtual machine 2 is service application 1
The virtual machine of standby mode.Virtual machine 3 is the virtual machine of the standby mode of service application 2, and virtual machine 4 is the master of service application 2
With the virtual machine of mode.
Escalation process master of the virtual machine architecture management system to virtualization layer and software program in server 1 and server 2
It to include following operating procedure:
Virtual machine 1 and virtual machine 4 are labeled as first according to the deployment mode of service application by S301, business management system
Virtual machine 2 and virtual machine 3 are labeled as the second class by class.
S302, business management system are sent to virtual architecture management system concentrates deployment message, concentrates and wraps in deployment message
Include the mark and classification of virtual machine.
The concentration deployment message that S303, virtual architecture management system are sent according to business management system migrates virtual machine 3
To server 2, virtual machine 4 is migrated to server 1.
S304, virtual architecture management system add first identifier to server 1, add second identifier to server 2.
S305, the identification of virtual architecture management system have the server 2 of second identifier, close 2 He of virtual machine in server 2
Virtual machine 3.
S306, virtual architecture management system execute updating operation to system infrastructure in server 2.
After S307, server 2 upgrade successfully, virtual architecture management system starts virtual machine 2 and virtual machine in server 2
3。
S308, virtual architecture management system send server 2 to business management system and upgrade successfully message.
S309, business management system execute masterslave switchover operation to service application, and virtual machine 1 is changed to service application 1
Standby mode virtual machine, virtual machine 2 is changed to the virtual machine of the main-use mode of service application 1;Virtual machine 3 is changed to
Virtual machine 4 is changed to the virtual machine of the standby mode of service application 2 by the virtual machine of the main-use mode of service application 2.And it modifies
Virtual machine 2 and virtual machine 3 are labeled as the first kind by the classification of virtual machine, and virtual machine 1 and virtual machine 4 are labeled as the second class.
S310, business management system send virtual machine classification change success message to virtual architecture management system.
S311, virtual architecture management system modification server 1 are identified as second identifier, and server 2 is identified as first
Mark.
S312, the identification of virtual architecture management system have the server 1 of second identifier, close 1 He of virtual machine in server 1
Virtual machine 4.
S313, virtual architecture management system execute updating operation to system infrastructure in server 1.
After S314, server 1 upgrade successfully, virtual architecture management system starts virtual machine 1 and virtual machine in the server 1
4。
S315, virtual architecture management system delete the first identifier of second identifier and server 2 in server 1.
Optionally, virtual architecture management system after the step s 315, can also be according to preset scheduling strategy by virtual machine
It migrates into different server, is made full use of with guaranteeing that the physical resource of server can achieve, promote the performance of virtual machine.Separately
Outside, the virtual machine of the main-use mode of different business application is separately deployed on different server, server failure is avoided to influence
Service application improves the reliability of entire virtualization computer system.
Description by the above process can be to server 1 and server 2 in the case where not influencing service application
System infrastructure is upgraded.Without preparing redundant server in escalation process, reduce upgrade cost.On the other hand, it rises
A virtual machine (vm) migration processing is only needed to be implemented during grade, is avoided upgrading low efficiency caused by multiple virtual machine (vm) migration, is risen
Grade time-consuming problem.
It is worth noting that for simple description, therefore, it is stated as a series of dynamic for above method embodiment
It combines, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described.
Above in conjunction with Fig. 1 to Fig. 3, provided a kind of infrastructure upgrading according to embodiments of the present invention is described in detail
Method, below in conjunction with Fig. 4, describe according to embodiments of the present invention provided by a kind of device of system infrastructure upgrading
400, the virtual architecture management system in virtualization computer system shown in 400 corresponding diagram 1 of device.
As shown in figure 4, including migration units 401, mark unit 402 and upgrade unit 403 in device 400;
The migration units 401, the concentration deployment message for being sent according to business management system will dispose service application
First kind virtual machine (vm) migration to first server set, by the second class virtual machine (vm) migration to second server set, wherein institute
Business management system is stated for managing the service application;Described concentrate in deployment message includes the void for disposing the service application
The mark and classification of quasi- machine, it is described to be classified as the business management system according to the division of the deployment mode of the service application, institute
Stating classification includes the first kind and second class;It include one or more servers, institute in the first server set
State in second server set includes one or more servers, the first server set and the second server set
Middle server is the server for running the service application virtual machine;
The mark unit 402, for adding first identifier to the first server set, to the second server
Set addition second identifier;
The upgrade unit 403, for upgrading system infrastructure, the infrastructure according to the mark of server set
Software includes virtual management node, the virtualization software for managing the first kind virtual machine and the second class virtual machine, with
And the software program and driver of server.
Optionally, the deployment mode of the service application includes separate unit deployment mode, active and standby deployment mode and load sharing
The classification of virtual machine of deployment mode, the deployment service application includes:
When the service application uses the separate unit deployment mode, the virtual machine for disposing the service application is described the
It is a kind of;
When the service application uses the active and standby deployment mode, the virtual of the main-use mode of the service application is disposed
Machine is the first kind, and the virtual machine of standby mode is second class;
When the service application uses the load sharing deployment mode, all virtual machines of the service application are disposed
For the first kind;Alternatively, the virtual machine of the preset value of deployment service application is the first kind, other virtual machines are described the
Two classes.
Optionally, described device 400 further includes closing unit 405 and start unit 406;
The closing unit 405, for identification with the second server set of the second identifier, described in closing
Second class virtual machine described in second server set;
The upgrade unit 403 is also used to execute updating operation to system infrastructure in the second server set;
The start unit 406, for starting when system infrastructure upgrades successfully in the second server set
Second class virtual machine described in the first server set.
Optionally, the mark unit 402 is also used to receive the service management system when the virtual architecture management system
When successful message is changed in the service application classification that system is sent, that modifies the first server set is identified as described the
Two marks, and the modification second server set are identified as the first identifier.
Optionally, the closing unit 405 is also used to identify the first server set with the second identifier, close
Close the second class virtual machine described in the first server set;
The upgrade unit 403 is also used to execute updating operation to system infrastructure in the first server set;
The start unit 406 is also used to open when system infrastructure upgrades successfully in the first server set
It is virtual to move the second class described in the first server set;
The mark unit 402, be also used to delete the first server set second identifier and the second service
The first identifier of device set.
Optionally, the mark unit 402 is also used to divide the first server set and described according to presetting rule
Second server set;Wherein, the presetting rule includes the hardware configuration of server, the void of the deployment service application
At least one of the quantity of quasi- machine and performance requirement.
Description through the above, virtual architecture management system can will be in the middle part of virtual machine collection according to the classification of virtual machine
Administration adds server set and identifies in the different server set of virtualization computer system, virtual architecture management system
System upgrades according to system infrastructure of the different identification to server set, without the participation of additional redundant server,
Hardware cost in such a way that this reduces redundant server.Further, by virtual architecture management system according to empty in service application
Quasi- machine is sorted between the server of virtualization computer system and is migrated, and the upgrading preparation stage only needs once to migrate
Journey is avoided the virtual machine (vm) migration of deployment service application in server by platform to redundant server, again will be virtual after upgrading successfully
Machine migration migrates back time delay brought by upgrade server from redundant server, improves upgrading efficiency.On the other hand, upgraded
Cheng Zhong distinguishes the virtual machine of different classifications in conjunction with the deployment mode of service application, and concentrates virtual machine according to the classification and dispose
In different server set, it can guarantee that service application can in escalation process to avoid service disconnection in infrastructure escalation process
To operate normally.
It should be understood that the device 400 of the embodiment of the present invention can pass through specific integrated circuit (application
Specific integrated circuit, ASIC) realize or programmable logic device (programmable logic
Device, PLD) it realizes, above-mentioned PLD can be complicated process logical device (complex programmable logic
Device, CPLD), field programmable gate array (field-programmable gate array, FPGA), general array is patrolled
Collect (generic array logic, GAL) or any combination thereof.Software realization infrastructure liter shown in Fig. 2 can also be passed through
When the method for grade, device 400 and its modules may be software module.
Device 400 according to an embodiment of the present invention can correspond to execute method described in the embodiment of the present invention, and fill
Above and other operation and/or function of each unit in 400 is set respectively to realize virtual architecture management system institute in Fig. 2
The corresponding process of each method executed, for sake of simplicity, details are not described herein.
Fig. 5 is a kind of device 500 of infrastructure upgrading provided in an embodiment of the present invention, shown in 500 corresponding diagram 1 of device
Business management system in virtualization computer system.As shown, device 500 includes marking unit 501 and transmission unit
502;
The marking unit 501, for the deployment mode according to service application to the virtual machine for disposing the service application
Labeled bracketing;
The transmission unit 502 concentrates deployment message for sending to virtual architecture management system, and the concentration deployment disappears
It include the mark and classification for disposing the virtual machine of the service application in breath.
Optionally, the marking unit 501 is according to the deployment mode of service application to the virtual of the deployment service application
Machine labeled bracketing, including:
It is first by the virtual machine indicia for disposing the service application when the service application uses separate unit deployment mode
Class;
When the service application uses active and standby deployment mode, the virtual machine of the main-use mode of the service application will be disposed
It is the second class by the virtual machine indicia of standby mode labeled as the first kind;
When the service application uses load sharing deployment mode, all virtual machine marks of the service application will be disposed
It is denoted as the first kind;Alternatively, being the first kind by the virtual machine indicia for the preset value for disposing service application, it is by other virtual machine indicias
Second class.
Optionally, marking unit 501 is also used in the second server set for receiving the transmission of virtual architecture management system
When system infrastructure upgrades successfully, the classification of the virtual machine of service application is changed.
It should be understood that the device 500 of the embodiment of the present invention can pass through specific integrated circuit (application
Specific integrated circuit, ASIC) realize or programmable logic device (programmable logic
Device, PLD) it realizes, above-mentioned PLD can be complicated process logical device (complex programmable logic
Device, CPLD), field programmable gate array (field-programmable gate array, FPGA), general array is patrolled
Collect (generic array logic, GAL) or any combination thereof.Software realization infrastructure liter shown in Fig. 2 can also be passed through
When the method for grade, device 500 and its modules may be software module.
Device 500 according to an embodiment of the present invention can correspond to execute method described in the embodiment of the present invention, and fill
Above and other operation and/or function of each unit in 500 is set respectively to realize in Fig. 2 performed by business management system
Each method corresponding process, for sake of simplicity, details are not described herein.
As shown in Figure 1, the embodiment of the present invention provides a kind of virtualization computer system, which includes
Virtual architecture management system, business management system and at least one virtual machine, at least one described virtual machine operate at least one
On platform server, at least one described virtual machine is for executing service application, and the business management system is for managing the industry
Business application, the virtual architecture management system is for managing at least one described virtual machine and an at least server.
The virtual architecture management system, the concentration deployment message for being sent according to business management system will dispose business
The first kind virtual machine (vm) migration of application is to first server set, by the second class virtual machine (vm) migration to second server set,
In, described concentrate in deployment message includes the mark and classification for disposing the virtual machine of the service application, described to be classified as business
Management system is divided according to the deployment mode of the service application, and the classification includes the first kind and second class, institute
Stating includes one or more server in first server set, includes one or more service in the second server set
Device;First identifier is added to the first server set, second identifier is added to the second server set;According to service
The mark of device set upgrades system infrastructure, and the system infrastructure includes virtual management node, virtualization software, with
And the software program and driver of server.
The business management system, for the deployment mode according to service application to the virtual machine for disposing the service application
Classification marker is carried out, the classification includes the first kind and the second class;It is sent to virtual architecture management system and concentrates deployment message, with
Make the virtual architecture management system dispose message according to the concentration to upgrade infrastructure;Wherein, in the middle part of the collection
Affixing one's name to includes the mark and the classification for disposing the virtual machine of the service application in message.
Optionally, the virtual architecture management system upgrades system infrastructure according to the mark of server set, including:
It identifies the second server set with second identifier, closes the void of the second class described in the second server set
Quasi- machine;
Updating operation is executed to system infrastructure in the second server set;
When system infrastructure upgrades successfully in the second server set, start in the second server set
The second class virtual machine.
Optionally, the virtual architecture management system is also used to answer when the business for receiving the business management system transmission
When message successful with shifting, that modifies the first server set is identified as the second class mark, and modification
The second server set is identified as the first kind mark.
Optionally, the virtual architecture management system is also used to identify the first server collection with the second identifier
It closes, closes the second class virtual machine described in the first server set;It is soft to infrastructure in the first server set
Part executes updating operation;When system infrastructure upgrades successfully in the first server set, start the first service
Second class described in device set is virtual;Delete the second identifier and the second server set of the first server set
First identifier.
Optionally, the virtual architecture management system is also used to divide the first server set according to presetting rule
With the second server set;Wherein, the presetting rule includes that the hardware configuration of server, the deployment business are answered
At least one of the quantity of virtual machine and performance requirement.
Optionally, the business management system is also used to when the service application is using the separate unit deployment mode, will
The virtual machine indicia for disposing the service application is the first kind;When the service application uses the active and standby deployment mode
When, the virtual machine indicia that will dispose the main-use mode of the service application is the first kind, by the virtual machine mark of standby mode
It is denoted as second class;When the service application uses the load sharing deployment mode, the service application will be disposed
All virtual machine indicias are the first kind;Alternatively, being described first by the virtual machine indicia for the preset value for disposing service application
Other virtual machine indicias are second class by class.
Description through the above, virtual architecture management system can be according to virtual machine in virtualization computer system
Classification by virtual machine concentration be deployed in virtualization computer system in different server set, and to server set add
Mark, virtual architecture management system upgrade according to system infrastructure of the different identification to server set, without additional
Redundant server participate in escalation process, in such a way that this reduces redundant server in hardware cost.Further, by virtual architecture
Management system is migrated according to virtual machine classification in service application, and the upgrading preparation stage only needs a transition process, avoids
The virtual machine (vm) migration of service application will be disposed in server to redundant server by platform, after upgrading successfully again by virtual machine (vm) migration from
Redundant server migrates back time delay brought by upgrade server, improves upgrading efficiency.On the other hand, in escalation process, knot
The deployment mode for closing service application distinguishes the virtual machine of different conditions, and virtual machine concentration is deployed in different clothes according to the state
Business device set can guarantee that service application can be transported normally in escalation process to avoid service disconnection in infrastructure escalation process
Row.
Above-described embodiment can be realized wholly or partly by software, hardware, firmware or any other combination.When
When using software realization, above-described embodiment can be realized entirely or partly in the form of a computer program product.The calculating
Machine program product includes one or more computer instructions.When loading on computers or executing the computer program instructions,
It entirely or partly generates according to process or function described in the embodiment of the present invention.The computer can for general purpose computer,
Special purpose computer, computer network or other programmable devices.The computer instruction can store to be deposited computer-readable
In storage media, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, described
Computer instruction can pass through wired (such as coaxial cable, light from a web-site, computer, server or data center
Fine, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, clothes
Business device or data center are transmitted.The computer readable storage medium can be any available Jie that computer can access
Matter includes either the data storage devices such as server, the data center of one or more usable medium set.Described use is situated between
Matter can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium.Semiconductor
Medium can be solid state hard disk (solidstate disk, SSD).
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
The above description is merely a specific embodiment.Those familiar with the art is according to the present invention
The specific embodiment of offer, it is contemplated that change or replacement.
Claims (17)
1. a kind of method of system infrastructure upgrading, which is characterized in that the method includes:
The concentration deployment message that virtual architecture management system is sent according to business management system will dispose the first kind of service application
Virtual machine (vm) migration is to first server set, by the second class virtual machine (vm) migration to second server set, wherein the business pipe
Reason system is for managing the service application;Described concentrate in deployment message includes the mark for disposing the virtual machine of the service application
Know and classifies, it is described to be classified as the business management system according to the division of the deployment mode of the service application, the classification packet
The first kind and second class are included, the first server set includes one or more servers, the second service
It include one or more servers in device set, the server in the first server set and the second server set
For the server for running the service application virtual machine;
The virtual architecture management system adds first identifier to the first server set, to the second server set
Add second identifier;
The virtual architecture management system upgrades system infrastructure, the system infrastructure according to the mark of server set
Virtual management node, virtualization software including managing the first kind virtual machine and the second class virtual machine, and clothes
The software program and driver of business device.
2. method according to claim 1, which is characterized in that the deployment mode of the service application includes separate unit deployment mould
The classification of virtual machine of formula, active and standby deployment mode and load sharing deployment mode, the deployment service application includes:
When the service application uses the separate unit deployment mode, the virtual machine for disposing the service application is described first
Class;
When the service application uses the active and standby deployment deployment mode, the virtual of the main-use mode of the service application is disposed
Machine is the first kind, and the virtual machine of standby mode is second class;
When the service application uses the load sharing deployment mode, all virtual machines of the service application are disposed as institute
State the first kind;Alternatively, the virtual machine for disposing the preset value of the service application is the first kind, other virtual machines are described the
Two classes.
3. method according to claim 1 or claim 2, which is characterized in that the virtual architecture management system is according to server set
Mark upgrade system infrastructure, including:
The virtual architecture management system identification has the second server set of the second identifier, closes described second
Second class virtual machine described in server set;
The virtual architecture management system executes updating operation to system infrastructure in the second server set;
When system infrastructure upgrades successfully in the second server set, start institute in the second server set
State the second class virtual machine.
4. method according to claim 3, which is characterized in that the method also includes:
It is changed successfully when the virtual architecture management system receives the service application classification that the business management system is sent
Message when, modify the second identifier that is identified as of the first server set, and the modification second server collection
That closes is identified as the first identifier.
5. method according to claim 4, which is characterized in that the method also includes:
The virtual architecture management system identification has the first server set of the second identifier, closes the first service
Second class virtual machine described in device set;
The virtual architecture management system executes updating operation to system infrastructure in the first server set;
When system infrastructure upgrades successfully in the second server set, start institute in the first server set
It is virtual to state the second class;
The virtual architecture management system deletes the second identifier and the second server set of the first server set
First identifier.
6. any the method in -5 according to claim 1, which is characterized in that the method also includes:
The virtual architecture management system divides the first server set and the second server collection according to presetting rule
It closes;Wherein, the presetting rule include the virtual machine of the hardware configuration of server, the deployment service application quantity and
At least one of performance requirement.
7. a kind of method of system infrastructure upgrading, which is characterized in that the method includes:
Business management system carries out classification marker to the virtual machine for disposing the service application according to the deployment mode of service application,
The classification includes the first kind and the second class;
The business management system is sent to virtual architecture management system concentrates deployment message, so that virtual architecture management system
System is disposed message according to the concentration and is upgraded to infrastructure;It wherein, include described in deployment in the concentration deployment message
The mark of the virtual machine of service application and the classification.
8. the method according to the description of claim 7 is characterized in that the deployment mode includes separate unit deployment mode, active and standby portion
Administration's mode and load sharing mode, the method includes:
When the service application uses the separate unit deployment mode, the business management system will dispose the service application
Virtual machine indicia is the first kind;
When the service application uses the active and standby deployment mode, the business management system will dispose the service application
The virtual machine indicia of main-use mode is the first kind, is second class by the virtual machine indicia of standby mode;
When the service application uses the load sharing deployment mode, the business management system will dispose the business and answer
All virtual machine indicias are the first kind;Alternatively, being by the virtual machine indicia for the preset value for disposing the service application
Other virtual machine indicias are second class by the first kind.
9. a kind of device of system infrastructure upgrading, which is characterized in that described device includes migration units, mark unit and liter
Grade unit;
The migration units, the concentration deployment message for being sent according to business management system will dispose the first kind of service application
Virtual machine (vm) migration is to first server set, by the second class virtual machine (vm) migration to second server set, wherein the business pipe
Reason system is for managing the service application;Described concentrate in deployment message includes the mark for disposing the virtual machine of the service application
Know and classifies, it is described to be classified as the business management system according to the division of the deployment mode of the service application, the classification packet
Include the first kind and second class;It include one or more servers in the first server set, second clothes
It include one or more servers, server in the first server set and the second server set in device set of being engaged in
For the server for running the service application virtual machine;
The mark unit adds the second server set for adding first identifier to the first server set
Add second identifier;
The upgrade unit, for upgrading system infrastructure, the system infrastructure packet according to the mark of server set
Include virtual management node, the virtualization software for managing the first kind virtual machine and the second class virtual machine, and service
The software program and driver of device.
10. device according to claim 9, which is characterized in that the deployment mode of the service application includes separate unit deployment mould
The classification of virtual machine of formula, active and standby deployment mode and load sharing mode, the deployment service application includes:
When the service application uses the separate unit deployment mode, the virtual machine for disposing the service application is described first
Class;
When the service application uses the active and standby deployment mode, the virtual machine for disposing the main-use mode of the service application is
The first kind, the virtual machine of standby mode are second class;
When the service application uses the load sharing deployment mode, all virtual machines of the service application are disposed as institute
State the first kind;Alternatively, the virtual machine for disposing the preset value of the service application is the first kind, other virtual machines are described the
Two classes.
11. according to described device any in claim 9 to 10, which is characterized in that described device further includes closing unit and opens
Moving cell;
The closing unit closes second clothes for identification with the second server set of the second identifier
Second class virtual machine described in device set of being engaged in;
The upgrade unit is also used to execute updating operation to system infrastructure in the second server set;
The start unit, for when system infrastructure upgrades successfully in the second server set, described first
Start the second class virtual machine in server set.
12. device according to claim 11, which is characterized in that
The mark unit is also used to receive the industry that the business management system is sent when the virtual architecture management system
When message successful using change state of being engaged in, that modifies the first server set is identified as the second identifier, Yi Jixiu
Change the second server set is identified as the first identifier.
13. device according to claim 12, which is characterized in that
The closing unit is also used to identify the first server set with the second identifier, closes the first service
Second class virtual machine described in device set;
The upgrade unit is also used to execute updating operation to system infrastructure in the first server set;
The start unit is also used to when system infrastructure upgrades successfully in the first server set, described
It is virtual to start second class in one server set;
The mark unit is also used to delete the second identifier and the second server set of the first server set
First identifier.
14. according to claim 9 to 13 described device, which is characterized in that
The mark unit is also used to divide the first server set and the second server collection according to presetting rule
It closes;Wherein, the presetting rule include the virtual machine of the hardware configuration of server, the deployment service application quantity and
At least one of performance requirement.
15. a kind of device of system infrastructure upgrading, which is characterized in that described device includes marking unit and transmission unit;
The marking unit, for the deployment mode according to service application to the virtual machine indicia point for disposing the service application
Class;
The transmission unit is concentrated deployment message for sending to virtual architecture management system, is wrapped in the concentration deployment message
Include the mark and classification for disposing the virtual machine of the service application.
16. device according to claim 15, which is characterized in that the marking unit is according to the deployment mode pair of service application
The virtual machine indicia classification of the service application is disposed, including:
It is the first kind by the virtual machine indicia for disposing the service application when the service application uses separate unit deployment mode;
When the service application uses active and standby deployment mode, the virtual machine indicia of the main-use mode of the service application will be disposed
It is the second class by the virtual machine indicia of standby mode for the first kind;
When the service application uses load sharing deployment mode, it is by all virtual machine indicias for disposing the service application
The first kind;Alternatively, being the first kind by the virtual machine indicia for the preset value for disposing the service application, it is by other virtual machine indicias
Second class.
17. a kind of virtualization computer system, the virtualization computer system includes virtual architecture management system, service management
System and at least one virtual machine, at least one described virtual machine are run at least one server, at least one described void
Quasi- machine is for disposing service application, and the business management system is for managing the service application, virtual architecture management system
System is for managing at least one described virtual machine and at least one described server, which is characterized in that the virtual architecture management
System is used for the operating procedure of 1 to 6 the method for right of execution, and the business management system is for right of execution 7 to weighing 8 the methods
Operating procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710335637.XA CN108874411A (en) | 2017-05-12 | 2017-05-12 | A kind of method and related system of system infrastructure upgrading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710335637.XA CN108874411A (en) | 2017-05-12 | 2017-05-12 | A kind of method and related system of system infrastructure upgrading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108874411A true CN108874411A (en) | 2018-11-23 |
Family
ID=64320031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710335637.XA Pending CN108874411A (en) | 2017-05-12 | 2017-05-12 | A kind of method and related system of system infrastructure upgrading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108874411A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114650319A (en) * | 2020-12-17 | 2022-06-21 | 中移(苏州)软件技术有限公司 | Resource migration method, device, server and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724277A (en) * | 2012-05-04 | 2012-10-10 | 华为技术有限公司 | Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system |
US8578376B2 (en) * | 2011-01-04 | 2013-11-05 | International Business Machines Corporation | Automatically and securely configuring and updating virtual machines |
CN104572179A (en) * | 2014-12-19 | 2015-04-29 | 华为技术有限公司 | IAAS (infrastructure as a service) software upgrading method and device |
CN106452846A (en) * | 2016-09-22 | 2017-02-22 | 华为技术有限公司 | Fault processing method, virtual architecture management system and business management system |
CN106569871A (en) * | 2015-10-12 | 2017-04-19 | 中兴通讯股份有限公司 | Method and device for upgrade processing |
-
2017
- 2017-05-12 CN CN201710335637.XA patent/CN108874411A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8578376B2 (en) * | 2011-01-04 | 2013-11-05 | International Business Machines Corporation | Automatically and securely configuring and updating virtual machines |
CN102724277A (en) * | 2012-05-04 | 2012-10-10 | 华为技术有限公司 | Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system |
CN104572179A (en) * | 2014-12-19 | 2015-04-29 | 华为技术有限公司 | IAAS (infrastructure as a service) software upgrading method and device |
CN106569871A (en) * | 2015-10-12 | 2017-04-19 | 中兴通讯股份有限公司 | Method and device for upgrade processing |
CN106452846A (en) * | 2016-09-22 | 2017-02-22 | 华为技术有限公司 | Fault processing method, virtual architecture management system and business management system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114650319A (en) * | 2020-12-17 | 2022-06-21 | 中移(苏州)软件技术有限公司 | Resource migration method, device, server and storage medium |
CN114650319B (en) * | 2020-12-17 | 2023-11-03 | 中移(苏州)软件技术有限公司 | Resource migration method, device, server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11768695B2 (en) | Methods and apparatus to deploy a hybrid workload domain | |
US10120668B2 (en) | Optimizing resource usage and automating a development and operations deployment pipeline | |
US10656983B2 (en) | Methods and apparatus to generate a shadow setup based on a cloud environment and upgrade the shadow setup to identify upgrade-related errors | |
US11508021B2 (en) | Processes and systems that determine sustainability of a virtual infrastructure of a distributed computing system | |
US8392919B2 (en) | Runtime environment for virtualizing information technology appliances | |
CN108270726B (en) | Application instance deployment method and device | |
US20190227793A1 (en) | Code-change and developer rating in an automated-application-release-management subsystem | |
US20210218798A1 (en) | Intelligent distribution of virtual network function images | |
CN110134518A (en) | A kind of method and system improving big data cluster multinode high application availability | |
CN109656646B (en) | Remote desktop control method, device, equipment and virtualization chip | |
US20230035310A1 (en) | Systems that deploy and manage applications with hardware dependencies in distributed computer systems and methods incorporated in the systems | |
CN107395710B (en) | Method and device for realizing configuration and high availability HA of cloud platform network element | |
US11894983B2 (en) | Simulation and testing of infrastructure as a service scale using a container orchestration engine | |
US11941406B2 (en) | Infrastructure (HCI) cluster using centralized workflows | |
US20230004414A1 (en) | Automated instantiation and management of mobile networks | |
US9841983B2 (en) | Single click host maintenance | |
CN104111867B (en) | A kind of virtual machine (vm) migration device and method | |
CN110502392A (en) | Cloud platform management and monitoring system | |
CN111679889B (en) | Conversion migration method and system of virtual machine | |
US20210191798A1 (en) | Root cause identification of a problem in a distributed computing system using log files | |
CN106385330A (en) | Network function virtualization composer realization method and device | |
CN116319240A (en) | Scale telemetry using interactive matrices for deterministic microservice performance | |
CN113835830A (en) | AI-based RPA cluster management method, device and storage medium | |
CN108874411A (en) | A kind of method and related system of system infrastructure upgrading | |
CN107819598A (en) | A kind of method and device for managing network function node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220218 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Applicant after: Huawei Cloud Computing Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |