CN105306594A - Method for managing virtual unit through multiple strategies - Google Patents

Method for managing virtual unit through multiple strategies Download PDF

Info

Publication number
CN105306594A
CN105306594A CN201510799331.0A CN201510799331A CN105306594A CN 105306594 A CN105306594 A CN 105306594A CN 201510799331 A CN201510799331 A CN 201510799331A CN 105306594 A CN105306594 A CN 105306594A
Authority
CN
China
Prior art keywords
virtual machine
robot arm
virtual
virtual unit
pattern
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
Application number
CN201510799331.0A
Other languages
Chinese (zh)
Inventor
胡雨欣
杨松
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201510799331.0A priority Critical patent/CN105306594A/en
Publication of CN105306594A publication Critical patent/CN105306594A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1017Server selection for load balancing based on a round robin mechanism

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of cloud computing, and in particular relates to a method for managing a virtual unit through multiple strategies. The virtual unit is created at first; a virtual unit access manner, which can be an exclusive mode or a sharing mode, is set; the virtual unit in the exclusive mode only supports single user to access by using a spice port protocol; the virtual unit in the sharing mode supports multiple users to access simultaneously; an IP needs to be set in the virtual unit; a rdp protocol remote connection manner is used; the use attribute of the virtual unit can be set when the virtual unit in the exclusive mode is published; when the virtual unit is restarted, a reduction component determines whether the system disk of the virtual unit is reduced or not according to the use attribute; a scheduling strategy of the virtual unit can be set when the virtual unit in the sharing mode is published; and, when a user accesses the virtual unit by using a client side, a scheduling module calls a corresponding scheduling algorithm to return the port and the IP of the virtual unit for client side access according to the set scheduling strategy. According to the invention, the problems that the efficiency and the workload are low due to the manner of singly managing the virtual unit on a cloud platform can be solved; and thus, the method can be used for managing virtual unit on the cloud platform.

Description

