Summary of the invention
For solving in different virtualized environments, the virtual machine application software of different operating system is downloaded, the problem of installation procedure complexity, is necessary to provide a kind of system and method for application software installation and deployment in the convenient cloud computing environment downloaded and installed of different operating system virtual machine application software.
The system of application software installation and deployment in a kind of cloud computing environment provided by the invention comprises software server and user virtual machine:
Described software server, be used to user virtual machine that application software is provided;
Described user virtual machine, with described software server communication connection, for from described software server, downloading described application software, and carry out installation and the application of described application software;
Described software server comprises software library, the software mapping table, wherein:
Described software library is used for storing described application software, and the application software catalogue is provided;
Described software mapping table is corresponding with described software library, for recording the details of the application software that described software library comprises;
Described user virtual machine comprises acting server, for download, install described application software from described software server.
Preferably, as a kind of embodiment, described acting server comprises communication module, routing module, and operational module and top control module, wherein:
Described communication module, be connected with described top control module, for receiving application software title that described software server sends and the complete trails of described application software;
Described routing module, be connected with described top control module, for the complete trails of the application software that receives according to described communication module, to described software server, searches corresponding application software;
Described operational module, be connected with described top control module, for the application software of the described software server definite according to described routing module, carries out the backstage Registration Authentication, and download, install described application software;
Described top control module, with described communication module, routing module, operational module is connected, and for the communication between connectivity module, arranges and control described communication module, routing module, the task of operational module is processed.
Preferably, as a kind of embodiment, described acting server also comprises the intelligent reminding module, with described top control module, is connected, and for receiving in real time the task that described operational module carries out, and feeds back corresponding operation information.
Preferably, as a kind of embodiment, described software library comprises the Windows service catalogue, and three sub-directories of Linux service catalogue and Unix service catalogue, classified for the application software to different operating system;
Comprise the database service catalogue under each sub-directory in described three sub-directories, the middleware services catalogue, four softwares of tool software service catalogue and common software service catalogue are selected catalogue, for the application software to same operating system, according to the software application classification, are classified.
Preferably, as a kind of embodiment, described software server is ftp server or nfs server.
Preferably, as a kind of embodiment, described software mapping table comprises dbase, software complete trails, directory name, catalog number, sub-directory 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 comprises the following steps:
Create the software library that comprises application software on software server, and the software mapping table corresponding with described software library;
Install for application software the acting server of controlling is installed on user virtual machine;
The user selects to be installed to the application software of described user virtual machine by the software library on software server;
The application software that software server is selected according to the user obtains the complete trails of described application software from described software mapping table, and sends the acting server of the complete trails of described application software to described user virtual machine;
The acting server of described user virtual machine completes the task of downloading described application software from described software server according to the complete trails of described application software, and described user virtual machine is installed described application software.
Preferably, as a kind of embodiment, described user selects to be installed to the application software of described user virtual machine by the software library on software server, comprise the following steps:
Determine the OS Type of user virtual machine, and find the corresponding sub directory of described software library according to determined OS Type;
The application software of determine to need installing is middleware, or tool software, or in public service software one type;
According to determined application software type, under the respective service catalogue of described software library, select to be installed to the application software on user virtual machine.
Preferably, as a kind of embodiment, described user virtual machine is installed described application software, comprises the following steps:
Acting server in described user virtual machine is carried out on backstage described application software is installed;
When described application software successful installation, the acting server in described user virtual machine returns to software successful installation information; When described application software is installed unsuccessfully, the acting server in described user virtual machine returns to software failure information is installed.
Preferably, as a kind of embodiment, described software server is ftp server or nfs server.
Beneficial effect of the present invention comprises:
The system and method for application software installation and deployment in the cloud computing environment of the embodiment of the present invention, set up software library in software server, comprise most common software in software library, what the user of cloud computing service can be according to oneself need to select to be installed to the application software on user virtual machine from software library.The software library of software server also provides the application software catalogue, has facilitated more the user to select the volume convenience of application software, user-friendly.And comprised application software corresponding to each operating system user virtual machine in software library, therefore, native system and method can be used for the user virtual machine of various operating systems.User virtual machine is carried out smart download, installation by the acting server be arranged on wherein to application software, the loaded down with trivial details step that the user is installed from software, free, and acting server Real-time Feedback software erection schedule information, make the user understand whether information of progress that software installs and successful installation, facilitate for the user checks the software installation situation.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the wafer figure disposal system of the embodiment of the present invention and the embodiment of method are described.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is 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 shown in Figure 1, comprise software server 100 and user virtual machine 200.
Described software server 100, be used to user virtual machine that application software is provided;
Described user virtual machine 200, with described software server communication connection, for from described software server, downloading described application software, and carry out installation and the application of described application software;
Described software server comprises software library 110, for storing described application software, and provides the application software catalogue, and software mapping table 120, for recording the details of the application software that described software library comprises;
Described user virtual machine comprises acting server 210, for download, install described application software from described software server.
Set up software library in software server, comprise most common software in software library, what the user of cloud computing service can be according to oneself need to select to be installed to the application software on user virtual machine from software library.The application software that select to need for the convenience of the user, the software library of software server also provides the application software catalogue, has improved the convenience that the user selects application software, is user-friendly to.
It should be noted that, the application software in software library comprises the application software that Windows operating system, (SuSE) Linux OS are supported, also comprises the application software that Unix operating system is supported herein.Therefore, the user virtual machine of various types of operations system can be selected application software from the software library of software server, is user's condition that facilitates.
Preferably, as a kind of embodiment, at software server described in one of them embodiment of the present invention, be ftp server.Ftp server is applicable to Windows operating system, (SuSE) Linux OS and Unix operating system.
It should be noted that herein, when software server is ftp server, for the user virtual machine of Windows operating system, can only carry out with acting server download and the installation of software; User virtual machine for (SuSE) Linux OS can download and install application software by acting server, also can carry out YUM, Wget command download by the Script script, application software is installed.
Preferably, as a kind of embodiment, at software server described in another embodiment of the present invention, be nfs server.
When software server is nfs server, for the user virtual machine of Windows operating system, can only carry out with acting server download and the installation of software; User virtual machine for (SuSE) Linux OS can download and install application software by acting server, also can carry out the RPM command download by the Script script, application software is installed.
In addition, also comprise the software mapping table corresponding with software library in software server, the details such as the dbase that comprises all application software of storing in software library in the software mapping table and software complete trails.The application software catalogue that the user provides according to software library is selected to be installed to the application software on user virtual machine, software server finds the software complete trails of corresponding software according to the dbase of selected application software in the software mapping table, and found software complete trails is sent to the acting server of user virtual machine.
Preferably, as a kind of embodiment, as shown in table 1, described software mapping table comprises dbase (SOFT_NAME), software complete trails (SOFT_PATH), directory name (CATALOG_NAME), catalog number (ID), sub-directory title (SUB_CATALOG_NAME), and higher level's catalog number (UP_ID).
Table 1 software mapping table
Can obtain the details of corresponding software from the software mapping table according to title or the numbering of application software, and the complete trails information of software be sent to the acting server of user virtual machine.
Installation agent server on user virtual machine, utilize described acting server to complete downloading application software from software server, and be installed to the process of user virtual machine.After the virtual middle installation agent server of user, described acting server is available at any time, while at any time needing application software is installed, all can complete by acting server the repetitive operation while avoiding the user at every turn application software to be installed.Acting server can intelligent complete the installation of application software, reduces the workload that user software is installed.After acting server in user virtual machine completes the installation of application software, user's login user virtual machine can be used the service of application software after doing simple configuration.As, for service that just can the usage data library software after the information such as the user in the major applications software under database service catalogue configuration usage data storehouse, role; Corresponding port need be configured for the most of software under the middleware services catalogue and just its service can be used; And can directly use as the office software under the common software service catalogue, without other configurations.
Preferably, as a kind of embodiment, as shown in Figure 2, acting server comprises communication module 211, routing module 212, operational module 213 and top control module 214.
Described communication module 211, be connected with described top control module, for receiving application software title that described software server sends and the complete trails of described application software;
When the user selects application software is installed for user virtual machine, user virtual machine communicates by the communication module in acting server and software server.After the application software that the user selects to install, software server finds the software complete trails of the application software that selected software is corresponding by the software mapping table, and sends to the acting server of user virtual machine.Communication module in the acting server of user virtual machine receives the application software title of software server transmission and the complete trails of application software, and the information exchange of received application software is crossed to top control module be transferred to the routing module in acting server, do further processing by routing module.
Preferably, as a kind of embodiment, the effect of described communication module also comprises according to the complete trails of application software and judges whether application software exists, and does not exist if judge application software, stops the erection schedule of application software.
Described routing module 212, be connected with described top control module, for the complete trails of the application software that receives according to described communication module, to described software server, searches corresponding application software;
Working condition from communication module, the application software title that communication module will receive from software server and the complete trails of application software are transferred to routing module by top control module, and routing module is searched corresponding application software according to the complete trails of the application software received in the software library of software server.
It should be noted that, routing module is mainly to determine according to path address the application software that user virtual machine will be installed herein, and by top control module, sends to operational module to be further processed the software information found.
Described operational module 213, be connected with described top control module, for the application software of the described software server definite according to described routing module, carries out the backstage Registration Authentication, and download, install described application software;
The application software that operational module is definite according to routing module, carry out Registration Authentication on the backstage of user virtual machine, after Registration Authentication completes, downloads determined application software, downloaded rear to the application software installed.
It should be noted that herein, the module that operational module in acting server is outbalance in whole acting server, it completes download and the installment work of application software, operational module carried out with coordinating by top control module of other modules in acting server, and by 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, operational module is connected, and for the communication between connectivity module, arranges and control described communication module, routing module, the task of operational module is processed.
In user virtual machine, the top control module of acting server is responsible for the work between the modules in arrangement coordinating agent server, and the communication between other each modules completes by top control module.
The installation of the required application software that cooperatively interacted between each module of acting server in user virtual machine.
Preferably, as a kind of embodiment, as shown in Figure 3, in one of them embodiment of the present invention, acting server also comprises intelligent reminding module 215, be connected with described top control module, for receiving in real time the task that described operational module carries out, and feed back corresponding operation information.
The user virtual machine acting server comprises the intelligent reminding module, the operational circumstances that the intelligent reminding module can be carried out according to operational module, the Real-time Feedback operation progress is reminded, logging in software server as reminded, during software is downloaded, during software is installed, the software successful installation, unsuccessfully wait information, by feedack in time notice to the user.
Preferably, as a kind of embodiment, as shown in Figure 4, the application software catalogue of software library comprises the Windows service catalogue, and three sub-directories of Linux service catalogue and Unix service catalogue, classified for the application software to different operating system.
Comprise the database service catalogue under each sub-directory in three sub-directories, the middleware services catalogue, four softwares of tool software service catalogue and common software service catalogue are selected catalogue, for the application software to same operating system, according to the software application classification, are classified.
Comprise in the software library of software server and be suitable for Windows operating system, the application software of (SuSE) Linux OS and Unix operating system, the software service catalogue that software library provides is divided into the Windows service catalogue, three sub-directories of Linux service catalogue and Unix service catalogue, classified to the application software of different operating system.Facilitate the user to be selected under the corresponding software service sub-directory of software library according to the operating system of the user virtual machine of oneself.
Software library is classified according to the classification of application software to the application software under same type operating system, by the Windows service catalogue, application software under each sub-directory of Linux service catalogue and three sub-directories of Unix service catalogue is divided respectively in the database service catalogue, the middleware services catalogue, four softwares of tool software service catalogue and common software service catalogue are selected for the user, to be selected under catalogue.As, oracle software is under the database service catalogue, and ftp software is under the common software service catalogue.The user can be according to the application type of software, in user virtual machine operating system, under corresponding software service catalogue, in respective application classification of type catalogue, searches and select to need the application software of installing.
Preferably, as a kind of embodiment, in the cloud computing environment of the embodiment of the present invention, the system made of application software installation and deployment is on the IaaS management platform.
In other embodiments of the invention, native system also can be based upon on the management platform of other cloud computing environments.
It should be noted that, in cloud computing environment, described software server can provide the application software download service for a plurality of user virtual machine, and a plurality of user virtual machine are the access software server simultaneously, unaffected each other.
Based on same inventive concept, the embodiment of the present invention also provides the method for application software installation and deployment in a kind of cloud computing environment, because the principle that the method is dealt with problems is similar to the systemic-function of application software installation and deployment in aforementioned a kind of cloud computing environment, therefore, the enforcement of the method can be passed through the aforementioned system Implement of Function Module, repeats part and repeats no more.
The method of application software installation and deployment in a kind of cloud computing environment of the embodiment of the present invention as shown in Figure 5, comprises the following steps:
S100 creates the software library that comprises application software on software server, and the software mapping table corresponding with described software library.
Create the software library comprise application software on software server, the application software in described software library comprises and is suitable for Windows operating system, the common software of (SuSE) Linux OS and Unix operating system.The user can select to be installed to the application software on user virtual machine according to the software provided in software library.
Preferably, as a kind of embodiment, described software library also comprises the software service catalogue, and the software service catalogue provides more intuitively software selection mode easily for the user, user-friendly.
Preferably, as a kind of embodiment, in one of them embodiment of the present invention, described software server is ftp server.
Preferably, 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, the virtual machine of (SuSE) Linux OS and Unix operating system.
The details that described software mapping table comprises application software in software library, as dbase, software numbering, the information such as the complete trails of software.
S200 installs for application software the acting server of controlling is installed on user virtual machine.
Installation agent server on user virtual machine, described acting server, for communicating with software server, is downloaded the application software that will install, and is installed from software server.
Preferably, as a kind of embodiment, in one of them embodiment of the present invention, acting server comprises communication module, routing module, operational module, top control module and intelligent reminding module.
Described communication module, be connected with described top control module, for receiving application software title that described software server sends and the complete trails of described application software;
When the user selects application software is installed for user virtual machine, user virtual machine communicates by the communication module in acting server and software server.After the application software that the user selects to install, software server finds the software complete trails of the application software that selected software is corresponding by the software mapping table, and sends to the acting server of user virtual machine.Communication module in the acting server of user virtual machine receives the application software title of software server transmission and the complete trails of application software, and the information exchange of received application software is crossed to top control module be transferred to the routing module in acting server, do further processing by routing module.
Described routing module, be connected with described top control module, for the complete trails of the application software that receives according to described communication module, to described software server, searches corresponding application software;
Working condition from communication module, the application software title that communication module will receive from software server and the complete trails of application software are transferred to routing module by top control module, and routing module is searched corresponding application software according to the complete trails of the application software received in the software library of software server.
It should be noted that, routing module is mainly according to path address, determines the application software that user virtual machine will be installed herein, and by top control module, sends to operational module to be further processed the software information found.
Described operational module, be connected with described top control module, for the application software of the described software server definite according to described routing module, carries out the backstage Registration Authentication, and download, install described application software;
The application software that operational module is definite according to routing module, carry out Registration Authentication on the backstage of user virtual machine, after Registration Authentication completes, downloads determined application software, downloaded rear to the application software installed.
Described top control module, with described communication module, routing module, operational module is connected, and for the communication between connectivity module, arranges and control described communication module, routing module, the task of operational module is processed.
In user virtual machine, the top control module of acting server is responsible for the work between the modules in arrangement coordinating agent server, and the communication between other each modules completes by top control module.
The intelligent reminding module, be connected with described top control module, for receiving in real time the task that described operational module carries out, and feeds back corresponding operation information.
The user virtual machine acting server comprises the intelligent reminding module, the operational circumstances that the intelligent reminding module can be carried out according to operational module, the Real-time Feedback operation progress is reminded, logging in software server as reminded, during software is downloaded, during software is installed, the software successful installation, unsuccessfully wait information, by feedack in time notice to the user.
The installation of the required application software that cooperatively interacted between each module of acting server in user virtual machine.
S300, the user selects to be installed to the application software of described user virtual machine by the software library on software server.
Preferably, as a kind of embodiment, step S300 comprises the following steps:
S310, determine the OS Type of user virtual machine, and find the corresponding sub directory of described software library according to determined OS Type;
S320, the application software of determine to need installing is middleware, or tool software, or in public service software one type;
S330, select to be installed to the application software on user virtual machine under the respective service catalogue of described software library according to determined application software type.
The user is according to the type of user virtual machine operating system, and the type of the application software that need to install is selected the application software that will install in the software library of software server.
S400, the application software that software server is selected according to the user obtains the complete trails of described application software from described software mapping table, and sends the acting server of the complete trails of described application software to described user virtual machine.
After the application software that the user selects to need to install from the software library of server, software server finds the corresponding details of software in the software mapping table according to selected dbase, especially the complete trails of application software is sent to the acting server of user virtual machine.
It should be noted that the acting server of communication in user virtual machine that between user virtual machine and software server, relevant software is installed completes herein, equally, the download of application software and the installation also acting server in user virtual machine complete, and each module in acting server is shared out the work and help one another and jointly realized the purpose that application software is installed.
S500, the acting server of described user virtual machine completes the task of downloading described application software from described software server according to the complete trails of described application software, and described user virtual machine is installed described application software.
Preferably, as a kind of embodiment, described user virtual machine is installed described application software, comprises the following steps:
S510, the acting server in described user virtual machine is carried out on backstage described application software is installed;
S520, when described application software successful installation, the acting server in described user virtual machine returns to software successful installation information; When described application software is installed unsuccessfully, the acting server in described user virtual machine returns to software failure information is installed.
The method of application software installation and deployment in the cloud computing environment of the embodiment of the present invention, set up software library in software server, comprise most common software in software library, what the user of cloud computing service can be according to oneself need to select to be installed to the application software on user virtual machine from software library.Select for the convenience of the user the application software needed, the software library of software server also provides the application software catalogue, improves the convenience that the user selects application software, user-friendly.And comprised application software corresponding to each operating system user virtual machine in software library, therefore, this method can be used for the user virtual machine of various operating systems.User virtual machine is carried out smart download, installation by the acting server be arranged on wherein to application software, the loaded down with trivial details step that the user is installed from software, free, and acting server Real-time Feedback software erection schedule information is that the user understands whether information of progress that software installs and successful installation.
Preferably, as a kind of embodiment, in the cloud computing environment of the embodiment of the present invention, the system made of application software installation and deployment is on the IaaS management platform.
In other embodiments of the invention, native system also can be based upon on the management platform of other cloud computing environments.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.