CN111163176A - VirtualBox-based cluster management system - Google Patents

VirtualBox-based cluster management system Download PDF

Info

Publication number
CN111163176A
CN111163176A CN202010002715.6A CN202010002715A CN111163176A CN 111163176 A CN111163176 A CN 111163176A CN 202010002715 A CN202010002715 A CN 202010002715A CN 111163176 A CN111163176 A CN 111163176A
Authority
CN
China
Prior art keywords
virtualbox
management
server
local end
cluster management
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
CN202010002715.6A
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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics 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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202010002715.6A priority Critical patent/CN111163176A/en
Publication of CN111163176A publication Critical patent/CN111163176A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The invention particularly relates to a VirtualBox-based cluster management system. The VirtualBox-based cluster management system comprises a server, a management end and a local end, wherein the server is responsible for node management, state synchronization and storage management, the management end is responsible for user management, cluster management and upgrade management, and the local end is used for actually controlling the VirtualBox and is responsible for command execution and state feedback. The VirtualBox-based cluster management system combines the desktop virtualization capability of the VirtualBox with large-scale node and cluster management in a unified manner, and provides a set of VDI solution with good user experience; meanwhile, original functions of the VirtualBox are not interfered, and the VirtualBox version under the management of the VirtualBox-based cluster management system can keep synchronous with the VirtualBox of the official website.

Description