A kind of method of many tactical managements virtual robot arm
Technical field
The present invention relates to field of cloud computer technology, particularly a kind of method by many tactical managements virtual robot arm.
Background technology
Cloud platform is by reaching the object of user by client-access virtual machine to the mode of operation of separate unit virtual machine empowerment management for the mode of managing virtual machines.Due to the diversity of user's request, this single Virtual Machine Manager pattern can not meet the demand in market, and can bring following problem:
One is that operation management personnel need the at substantial time for the virtual machine empowerment management to cloud platform, whenever there being user that is newly-increased or that reduce, keeper must create new virtual machine, then licenses to this user, when number of users magnitude is larger, this task will be very heavy;
Two is that original mode can not meet the demand in actual production environment, multi-user being shared simultaneously to a virtual machine, simultaneously user monopolizes the virtual machine of high configuration is also waste to server resource, and cloud platform can not according to the user demand rational allocation resource of user;
In order to alleviate operation maintenance personnel administrative burden, reduction O&M cost, strengthens the abundant Appropriate application of platform resource, improves the compatible degree of products and marketing demand, needs a kind of mode of many tactical managements virtual robot arm.
Summary of the invention
The technical problem that the present invention solves is a kind of method providing many tactical managements virtual robot arm, solves cloud platform separate unit managing virtual machines mode inefficiency, workload large and can not the adjustment of sweetly disposition resource, the problem of personnel's variation.
The technical scheme that the present invention solves the problems of the technologies described above is:
Described method comprises the steps:
Step 1: create a virtual robot arm, arranges virtual robot arm access mode for exclusively enjoying pattern or shared model;
Step 2: access mode, for exclusively enjoying pattern, performs step 3; Access mode is shared model, performs step 4;
Step 3: the virtual robot arm exclusively enjoying pattern is set using attribute, use attribute can be reduction or special;
Step 4: the virtual robot arm of shared model arranges scheduling strategy, comprises poll, minimum session number strategy, adds corresponding scheduler module;
Step 5: the user of mandate logs in client, accesses virtual unit, selecting the virtual robot arm of access for exclusively enjoying pattern, performing step 6; The virtual robot arm selecting access is shared model, performs step 7;
Step 6: access exclusively enjoys the virtual robot arm of pattern, then scheduler module return one not by the virtual machine port numbers of other CUs for client by the connected reference of spice agreement;
Step 7: the virtual robot arm of access shared model, then scheduler module returns port and the long-range connected reference of IP confession client rdp of virtual machine according to dispatching algorithm;
Step 8: terminate.
The described pattern that exclusively enjoys refers to that a virtual machine can only by a CU at synchronization, and shared model refers to that a virtual machine can be accessed by multiple user at synchronization simultaneously.
When described reduction refers to that virtual machine is restarted, reduction assembly is to the restoring operation of virtual machine executive system dish; Special when referring to that virtual machine is restarted, not to the restoring operation of virtual machine executive system dish.
Described scheduler module, when virtual robot arm is for exclusively enjoying pattern, calls and exclusively enjoying strategy, exclusively enjoys strategy and can record by the virtual machine that user uses, and selection one returns to client logs from untapped virtual machine;
Obtain the scheduling strategy that this virtual robot arm is arranged when virtual robot arm is shared model, and call corresponding scheduler module; Scheduling strategy comprises poll pattern, minimum session number pattern; Poll pattern be virtual robot arm with virtual machine in the form preservation group of chained list, scheduler records returned to the virtual machine of client last time, returns next virtual machine, and upgrade the virtual machine record that returns during scheduling next time; Minimum session number pattern is the attribute for platform virtual machine increase session number every in virtual robot arm, and after scheduler returns certain virtual machine, session number attribute increases by 1, during scheduling, according to algorithm, in group, selects minimum the returning of session number virtual machine.
The present invention is by introducing the method for shifty managing virtual unit, simplify the way to manage of cloud platform to virtual robot arm, operation maintenance personnel can realize the user demand of different client by issuing dissimilar virtual robot arm, be applicable to multiple field of cloud calculation such as education cloud, government affairs cloud etc.For there being the exclusive user using virtual machine demand, the virtual robot arm of the pattern of exclusively enjoying can be issued for user; For the scene needing multiple user to share a desktop, as school's multi-media classroom, then the virtual robot arm can issuing shared model is met consumers' demand.Meanwhile, the mode of bulk management virtual machine significantly reduces the administrative burden of operation maintenance personnel relative to the mode that original separate unit manages, reduce O&M cost, enhances the abundant Appropriate application of platform resource.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is that the inventive method creates virtual robot arm flow chart;
Fig. 2 is the inventive method client-access virtual robot arm flow chart.
Embodiment
See shown in Fig. 1,2, first the present invention creates a virtual robot arm, virtual machine is associated with the virtual robot arm of establishment, different according to the value of parameter, the virtual robot arm issued has two kinds of patterns, exclusively enjoy pattern and shared model, and attribute or scheduling strategy be set using to the virtual robot arm of two kinds of patterns:
For the virtual robot arm exclusively enjoying pattern, use following strategy process to obtain the virtual machine list associated, filter out attachable virtual machine and obtain a wherein available virtual machine and return
For the virtual robot arm of shared model, use following strategy process to obtain sharing policy, call corresponding sharing policy module, obtain the virtual machine returned last time under polling schemas, return next virtual machine, and be updated to and return in virtual machine; Minimum session number strategy, returns the virtual machine that session number is minimum, and upgrades session number
Finally, user can log in client, by client-access virtual machine.

Claims (5)

