Summary of the invention
For solving in different virtualized environments, the virtual machine application software of different operating system is downloaded, installation procedure is multiple
Miscellaneous problem, it is necessary to provide a kind of and download, for different operating system virtual machine application software is convenient, the cloud computing environment installed
The system and method for middle application software installation and deployment.
The system of application software installation and deployment in a kind of cloud computing environment that the present invention provides, including software server and
User virtual machine:
Described software server, for providing application software for user virtual machine;
Described user virtual machine, communicates to connect with described software server, described for downloading from described software server
Application software, and carry out installation and the application of described application software;
Described software server includes software library, software mapping table, wherein:
Described software library is used for storing described application software, and provides application software catalogue;
Described software mapping table is corresponding with described software library, for recording the application software included in described software library
Details;
Described user virtual machine includes proxy server, and for downloading from described software server, to install described application soft
Part.
It is preferred that as a kind of embodiment, described proxy server includes communication module, routing module, operates mould
Block and top control module, wherein:
Described communication module, is connected with described top control module, soft for receiving the application of described software server transmission
Part title and the complete trails of described application software;
Described routing module, is connected with described top control module, soft for the application received according to described communication module
The complete trails of part searches corresponding application software in described software server;
Described operation module, is connected with described top control module, for the described software determined according to described routing module
Application software in server carries out backstage Registration Authentication, and downloads, installs described application software;
Described top control module, with described communication module, routing module, operation module is connected, between connectivity module
Communication, arrange and control described communication module, routing module, the task of operation module processes.
It is preferred that as a kind of embodiment, described proxy server also includes intelligent reminding module, with described master control
Module is connected, carrying out for operation module described in real-time reception of task, and feedback operates information accordingly.
It is preferred that as a kind of embodiment, described software library includes Windows service catalogue, Linux service catalogue
And three subdirectories of Unix service catalogue, for the application software of different operating system is classified;
Database service catalogue, middleware services catalogue, instrument is included under each subdirectory in described three subdirectories
Software service catalogue and four softwares of common software service catalogue select catalogue, for the application software to same operating system
Classify according to software application classification.
It is preferred that as a kind of embodiment, described software server is ftp server or nfs server.
It is preferred that as a kind of embodiment, described software mapping table includes dbase, software complete trails, catalogue
Title, catalog number, subdirectory title, and higher level's catalog number.
The method of application software installation and deployment in a kind of cloud computing environment based on same inventive concept, including following step
Rapid:
Software server creates the software library comprising application software, and the software image corresponding with described software library
Table;
User virtual machine is installed and for application software, the proxy server controlled is installed;
User selects to need the application software being installed to described user virtual machine by the software library on software server;
The application software that software server selects according to user obtains described application software from described software mapping table
Complete trails, and send the complete trails proxy server to described user virtual machine of described application software;
The proxy server of described user virtual machine completes from described software service according to the complete trails of described application software
The task of described application software downloaded by device, and described user virtual machine installs described application software.
It is preferred that as a kind of embodiment, described user selects to need peace by the software library on software server
Install to the application software of described user virtual machine, comprise the following steps:
Determine the OS Type of user virtual machine, and according to determined by OS Type find described software library
Corresponding sub directory;
Determine that needing application software to be mounted is the one in middleware, or tool software, or public service software
Type;
Application software type determined by according to selects user to be installed under the respective service catalogue of described software library
Application software on virtual machine.
It is preferred that as a kind of embodiment, described user virtual machine installs described application software, including following step
Rapid:
Proxy server in described user virtual machine performs on backstage to install described application software;
When described application software is installed successfully, the proxy server in described user virtual machine returns software and installs successfully
Information;When described application software install failure, the proxy server in described user virtual machine returns software install failure letter
Breath.
It is preferred that as a kind of embodiment, described software server is ftp server or nfs server.
The beneficial effect comprise that
The system and method for application software installation and deployment in the cloud computing environment of the embodiment of the present invention, in software server
Setting up software library, comprise overwhelming majority common software in software library, the user of cloud computing service can be according to the needs of oneself from soft
Part storehouse selects the application software in user virtual machine to be installed to.The software library of software server also provides for application software mesh
Record, facilitates user more and selects the volume convenience of application software, user-friendly.And comprise in software library
The application software that each operating system user virtual machine is corresponding, therefore, native system and method are for the user of various operating systems
Virtual machine can be used.User virtual machine carries out smart download, peace by proxy server installed therein to application software
Dress, makes user free from the tedious steps that software is installed, and proxy server Real-time Feedback software erection schedule information,
Make user understand the progress of software installation and success or not information is installed, check that software installation situation provides convenient for user.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, real to the present invention below in conjunction with accompanying drawing
The detailed description of the invention of the wafer figure processing system and method for executing example illustrates.Should be appreciated that concrete reality described herein
Execute example only in order to explain the present invention, be not intended to limit the present invention.
The system of application software installation and deployment in a kind of cloud computing environment of the embodiment of the present invention, as it is shown in figure 1, include soft
Part server 100 and user virtual machine 200.
Described software server 100, for providing application software for user virtual machine;
Described user virtual machine 200, communicates to connect with described software server, for downloading institute from described software server
State application software, and carry out installation and the application of described application software;
Described software server includes software library 110, is used for storing described application software, and provides application software catalogue,
And software mapping table 120, for recording the details of the application software included in described software library;
Described user virtual machine includes proxy server 210, for downloading from described software server, install described application
Software.
In software server, set up software library, software library comprises overwhelming majority common software, the use of cloud computing service
Family can be according to the application software needing to select from software library in user virtual machine to be installed to of oneself.Select for the convenience of the user
The application software needed, the software library of software server also provides for application software catalogue, improves user and selects application software
Convenience, is user-friendly to.
Herein it should be noted that the application software in software library includes Windows operating system, (SuSE) Linux OS
The application software supported, also includes the application software that Unix operating system is supported.Therefore, the user of all kinds operating system is empty
Plan machine can select application software from the software library of software server, provides the user convenience.
It is preferred that as a kind of embodiment, described in one of them embodiment of the present invention, software server is FTP
Server.Ftp server is applicable to Windows operating system, (SuSE) Linux OS and Unix operating system.
Herein it should be noted that when software server is ftp server, for the user of Windows operating system
Virtual machine, can only carry out download and the installation of software with proxy server;User virtual machine for (SuSE) Linux OS can be led to
Cross proxy server and download installation application software, it is possible to perform YUM, Wget command download by Script script, application is installed
Software.
It is preferred that as a kind of embodiment, the most described software server is NFS service
Device.
When software server is nfs server, for the user virtual machine of Windows operating system, can only be with agency
Server carries out download and the installation of software;User virtual machine for (SuSE) Linux OS can be downloaded by proxy server
Application software is installed, it is possible to perform RPM command download by Script script, application software is installed.
It addition, software server also includes the software mapping table corresponding with software library, software mapping table comprises software
The details such as the dbase of all application software stored in storehouse and software complete trails.User provides according to software library
Application software catalogue selects the application software in user virtual machine to be installed to, and software server is according to selected application software
Dbase is to finding the software complete trails of corresponding software in software mapping table, and is sent to by the software complete trails found
The proxy server of user virtual machine.
It is preferred that as a kind of embodiment, as shown in table 1, described software mapping table includes dbase (SOFT_
NAME), software complete trails (SOFT_PATH), directory name (CATALOG_NAME), catalog number (ID), subdirectory title
, and higher level's catalog number (UP_ID) (SUB_CATALOG_NAME).
Table 1 software mapping table
The details of corresponding software can be obtained from software mapping table according to the title of application software or numbering, and will
The complete trails information of software is sent to the proxy server of user virtual machine.
Installation agent server in user virtual machine, utilizes described proxy server to complete from software server and downloads
Application software, and it is installed to the process of user virtual machine.After the virtual middle installation agent server of user, described agency service
Device can be used at any time, when at any time needing to install application software, all can be completed by proxy server, it is to avoid user pacifies every time
Repeating during dress application software.Proxy server intelligent can complete the installation of application software, reduces what user software was installed
Workload.After proxy server in user virtual machine completes the installation of application software, user's login user virtual machine does letter
After single configuration, the service of application software can be used.As, the major applications software under database service catalogue is joined
The service of database software just can be used after putting information such as using the user of database, role;For middleware services catalogue
Under most of software need to configure corresponding port it just can be used to service;And as the office under common software service catalogue
Software i.e. can directly use, it is not necessary to other configurations.
It is preferred that as a kind of embodiment, as in figure 2 it is shown, proxy server includes communication module 211, route mould
Block 212, operation module 213 and top control module 214.
Described communication module 211, is connected with described top control module, for receiving the application that described software server sends
Dbase and the complete trails of described application software;
When user selects to install application software for user virtual machine, user virtual machine is by the communication mould in proxy server
Block communicates with software server.After user selects application to be installed software, software server passes through software mapping table
Find the software complete trails of application software corresponding to selected software, and be sent to the proxy server of user virtual machine.
Communication module in the proxy server of user virtual machine receives the application software title of software server transmission and applies soft
The complete trails of part, and the route mould that the information of received application software is transferred in proxy server by top control module
Block, is further processed by routing module.
It is preferred that as a kind of embodiment, the effect of described communication module also includes the system-wide according to application software
Footpath judges whether application software exists, if judging, application software does not exists, then stop the erection schedule of application software.
Described routing module 212, is connected with described top control module, for the application received according to described communication module
The complete trails of software searches corresponding application software in described software server;
From the working condition of communication module, communication module is by the application software title received from software server and answers
Being transferred to routing module with the complete trails of software by top control module, routing module is according to the complete trails of the application software received
Corresponding application software is searched in the software library of software server.
Herein it should be noted that routing module mainly determines user virtual machine application to be installed according to path address
Software, and the software information found is sent to operation module by top control module is further processed.
Described operation module 213, is connected with described top control module, described soft for determine according to described routing module
Application software in part server carries out backstage Registration Authentication, and downloads, installs described application software;
The application software that operation module determines according to routing module, carries out Registration Authentication on the backstage of user virtual machine, steps on
After note certification completes, application software determined by download, after having downloaded, application software is installed.
Herein it should be noted that the operation module in proxy server is mould the most important in whole proxy server
In block, its download completing application software and installment work, operation module and proxy server, other modules always fits through
Control module is carried out, and by the feedback of status such as installation progress and installation results to top control module.
Described top control module 214, with described communication module, routing module, operation module is connected, for connectivity module it
Between communication, arrange and control described communication module, routing module, the task of operation module processes.
Modules during the top control module of proxy server is responsible for arrangement coordinating agent server in user virtual machine
Between work, the communication between other each modules is completed by top control module.
The installation of the required application software that cooperated between each module of proxy server in user virtual machine.
It is preferred that as a kind of embodiment, as it is shown on figure 3, agency service in one of them embodiment of the present invention
Device also includes intelligent reminding module 215, is connected with described top control module, for appointing that operation module described in real-time reception is carried out
It is engaged in, and feedback operates information accordingly.
User virtual machine proxy server includes that intelligent reminding module, intelligent reminding module can be entered according to operation module
The operational circumstances of row, Real-time Feedback operation progress is reminded, and is logging in software server as reminded, and in software download, software is pacified
In dress, software installs successfully, the information such as unsuccessfully, and feedack notifies user in time.
It is preferred that as a kind of embodiment, as shown in Figure 4, the application software catalogue of software library includes that Windows takes
Business catalogue, Linux service catalogue and three subdirectories of Unix service catalogue, for entering the application software of different operating system
Row classification.
Database service catalogue, middleware services catalogue, tool software is included under each subdirectory in three subdirectories
Service catalogue and four softwares of common software service catalogue select catalogues, for the application software of same operating system according to
Software application classification is classified.
The software library of software server comprises and is suitable to Windows operating system, (SuSE) Linux OS and Unix operation
Systematic difference software, the software service catalogue that software library provides is divided into Windows service catalogue, Linux service catalogue and
Three subdirectories of Unix service catalogue, classify to the application software of different operating system.Facilitate user according to the use of oneself
The operating system of family virtual machine selects under software library corresponding software service subdirectory.
Application software under same type operating system is classified by software library according to the classification of application software, will
Windows service catalogue, the application under each subdirectory of Linux service catalogue and three subdirectories of Unix service catalogue is soft
Part divides in database service catalogue respectively, middleware services catalogue, tool software service catalogue and common software service catalogue
Four softwares select to select for user under catalogue.As, oracle software is under database service catalogue, and ftp software is in public affairs
Altogether under software service catalogue.User can be according to the application type of software, in the software service that user virtual machine operating system is corresponding
Under catalogue, respective application classification of type catalogue searched and select to need application software to be mounted.
It is preferred that as a kind of embodiment, application software installation and deployment in the cloud computing environment of the embodiment of the present invention
System set up IaaS management platform on.
In other embodiments of the invention, native system also can be set up on the management platform of other cloud computing environments.
It should be noted that in cloud computing environment, described software server can be that the offer of multiple user virtual machine should
Use software download service, multiple user virtual machine can simultaneously access software server, the most unaffected.
Based on same inventive concept, the embodiment of the present invention also provides for application software installation and deployment in a kind of cloud computing environment
Method, owing to the method solves principle and the systemic-function of application software installation and deployment in aforementioned a kind of cloud computing environment of problem
Similar, therefore, the enforcement of the method can pass through aforementioned system Implement of Function Module, repeats no more in place of repetition.
The method of application software installation and deployment in a kind of cloud computing environment of the embodiment of the present invention, as it is shown in figure 5, include with
Lower step:
S100, creates on software server and comprises the software library of application software, and corresponding with described software library soft
Part mapping table.
Creating the software library comprising application software on software server, the application software in described software library includes being suitable to
Windows operating system, (SuSE) Linux OS and the common software of Unix operating system.User can carry according in software library
The software of confession selects the application software in user virtual machine to be installed to.
It is preferred that as a kind of embodiment, described software library also includes that software service catalogue, software service catalogue are
User provides software selection mode easily more directly perceived, user-friendly.
It is preferred that as a kind of embodiment, in one of them embodiment of the present invention, described software server is
Ftp server.
It is preferred that as a kind of embodiment, in another embodiment, described software server is NFS
Server.
Ftp server and nfs server are applicable to Windows operating system, (SuSE) Linux OS and Unix operation
The virtual machine of system.
Described software mapping table comprises the details of application software in software library, such as dbase, software numbering, software
The information such as complete trails.
S200, installs in user virtual machine and installs, for application software, the proxy server controlled.
Installation agent server in user virtual machine, described proxy server is used for and software server communicates,
Download application to be installed software from software server, and install.
It is preferred that as a kind of embodiment, in one of them embodiment of the present invention, proxy server includes communication
Module, routing module, operation module, top control module and intelligent reminding module.
Described communication module, is connected with described top control module, soft for receiving the application of described software server transmission
Part title and the complete trails of described application software;
When user selects to install application software for user virtual machine, user virtual machine is by the communication mould in proxy server
Block communicates with software server.After user selects application to be installed software, software server passes through software mapping table
Find the software complete trails of application software corresponding to selected software, and be sent to the proxy server of user virtual machine.
Communication module in the proxy server of user virtual machine receives the application software title of software server transmission and applies soft
The complete trails of part, and the route mould that the information of received application software is transferred in proxy server by top control module
Block, is further processed by routing module.
Described routing module, is connected with described top control module, soft for the application received according to described communication module
The complete trails of part searches corresponding application software in described software server;
From the working condition of communication module, communication module is by the application software title received from software server and answers
Being transferred to routing module with the complete trails of software by top control module, routing module is according to the complete trails of the application software received
Corresponding application software is searched in the software library of software server.
Herein it should be noted that routing module is mainly according to path address, determine that user virtual machine is to be mounted and answer
With software, and the software information found is sent to operation module by top control module it is further processed.
Described operation module, is connected with described top control module, for the described software determined according to described routing module
Application software in server carries out backstage Registration Authentication, and downloads, installs described application software;
The application software that operation module determines according to routing module, carries out Registration Authentication on the backstage of user virtual machine, steps on
After note certification completes, application software determined by download, after having downloaded, application software is installed.
Described top control module, with described communication module, routing module, operation module is connected, between connectivity module
Communication, arrange and control described communication module, routing module, the task of operation module processes.
Modules during the top control module of proxy server is responsible for arrangement coordinating agent server in user virtual machine
Between work, the communication between other each modules is completed by top control module.
Intelligent reminding module, is connected with described top control module, carrying out for operation module described in real-time reception of task,
And feedback operates information accordingly.
User virtual machine proxy server includes that intelligent reminding module, intelligent reminding module can be entered according to operation module
The operational circumstances of row, Real-time Feedback operation progress is reminded, and is logging in software server as reminded, and in software download, software is pacified
In dress, software installs successfully, the information such as unsuccessfully, and feedack notifies user in time.
The installation of the required application software that cooperated between each module of proxy server in user virtual machine.
S300, user selects to need the application being installed to described user virtual machine soft by the software library on software server
Part.
It is preferred that as a kind of embodiment, step S300 comprises the following steps:
S310, determines the OS Type of user virtual machine, and according to determined by OS Type find described
The corresponding sub directory of software library;
S320, determines that needing application software to be mounted is in middleware, or tool software, or public service software
One type;
S330, according to determined by application software type select to be installed under the respective service catalogue of described software library
Application software in user virtual machine.
User is according to the type of user virtual machine operating system, and needs the type of application software to be mounted to take to software
The software library of business device selects application to be installed software.
S400, it is soft that software server obtains described application according to the application software that user selects from described software mapping table
The complete trails of part, and send the complete trails proxy server to described user virtual machine of described application software.
After user selects to need application software to be mounted from the software library of server, software server is according to selected
Dbase finds details corresponding to software in software mapping table, is especially sent to the complete trails of application software use
The proxy server of family virtual machine.
It should be noted that the communication that between user virtual machine and software server, relevant software is installed is empty by user herein
Proxy server in plan machine completes, and equally, the download of application software and installation are also by the proxy server in user virtual machine
Completing, each module in proxy server is shared out the work and help one another and is jointly realized the purpose that application software is installed.
S500, the proxy server of described user virtual machine completes from described software according to the complete trails of described application software
Server downloads the task of described application software, and described user virtual machine installs described application software.
It is preferred that as a kind of embodiment, described user virtual machine installs described application software, including following step
Rapid:
S510, the proxy server in described user virtual machine performs on backstage to install described application software;
S520, when described application software is installed successfully, the proxy server in described user virtual machine returns software peace
Dress successful information;When described application software install failure, the proxy server in described user virtual machine returns software and installs
Failure information.
The method of application software installation and deployment in the cloud computing environment of the embodiment of the present invention, sets up soft in software server
Part storehouse, comprises overwhelming majority common software in software library, the user of cloud computing service can be according to the needs of oneself from software library
Application software in selection user virtual machine to be installed to.Select the application software needed for the convenience of the user, software server
Software library also provides for application software catalogue, improves user and selects the convenience of application software, user-friendly.And soft
Containing the application software that each operating system user virtual machine is corresponding in part storehouse, therefore, this method is for various operating systems
User virtual machine can be used.Application software is carried out under intelligence by user virtual machine by proxy server installed therein
Carry, install, make user free from the tedious steps that software is installed, and proxy server Real-time Feedback software erection schedule
Information, is that user understands the progress of software installation and installs success or not information.
It is preferred that as a kind of embodiment, application software installation and deployment in the cloud computing environment of the embodiment of the present invention
System set up IaaS management platform on.
In other embodiments of the invention, native system also can be set up on the management platform of other cloud computing environments.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also
Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that, for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.