VirtualBox-based cluster management system
Technical Field
The invention relates to the technical field of cluster management, in particular to a VirtualBox-based cluster management system.
Background
VirtualBox is an open source cross-platform virtualization suite developed by Sun, Inc., primarily used to provide desktop virtualization capabilities on the x86 platform. The VirtualBox is called as the strongest free virtual machine software, and not only has rich characteristics, but also has excellent performance.
First, the VirtualBox is simple and easy to use, and the virtualizable system includes Windows (from Windows 3.1 to Windows10, Windows Server 2012, all supported by Windows systems), Mac OS X, Linux, OpenBSD, Solaris, IBM OS2, and even Android operating systems. The user can install and run these operating systems described above on the VirtualBox. Second, VirtualBox is unique in that it includes Remote Desktop Protocol (RDP), iSCSI, and USB support, as compared to VMware and Virtual PC of the same nature. Moreover, after installing the VirtualBox Extension Pack, the VirtualBox already implements support for the hardware device of USB 2.0 on the client operating system.
The VirtualBox is capable of installing multiple client operating systems, each of which can be independently started, paused and stopped. The main end operating system and the client end operating system can communicate with each other, and the environment that a plurality of operating systems run simultaneously can use a network simultaneously.
Since VirtualBox is mainly directed to individual desktop users, efforts have been made to optimize the virtualized desktop, and since it is free, it has developed rapidly in recent years.
Hypervisors are an intermediate software layer that runs between a physical server and an operating system, allowing multiple operating systems and applications to share a set of underlying physical hardware, and thus can also be viewed as a "meta" operating system in a Virtual environment that coordinates access to all the physical devices and Virtual machines on the server, also known as Virtual machine monitors (Virtual machine monitors). Hypervisor is the core of all virtualization technologies. The ability to support multi-job load migration without interruption is a basic function of Hypervisor. When the server starts and executes the Hypervisor, it allocates an appropriate amount of memory, CPU, network and disk to each virtual machine, and loads the guest operating systems of all the virtual machines.
Currently, the mainstream hypervisors capable of performing cluster management include Qemu, Zen and VMWare, but a set of cluster management system software management is not available for the VirtualBox which is excellent in performance on a desktop system. If the desktop virtualization capability of the VirtualBox can be uniformly combined with large-scale node and cluster management, a set of VDI solution with good user experience can be provided.
Based on the above situation, the invention provides a VirtualBox-based cluster management system.
Disclosure of Invention
In order to make up for the defects of the prior art, the invention provides a simple and efficient VirtualBox-based cluster management system.
The invention is realized by the following technical scheme:
a VirtualBox-based Cluster management system (VBCluster for short) is characterized in that: the system comprises a server, a management end and a local end, wherein the server is responsible for node management, state synchronization and storage management, the management end is responsible for user management, cluster management and upgrade management, and the local end is a part for actually controlling the VirtualBox and is responsible for command execution and state feedback.
The management end is an entrance for performing VirtualBox cluster management by a user, and can organize a service end and manage a local end node.
The management terminal can be a Web management interface for providing a VirtualBox cluster management entrance, and can also be an App program.
The server is responsible for providing storage, updating and synchronizing the state files, detecting the running state of the local end, receiving the instruction sent by the receiving and managing end and distributing the received instruction to the local end.
Since the VirtualBox supports NFS and CIFS shared storage, the server storage directly uses a network file system to store the virtual machine image.
The VirtualBox-based cluster management system performs synchronization or update operation according to each local end node state file and system state file stored by each server.
According to the VirtualBox-based cluster management system, the local end node state stored by the server is inquired, if the local end node state stored by the server is inconsistent with the actual state of the corresponding local end node, the server is informed to execute the state updating operation, the local end node state stored on each server is ensured to be consistent, and therefore accurate cluster data are provided for users.
And the local end inquires the local end node state stored on each server, if the local end node states stored on the two servers are inconsistent, the data of the servers are synchronized, and the local end is allowed to connect with only one server at the same time.
The invention has the beneficial effects that: the VirtualBox-based cluster management system combines the desktop virtualization capability of the VirtualBox with large-scale node and cluster management in a unified manner, and provides a set of VDI solution with good user experience; meanwhile, original functions of the VirtualBox are not interfered, and the VirtualBox version under the management of the VirtualBox-based cluster management system can keep synchronous with the VirtualBox of the official website.
Drawings
Fig. 1 is a schematic structural diagram of a VirtualBox-based cluster management system according to the present invention.
Fig. 2 is a schematic diagram of a VirtualBox-based cluster management system state synchronization method according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the embodiment of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The VirtualBox-based Cluster management system (VBCluster for short) comprises a server side, a management side and a local side, wherein the server side is responsible for node management, state synchronization and storage management, the management side is responsible for user management, Cluster management and upgrade management, and the local side actually controls the VirtualBox and is responsible for command execution and state feedback.
The management end is an entrance for performing VirtualBox cluster management by a user, and can organize a service end and manage a local end node.
The management terminal can be a Web management interface for providing a VirtualBox cluster management entrance, and can also be an App program.
The server is responsible for providing storage, updating and synchronizing the state files, detecting the running state of the local end, receiving the instruction sent by the receiving and managing end and distributing the received instruction to the local end.
Since the VirtualBox supports NFS and CIFS shared storage, the server storage directly uses a network file system to store the virtual machine image.
The server is a VBCluster core component, where the most important functions are status update and synchronization. VBCluster does not judge cluster status from the network as in the mature cluster management systems like corysync.
The VirtualBox-based cluster management system performs synchronization or update operation according to each local end node state file and system state file stored by each server.
According to the VirtualBox-based cluster management system, the local end node state stored by the server is inquired, if the local end node state stored by the server is inconsistent with the actual state of the corresponding local end node, the server is informed to execute the state updating operation, the local end node state stored on each server is ensured to be consistent, and therefore accurate cluster data are provided for users.
And the local end inquires the local end node state stored on each server, and if the local end node states stored on the two servers are inconsistent, the data synchronization of the servers is carried out. Although the local side can access the state information of the two servers, when the state information of the two servers is inconsistent, the local side can only obtain the state information from one server at the same time, that is, the local side can only be in one state at the same time. If the two pieces of state information are acquired simultaneously, the local end cannot judge the state of the local end, and the state information of the server cannot be updated, so that the local end is only allowed to be connected with one server at the same time.
And the local end is responsible for executing the VirtualBox instruction. Due to the perfect functions of the VirtualBox, the VirtualBox can directly manage the virtual machine of the VirtualBox through a command interface provided by the VirtualBox.
Example 1
Taking 6 computers as an example, the VirtualBox-based cluster management system is built, and the specific implementation steps are as follows:
the method comprises the steps of firstly, selecting two computers as shared storage, installing a VBCluster server of the VirtualBox-based cluster management system, simultaneously starting NFS shared storage service, and creating an NFS folder and a VM _ STATE folder. The NFS folder stores VBox virtual machine images on the computing nodes, and the VM _ STATE folder stores cluster STATEs in VBCluster.
The IP of the two server computers are 192.168.100.14 and 192.168.100.24 respectively.
And secondly, taking the rest 4 computers as computing nodes, and installing the VirtualBox and the local end of the VirtualBox-based cluster management system VBCluster. And simultaneously mounting NFS and VM _ STATE folders of a VBCluster server, creating a virtual machine on each computing node, and placing all created virtual machine files under the mounted NFS folders.
And thirdly, installing management terminal software of VBCluster in the virtual machine. And meanwhile, the virtual machine and the server program are configured in the same network segment.
And fourthly, after the environment configuration is completed, running cluster management software to perform cluster state query, modification, virtual machine migration hot standby and other operations.
Compared with the prior art, the VirtualBox-based cluster management system has the following characteristics:
firstly, the desktop virtualization capability of the VirtualBox is uniformly combined with large-scale node and cluster management, and a set of VDI solution with good user experience is provided.
Secondly, the original functions of the VirtualBox cannot be interfered by the management of the VirtualBox, so that the VirtualBox version under the VBCluster management can keep synchronous with the VirtualBox of the official website.
A VirtualBox-based cluster management system in the embodiment of the present invention is described in detail above. While the present invention has been described with reference to specific examples, which are provided to assist in understanding the core concepts of the present invention, it is intended that all other embodiments that can be obtained by those skilled in the art without departing from the spirit of the present invention shall fall within the scope of the present invention.