1. a method for the virtual robot arm of tactical management more than, is characterized in that: described method comprises the steps:
Step 1: create a virtual robot arm, arranges virtual robot arm access mode for exclusively enjoying pattern or shared model;
Step 2: access mode, for exclusively enjoying pattern, performs step 3; Access mode is shared model, performs step 4;
Step 3: the virtual robot arm exclusively enjoying pattern is set using attribute, use attribute can be reduction or special;
Step 4: the virtual robot arm of shared model arranges scheduling strategy, comprises poll, minimum session number strategy, adds corresponding scheduler module;
Step 5: the user of mandate logs in client, accesses virtual unit, selecting the virtual robot arm of access for exclusively enjoying pattern, performing step 6; The virtual robot arm selecting access is shared model, performs step 7;
Step 6: access exclusively enjoys the virtual robot arm of pattern, then scheduler module return one not by the virtual machine port numbers of other CUs for client by the connected reference of spice agreement;
Step 7: the virtual robot arm of access shared model, then scheduler module returns port and the long-range connected reference of IP confession client rdp of virtual machine according to dispatching algorithm;
Step 8: terminate.
2. the method for many tactical managements virtual robot arm according to claim 1, it is characterized in that: the described pattern that exclusively enjoys refers to that a virtual machine can only by a CU at synchronization, and shared model refers to that a virtual machine can be accessed by multiple user at synchronization simultaneously.
3. the method for many tactical managements virtual robot arm according to claim 1, is characterized in that: when described reduction refers to that virtual machine is restarted, and reduction assembly is to the restoring operation of virtual machine executive system dish; Special when referring to that virtual machine is restarted, not to the restoring operation of virtual machine executive system dish.
4. the method for many tactical managements virtual robot arm according to claim 2, is characterized in that: when described reduction refers to that virtual machine is restarted, and reduction assembly is to the restoring operation of virtual machine executive system dish; Special when referring to that virtual machine is restarted, not to the restoring operation of virtual machine executive system dish.
5. the method for the many tactical managements virtual robot arm according to any one of Claims 1-4, it is characterized in that: described scheduler module, when virtual robot arm is for exclusively enjoying pattern, call and exclusively enjoy strategy, exclusively enjoy strategy can record by the virtual machine that user uses, and selection one returns to client logs from untapped virtual machine;
Obtain the scheduling strategy that this virtual robot arm is arranged when virtual robot arm is shared model, and call corresponding scheduler module: scheduling strategy comprises poll pattern, minimum session number pattern; Poll pattern be virtual robot arm with virtual machine in the form preservation group of chained list, scheduler records returned to the virtual machine of client last time, returns next virtual machine, and upgrade the virtual machine record that returns during scheduling next time; Minimum session number pattern is the attribute for platform virtual machine increase session number every in virtual robot arm, and after scheduler returns certain virtual machine, session number attribute increases by 1, during scheduling, according to algorithm, in group, selects minimum the returning of session number virtual machine.
CN201510799331.0A 2015-11-19 2015-11-19 Method for managing virtual unit through multiple strategies Pending CN105306594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510799331.0A CN105306594A (en) 2015-11-19 2015-11-19 Method for managing virtual unit through multiple strategies

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510799331.0A CN105306594A (en) 2015-11-19 2015-11-19 Method for managing virtual unit through multiple strategies

Publications (1)

Publication Number Publication Date
CN105306594A true CN105306594A (en) 2016-02-03

Family

ID=55203336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510799331.0A Pending CN105306594A (en) 2015-11-19 2015-11-19 Method for managing virtual unit through multiple strategies

Country Status (1)

Country Link
CN (1) CN105306594A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106650425A (en) * 2016-12-06 2017-05-10 中国联合网络通信集团有限公司 Method and device for controlling security sandbox

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132362A1 (en) * 2003-12-10 2005-06-16 Knauerhase Robert C. Virtual machine management using activity information
CN102291452A (en) * 2011-08-09 2011-12-21 北京星网锐捷网络技术有限公司 Virtual machine management method, cloud management server and cloud system based on cloud strategy
CN102841759A (en) * 2012-05-10 2012-12-26 天津兆民云计算科技有限公司 Memory system for ultra-large virtual machine cluster
CN103118115A (en) * 2013-02-04 2013-05-22 中国科学院信息工程研究所 Cloud computing user oriented method and cloud computing user oriented device for managing virtual machines
CN103473065A (en) * 2013-09-18 2013-12-25 国云科技股份有限公司 Virtual machine creation method capable of rapidly restoring system disk
CN103902489A (en) * 2012-12-27 2014-07-02 索尼电脑娱乐美国公司 Methods and Systems for Generation and Execution of Miniapp of Computer Application Served by Cloud Computing System
CN104168323A (en) * 2013-08-26 2014-11-26 天津书生投资有限公司 Cloud service system and method
CN104331375A (en) * 2014-10-29 2015-02-04 中国建设银行股份有限公司 Shared virtualized resource management method and shared virtualized resource management device under shared virtualized resource pool environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132362A1 (en) * 2003-12-10 2005-06-16 Knauerhase Robert C. Virtual machine management using activity information
CN102291452A (en) * 2011-08-09 2011-12-21 北京星网锐捷网络技术有限公司 Virtual machine management method, cloud management server and cloud system based on cloud strategy
CN102841759A (en) * 2012-05-10 2012-12-26 天津兆民云计算科技有限公司 Memory system for ultra-large virtual machine cluster
CN103902489A (en) * 2012-12-27 2014-07-02 索尼电脑娱乐美国公司 Methods and Systems for Generation and Execution of Miniapp of Computer Application Served by Cloud Computing System
CN103118115A (en) * 2013-02-04 2013-05-22 中国科学院信息工程研究所 Cloud computing user oriented method and cloud computing user oriented device for managing virtual machines
CN104168323A (en) * 2013-08-26 2014-11-26 天津书生投资有限公司 Cloud service system and method
CN103473065A (en) * 2013-09-18 2013-12-25 国云科技股份有限公司 Virtual machine creation method capable of rapidly restoring system disk
CN104331375A (en) * 2014-10-29 2015-02-04 中国建设银行股份有限公司 Shared virtualized resource management method and shared virtualized resource management device under shared virtualized resource pool environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106650425A (en) * 2016-12-06 2017-05-10 中国联合网络通信集团有限公司 Method and device for controlling security sandbox
CN106650425B (en) * 2016-12-06 2019-08-09 中国联合网络通信集团有限公司 A kind of control method and device of security sandbox

Similar Documents

Publication Publication Date Title
CA2892889C (en) Scaling computing clusters
US10152577B2 (en) Cross tenant data access
CN104391868B (en) The device and method of dynamic page static
CN107979635A (en) System, method and storage medium based on micro services
CA2386272A1 (en) Collaborative design
CN102937911B (en) The management method and system of resources of virtual machine
CN105450705B (en) Business data processing method and equipment
CN102685246A (en) Household design method and system based on cloud design
Pluzhnik et al. Optimal control of applications for hybrid cloud services
US9087322B1 (en) Adapting service provider products for multi-tenancy using tenant-specific service composition functions
CN106412030B (en) A kind of selection storage resource method, apparatus and system
CN102647456A (en) Method and system for building desktop cloud
CN102611754A (en) Management method of client in cloud storage based on iSCSI (internet small computer system interface)
CN108074210B (en) Object acquisition system and method for cloud rendering
CN102081656A (en) Data acquisition and distribution system of cross-platform heterogeneous database
FR2977421B1 (en) METHOD FOR ASSIGNING LOGICAL ADDRESSES TO THE CONNECTING PORTS OF EQUIPMENT OF A CLUSTER OF SERVERS, COMPUTER PROGRAM AND CLUSTER OF CORRESPONDING SERVERS
CN106716405A (en) System, method and computer program product for injecting directly into a web browser commands and/or contents created on local desktop applications of a computer device, and vice-versa
CN101771703A (en) Information service system and method
CN103235813A (en) Ufida financial core system and activity based costing system data synchronization method
CN109753501A (en) A kind of data display method of off-line state, device, equipment and storage medium
CN105306594A (en) Method for managing virtual unit through multiple strategies
CN102542368B (en) Cache system access method and device
CN104506630B (en) Permissions data generation method, server and system based on user role
CN108696559B (en) Stream processing method and device
CN103034647A (en) Excel data import based on multi-threading technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160203