【Invention content】
In order to solve the above problem of the prior art, it is visual that the present invention proposes a kind of cloud system operation condition of server
Change management method.
The technical solution adopted by the present invention is as follows:
A kind of cloud system server state management map method, which is characterized in that the cloud system includes multiple cloud computings
The connection of server, status map management server and multiple standby servers, wherein status map management server is above-mentioned multiple
Cloud computing server and above-mentioned backup server, for managing the state of above-mentioned multiple cloud computing servers, this method is included such as
Lower step:
(1) status map management server obtains the actual physical address of multiple cloud computing servers;
(2) the display end generation server state management map of status map management server, each Computer Service
Device and redundant computer mark each calculating in corresponding map location, the computer cluster according to actual physical address
The computer server icon representation of server same shape, and be distinguished with different computer server marks, institute
The redundant computer icon representation of redundant computer same shape is stated, and is distinguished with different redundant computer marks;
(3) status map management server monitors whether above-mentioned multiple cloud computing servers are abnormal in real time;
(4) it is abnormal if status map management server has monitored cloud computing server, in server state
Abnormal marking is carried out to the above-mentioned cloud computing server being abnormal on management map.
Beneficial effects of the present invention include:Understand and know in time the clothes being abnormal by visual means convenient for user
The Exception Type that physical address and server where business device occur, improves the efficiency restored to server exception.
【Specific embodiment】
Come that the present invention will be described in detail below in conjunction with attached drawing and specific embodiment, illustrative examples therein and say
It is bright to be only used for explaining the present invention, but not as a limitation of the invention.
It is the cloud system that the present invention is applied referring to attached drawing 1, the cloud system includes multiple cloud computing servers, state
The above-mentioned multiple cloud computing clothes of visualized management server and multiple standby servers, wherein status visualization management server connection
Business device and above-mentioned backup server, for managing the state of above-mentioned multiple cloud computing servers.
Referring to attached drawing 2, embodiment 1, a kind of cloud system server state management map method, which is characterized in that the cloud
System includes multiple cloud computing servers, status map management server and multiple standby servers, wherein status map management
Server connects above-mentioned multiple cloud computing servers and above-mentioned backup server, for managing above-mentioned multiple cloud computing servers
State, this method comprises the following steps:
(1) status map management server obtains the actual physical address of multiple cloud computing servers;
(2) the display end generation server state management map of status map management server, each Computer Service
Device and redundant computer mark each calculating in corresponding map location, the computer cluster according to actual physical address
The computer server icon representation of server same shape, and be distinguished with different computer server marks, institute
The redundant computer icon representation of redundant computer same shape is stated, and is distinguished with different redundant computer marks;
(3) status map management server monitors whether above-mentioned multiple cloud computing servers are abnormal in real time;
(4) it is abnormal if status map management server has monitored cloud computing server, in server state
Abnormal marking is carried out to the above-mentioned cloud computing server being abnormal on management map.
Embodiment 2, this method comprises the following steps:
(1) status visualization management server classifies to multiple cloud computing servers.
In one embodiment, according to multiple cloud computing servers calculate, storage and communication aspects different performance
It is divided into calculation type server, storage-type server and communication type service device, setup algorithm threshold value stores threshold value and communication threshold,
Calculation type server subject to judging if the computing capability of calculation server is being calculated on threshold value, the computing capability of server
It can be weighed with the quantity of every server processing request per second;If the storage capacity of calculation server storage threshold value it
On then judge subject to storage-type server, the storage capacity of server can weigh with the hard disc storage capacity of every server
Amount;Communication type service device subject to judging if the communication capacity of calculation server is on communication threshold, the communication of server
Ability can send and receive quantity or the rate of information throughout of data packet with every server to weigh within the unit interval
Amount.
If server be only judged subject to one in calculation type, storage-type or communication type service device, by above-mentioned clothes
Business device is classified as corresponding calculation type, storage-type or communication type service device.
If server be judged subject in calculation type, storage-type or communication type service device at least two, i.e. server
Storage capacity, communication capacity or computing capability both be at least more than respective threshold, then which aspect of performance to be more than phase according to
The ratio highest of threshold value is answered, then is respective server by classification server.
Such as server storage ability, beyond storage threshold value 20%, computing capability is beyond calculating threshold value 30%, communication capacity
Beyond communication threshold 40%, i.e., the server be first judged subject to calculation type, storage-type and communication type service device, and due to logical
Letter ability exceeds 40% highest of ratio of communication threshold, and most the classification server is communication type service device at last.
(2) status visualization management server obtains the actual physical address of multiple cloud computing servers.
In one embodiment, the multiple cloud computing server determines it by the GPS module unit being arranged inside
Residing actual physical address, and send above-mentioned actual physical address to above-mentioned status visualization management server.
(3) status visualization management server is according to the above-mentioned actual physical address of acquisition, by multiple cloud computing servers
The computer cluster being divided into several regions, the physics between each computer in computer cluster in the region
Distance is in predetermined threshold range.
(4) standby server is set in above-mentioned each region.
In one embodiment, the standby server may be provided at one in the computer cluster in each region
Computer location vicinity.
(5) the display end generation server state management map of status visualization management server.
In one embodiment, label has multiple regions, each region on the server state management map
Each computer server and redundant computer in interior computer cluster are marked according to actual physical address accordingly
Figure position, the computer server icon representation of each calculation server same shape in the computer cluster, and use
Different computer server marks are distinguished, the redundant computer icon representation of the redundant computer same shape,
And it is distinguished with different redundant computer marks.
(6) status visualization management server monitors whether above-mentioned multiple cloud computing servers are abnormal in real time.
(7) status visualization management server is monitored if there is cloud computing server is abnormal, then in server shape
Abnormal marking, and selection and determining backup server are carried out to the above-mentioned cloud computing server being abnormal on state management map.
In one embodiment, abnormal marking can represent that different types of exception is different with an abnormal mark
Abnormal mark carries out difference expression, and the exception includes one in abnormal processing, communication abnormality and the abnormal three types of storage.
Further,
(7-1) is abnormal when status visualization management server monitors a cloud computing server, then:
(7-1-1) carries out abnormal mark on server state management map to the above-mentioned cloud computing server being abnormal
Note;
(7-1-2) determines the type for the cloud computing server being abnormal, and the type is calculation type server, storage-type
One in server and communication type service device;
(7-1-3) determines the cluster regions where the cloud computing server being abnormal;
(7-1-4) one no exceptions of selection from multiple cloud computing servers in determining above-mentioned cluster regions
Server is as backup server, wherein selected backup server and the type phase for the cloud computing server being abnormal
Together;
(7-2) is abnormal when remote status visualized management server monitoring to m cloud computing server, and wherein m >=
2, then:
(7-2-1) carries out above-mentioned m cloud computing server being abnormal on server state management map abnormal
Label;
(7-2-2) determines the respective cluster regions where m cloud computing server being abnormal;
(7-2-3) is located at different cluster regions respectively in case of m abnormal cloud computing server, then from determining
The server of a no exceptions is selected in multiple cloud computing servers in above-mentioned respective cluster regions as backup services
Device, wherein the type of cloud computing server of the selected backup server with being abnormal is identical;
(7-2-4) is located at k cluster regions in case of m abnormal cloud computing server, wherein each cluster regions
In there is n or more cloud computing server to be abnormal, wherein 2≤n≤m, k >=1, then from each cluster in k cluster regions
N-1 cloud computing server of no exceptions is selected in multiple cloud computing servers in region respectively as backup server,
Wherein selected n-1 backup server is identical with the type of n-1 cloud computing server being abnormal, while swashs respectively
Standby server in k cluster regions living is as a backup server in cluster each in above-mentioned k cluster regions.
Assuming that there is 4 cloud computing servers to be abnormal, this 4 abnormal servers are located at 2 cluster regions, each cluster
There are 2 abnormal servers in region, there is 6 calculation servers and a standby server in each cluster regions, determines to occur different
The type of normal server selects the server of 1 no exceptions as a backup server in each cluster regions,
And the type of server is identical with a type in 2 servers being abnormal in the cluster regions, as the type phase
The backup server of the same server being abnormal, for another different types of server being abnormal, then selects
Standby server in the cluster regions is as its backup server.The number of servers being abnormal due to each cluster regions
It is higher (2/6) to account for cluster regions number of servers, therefore selects standby server as backup server rather than selection cluster
In runtime server as backup server, therefore avoid bigger being caused to influence the operation of whole region other servers, carry
High system overall operation efficiency.
(8) to selected backup server into line activating processing, to selected on server state management map
The backup server selected carries out backup server activation tagging.
By the above method, the present invention understands and knows in time the service being abnormal by visual means convenient for user
The Exception Type that physical address where device and server occur, improves the efficiency restored to server exception.
The above is only the better embodiment of the present invention, therefore all constructions according to described in present patent application range,
The equivalent change or modification that feature and principle are done, is included in the range of present patent application.