CN100367210C - Method of Constructing Distributed Application System in Standalone Environment - Google Patents
Method of Constructing Distributed Application System in Standalone Environment Download PDFInfo
- Publication number
- CN100367210C CN100367210C CNB2005100189194A CN200510018919A CN100367210C CN 100367210 C CN100367210 C CN 100367210C CN B2005100189194 A CNB2005100189194 A CN B2005100189194A CN 200510018919 A CN200510018919 A CN 200510018919A CN 100367210 C CN100367210 C CN 100367210C
- Authority
- CN
- China
- Prior art keywords
- application system
- distributed application
- autonomous processing
- virtual
- environment
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000011161 development Methods 0.000 claims description 11
- 238000002474 experimental method Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 3
- 238000013508 migration Methods 0.000 claims description 3
- 230000005012 migration Effects 0.000 claims description 3
- 230000002596 correlated effect Effects 0.000 claims 2
- 230000000875 corresponding effect Effects 0.000 claims 1
- 238000012544 monitoring process Methods 0.000 claims 1
- 238000010276 construction Methods 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000013461 design Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Abstract
本发明涉及一种构建单机环境下的分布式应用系统的方法,其特点是在普通单台计算机上利用虚拟机技术实现对分布式应用系统中的自治处理单元的物理结构进行虚拟,利用虚拟网卡和虚拟交换机将所有这些由虚拟设备组成的自治处理单元连接起来,并在所有自治处理单元上开发和部署相关的分布式应用软件,从而得到一个真实的在单机环境中运行的分布式应用系统。与目前的各种分布式应用系统构建方法相比,本方法不仅操作简单、容易实施、成本低廉、使用方便、所获得的实验结果真实、可信度很高,所构建的分布式应用系统具有高度的稳定性和可靠性,易于维护和管理,并能迅速地将其迁移到真正的分布式应用系统环境中。
The invention relates to a method for constructing a distributed application system in a stand-alone environment, which is characterized in that the physical structure of the autonomous processing unit in the distributed application system is virtualized by virtual machine technology on a common single computer, and the virtual network card is used to Connect all these autonomous processing units composed of virtual devices with the virtual switch, and develop and deploy related distributed application software on all autonomous processing units, so as to obtain a real distributed application system running in a stand-alone environment. Compared with the current construction methods of various distributed application systems, this method is not only simple to operate, easy to implement, low in cost, convenient to use, and the obtained experimental results are real and highly reliable. It is highly stable and reliable, easy to maintain and manage, and can be quickly migrated to a real distributed application system environment.
Description
技术领域 technical field
本发明属于分布式应用领域中的分布式应用系统构建技术,特别是一种构建单机环境下的分布式应用系统的方法。The invention belongs to the distributed application system construction technology in the distributed application field, in particular to a method for constructing a distributed application system in a stand-alone environment.
背景技术 Background technique
分布式应用系统是近年提出的一种新的应用模式。它是一个对用户看起来像普通系统,然而运行在一系列自治处理单元上的系统,每个自治处理单元有各自的物理存储器空间,在这些自治处理单元间有紧密的合作以及不能忽略不计的信息传输延迟。当系统资源足够丰富时,整个系统能够支持任意数量的进程和自治处理单元的动态扩展。Distributed application system is a new application mode proposed in recent years. It is a system that looks like an ordinary system to the user, but runs on a series of autonomous processing units, each with its own physical memory space, with close cooperation and non-negligible Information transmission delay. When the system resources are abundant enough, the whole system can support any number of processes and dynamic expansion of autonomous processing units.
从应用的角度来说,分布式应用系统是一组用来实现企业环境中安全的客户机/服务器计算技术和服务的机制,其目的是在分布式环境下建立应用系统框架,使之可以跨平台进行互操作,并提供对尽可能多的计算机能力和数据的透明访问,同时实现高性能与高可靠性的目标。From an application point of view, a distributed application system is a set of mechanisms used to implement secure client/server computing technologies and services in an enterprise environment. Its purpose is to establish an application system framework in a distributed environment so that it can Platforms interoperate and provide transparent access to as much computing power and data as possible while achieving the goals of high performance and reliability.
在分布式应用系统中,不同的计算机中的不同软件之间互相共享信息,整个系统分布在由通过网络连接起来的多台计算机上运行。待解决的应用任务被分解成许多小的部分,然后把这些小部分分配给组成分布式系统的许多计算机进行处理,最后把所有这些处理结果综合起来,得到最终的结果。In a distributed application system, different software in different computers share information with each other, and the entire system runs on multiple computers connected through a network. The application tasks to be solved are decomposed into many small parts, and then these small parts are distributed to many computers that form a distributed system for processing, and finally all these processing results are combined to obtain the final result.
在分布式应用系统的开发和设计中,经常需要对所要开发的分布式应用系统软件的进行调试和测试。目前,人们主要是通过构建小规模的原型分布式应用系统的办法来达到这一目的。这种方法虽然能够实现对所要开发的分布式应用系统软件的进行调试和测试的要求,但由于这种方法需要多台联网计算机,以及多人协同工作才能进行,其开发过程复杂、准备周期较长、运行成本和代价较高、系统管理和维护困难。而且当整个分布式应用系统开发完成后,向实际的分布式应用环境中部署所开发的分布式应用系统也是一个非常困难的事情。所有这些都大大降低了所开发的分布式应用系统的设计质量、系统可靠性和开发效率,加大了分布式应用系统的开发和应用的难度。In the development and design of distributed application systems, it is often necessary to debug and test the distributed application system software to be developed. At present, people mainly achieve this goal by building small-scale prototype distributed application systems. Although this method can meet the requirements of debugging and testing the distributed application system software to be developed, because this method requires multiple networked computers and multiple people to work together, the development process is complicated and the preparation period is relatively long. Long, high operating costs and costs, difficult system management and maintenance. Moreover, after the development of the entire distributed application system is completed, it is very difficult to deploy the developed distributed application system to the actual distributed application environment. All of these greatly reduce the design quality, system reliability and development efficiency of the developed distributed application system, and increase the difficulty of the development and application of the distributed application system.
发明内容 Contents of the invention
本发明的目的是提供一种能够在单台普通个人计算机的环境下,实现构建单机环境下的分布式应用系统的方法,以克服上述的不足。The purpose of the present invention is to provide a method capable of constructing a distributed application system under a single-computer environment under the environment of a single ordinary personal computer, so as to overcome the above-mentioned disadvantages.
为实现这一目的,本发明的特点是:在普通单台计算机上利用虚拟机技术实现对分布式应用系统中的自治处理单元的物理结构进行虚拟,利用虚拟网卡和虚拟交换机将所有这些由虚拟设备组成的自治处理单元连接起来,并在所有自治处理单元上开发和部署相关的分布式应用软件,从而得到一个真实的在单机环境中运行的分布式应用系统。To achieve this purpose, the present invention is characterized in that: virtual machine technology is used to realize the virtualization of the physical structure of the autonomous processing unit in the distributed application system on a common single computer, and all these are virtualized by the virtual network card and the virtual switch. The autonomous processing units composed of devices are connected, and related distributed application software is developed and deployed on all autonomous processing units, so as to obtain a real distributed application system running in a stand-alone environment.
与目前的各种分布式应用系统构建方法相比,本方法不仅操作简单、容易实施、成本低廉、使用方便、所获得的实验结果真实、可信度很高,所构建的分布式应用系统具有高度的稳定性和可靠性,易于维护和管理,并能迅速地将其迁移到真正的分布式应用系统环境中。它不仅能解决现有的分布式应用系统的开发实验研究难题,而且能加快开发进程、提高开发效率、保证开发质量,促进研究结果的迅速转化。Compared with the current construction methods of various distributed application systems, this method is not only simple to operate, easy to implement, low in cost, convenient to use, and the obtained experimental results are real and highly reliable. It is highly stable and reliable, easy to maintain and manage, and can be quickly migrated to a real distributed application system environment. It can not only solve the existing research problems in the development of distributed application systems, but also speed up the development process, improve the development efficiency, ensure the quality of development, and promote the rapid transformation of research results.
附图说明 Description of drawings
附图为本发明的拓扑结构图。Accompanying drawing is the topology diagram of the present invention.
具体实施方式 Detailed ways
下面结合实施例对本发明作进一步阐述,但该实施例不应理解为对本发明的限制。The present invention will be further described below in conjunction with the examples, but the examples should not be construed as limiting the present invention.
本发明的具体构建步骤说明如下:Concrete construction steps of the present invention are described as follows:
①准备一台具有较高性能的计算机。① Prepare a computer with high performance.
②在该计算机上安装虚拟机软件。②Install the virtual machine software on the computer.
③根据分布式应用系统的开发要求,在虚拟机软件上制作若干台带网卡的虚拟计算机,作为分布式应用系统的自治处理单元。③According to the development requirements of the distributed application system, make several virtual computers with network cards on the virtual machine software as the autonomous processing unit of the distributed application system.
④组建虚拟交换机,将所有这些自治处理单元(即虚拟计算机)连接起来,组成虚拟网络环境。④ Set up a virtual switch to connect all these autonomous processing units (that is, virtual computers) to form a virtual network environment.
⑤在所有的自治处理单元上部署相关的分布式应用支撑环境,完成在单机环境中分布式应用系统的构建。⑤ Deploy the relevant distributed application support environment on all the autonomous processing units, and complete the construction of the distributed application system in the stand-alone environment.
⑥调试和测试所开发的分布式应用软件。⑥Debugging and testing the developed distributed application software.
⑦在实验过程中,可以利用虚拟机性能检测管理软件实现对分布式应用系统中各个自治处理单元的监控和管理,并能实时得到相关实验数据,方便了分布式应用系统的分析和调试。⑦ During the experiment, the virtual machine performance detection and management software can be used to monitor and manage each autonomous processing unit in the distributed application system, and relevant experimental data can be obtained in real time, which facilitates the analysis and debugging of the distributed application system.
⑧当实验成功,需要将其迁移到真正的分布式应用系统环境中时,不需要在真实的自治处理单元中重新进行相关的配置和安装工作,只需要利用物理网络和相关工具将虚拟的自治处理单元中的数据直接复制到真正的分布式应用系统环境中的相应的自治处理单元上即可迅速地完成迁移工作。⑧When the experiment is successful and it needs to be migrated to the real distributed application system environment, it is not necessary to redo the relevant configuration and installation work in the real autonomous processing unit, only need to use the physical network and related tools to integrate the virtual autonomous processing unit The data in the processing unit is directly copied to the corresponding autonomous processing unit in the real distributed application system environment to complete the migration work quickly.
实施例:Example:
构建一个由5台计算机组成的基于C0RBA的分布式应用系统的实施步骤如下所示:The implementation steps of building a C0RBA-based distributed application system composed of 5 computers are as follows:
①准备一台具有较高性能的个人计算机:其CPU为Inte1公司的Pentium4 520J,内存为1024M,硬盘为160G,所选用的操作系统为MicrosoftWindows Server 2003。①Prepare a personal computer with high performance: the CPU is Pentium4 520J of Intel Corporation, the memory is 1024M, the hard disk is 160G, and the selected operating system is Microsoft Windows Server 2003.
②在这台个人计算机上安装VMware公司生产的虚拟机软件VMware GSXServer 3.1。② Install the virtual machine software VMware GSXServer 3.1 produced by VMware on this personal computer.
③启动VMware GSX Server 3.1软件,在其上制作5台带网卡的虚拟计算机,这样,每台虚拟计算机都是分布式应用系统中的一个自治处理单元。③ Start the VMware GSX Server 3.1 software, and make 5 virtual computers with network cards on it, so that each virtual computer is an autonomous processing unit in the distributed application system.
④所有虚拟计算机的网络连接模式都设置为桥接模式。④The network connection mode of all virtual computers is set to bridge mode.
⑤由于这里所选用的虚拟机软件VMware GSX Server 3.1在安装时就已经自动配置了虚拟交换机,所以一般情况下不需要微更多的配置即可实现将所有自治处理单元(即虚拟计算机)的互联。⑤Because the virtual machine software VMware GSX Server 3.1 selected here has automatically configured the virtual switch when it is installed, so in general, no more configuration is required to realize the interconnection of all autonomous processing units (that is, virtual computers) .
⑥在所有的自治处理单元上部署分布式应用支撑环境CORBA相关的软件,完成在单机环境中分布式应用系统的构建。⑥ Deploy software related to the distributed application support environment CORBA on all autonomous processing units to complete the construction of a distributed application system in a stand-alone environment.
⑦调试和测试所开发的分布式应用软件。⑦Debugging and testing the developed distributed application software.
⑧在实验过程中,可以利用VMware GSX Server 3.1专用的虚拟机性能检测管理软件VMware Virtual Center实现对分布式应用系统中各个自治处理单元的监控和管理,并能实时得到相关实验数据,方便分布式应用系统的分析和调试。⑧During the experiment, VMware Virtual Center, a virtual machine performance detection management software dedicated to VMware GSX Server 3.1, can be used to monitor and manage each autonomous processing unit in the distributed application system, and can obtain relevant experimental data in real time, which is convenient for distributed Analysis and debugging of application system.
⑨当实验成功,需要将其迁移到真正的分布式应用系统环境中时,不需要在真实的自治处理单元中重新进行相关的配置和安装工作,只需要利用物理网络和Symantec公司的Norton Ghost等相关工具将单机分布式应用系统中的自治处理单元中的数据直接复制到真正的分布式应用系统环境中的相应的自治处理单元上即可迅速地完成迁移工作(一般每个结点为10-15分钟)。⑨When the experiment is successful and needs to be migrated to a real distributed application system environment, there is no need to redo the relevant configuration and installation work in the real autonomous processing unit, only need to use the physical network and Symantec's Norton Ghost, etc. Relevant tools copy the data in the autonomous processing unit in the stand-alone distributed application system directly to the corresponding autonomous processing unit in the real distributed application system environment to quickly complete the migration work (generally, each node is 10- 15 minutes).
本说明书未作详细描述的内容,属于本领域技术人员公知的现有技术。The content not described in detail in this specification belongs to the prior art known to those skilled in the art.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100189194A CN100367210C (en) | 2005-06-16 | 2005-06-16 | Method of Constructing Distributed Application System in Standalone Environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100189194A CN100367210C (en) | 2005-06-16 | 2005-06-16 | Method of Constructing Distributed Application System in Standalone Environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1694071A CN1694071A (en) | 2005-11-09 |
CN100367210C true CN100367210C (en) | 2008-02-06 |
Family
ID=35353043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100189194A Expired - Fee Related CN100367210C (en) | 2005-06-16 | 2005-06-16 | Method of Constructing Distributed Application System in Standalone Environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100367210C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100370788C (en) * | 2005-11-21 | 2008-02-20 | 西安电子科技大学 | Method of Using Virtual Network Card to Realize Data Communication in Network Environment Simulation |
US7788665B2 (en) * | 2006-02-28 | 2010-08-31 | Microsoft Corporation | Migrating a virtual machine that owns a resource such as a hardware device |
CN102110009B (en) * | 2009-12-28 | 2014-06-11 | 中国移动通信集团公司 | Method for deploying application in virtual platform and virtual platform manager |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1334538A (en) * | 2000-07-20 | 2002-02-06 | 汤永福 | Radio station automization and remote network management system |
CN1391162A (en) * | 2002-07-26 | 2003-01-15 | 中国人民解放军国防科学技术大学 | Method for implementing hierarchical distributed simulation operation support environment based on interoperation protocol |
US6754676B2 (en) * | 2001-09-13 | 2004-06-22 | International Business Machines Corporation | Apparatus and method for providing selective views of on-line surveys |
-
2005
- 2005-06-16 CN CNB2005100189194A patent/CN100367210C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1334538A (en) * | 2000-07-20 | 2002-02-06 | 汤永福 | Radio station automization and remote network management system |
US6754676B2 (en) * | 2001-09-13 | 2004-06-22 | International Business Machines Corporation | Apparatus and method for providing selective views of on-line surveys |
CN1391162A (en) * | 2002-07-26 | 2003-01-15 | 中国人民解放军国防科学技术大学 | Method for implementing hierarchical distributed simulation operation support environment based on interoperation protocol |
Also Published As
Publication number | Publication date |
---|---|
CN1694071A (en) | 2005-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104580519B (en) | A kind of method of rapid deployment openstack cloud computing platforms | |
CN105677486B (en) | Data parallel processing method and system | |
CN102770826B (en) | virtual machine power consumption measurement and management | |
CN104866372B (en) | The efficient physical machine that a kind of service-oriented device is integrated is to virtual machine conversion method | |
CN101986280A (en) | Automatic testing platform for virtual computing system | |
CN110166285A (en) | A kind of network security experiment porch building method based on Docker | |
JP4840670B2 (en) | Virtual machine deployment acceleration system, method and program thereof | |
CN103686147B (en) | A kind of method of testing and device of cloning video monitoring emulation terminal | |
CN102413010B (en) | Testing environment deployment method and device | |
US10782992B2 (en) | Hypervisor conversion | |
CN103793260A (en) | Platform virtualization system | |
CN102307208A (en) | Virtual machine operation control device and operation control method based on cloud computing | |
CN104657200A (en) | Method for creating shared disk in virtual machine | |
CN104503825A (en) | Mixed type equipment virtualization method based on KVM (Kernel-based Virtual Machine) | |
CN106961440B (en) | A cloud platform based on enterprise-level resource operation monitoring and management | |
CN109002354A (en) | A kind of computing resource cubic elasticity telescopic method and system based on OpenStack | |
CN103458050A (en) | Electronic reading room set-up method based on cloud computation | |
CN105404573A (en) | SmartRack multi-node deployment system pressure testing method | |
CN100367210C (en) | Method of Constructing Distributed Application System in Standalone Environment | |
CN106254162A (en) | Network Linux system in cluster calculates node operating system restoration methods | |
CN112068942B (en) | Large-scale parallel system simulation method based on single-node simulation | |
WO2019213835A1 (en) | Guest operating system awakening method and apparatus, electronic device, and readable medium | |
CN103309774A (en) | Construction method of virtual cluster double-layer redundancy framework | |
CN107168815B (en) | A method of collecting hardware error information | |
US11658820B2 (en) | Workflow for enabling data-in-transit in a distributed 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080206 Termination date: 20140616 |
|
EXPY | Termination of patent right or utility model |