CN104022917B - Cloud bridge monitoring method - Google Patents
Cloud bridge monitoring method Download PDFInfo
- Publication number
- CN104022917B CN104022917B CN201410271928.3A CN201410271928A CN104022917B CN 104022917 B CN104022917 B CN 104022917B CN 201410271928 A CN201410271928 A CN 201410271928A CN 104022917 B CN104022917 B CN 104022917B
- Authority
- CN
- China
- Prior art keywords
- cloud server
- network
- address
- speed
- networks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of cloud bridge monitoring method, client is set first, described client is connected by communication network with the Cloud Server cluster of the Cloud Server formation of more than two operation linux operating systems, be stored with the blocks of files of segmentation respectively on Cloud Server, these blocks of files, which combine, constitutes each self-corresponding file, described client, which is provided with foreground detection module, described Cloud Server, is provided with backstage detection module, and IB network connections are also passed through between described Cloud Server;And avoided in the prior art by the monitoring method of subsequent step toward thus have impact on the defect of the monitoring effect of Cloud Server once going wrong and being often difficult to be the discovery which Cloud Server there is a problem in real time.
Description
Technical field
The invention belongs to cloud bridge technical field, and in particular to a kind of cloud bridge monitoring method.
Background technology
Present distributed file system, is exactly often by will respectively be deposited according to certain organizational form after file division
Storage is in different Cloud Servers, and this different Cloud Server constitutes Cloud Server cluster, and then client carries out related
Access, but be due to relatively independent framework, once go wrong, it tends to be difficult to which Cloud Server be the discovery that in real time
It there is a problem, have impact on the monitoring effect of Cloud Server.
The content of the invention
It is an object of the invention to provide a kind of cloud bridge monitoring method, client is set first, described client passes through communication
Network is connected with the Cloud Server cluster of the Cloud Server formation of more than two operation linux operating systems, in cloud service
Be stored with the blocks of files of segmentation respectively on device, and these blocks of files, which combine, constitutes each self-corresponding file, described client
End, which is provided with foreground detection module, described Cloud Server, is provided with backstage detection module, between described Cloud Server also
Pass through IB network connections;And avoided and be often difficult to toward once going wrong in the prior art by the monitoring method of subsequent step
It is the discovery which Cloud Server there is a problem in real time and thus have impact on the defect of the monitoring effect of Cloud Server.
In order to overcome deficiency of the prior art, the invention provides a kind of solution of cloud bridge monitoring method, specifically
It is as follows:
A kind of cloud bridge monitoring method, step is as follows:
Step 1:Client 1 is set first, and described client 1 is by communication network 2 with more than two operation linux
The Cloud Server cluster of the formation of Cloud Server 3 of operating system is connected, the file for the segmentation that is stored with respectively on Cloud Server 3
Block, these blocks of files, which combine, constitutes each self-corresponding file, and described client 1 is provided with foreground detection module 4, institute
It is provided between backstage detection module 5, described Cloud Server 3 and is also connected by IB networks 6 on the Cloud Server 3 stated;
Step 2:Backstage detection module 5 according to timing the linux operating systems run on Cloud Server 3 of being spaced in
The CPU that the host name, the IP address of Cloud Server 3, Cloud Server 3 of the Cloud Server 3 are obtained in shell scripts is utilized
Rate, total memory size of Cloud Server 3, Cloud Server 3 use memory size, the network of the place communication network 2 of Cloud Server 3
Speed uplink, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6 and IB networks 6
Network downstream speed, Cloud Server 3 whether in the cluster, the NFS of the disk utilization of Cloud Server 3 and Cloud Server 3
Service state, the SMB service states of Cloud Server 3 and Floating IP address state, obtain host name, the cloud clothes of the Cloud Server 3
The be engaged in IP address of device 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3 has used internal memory
Size, the network uplink speed of the place communication network 2 of Cloud Server 3, the network downstream speed of the place communication network 2 of Cloud Server 3
Degree, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 whether in the cluster, Cloud Server
3 disk utilization and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3 and Floating IP address state
After such supplemental characteristic, backstage detection module 5 is just the time storage of these supplemental characteristics of described supplemental characteristic and acquisition
It is packed into the memory space of Cloud Server 3 and simultaneously described supplemental characteristic with the time for obtaining these supplemental characteristics
Supplemental characteristic bag is sent in client 1;
Step 3:After client 1 receives supplemental characteristic bag, start the supplemental characteristic bag progress of 4 pairs of foreground detection module
Parsing, obtains the host name of Cloud Server 3, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, cloud clothes after parsing
Total memory size of business device 3, the network uplink with memory size, the place communication network 2 of Cloud Server 3 of Cloud Server 3 are fast
Under degree, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6, the network of IB networks 6
Scanning frequency degree, Cloud Server 3 whether in the cluster, the NFS service states of the disk utilization of Cloud Server 3 and Cloud Server 3,
SMB service states, Floating IP address state and the time for obtaining these supplemental characteristics of Cloud Server 3, then Cloud Server 3
Host name, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3
With memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, Cloud Server 3 place communication network 2
Whether network downstream speed, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 are in cluster
In, it is the NFS service states of the disk utilization of Cloud Server 3 and Cloud Server 3, the SMB service states of Cloud Server 3, floating
Dynamic IP states and the time showings of these supplemental characteristics is obtained out to be monitored;
Step 4:In addition when needing to obtain the real-time parameter data of Cloud Server 3, foreground detection module 4 just constructs real-time
Supplemental characteristic request data package, described real-time parameter data request data bag includes the cloud clothes for needing to obtain real-time parameter data
Be engaged in the IP address and identifier for real-time parameter request of data of device 3, it is described the need for obtain the cloud clothes of real-time parameter data
The IP address of business device 3 is destination address;
Step 5:Then foreground detection module 4 is sent to the real-time parameter data request data bag purpose in step 4
In Cloud Server 3 corresponding to address, then backstage detection module 5 is just solved to the real-time parameter data request data bag
Analysis, obtains the identifier for real-time parameter request of data after parsing, the mark of real-time parameter request of data is used for further according to this
Symbol obtained from the shell scripts for the linux operating systems run on Cloud Server 3 Cloud Server 3 host name,
The IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3 have been used
Under memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the network of the place communication network 2 of Cloud Server 3
Scanning frequency degree, the network downstream speed of the network uplink speed of IB networks 6 and IB networks 6, Cloud Server 3 whether in the cluster, cloud
The disk utilization of server 3 and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3 and floating
IP states, then utilize the CPU of the host name, the IP address of Cloud Server 3, Cloud Server 3 of the Cloud Server 3 got
Rate, total memory size of Cloud Server 3, Cloud Server 3 use memory size, the network of the place communication network 2 of Cloud Server 3
Speed uplink, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6 and IB networks 6
Network downstream speed, Cloud Server 3 whether in the cluster, the NFS of the disk utilization of Cloud Server 3 and Cloud Server 3
Service state, the SMB service states of Cloud Server 3 and Floating IP address state carry out being packed into real-time parameter data response data
Bag;
Step 6:Real-time parameter data response data packet is then sent back client 1, such foreground by backstage detection module 5
4 pairs of the detection module real-time parameter data response data packet is parsed, and the main frame of real-time Cloud Server 3 is obtained after parsing
Name, total memory size of the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, Cloud Server 3, Cloud Server 3 are
With memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the place communication network 2 of Cloud Server 3 network
Downstream rate, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 whether in the cluster, cloud
The disk utilization of server 3 and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3 and floating
IP states, host name then Cloud Server 3, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, cloud service
Total memory size of device 3, Cloud Server 3 with memory size, the network uplink speed of the place communication network 2 of Cloud Server 3,
The network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6, the network downstream of IB networks 6
Speed, Cloud Server 3 whether in the cluster, NFS service states, the cloud of the disk utilization of Cloud Server 3 and Cloud Server 3
The SMB service states of server 3, Floating IP address state obtain the time showings of these supplemental characteristics out to be supervised
Control;
Step 7:In addition when needing to obtain the supplemental characteristic of the memory space described in Cloud Server 3, foreground detection mould
Block 4 is just configured to the supplemental characteristic request data package of memory space, the described supplemental characteristic number of request for memory space
Asked according to the IP address of Cloud Server 3 of the bag including needing to obtain real-time parameter data and for the supplemental characteristic for memory space
The identifier asked, it is described the need for obtain memory space the IP address of Cloud Server 3 of supplemental characteristic be destination address;
Step 8:Then the supplemental characteristic request data package for being used for memory space is sent to step by foreground detection module 4
In Cloud Server 3 corresponding to destination address in 7, then backstage detection module 5 is just used for the parameter number of memory space to this
Parsed according to request data package, the identifier of the supplemental characteristic request for memory space is obtained after parsing, further according to the use
The identifier asked in the supplemental characteristic of memory space obtains the main frame of the Cloud Server 3 from the memory space of supplemental characteristic
Name, total memory size of the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, Cloud Server 3, Cloud Server 3 are
With memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the place communication network 2 of Cloud Server 3 network
Downstream rate, the network downstream speed of the network uplink speed of IB networks 6 and IB networks 6, Cloud Server 3 whether in the cluster,
The disk utilization of Cloud Server 3 and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3, Floating IP address
The time data of state and the data that get parms, host name then the Cloud Server 3 got, Cloud Server 3
IP address, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3 use memory size, cloud
The network uplink speed of the place communication network 2 of server 3, the network downstream speed of the place communication network 2 of Cloud Server 3, IB nets
The network uplink speed of network 6 and the network downstream speed of IB networks 6, Cloud Server 3 whether in the cluster, the magnetic of Cloud Server 3
Disk utilization rate and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3, Floating IP address state and acquisition
The time data of supplemental characteristic is packed into the supplemental characteristic response data packet for memory space;
Step 9:Supplemental characteristic response data packet for memory space is then sent back client by backstage detection module 5
1, such 4 pairs of foreground detection module supplemental characteristic response data packet for being used for memory space is parsed, and is deposited after parsing
Store up the host name of Cloud Server 3 in space, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, Cloud Server 3
Total memory size, the memory size of use, the network uplink speed of the place communication network 2 of Cloud Server 3, the cloud of Cloud Server 3 take
Be engaged in the network downstream speed of the place communication network 2 of device 3, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6,
Cloud Server 3 whether in the cluster, the NFS service states of the disk utilization of Cloud Server 3, Cloud Server 3, Cloud Server 3
SMB service states, Floating IP address state and the time for obtaining these supplemental characteristics, then the Cloud Server of the memory space
3 host name, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, cloud service
Device 3 use memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the place communication network 2 of Cloud Server 3
Network downstream speed, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 whether collection
In group, the NFS service states of the disk utilization of Cloud Server 3 and Cloud Server 3, the SMB service states of Cloud Server 3,
Floating IP address state obtains the time showing of these supplemental characteristics out to be monitored;
Step 10:If foreground detection module 4 have sent the request data package for detection to Cloud Server 3, cloud service
Device 3 is not responded to, and foreground detection module 4 just sends request data package for detection to Cloud Server 3 five times to seven times repeatedly,
If do not responded yet, foreground detection module 4 is issued by network failure information to show.
Described client 1 is computer or handheld terminal.
Backstage detection module 5 just stores described supplemental characteristic into the database in the memory space of Cloud Server 3,
The database is provided with the host name entry of Cloud Server 3, the IP address entry of Cloud Server 3, the CPU of Cloud Server 3 and utilized
It is logical where rate entry, total memory size entry of Cloud Server 3, the entry of use memory size of Cloud Server 3, Cloud Server 3
The network uplink speed entry of communication network 2, the network downstream speed entry of the place communication network 2 of Cloud Server 3, IB networks 6
Network uplink speed entry, the network downstream speed entry of IB networks 6, Cloud Server 3 whether in the cluster entry, Cloud Server
It is 3 disk utilization entry and the NFS service states entry of Cloud Server 3, the SMB service states entry of Cloud Server 3, floating
The time entry of dynamic IP state entries and the data that get parms, the host name entry of described Cloud Server 3, Cloud Server 3
IP address entry, the cpu busy percentage entry of Cloud Server 3, total memory size entry of Cloud Server 3, Cloud Server 3
With memory size entry, the network uplink speed entry of the place communication network 2 of Cloud Server 3, the place communication network of Cloud Server 3
2 network downstream speed entry, the network uplink speed entry of IB networks 6, the network downstream speed entry of IB networks 6, cloud clothes
The NFS service state bars for the device 3 whether in the cluster entry, the disk utilization entry of Cloud Server 3 and Cloud Server 3 of being engaged in
Mesh, the SMB service states entry of Cloud Server 3, the time entry of Floating IP address state entry and the data that get parms are used respectively
The CPU for coming the host name, the IP address of Cloud Server 3, Cloud Server 3 of the Cloud Server 3 acquired in storing step 2 is utilized
Rate, total memory size of Cloud Server 3, Cloud Server 3 use memory size, the network of the place communication network 2 of Cloud Server 3
Speed uplink, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6, IB networks 6
Network downstream speed, Cloud Server 3 whether in the cluster, the NFS clothes of the disk utilization of Cloud Server 3 and Cloud Server 3
The time data of business state, the SMB service states of Cloud Server 3 and Floating IP address state and the data that get parms.
The IP address of described Cloud Server 3 is with including the management ip address of Cloud Server 3, the business IP of Cloud Server 3
Location or the IP address of IB networks 6.
Identification code for the identifier of real-time parameter request of data is unique.
Using such scheme of the present invention, so by the interaction of foreground detection module 4 and backstage detection module, with regard to energy
Completion uses CPU usage, memory usage, network traffics, the hard disk of corresponding real-time or historical Cloud Server
The parameter of situation is shown, reaches the purpose detected in real time.
Brief description of the drawings
Fig. 1 is the theory structure schematic diagram of the cloud bridge monitoring method of the present invention.
Embodiment
The content of the invention is described further below in conjunction with the accompanying drawings:
Shown in reference picture 1, cloud bridge monitoring method, step is as follows:
Step 1:Client 1 is set first, and described client 1 is by communication network 2 with more than two operation linux
The Cloud Server cluster of the formation of Cloud Server 3 of operating system is connected, the file for the segmentation that is stored with respectively on Cloud Server 3
Block, these blocks of files, which combine, constitutes each self-corresponding file, and described client 1 is provided with foreground detection module 4, institute
It is provided between backstage detection module 5, described Cloud Server 3 and is also connected by IB networks 6 on the Cloud Server 3 stated;
Step 2:Backstage detection module 5 according to timing the linux operating systems run on Cloud Server 3 of being spaced in
The CPU that the host name, the IP address of Cloud Server 3, Cloud Server 3 of the Cloud Server 3 are obtained in shell scripts is utilized
Rate, total memory size of Cloud Server 3, Cloud Server 3 use memory size, the network of the place communication network 2 of Cloud Server 3
Speed uplink, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6 and IB networks 6
Network downstream speed, Cloud Server 3 whether in the cluster, the NFS of the disk utilization of Cloud Server 3 and Cloud Server 3
Service state, the SMB service states of Cloud Server 3 and Floating IP address state, obtain host name, the cloud clothes of the Cloud Server 3
The be engaged in IP address of device 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3 has used internal memory
Size, the network uplink speed of the place communication network 2 of Cloud Server 3, the network downstream speed of the place communication network 2 of Cloud Server 3
Degree, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 whether in the cluster, Cloud Server
3 disk utilization and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3 and Floating IP address state
After such supplemental characteristic, backstage detection module 5 is just the time storage of these supplemental characteristics of described supplemental characteristic and acquisition
It is packed into the memory space of Cloud Server 3 and simultaneously described supplemental characteristic with the time for obtaining these supplemental characteristics
Supplemental characteristic bag is sent in client 1;
Step 3:After client 1 receives supplemental characteristic bag, start the supplemental characteristic bag progress of 4 pairs of foreground detection module
Parsing, obtains the host name of Cloud Server 3, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, cloud clothes after parsing
Total memory size of business device 3, the network uplink with memory size, the place communication network 2 of Cloud Server 3 of Cloud Server 3 are fast
Under degree, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6, the network of IB networks 6
Scanning frequency degree, Cloud Server 3 whether in the cluster, the NFS service states of the disk utilization of Cloud Server 3 and Cloud Server 3,
SMB service states, Floating IP address state and the time for obtaining these supplemental characteristics of Cloud Server 3, then Cloud Server 3
Host name, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3
With memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, Cloud Server 3 place communication network 2
Whether network downstream speed, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 are in cluster
In, it is the NFS service states of the disk utilization of Cloud Server 3 and Cloud Server 3, the SMB service states of Cloud Server 3, floating
IP states and the time showing for obtaining these supplemental characteristics are moved out to be monitored, thus can periodically be reached to cloud
The monitoring function of server;
Step 4:In addition when needing to obtain the real-time parameter data of Cloud Server 3, foreground detection module 4 just constructs real-time
Supplemental characteristic request data package, described real-time parameter data request data bag includes the cloud clothes for needing to obtain real-time parameter data
Be engaged in the IP address and identifier for real-time parameter request of data of device 3, it is described the need for obtain the cloud clothes of real-time parameter data
The IP address of business device 3 is destination address;
Step 5:Then foreground detection module 4 is sent to the real-time parameter data request data bag purpose in step 4
In Cloud Server 3 corresponding to address, then backstage detection module 5 is just solved to the real-time parameter data request data bag
Analysis, obtains the identifier for real-time parameter request of data after parsing, the mark of real-time parameter request of data is used for further according to this
Symbol obtained from the shell scripts for the linux operating systems run on Cloud Server 3 Cloud Server 3 host name,
The IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3 have been used
Under memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the network of the place communication network 2 of Cloud Server 3
Scanning frequency degree, the network downstream speed of the network uplink speed of IB networks 6 and IB networks 6, Cloud Server 3 whether in the cluster, cloud
The disk utilization of server 3 and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3 and floating
IP states, then utilize the CPU of the host name, the IP address of Cloud Server 3, Cloud Server 3 of the Cloud Server 3 got
Rate, total memory size of Cloud Server 3, Cloud Server 3 use memory size, the network of the place communication network 2 of Cloud Server 3
Speed uplink, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6 and IB networks 6
Network downstream speed, Cloud Server 3 whether in the cluster, the NFS of the disk utilization of Cloud Server 3 and Cloud Server 3
Service state, the SMB service states of Cloud Server 3 and Floating IP address state carry out being packed into real-time parameter data response data
Bag;
Step 6:Real-time parameter data response data packet is then sent back client 1, such foreground by backstage detection module 5
4 pairs of the detection module real-time parameter data response data packet is parsed, and the main frame of real-time Cloud Server 3 is obtained after parsing
Name, total memory size of the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, Cloud Server 3, Cloud Server 3 are
With memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the place communication network 2 of Cloud Server 3 network
Downstream rate, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 whether in the cluster, cloud
The disk utilization of server 3 and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3 and floating
IP states, host name then Cloud Server 3, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, cloud service
Total memory size of device 3, Cloud Server 3 with memory size, the network uplink speed of the place communication network 2 of Cloud Server 3,
The network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6, the network downstream of IB networks 6
Speed, Cloud Server 3 whether in the cluster, NFS service states, the cloud of the disk utilization of Cloud Server 3 and Cloud Server 3
The SMB service states of server 3, Floating IP address state obtain the time showings of these supplemental characteristics out to be supervised
Control, this ensures that actively monitoring in real time;
Step 7:In addition when needing to obtain the supplemental characteristic of the memory space described in Cloud Server 3, foreground detection mould
Block 4 is just configured to the supplemental characteristic request data package of memory space, the described supplemental characteristic number of request for memory space
Asked according to the IP address of Cloud Server 3 of the bag including needing to obtain real-time parameter data and for the supplemental characteristic for memory space
The identifier asked, it is described the need for obtain memory space the IP address of Cloud Server 3 of supplemental characteristic be destination address;
Step 8:Then the supplemental characteristic request data package for being used for memory space is sent to step by foreground detection module 4
In Cloud Server 3 corresponding to destination address in 7, then backstage detection module 5 is just used for the parameter number of memory space to this
Parsed according to request data package, the identifier of the supplemental characteristic request for memory space is obtained after parsing, further according to the use
The identifier asked in the supplemental characteristic of memory space obtains the main frame of the Cloud Server 3 from the memory space of supplemental characteristic
Name, total memory size of the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, Cloud Server 3, Cloud Server 3 are
With memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the place communication network 2 of Cloud Server 3 network
Downstream rate, the network downstream speed of the network uplink speed of IB networks 6 and IB networks 6, Cloud Server 3 whether in the cluster,
The disk utilization of Cloud Server 3 and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3, Floating IP address
The time data of state and the data that get parms, host name then the Cloud Server 3 got, Cloud Server 3
IP address, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, Cloud Server 3 use memory size, cloud
The network uplink speed of the place communication network 2 of server 3, the network downstream speed of the place communication network 2 of Cloud Server 3, IB nets
The network uplink speed of network 6 and the network downstream speed of IB networks 6, Cloud Server 3 whether in the cluster, the magnetic of Cloud Server 3
Disk utilization rate and the NFS service states of Cloud Server 3, the SMB service states of Cloud Server 3, Floating IP address state and acquisition
The time data of supplemental characteristic is packed into the supplemental characteristic response data packet for memory space;
Step 9:Supplemental characteristic response data packet for memory space is then sent back client by backstage detection module 5
1, such 4 pairs of foreground detection module supplemental characteristic response data packet for being used for memory space is parsed, and is deposited after parsing
Store up the host name of Cloud Server 3 in space, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, Cloud Server 3
Total memory size, the memory size of use, the network uplink speed of the place communication network 2 of Cloud Server 3, the cloud of Cloud Server 3 take
Be engaged in the network downstream speed of the place communication network 2 of device 3, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6,
Cloud Server 3 whether in the cluster, the NFS service states of the disk utilization of Cloud Server 3, Cloud Server 3, Cloud Server 3
SMB service states, Floating IP address state and the time for obtaining these supplemental characteristics, then the Cloud Server of the memory space
3 host name, the IP address of Cloud Server 3, the cpu busy percentage of Cloud Server 3, total memory size of Cloud Server 3, cloud service
Device 3 use memory size, the network uplink speed of the place communication network 2 of Cloud Server 3, the place communication network 2 of Cloud Server 3
Network downstream speed, the network uplink speed of IB networks 6, the network downstream speed of IB networks 6, Cloud Server 3 whether collection
In group, the NFS service states of the disk utilization of Cloud Server 3 and Cloud Server 3, the SMB service states of Cloud Server 3,
Floating IP address state or obtain these supplemental characteristics time showing out to be monitored, this ensures that land parcel change trace
The monitoring to Cloud Server;
Step 10:If foreground detection module 4 have sent the request data package for detection to Cloud Server 3, cloud service
Device 3 is not responded to, and foreground detection module 4 just sends request data package for detection to Cloud Server 3 five times to seven times repeatedly,
If do not responded yet, foreground detection module 4 is issued by network failure information to show.Described client 1 be computer or
Handheld terminal.Backstage detection module 5 is just described supplemental characteristic storage to the database in the memory space of Cloud Server 3
In, the database is provided with the host name entry of Cloud Server 3, the IP address entry of Cloud Server 3, the CPU profits of Cloud Server 3
With rate entry, total memory size entry of Cloud Server 3, Cloud Server 3 with where memory size entry, Cloud Server 3
The network uplink speed entry of communication network 2, the network downstream speed entry of the place communication network 2 of Cloud Server 3, IB networks 6
Network uplink speed entry, the network downstream speed entry of IB networks 6, Cloud Server 3 whether in the cluster entry, cloud service
The disk utilization entry of device 3 and the NFS service states entry of Cloud Server 3, the SMB service states entry of Cloud Server 3,
The time entry of Floating IP address state entry and the data that get parms, the host name entry of described Cloud Server 3, Cloud Server
3 IP address entry, the cpu busy percentage entry of Cloud Server 3, total memory size entry of Cloud Server 3, Cloud Server 3
Memory size entry, the network uplink speed entry of the place communication network 2 of Cloud Server 3, the place communication network of Cloud Server 3 are used
The network downstream speed entry of network 2, the network uplink speed entry of IB networks 6, the network downstream speed entry of IB networks 6, cloud
The NFS service state bars of server 3 whether in the cluster entry, the disk utilization entry of Cloud Server 3 and Cloud Server 3
Mesh, the SMB service states entry of Cloud Server 3, the time entry of Floating IP address state entry and the data that get parms are used respectively
The CPU for coming the host name, the IP address of Cloud Server 3, Cloud Server 3 of the Cloud Server 3 acquired in storing step 2 is utilized
Rate, total memory size of Cloud Server 3, Cloud Server 3 use memory size, the network of the place communication network 2 of Cloud Server 3
Speed uplink, the network downstream speed of the place communication network 2 of Cloud Server 3, the network uplink speed of IB networks 6, IB networks 6
Network downstream speed, Cloud Server 3 whether in the cluster, the NFS clothes of the disk utilization of Cloud Server 3 and Cloud Server 3
The time data of business state, the SMB service states of Cloud Server 3 and Floating IP address state and the data that get parms.Described
The IP address of Cloud Server 3 includes the management ip address, the service IP address of Cloud Server 3 or IB networks 6 of Cloud Server 3
IP address.Identification code for the identifier of real-time parameter request of data is unique, and unique identification code can increase parsing
Efficiency, and be unlikely to cause maloperation.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though
So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any to be familiar with this professional technology people
Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification
For the equivalent embodiment of equivalent variations, as long as be without departing from technical solution of the present invention content, according to the technical spirit of the present invention,
Within the spirit and principles in the present invention, any simple modification, equivalent substitution and improvement for being made to above example etc., still
Belong within the protection domain of technical solution of the present invention.
Claims (4)
1. a kind of cloud bridge monitoring method, it is characterised in that step is as follows:
Step 1:Client is set first(1), described client(1)Pass through communication network(2)With more than two operations
The Cloud Server of linux operating systems(3)The Cloud Server cluster of formation is connected, in Cloud Server(3)It is upper to be stored with respectively
The blocks of files of segmentation, these blocks of files, which combine, constitutes each self-corresponding file, described client(1)It is provided with foreground
Detection module(4), described Cloud Server(3)On be provided with backstage detection module(5), described Cloud Server(3)Between also
Pass through IB networks(6)Connection;
Step 2:Backstage detection module(5)Cloud Server is spaced according to timing(3)The linux operating systems of upper operation
The Cloud Server is obtained in shell scripts(3)Host name, Cloud Server(3)IP address, Cloud Server(3)CPU
Utilization rate, Cloud Server(3)Total memory size, Cloud Server 3 use memory size, Cloud Server(3)Place communication network
Network(2)Network uplink speed, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Network
Speed uplink and IB networks(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk profit
With rate and Cloud Server(3)NFS service states, Cloud Server(3)SMB service states and Floating IP address state, obtain
The Cloud Server(3)Host name, Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage, Cloud Server
(3)Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)Place communication network(2)Network on
Scanning frequency degree, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Network uplink speed, IB nets
Network(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk utilization and cloud service
Device(3)NFS service states, Cloud Server(3)SMB service states and Floating IP address state supplemental characteristic after, backstage inspection
Survey module(5)Described supplemental characteristic and the time storage for obtaining these supplemental characteristics are arrived Cloud Server(3)Memory space
In database in and simultaneously described supplemental characteristic and obtain these supplemental characteristics time be packed into supplemental characteristic bag
It is sent to client(1)In, the database is provided with Cloud Server(3)Host name entry, Cloud Server(3)IP address bar
Mesh, Cloud Server(3)Cpu busy percentage entry, Cloud Server(3)Total memory size entry, Cloud Server(3)With interior
Deposit size entry, Cloud Server(3)Place communication network(2)Network uplink speed entry, Cloud Server(3)Place communication network
Network(2)Network downstream speed entry, IB networks(6)Network uplink speed entry, IB networks(6)Network downstream speed bar
Mesh, Cloud Server(3)Whether in the cluster entry, Cloud Server(3)Disk utilization entry and Cloud Server(3)'s
NFS service states entry, Cloud Server(3)SMB service states entry, Floating IP address state entry and the data that get parms
Time entry, described Cloud Server(3)Host name entry, Cloud Server(3)IP address entry, Cloud Server(3)'s
Cpu busy percentage entry, Cloud Server(3)Total memory size entry, Cloud Server(3)Taken with memory size entry, cloud
Business device(3)Place communication network(2)Network uplink speed entry, Cloud Server(3)Place communication network(2)Network downstream
Speed entry, IB networks(6)Network uplink speed entry, IB networks(6)Network downstream speed entry, Cloud Server(3)
Whether in the cluster entry, Cloud Server(3)Disk utilization entry and Cloud Server(3)NFS service states entry,
Cloud Server(3)SMB service states entry, the time entry of Floating IP address state entry and the data that get parms is respectively intended to
The acquired Cloud Server of storage(3)Host name, Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage,
Cloud Server(3)Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)Place communication network(2)
Network uplink speed, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Network uplink speed
Degree, IB networks(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk utilization with
And Cloud Server(3)NFS service states, Cloud Server(3)SMB service states and Floating IP address state and get parms
The time data of data;
Step 3:Work as client(1)Receive after supplemental characteristic bag, start foreground detection module(4)The supplemental characteristic bag is carried out
Parsing, Cloud Server is obtained after parsing(3)Host name, Cloud Server(3)IP address, Cloud Server(3)CPU utilize
Rate, Cloud Server(3)Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)Place communication network
(2)Network uplink speed, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Network on
Scanning frequency degree, IB networks(6)Network downstream speed, Cloud Server(3)Whether in the cluster, the disk utilization of Cloud Server 3
And Cloud Server(3)NFS service states, Cloud Server(3)SMB service states, Floating IP address state and obtain these
The time of supplemental characteristic, then Cloud Server(3)Host name, Cloud Server(3)IP address, Cloud Server(3)CPU
Utilization rate, Cloud Server(3)Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)Place communicates
Network(2)Network uplink speed, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Net
Network speed uplink, IB networks(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk
Utilization rate and Cloud Server(3)NFS service states, Cloud Server(3)SMB service states, Floating IP address state and obtain
The time showing of these supplemental characteristics is taken to come out to be monitored;
Step 4:Working as in addition needs to obtain Cloud Server(3)Real-time parameter data when, foreground detection module(4)Just construct real-time
Supplemental characteristic request data package, described real-time parameter data request data bag includes the cloud clothes for needing to obtain real-time parameter data
Business device(3)IP address and identifier for real-time parameter request of data, it is described the need for obtain the clouds of real-time parameter data
Server(3)IP address be destination address;
Step 5:Then foreground detection module(4)The real-time parameter data request data bag is sent to the destination in step 4
Cloud Server corresponding to location(3)In, backstage detection module(5)Just the real-time parameter data request data bag is parsed,
The identifier for real-time parameter request of data is obtained after parsing, further according to this be used for real-time parameter request of data identifier from
In Cloud Server(3)The Cloud Server is obtained in the shell scripts of the linux operating systems of upper operation(3)Host name,
Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage, Cloud Server(3)Total memory size, Cloud Server
(3)Use memory size, Cloud Server(3)Place communication network(2)Network uplink speed, Cloud Server(3)Place leads to
Communication network(2)Network downstream speed, IB networks(6)Network uplink speed and IB networks(6)Network downstream speed, cloud clothes
Business device(3)Whether in the cluster, the disk utilization and Cloud Server of Cloud Server 3(3)NFS service states, cloud service
Device(3)SMB service states and Floating IP address state, then the Cloud Server got(3)Host name, Cloud Server
(3)IP address, Cloud Server(3)Cpu busy percentage, Cloud Server(3)Total memory size, Cloud Server(3)Used
Memory size, Cloud Server(3)Place communication network(2)Network uplink speed, Cloud Server(3)Place communication network(2)
Network downstream speed, IB networks(6)Network uplink speed and IB networks(6)Network downstream speed, Cloud Server(3)It is
It is no in the cluster, Cloud Server(3)Disk utilization and Cloud Server(3)NFS service states, Cloud Server(3)'s
SMB service states and Floating IP address state carry out being packed into real-time parameter data response data packet;
Step 6:Backstage detection module(5)Real-time parameter data response data packet is then sent back client(1), such foreground
Detection module(4)The real-time parameter data response data packet is parsed, real-time Cloud Server is obtained after parsing(3)Master
Machine name, Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage, Cloud Server(3)Total memory size, cloud clothes
Business device(3)Use memory size, Cloud Server(3)Place communication network(2)Network uplink speed, Cloud Server(3)Institute
In communication network(2)Network downstream speed, IB networks(6)Network uplink speed, IB networks(6)Network downstream speed,
Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk utilization and Cloud Server(3)NFS service states,
Cloud Server(3)SMB service states and Floating IP address state, then Cloud Server(3)Host name, Cloud Server(3)
IP address, Cloud Server(3)Cpu busy percentage, Cloud Server(3)Total memory size, Cloud Server(3)Used internal memory
Size, Cloud Server(3)Place communication network(2)Network uplink speed, Cloud Server(3)Place communication network(2)Net
Network downstream rate, IB networks(6)Network uplink speed, IB networks(6)Network downstream speed, Cloud Server(3)Whether
In cluster, Cloud Server(3)Disk utilization and Cloud Server(3)NFS service states, Cloud Server(3)SMB clothes
Business state, Floating IP address state obtain the time showing of these supplemental characteristics out to be monitored;
Step 7:Working as in addition needs to obtain Cloud Server(3)Described memory space supplemental characteristic when, foreground detection module
(4)Just it is configured to the supplemental characteristic request data package of memory space, the described supplemental characteristic number of request for memory space
Include the Cloud Server for needing to obtain real-time parameter data according to bag(3)IP address and for the supplemental characteristic for memory space
The identifier of request, it is described the need for obtain memory space supplemental characteristic Cloud Server(3)IP address be destination
Location;
Step 8:Then foreground detection module(4)The supplemental characteristic request data package for being used for memory space is sent to step 7
In destination address corresponding to Cloud Server(3)In, then backstage detection module(5)Just it is used for the parameter of memory space to this
Data request data bag is parsed, and the identifier of the supplemental characteristic request for memory space is obtained after parsing, further according to this
The identifier that supplemental characteristic for memory space is asked obtains the Cloud Server from the memory space of supplemental characteristic(3)Master
Machine name, Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage, Cloud Server(3)Total memory size, cloud clothes
Business device(3)Use memory size, Cloud Server(3)Place communication network(2)Network uplink speed, Cloud Server(3)Institute
In communication network(2)Network downstream speed, IB networks(6)Network uplink speed and IB networks(6)Network downstream speed,
Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk utilization and Cloud Server(3)NFS service states,
Cloud Server(3)SMB service states, the time datas of Floating IP address state and the data that get parms, then getting
The Cloud Server(3)Host name, Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage, Cloud Server(3)
Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)Place communication network(2)Network uplink speed
Degree, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Network uplink speed and IB networks
(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk utilization and Cloud Server
(3)NFS service states, Cloud Server(3)SMB service states, the time number of Floating IP address state and the data that get parms
According to the supplemental characteristic response data packet being packed into for memory space;
Step 9:Backstage detection module(5)The supplemental characteristic response data packet for memory space is then sent back client
(1), such foreground detection module(4)The supplemental characteristic response data packet for being used for memory space is parsed, after parsing
To the Cloud Server of memory space(3)Host name, Cloud Server(3)IP address, Cloud Server(3)Cpu busy percentage, cloud
Server(3)Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)Place communication network(2)'s
Network uplink speed, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks(6)Network uplink speed
Degree, IB networks(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)Disk utilization, cloud
Server(3)NFS service states, Cloud Server(3)SMB service states, Floating IP address state and obtain these parameter numbers
According to time, then the Cloud Server of the memory space(3)Host name, Cloud Server(3)IP address, Cloud Server
(3)Cpu busy percentage, Cloud Server(3)Total memory size, Cloud Server(3)Use memory size, Cloud Server(3)
Place communication network(2)Network uplink speed, Cloud Server(3)Place communication network(2)Network downstream speed, IB networks
(6)Network uplink speed, IB networks(6)Network downstream speed, Cloud Server(3)Whether in the cluster, Cloud Server(3)
Disk utilization and Cloud Server(3)NFS service states, Cloud Server(3)SMB service states, Floating IP address state
Or the time showing of these supplemental characteristics is obtained out to be monitored;
Step 10:If foreground detection module(4)The request data package for detection be have sent to Cloud Server(3), cloud service
Device(3)Do not respond to, foreground detection module(4)The request data package for detection is just sent repeatedly to Cloud Server(3)Five times
To seven times, if do not responded yet, foreground detection module(4)Network failure information is issued by show.
2. cloud bridge monitoring method according to claim 1, it is characterised in that described client(1)For computer or hand
Hold terminal.
3. cloud bridge monitoring method according to claim 1, it is characterised in that the IP address of described Cloud Server 3 includes cloud
Server(3)Management ip address, Cloud Server(3)Service IP address or IB networks(6)IP address.
4. cloud bridge monitoring method according to claim 1, it is characterised in that the identifier for real-time parameter request of data
Identification code be unique.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410271928.3A CN104022917B (en) | 2014-06-18 | 2014-06-18 | Cloud bridge monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410271928.3A CN104022917B (en) | 2014-06-18 | 2014-06-18 | Cloud bridge monitoring method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104022917A CN104022917A (en) | 2014-09-03 |
CN104022917B true CN104022917B (en) | 2017-10-27 |
Family
ID=51439499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410271928.3A Active CN104022917B (en) | 2014-06-18 | 2014-06-18 | Cloud bridge monitoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104022917B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107154863A (en) * | 2016-03-04 | 2017-09-12 | 中移(苏州)软件技术有限公司 | A kind of cloud host address monitoring method, cloud platform and proxy server |
CN109462494A (en) * | 2018-09-29 | 2019-03-12 | 深圳市云来网络科技有限公司 | Cloud Server monitoring alarm real-time intelligent analysis and diagnosis method and system |
CN112351051A (en) * | 2019-08-06 | 2021-02-09 | 中兴通讯股份有限公司 | Cloud service processing method and device, cloud server, cloud service processing system and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103650426A (en) * | 2011-05-06 | 2014-03-19 | 思杰系统有限公司 | Systems and methods for cloud bridging between public and private clouds |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546235B (en) * | 2011-12-12 | 2014-08-27 | 华中科技大学 | Performance diagnosis method and system of web-oriented application under cloud computing environment |
CN103118065A (en) * | 2012-11-16 | 2013-05-22 | 佳都新太科技股份有限公司 | Practical and novel network storage system based on cloud computation |
-
2014
- 2014-06-18 CN CN201410271928.3A patent/CN104022917B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103650426A (en) * | 2011-05-06 | 2014-03-19 | 思杰系统有限公司 | Systems and methods for cloud bridging between public and private clouds |
Non-Patent Citations (1)
Title |
---|
"云计算平台中的服务性能监控与分析系统";李端戎;《中国优秀硕士学位论文全文库》;20121231;第二章、第4.1节,图2.1、4.1 * |
Also Published As
Publication number | Publication date |
---|---|
CN104022917A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109376532A (en) | Power network security monitoring method and system based on the analysis of ELK log collection | |
CN102082690B (en) | Passive finding equipment and method of network topology | |
CN103699618B (en) | The generation method and system of data sheet | |
CN107690776A (en) | For the method and apparatus that feature is grouped into the case for having selectable case border in abnormality detection | |
CN109831318A (en) | A kind of system, method and server obtaining network topology | |
CN106100999A (en) | Image network flow control protocol in a kind of virtualized network environment | |
CN106330602A (en) | Method and system for monitoring cloud computing virtual tenant network | |
CN104272657A (en) | Method and apparatus for providing tenant information for network flows | |
CN103152352A (en) | Perfect information security and forensics monitoring method and system based on cloud computing environment | |
JP2012050090A5 (en) | ||
CN110502546A (en) | A kind of data processing method and device | |
CN105072196B (en) | The storage of distributed data packet, retrogressive method and system | |
CN109840533A (en) | A kind of applied topology figure recognition methods and device | |
CN104022917B (en) | Cloud bridge monitoring method | |
CN102611626B (en) | System and method for analyzing network flow | |
CN107241305A (en) | A kind of network protocol analysis system and its analysis method based on polycaryon processor | |
CN106228263A (en) | Materials stream informationization methods based on big data | |
WO2019080232A1 (en) | Task information transmission method and apparatus in workflow system, and computer device | |
CN109981745A (en) | A kind of journal file processing method and server | |
CN103117877A (en) | Automatic network topology generation device based on iterative TTL-IPID data package classification | |
CN109495383A (en) | A kind of data processing method, device, communication system and the network equipment | |
CN103428249B (en) | A kind of Collecting and dealing method of HTTP request bag, system and server | |
CN101741745A (en) | Method and system for identifying application traffic of peer-to-peer network | |
CN113037542B (en) | Cloud network topology construction method based on software defined network | |
CN102136957B (en) | Label switched path monitoring realization method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |