CN104410668A - Virtual machine remote desktop management method suitable for public cloud - Google Patents
Virtual machine remote desktop management method suitable for public cloud Download PDFInfo
- Publication number
- CN104410668A CN104410668A CN201410612240.7A CN201410612240A CN104410668A CN 104410668 A CN104410668 A CN 104410668A CN 201410612240 A CN201410612240 A CN 201410612240A CN 104410668 A CN104410668 A CN 104410668A
- Authority
- CN
- China
- Prior art keywords
- port
- virtual machine
- remote desktop
- host
- management method
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- 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/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
Abstract
The invention relates to the cloud calculating technology field and particularly relates to a virtual machine remote desktop management method suitable for public cloud. According to the method, firstly a server of a cloud platform is taken as a front end and is further distributed with a public network IP, and the server is further equipped with one port mapping tool; after a virtual machine is established on a host computer, a remote desktop port to which the virtual machine is distributed is queried through a tool of a virtualization platform; an unused port is distributed to the front end, a rule is written into the port mapping tool, and all the requests sending to the port at the front end are forwarded to the corresponding remote desktop portion of the host computer; the virtual machine is accessed by utilizing a remote desktop client through the public network, through a mode of a front end public network IP + the distribution port, the remote desktop of the virtual machine can be accessed. The method solves problems of huge remote desktop management IP resource occupation of the public cloud virtual machine and low safety and is applicable to virtual machine remote desktop management of the public cloud.
Description
Technical field
The present invention relates to field of cloud computer technology, refer to a kind of virtual machine remote desktop management method being applicable to publicly-owned cloud especially.
Background technology
In publicly-owned cloud platform, be exactly distribute public network IP to each virtual machine for the optimal management method of virtual machine remote desktop, use corresponding remote desktop client, by the remote desktop of the direct accesses virtual machine of public network IP self.Can public network IP limited amount, this mode is for inapplicable large-scale publicly-owned cloud, and in addition, this mode depends on the network of virtual machine itself, VME operating system do not start complete or remote desktop service does not start time, can not connect.
Said method derives from the remote desktop management method of traditional IDC, be applicable to virtual machine and physical machine simultaneously, in addition, because general virtual platform utilizes the remote desktop of host to carry out managing virtual machines, based on this feature, therefore, generally the step that manages of the special remote desktop for virtual machine is as follows:
1, a public network IP is joined to every platform host;
2, for the remote desktop service end of each virtual machine on host distributes different ports on host;
3, by the mode of " host public network IP+port ", corresponding remote desktop client is used to be connected to the remote desktop of corresponding virtual machine.
Said method compares saving public network IP relative to distributing a public network IP to each virtual machine, can also bring following drawback:
1, every platform host all independent face to public network, once wherein a certain receive attack, all can have influence on the safety of all hosts and its lower virtual machine, under publicly-owned cloud environment, apply said method can cause the fail safe of whole publicly-owned cloud platform to decline;
2, management dispersion, accesses the remote desktop port that each virtual machine all needs to search separately virtual machine belonging to it and use.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of virtual machine remote desktop management method being applicable to publicly-owned cloud, solves that to take public network IP many, the problems such as host fail safe is not high.
The technical scheme that the present invention solves the problems of the technologies described above is:
Comprise the steps:
Step 1: select a publicly-owned cloud platform station server wherein as front end and distribute a public network IP, and a port mapping instrument is installed thereon;
Step 2: host creates after virtual machine, by its remote desktop port be assigned to of tool queries of virtual platform;
Step 3: distribute a untapped port on front end, and in port mapping instrument, write is regular, by all remote desktop port of request forward to the correspondence on host mailing to this port of front end;
Step 4: when using remote desktop client accesses virtual machine on public network, has access to the remote desktop of virtual machine by the mode of " port of front end public network IP+distribution ";
Step 5: after virtual machine is deleted, the mapping ruler that the port mapping instrument of front end finds virtual machine corresponding is also deleted.
The untapped port that described front end is distributed is the general port of 5 figure places, is not the port that special port or system retain.
The open port distributed in described front end; In front of host, end is in same local area network (LAN) simultaneously, and host can follow front end communication.
Described port mapping instrument is newly-increased or come into force after deleting a rule, can not have influence on existing rule.
The beneficial effect of the present invention program is as follows:
1, front-end server of the present invention only needs configuration public network IP, by the desktop of this public network IP remote access to all virtual machines; Only use a public network IP, farthest can save valuable public network IP resource.
2, method of the present invention only has a station server towards public network, as long as carry out to this server the safety system that security protection can improve whole system, is relatively safe implementation.
3, method of the present invention can be managed concentratedly the access port of all virtual machines, can reduce the maintenance workload of keeper.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is flow chart of the present invention.
Embodiment
First, select a wherein station server of publicly-owned cloud platform as front end, be furnished with a public network ip, concrete steps are as follows:
(1) front end download port mapping tool rinetd installing, realizes port mapping/forwarding/be redirected.
#cd/root
#wget http://www.boutell.com/rinetd/http/rinetd.tar.gz
#tar zxvf rinetd.tar.gz
#cd/root/rinetd
#make
#make install
(2) front-end edit/etc/rinetd.conf configuration file, distributes port and configured port mapping ruler.
[root@gcloud17~]#vi/etc/rinetd.conf
0.0.0.0 21500 192.168.3.215 5900
0.0.0.0 21501 192.168.3.215 5901
0.0.0.0 21502 192.168.3.215 5902
0.0.0.0 21503 192.168.3.215 5903
Profile parameters illustrates:
This file often row comprises 4 parameters, is respectively:
The port of the address connection of the port connection of the address binding of binding
0.0.0.0 21500 192.168.3.215 5900
0.0.0.0: represent any address, i.e. all machines of the Internet
5900: the remote desktop serve port representing virtual machine
This record represents 5900 ports of request forward to 192.168.3.215 any address being mail to front end 21500 port.
(3) front-end machine starts rinetd process
#rinetd-c/etc/rinetd.conf
In addition, this order can be added to/etc/rc.local inside realize start and automatically run.
(4) by remote desktop client, such as vnc goes the access public network IP of front-end machine and the port of distribution, just can be long-range to the virtual machine on this host of 192.168.3.215, carries out safeguarding and managing virtual machines.
(5), after virtual machine is deleted, the port mapping instrument of front end find mapping ruler corresponding to this virtual machine and deletes, then restarting rinetd process.
First kill falls rinetd process, then restarts
#pkill rinetd
#rinetd-c/etc/rinetd.conf。
Claims (5)
1. be applicable to a virtual machine remote desktop management method for publicly-owned cloud, it is characterized in that:
Comprise the steps:
Step 1: select a publicly-owned cloud platform station server wherein as front end and distribute a public network IP, and a port mapping instrument is installed thereon;
Step 2: host creates after virtual machine, by its remote desktop port be assigned to of tool queries of virtual platform;
Step 3: distribute a untapped port on front end, and in port mapping instrument, write is regular, by all remote desktop port of request forward to the correspondence on host mailing to this port of front end;
Step 4: when using remote desktop client accesses virtual machine on public network, has access to the remote desktop of virtual machine by the mode of " port of front end public network IP+distribution ";
Step 5: after virtual machine is deleted, the mapping ruler that the port mapping instrument of front end finds virtual machine corresponding is also deleted.
2. a kind of virtual machine remote desktop management method being applicable to publicly-owned cloud according to claim 1, is characterized in that: the untapped port that described front end is distributed is the general port of 5 figure places, is not the port that special port or system retain.
3. the virtual machine remote desktop management method being applicable to publicly-owned cloud according to claim 1, is characterized in that: the open port distributed in described front end; In front of host, end is in same local area network (LAN) simultaneously, and host can follow front end communication.
4. the virtual machine remote desktop management method being applicable to publicly-owned cloud according to claim 2, is characterized in that: the open port distributed in described front end; In front of host, end is in same local area network (LAN) simultaneously, and host can follow front end communication.
5. the virtual machine remote desktop management method being applicable to publicly-owned cloud according to any one of Claims 1-4, is characterized in that: described port mapping instrument is newly-increased or come into force after deleting a rule, can not have influence on existing rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410612240.7A CN104410668A (en) | 2014-10-31 | 2014-10-31 | Virtual machine remote desktop management method suitable for public cloud |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410612240.7A CN104410668A (en) | 2014-10-31 | 2014-10-31 | Virtual machine remote desktop management method suitable for public cloud |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104410668A true CN104410668A (en) | 2015-03-11 |
Family
ID=52648266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410612240.7A Pending CN104410668A (en) | 2014-10-31 | 2014-10-31 | Virtual machine remote desktop management method suitable for public cloud |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104410668A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183535A (en) * | 2015-08-05 | 2015-12-23 | 北京奇虎科技有限公司 | Method and apparatus for accessing virtual machine |
CN105721566A (en) * | 2016-01-29 | 2016-06-29 | 华为技术有限公司 | Method for redirecting port, server and system |
CN109240799A (en) * | 2018-09-06 | 2019-01-18 | 福建星瑞格软件有限公司 | Big data platform cluster disaster recovery method, system and computer readable storage medium |
CN109788021A (en) * | 2018-04-03 | 2019-05-21 | 中建材信息技术股份有限公司 | The system and method and storage medium of overseas CRM are remotely accessed using public cloud |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110265083A1 (en) * | 2010-04-26 | 2011-10-27 | Vmware, Inc. | File system independent content aware cache |
US20130151598A1 (en) * | 2011-02-09 | 2013-06-13 | Cliqr Technologies Inc. | Apparatus, systems and methods for deployment of interactive desktop applications on distributed infrastructures |
CN103326997A (en) * | 2012-03-23 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Method for visiting virtual server and virtual server system |
CN103593246A (en) * | 2012-08-15 | 2014-02-19 | 中国电信股份有限公司 | Communication method between virtual machine and host machine, host machine and virtual machine system |
CN103618752A (en) * | 2013-12-18 | 2014-03-05 | 广东中科遥感技术有限公司 | Virtual machine remote desktop safety access system and method |
CN104125243A (en) * | 2013-04-23 | 2014-10-29 | 浙江大学 | Method of penetrating internal network to remotely connect large-scale virtual machines |
-
2014
- 2014-10-31 CN CN201410612240.7A patent/CN104410668A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110265083A1 (en) * | 2010-04-26 | 2011-10-27 | Vmware, Inc. | File system independent content aware cache |
US20130151598A1 (en) * | 2011-02-09 | 2013-06-13 | Cliqr Technologies Inc. | Apparatus, systems and methods for deployment of interactive desktop applications on distributed infrastructures |
CN103326997A (en) * | 2012-03-23 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Method for visiting virtual server and virtual server system |
CN103593246A (en) * | 2012-08-15 | 2014-02-19 | 中国电信股份有限公司 | Communication method between virtual machine and host machine, host machine and virtual machine system |
CN104125243A (en) * | 2013-04-23 | 2014-10-29 | 浙江大学 | Method of penetrating internal network to remotely connect large-scale virtual machines |
CN103618752A (en) * | 2013-12-18 | 2014-03-05 | 广东中科遥感技术有限公司 | Virtual machine remote desktop safety access system and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183535A (en) * | 2015-08-05 | 2015-12-23 | 北京奇虎科技有限公司 | Method and apparatus for accessing virtual machine |
CN105183535B (en) * | 2015-08-05 | 2019-06-07 | 北京奇虎科技有限公司 | The method and apparatus for accessing virtual machine |
CN105721566A (en) * | 2016-01-29 | 2016-06-29 | 华为技术有限公司 | Method for redirecting port, server and system |
CN105721566B (en) * | 2016-01-29 | 2019-05-24 | 华为技术有限公司 | A kind of method of port redirection, server |
CN109788021A (en) * | 2018-04-03 | 2019-05-21 | 中建材信息技术股份有限公司 | The system and method and storage medium of overseas CRM are remotely accessed using public cloud |
CN109240799A (en) * | 2018-09-06 | 2019-01-18 | 福建星瑞格软件有限公司 | Big data platform cluster disaster recovery method, system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2344953B1 (en) | Provisioning virtual resources using name resolution | |
US10353728B2 (en) | Method, system and device for managing virtual machine software in cloud environment | |
US20130036213A1 (en) | Virtual private clouds | |
CN103078965B (en) | The IP address management method of virtual machine | |
CN104410668A (en) | Virtual machine remote desktop management method suitable for public cloud | |
CN104156216A (en) | Heterogeneous storage management system and method oriented to cloud computing | |
CN102932408A (en) | Management method and platform of server cluster | |
EP4055493A1 (en) | Multi-tenant provider network database connection management and governance | |
CN104317639B (en) | The method of the existing virtual machines of computer cloud platform adapter vCenter | |
CN104601367A (en) | AD domain based virtual desktop management method | |
CN103324532A (en) | Dynamic migration method and system of virtual machine | |
US20130031539A1 (en) | Signature-based update management | |
CN104270409A (en) | Method for efficiently utilizing centralized storage in cloud platform | |
CN103905232A (en) | Virtual-machine management system and method | |
CN103281407B (en) | A kind of IP address long-distance management system based on Godson cloud terminal | |
WO2015106623A1 (en) | Method and apparatus for configuring and delivering flow table entry | |
CN102480360B (en) | Power control method of multiple servers | |
CN104363306A (en) | Private cloud management control method for enterprise | |
CN101650667A (en) | Virtual machine management system and method | |
CN102833334A (en) | Logical volume management method | |
CN104298761A (en) | Implementation method for master data matching between heterogeneous software systems | |
CN203301532U (en) | Cloud desktop system | |
TW201514719A (en) | System and method for managing servers of data center | |
CN106843971A (en) | BIOS method for refreshing, server, BMC, medium and storage control | |
CN103118115B (en) | Facing cloud calculates virtual machine management method and the device of user |
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: 20150311 |