CN102880935A - Method and system for managing Linux cluster software - Google Patents
Method and system for managing Linux cluster software Download PDFInfo
- Publication number
- CN102880935A CN102880935A CN2012103336655A CN201210333665A CN102880935A CN 102880935 A CN102880935 A CN 102880935A CN 2012103336655 A CN2012103336655 A CN 2012103336655A CN 201210333665 A CN201210333665 A CN 201210333665A CN 102880935 A CN102880935 A CN 102880935A
- Authority
- CN
- China
- Prior art keywords
- software
- linux
- installation
- clustered
- clustered software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention relates to a method and a system for managing Linux cluster software. The method comprises the following steps of: (1) acquiring the software information of the Linux cluster software; (2) acquiring the check and edit implementation information and installation configuration information of the Linux cluster software; (3) maintaining the name, a software version, a software description file and a software installation file of the Linux cluster software; (4) installing the Linux cluster software; (5) judging whether the Linux cluster software is installed for the first time; and (6) recording the installation operation information of the Linux cluster software into an installation log file. By the invention, the problem that a monitoring management system cannot perform integrated unified management on operation of the whole cluster such as software installation, updating and uninstalling are solved, and the one-click installation and batch installation of the Linux cluster software are realized.
Description
Technical field
The present invention relates to management method and the management system thereof of computer cluster management, be specifically related to a kind of management method and management system thereof of Linux clustered software.
Background technology
Because it is that the job amount is larger that the software on each node on the Linux cluster is carried out labor management, the work that content repeats, process is loaded down with trivial details, therefore the software management system for the specialty of Linux cluster is come software on all nodes in the cluster is carried out unified management.
The clustered software rwan management solution RWAN is similar to some the business software management tools under the windows system, can realize one-touch software installation, revise, unload, but the clustered software rwan management solution RWAN is for linux system, and be not limited to a computing machine, can realize all computing machines of one or more clusters are carried out software administration.
Current, under the Linux cluster, the monitoring management system that does not also have the operations such as a installation to software in the whole cluster, renewal, unloading to carry out integrated same management, how to allow the user pass through the Web interface and conveniently realize above-mentioned functions, reach the senior functions such as a more senior key is installed, batch installation, need a kind of management method and management system thereof of Linux clustered software.
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of management method and management system thereof of Linux clustered software, the invention solves and to carry out the problem of the monitoring management system of integrated same management to operations such as the installation of software in the whole cluster, renewal, unloadings, and realized that Linux clustered software one key installs, installs in batches.
The objective of the invention is to adopt following technical proposals to realize:
A kind of management method of Linux clustered software, its improvements are that described method comprises the steps:
(1) obtains the software information of Linux clustered software;
(2) obtain information and the installation configuration information that the Linux clustered software realizes that software is checked and edited;
(3) Linux clustered software title, software version, software description and software installation file are safeguarded;
(4) the Linux clustered software is installed;
(5) judge whether the Linux clustered software is installed first;
(6) operation information of the Linux clustered software being installed is recorded in the installation log file.
Wherein, in the described step (1), Linux clustered software management system reads the software information of all_software.prop file acquisition Linux clustered software.
Wherein, in the described step (2), Linux clustered software management system reads script file software_prop.sh and obtains the information that realizes that the Linux clustered software is checked and edited; And obtain and realize that the Linux clustered software is installed and the installation configuration information of modification.
Wherein, in the described step (4), the mounting means that the Linux clustered software is installed comprises shared installation and distributed installation; Described shared installation is that software is installed on the shared storage space of cluster, shares for all computing machines; The computing machine that described distributed installation selection will be installed.
Wherein, in the described step (5), if install first, then carry out installation script file install.sh software and install; Otherwise, carry out update, automatically perform unload script file uninstall.sh and unload former installation file, carry out again installation script file install.sh software and install.
Wherein, in the described step (6), Linux clustered software management system is recorded to Linux clustered software fitting operation and unloading operation in the installation log file.
Wherein, described Linux clustered software management system is finished the one-touch batch fitting operation of the different computing machines of at least one Linux clustered software simultaneously by key installation.
The present invention is based on the management system of a kind of Linux clustered software that another purpose provides, its improvements are that described system comprises:
Installation module: be used for the installation to the Linux clustered software;
Unload module: be used for the unloading to the Linux clustered software;
Editor module: be used for the maintenance to dbase, software version, software description and the software installation file of Linux clustered software;
Update module: be used for the software that the Linux cluster has been installed is carried out the version updating operation;
Log pattern: be used for record is carried out in user's operation of Linux clustered software management system.
Compared with the prior art, the beneficial effect that reaches of the present invention is:
1, the management method of Linux clustered software provided by the invention and management system thereof, can be implemented in the operations such as the software installation finished on the Web interface all nodes in the whole Linux cluster, unloading, renewal, can realize the batch of a plurality of softwares of one or more nodes is installed and retouching operation;
2, installation progress that can visualization display software in installation process;
3, software installation information, installation results or the failed failure cause of installation all are recorded in the installation log after the software installation, convenient later on error analysis and later on installation reference;
4, solved the problem that to carry out the monitoring management system of integrated same management to operations such as the installation of software in the whole cluster, renewal, unloadings.
Description of drawings
Fig. 1 is the process flow diagram of the management method of Linux clustered software provided by the invention.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.
The flow process of the management method of Linux clustered software provided by the invention as shown in Figure 1, the method comprises the steps:
(1) obtain the software information of Linux clustered software, concrete:
The management system of Linux clustered software is by reading all software informations of all_software.prop file acquisition; All software brief information of storage in the all_software.prop file, detailed configuration is shown in table 1 all_software.prop configuration detailed annotation:
Table 1 all_software.prop disposes detailed annotation
(2) obtain information and the installation configuration information that the Linux clustered software realizes that software is checked and edited, concrete:
The system of Linux clustered software checks/edits, obtains software by the details realization software that reads software_prop.sh file acquisition software configuration information realization software installation/modification installation is installed.
Table 2 softwarename_prop.sh disposes detailed annotation
Configuration item | The configuration item explanation |
TYPE | Software type |
NAME | Dbase |
VERSION | Software version |
SOFT_NOTE | The software manual file path |
1NSTALL_TYPE | The software Setup Type, share is shared, distributed is distributed |
NODE | Node is installed, effective during distributed installation |
1NSTALL_TIME | Estimate the set-up time, overtime for judging whether to install |
1NSTALL_PATH | The software installation path |
1NSTALL_ENVFILE | The required environmental variance file path of software |
1NSTALL_COMMAND | Software installation script path is such as install.sh |
?UNlNSTALL_COMMAND | Software unload script path is such as uninstall.sh |
?1NSTALL_HISTORYLOG | Software is installed and is revised the journal file path, such as history.1og |
The software_prop.sh filename obtains by PROP_FILE configuration parameter in the all_software.prop file, and this document detailed configuration is shown in table 2 softwarename_prop.sh configuration detailed annotation:
(3) the software editing function is safeguarded Linux clustered software title, software version, software description and software installation file;
(4) the Linux clustered software is installed, concrete:
Linux clustered software mounting means is divided into: shared installation, distributed installation.Shared installation is that software is installed on the shared storage space of cluster, can share for all computing machines, so do not need to select to install computing machine in the installation work; Distributed installation need to be selected the calculating that will install.Distributed installation refers in cluster to install on each computing machine that need to use this software the mounting means of this software.
(5) judge whether the Linux clustered software is installed first, concrete:
If oneself installs software, carry out update, automatically perform unload script uninstall.sh (obtaining by UNINSTALL_COMMAND configuration parameter in the software_prop.sh file) and unload former installation file, carry out again installation script install.sh (obtaining by INSTALL_COMMAND configuration parameter in the software_prop.sh file) and finish fitting operation.
(6) operation information of the Linux clustered software being installed is recorded in the installation log file, Linux clustered software management system can be recorded to each installation, the unloading operation of software installation log file history, among the log (obtaining by INSTALL_HISTORYLOG configuration parameter in the software_prop.sh file), be convenient to historical query and location of mistake.
Linux clustered software management system also provides a key installation function, can finish simultaneously the one-touch batch fitting operation of the different computing machines of a plurality of softwares by key installation.
The management system of a kind of Linux clustered software that the present invention also provides comprises: installation module: be used for the installation to the Linux clustered software; Unload module: be used for the unloading to the Linux clustered software; Editor module: be used for the maintenance to dbase, software version, software description and the software installation file of Linux clustered software; Update module: be used for the software that the Linux cluster has been installed is carried out the version updating operation; Log pattern: be used for record is carried out in user's operation of Linux clustered software management system.
The management method of Linux clustered software provided by the invention and management system thereof, can be implemented in the operations such as the software installation finished on the Web interface all nodes in the whole Linux cluster, unloading, renewal, can realize the batch of a plurality of softwares of one or more nodes is installed and retouching operation.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although with reference to above-described embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or be equal to replacement the specific embodiment of the present invention, and do not break away from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of the claim scope of the present invention.
Claims (8)
1. the management method of a Linux clustered software is characterized in that, described method comprises the steps:
(1) obtains the software information of Linux clustered software;
(2) obtain information and the installation configuration information that the Linux clustered software realizes that software is checked and edited;
(3) Linux clustered software title, software version, software description and software installation file are safeguarded;
(4) the Linux clustered software is installed;
(5) judge whether the Linux clustered software is installed first;
(6) operation information of the Linux clustered software being installed is recorded in the installation log file.
2. the management method of Linux clustered software as claimed in claim 1 is characterized in that, in the described step (1), Linux clustered software management system reads the software information of all_software.prop file acquisition Linux clustered software.
3. the management method of Linux clustered software as claimed in claim 1 is characterized in that, in the described step (2), Linux clustered software management system reads script file software_prop.sh and obtains the information that realizes that the Linux clustered software is checked and edited; And obtain and realize that the Linux clustered software is installed and the installation configuration information of modification.
4. the management method of Linux clustered software as claimed in claim 1 is characterized in that, in the described step (4), the mounting means that the Linux clustered software is installed comprises shared installation and distributed installation; Described shared installation is that software is installed on the shared storage space of cluster, shares for all computing machines; The computing machine that described distributed installation selection will be installed.
5. the management method of Linux clustered software as claimed in claim 1 is characterized in that, in the described step (5), if install first, then carries out installation script file install.sh software and installs; Otherwise, carry out update, automatically perform unload script file uninstall.sh and unload former installation file, carry out again installation script file install.sh software and install.
6. the management method of Linux clustered software as claimed in claim 1 is characterized in that, in the described step (6), Linux clustered software management system is recorded to Linux clustered software fitting operation and unloading operation in the installation log file.
7. such as the management method of each described Linux clustered software in the claim 2,3 and 6, it is characterized in that described Linux clustered software management system is finished the one-touch batch fitting operation of the different computing machines of at least one Linux clustered software simultaneously by key installation.
8. the management system of a Linux clustered software is characterized in that, described system comprises:
Installation module: be used for the installation to the Linux clustered software;
Unload module: be used for the unloading to the Linux clustered software;
Editor module: be used for the maintenance to dbase, software version, software description and the software installation file of Linux clustered software;
Update module: be used for the software that the Linux cluster has been installed is carried out the version updating operation;
Log pattern: be used for record is carried out in user's operation of Linux clustered software management system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103336655A CN102880935A (en) | 2012-09-10 | 2012-09-10 | Method and system for managing Linux cluster software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103336655A CN102880935A (en) | 2012-09-10 | 2012-09-10 | Method and system for managing Linux cluster software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102880935A true CN102880935A (en) | 2013-01-16 |
Family
ID=47482251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103336655A Pending CN102880935A (en) | 2012-09-10 | 2012-09-10 | Method and system for managing Linux cluster software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102880935A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103400066A (en) * | 2013-07-29 | 2013-11-20 | 王克 | System and method for managing software |
CN103475734A (en) * | 2013-09-25 | 2013-12-25 | 浪潮电子信息产业股份有限公司 | Linux cluster user backup migration method |
CN103577235A (en) * | 2013-11-14 | 2014-02-12 | 中安消技术有限公司 | Software deploying method, deploying server, computer to be deployed and system |
CN105045638A (en) * | 2015-08-20 | 2015-11-11 | 天脉聚源(北京)传媒科技有限公司 | Method and device for acquiring software package information as well as method and device for installing software package |
CN105373396A (en) * | 2015-08-14 | 2016-03-02 | 腾讯科技(深圳)有限公司 | Method and device for updating plug-in in plug-in platform |
CN106406956A (en) * | 2016-09-23 | 2017-02-15 | 北京小米移动软件有限公司 | An application program installing method and device |
CN107172143A (en) * | 2017-05-12 | 2017-09-15 | 郑州云海信息技术有限公司 | Software synchronizing method and device in a kind of server cluster |
CN109558385A (en) * | 2018-11-16 | 2019-04-02 | 郑州云海信息技术有限公司 | A kind of journal file managing device based on linux system |
CN109710275A (en) * | 2018-12-19 | 2019-05-03 | 中科曙光国际信息产业有限公司 | A kind of the software uninstalling system and method for distributed type assemblies |
CN111258850A (en) * | 2020-01-13 | 2020-06-09 | 奇安信科技集团股份有限公司 | Method and device for updating software information based on Linux system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012826A (en) * | 2010-11-19 | 2011-04-13 | 奇智软件(北京)有限公司 | Method and system for intelligently installing/upgrading software |
CN102455936A (en) * | 2010-11-25 | 2012-05-16 | 中标软件有限公司 | Trunk quick allocation method |
-
2012
- 2012-09-10 CN CN2012103336655A patent/CN102880935A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012826A (en) * | 2010-11-19 | 2011-04-13 | 奇智软件(北京)有限公司 | Method and system for intelligently installing/upgrading software |
CN102455936A (en) * | 2010-11-25 | 2012-05-16 | 中标软件有限公司 | Trunk quick allocation method |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103400066B (en) * | 2013-07-29 | 2016-08-17 | 王克 | For managing the system and method for software |
CN103400066A (en) * | 2013-07-29 | 2013-11-20 | 王克 | System and method for managing software |
CN103475734A (en) * | 2013-09-25 | 2013-12-25 | 浪潮电子信息产业股份有限公司 | Linux cluster user backup migration method |
CN103577235A (en) * | 2013-11-14 | 2014-02-12 | 中安消技术有限公司 | Software deploying method, deploying server, computer to be deployed and system |
CN105373396B (en) * | 2015-08-14 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Update of plug-in loading method and device in plug-platform |
CN105373396A (en) * | 2015-08-14 | 2016-03-02 | 腾讯科技(深圳)有限公司 | Method and device for updating plug-in in plug-in platform |
CN105045638A (en) * | 2015-08-20 | 2015-11-11 | 天脉聚源(北京)传媒科技有限公司 | Method and device for acquiring software package information as well as method and device for installing software package |
CN106406956A (en) * | 2016-09-23 | 2017-02-15 | 北京小米移动软件有限公司 | An application program installing method and device |
CN106406956B (en) * | 2016-09-23 | 2020-06-02 | 北京小米移动软件有限公司 | Application program installation method and device |
CN107172143A (en) * | 2017-05-12 | 2017-09-15 | 郑州云海信息技术有限公司 | Software synchronizing method and device in a kind of server cluster |
CN109558385A (en) * | 2018-11-16 | 2019-04-02 | 郑州云海信息技术有限公司 | A kind of journal file managing device based on linux system |
CN109558385B (en) * | 2018-11-16 | 2021-10-29 | 郑州云海信息技术有限公司 | Log file management device based on Linux system |
CN109710275A (en) * | 2018-12-19 | 2019-05-03 | 中科曙光国际信息产业有限公司 | A kind of the software uninstalling system and method for distributed type assemblies |
CN109710275B (en) * | 2018-12-19 | 2022-01-28 | 中科曙光国际信息产业有限公司 | Software unloading system and method for distributed cluster |
CN111258850A (en) * | 2020-01-13 | 2020-06-09 | 奇安信科技集团股份有限公司 | Method and device for updating software information based on Linux system |
CN111258850B (en) * | 2020-01-13 | 2024-04-19 | 奇安信科技集团股份有限公司 | Method and device for updating software information based on Linux system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102880935A (en) | Method and system for managing Linux cluster software | |
CN104142847B (en) | Stateless virtual machine and its application under cloud computing environment | |
US20180212823A1 (en) | Monitoring and management method for complete machine cabinet server | |
CN102650938B (en) | Management method for log system and log system | |
CN1257365A (en) | Method and device for database synchronisation in network management system | |
CN1858704A (en) | Method of upgrading sequence | |
CN1959717A (en) | System and method for preprocessing mass remote sensing data collection driven by order form | |
CN101163313A (en) | Method and equipment for updating automatically near-end software | |
CN105389186A (en) | Hot deployment method and system for Java application | |
CN111857777B (en) | System updating method and device based on double-core intelligent ammeter and computer equipment | |
CN106648771B (en) | Openstack cloud platform custom deployment system and deployment method | |
CN103200199A (en) | Out of band (OOB) data collection system | |
CN106980493A (en) | Firmware management method and apparatus | |
CN100499853C (en) | Edition information processing method of inlaid distribution system | |
CN104156199A (en) | Automatic continuous integration method and system for software | |
CN100419680C (en) | Method and apparatus for loading compatibly equipment software in distributed control system | |
CN110366709B (en) | Method and control program for operating an engineering system of an industrial process automation system | |
CN101887375B (en) | Method and system for implementing man-machine command system | |
CN111177239B (en) | Unified log processing method and system based on HDP big data cluster | |
CN104731618A (en) | Design method for automatically refreshing firmware based on RACK cabinet node middle plate | |
CN112764874A (en) | CMDB configuration management system-based virtual machine server information acquisition method | |
CN104111862A (en) | Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform | |
CN109116818B (en) | Real-time data dump method and device during SCADA system upgrade | |
CN110968421A (en) | Cluster management method, device and system | |
CN102857817A (en) | Set-top box production system and method capable of realizing dynamical loading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130116 |