Claims (8)

1. A VirtualBox-based cluster management system is characterized in that: the system comprises a server, a management end and a local end, wherein the server is responsible for node management, state synchronization and storage management, the management end is responsible for user management, cluster management and upgrade management, and the local end is a part for actually controlling the VirtualBox and is responsible for command execution and state feedback.
2. The VirtualBox-based cluster management system of claim 1, wherein: the management end is an entrance for performing VirtualBox cluster management by a user, and can organize a service end and manage a local end node.
3. The VirtualBox-based cluster management system of claim 2, wherein: the management terminal can be a Web management interface for providing a VirtualBox cluster management entrance, and can also be an App program.
4. The VirtualBox-based cluster management system of claim 1, wherein: the server is responsible for providing storage, updating and synchronizing the state files, detecting the running state of the local end, receiving the instruction sent by the receiving and managing end and distributing the received instruction to the local end.
5. The VirtualBox-based cluster management system of claim 4, wherein: since the VirtualBox supports NFS and CIFS shared storage, the server storage directly uses a network file system to store the virtual machine image.
6. The VirtualBox-based cluster management system of claim 1 or 4, wherein: and carrying out synchronization or updating operation according to the local end node state files and the system state files stored by the service ends.
7. The VirtualBox-based cluster management system of claim 6, wherein: and inquiring the local end node state stored by the server, and if the local end node state stored by the server is inconsistent with the actual state of the corresponding local end node, informing the server to execute state updating operation, so as to ensure that the local end node state stored on each server is consistent, thereby providing accurate cluster data for users.
8. The VirtualBox-based cluster management system of claim 7, wherein: and the local end inquires the local end node state stored on each server, if the local end node states stored on the two servers are inconsistent, the data of the servers are synchronized, and the local end is allowed to connect with only one server at the same time.
CN202010002715.6A 2020-01-02 2020-01-02 VirtualBox-based cluster management system Pending CN111163176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010002715.6A CN111163176A (en) 2020-01-02 2020-01-02 VirtualBox-based cluster management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010002715.6A CN111163176A (en) 2020-01-02 2020-01-02 VirtualBox-based cluster management system

Publications (1)

Publication Number Publication Date
CN111163176A true CN111163176A (en) 2020-05-15

Family

ID=70561291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010002715.6A Pending CN111163176A (en) 2020-01-02 2020-01-02 VirtualBox-based cluster management system

Country Status (1)

Country Link
CN (1) CN111163176A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100275200A1 (en) * 2009-04-22 2010-10-28 Dell Products, Lp Interface for Virtual Machine Administration in Virtual Desktop Infrastructure
CN102447723A (en) * 2010-10-12 2012-05-09 运软网络科技(上海)有限公司 Client-side virtualization framework
CN103414712A (en) * 2013-08-05 2013-11-27 深圳市杰云科技有限公司 Management system and method of distributed virtual desktop
CN103533061A (en) * 2013-10-18 2014-01-22 广东工业大学 Construction method for cloud experimental platform of operating system
US20160182284A1 (en) * 2014-12-17 2016-06-23 American Megatrends, Inc. System and method of performing high availability configuration and validation of virtual desktop infrastructure (vdi)
CN107222320A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 The method and apparatus that Cloud Server cluster sets up High Availabitity connection
CN109639773A (en) * 2018-11-26 2019-04-16 中国船舶重工集团公司第七六研究所 A kind of the distributed data cluster control system and its method of dynamic construction

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100275200A1 (en) * 2009-04-22 2010-10-28 Dell Products, Lp Interface for Virtual Machine Administration in Virtual Desktop Infrastructure
CN102447723A (en) * 2010-10-12 2012-05-09 运软网络科技(上海)有限公司 Client-side virtualization framework
CN103414712A (en) * 2013-08-05 2013-11-27 深圳市杰云科技有限公司 Management system and method of distributed virtual desktop
CN103533061A (en) * 2013-10-18 2014-01-22 广东工业大学 Construction method for cloud experimental platform of operating system
US20160182284A1 (en) * 2014-12-17 2016-06-23 American Megatrends, Inc. System and method of performing high availability configuration and validation of virtual desktop infrastructure (vdi)
CN107222320A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 The method and apparatus that Cloud Server cluster sets up High Availabitity connection
CN109639773A (en) * 2018-11-26 2019-04-16 中国船舶重工集团公司第七六研究所 A kind of the distributed data cluster control system and its method of dynamic construction

Similar Documents

Publication Publication Date Title
US11237815B2 (en) Service pool architecture for multitenant services to support canary release
US10050850B2 (en) Rack awareness data storage in a cluster of host computing devices
US9569200B2 (en) Live operating system update mechanisms
US8924954B2 (en) Application software installation method and application software installation apparatus
US8473692B2 (en) Operating system image management
US9323565B2 (en) Provisioning customized virtual machines without rebooting
EP2765508B1 (en) Installation method and installation device for application software
US9104461B2 (en) Hypervisor-based management and migration of services executing within virtual environments based on service dependencies and hardware requirements
US11385883B2 (en) Methods and systems that carry out live migration of multi-node applications
US10740133B2 (en) Automated data migration of services of a virtual machine to containers
US20140007092A1 (en) Automatic transfer of workload configuration
CN108089913B (en) Virtual machine deployment method of super-fusion system
US10956197B2 (en) Virtual machine with an emulator manager for migration of synchronized streams of state data
US11210132B2 (en) Virtual machine migration in virtualization environment having different virtualization systems
JP2015507229A (en) Replaying the job at the second location of the service
CN113196237A (en) Container migration in a computing system
WO2019196705A1 (en) Physical-to-virtual migration method and apparatus, and storage medium
CN105426243A (en) Openstack based physical machine remote maintenance method
US11681585B2 (en) Data migration for a shared database
US11829792B1 (en) In-place live migration of compute instances for efficient host domain patching
CN111163176A (en) VirtualBox-based cluster management system
US11106380B2 (en) Migration of storage for workloads between desktop and cloud environments
US11853783B1 (en) Identifying hosts for dynamically enabling specified features when resuming operation of a virtual compute instance
CN117376341A (en) Method, device, equipment and medium for uploading file to virtual machine
Tanaka et al. Building a linux grid on a virtual machine using a windows grid

Legal Events

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

Application publication date: 20200515