CN104468199A - Frame and running method suitable for deployment and management of Linux distributed system - Google Patents

Frame and running method suitable for deployment and management of Linux distributed system Download PDF

Info

Publication number
CN104468199A
CN104468199A CN201410683150.7A CN201410683150A CN104468199A CN 104468199 A CN104468199 A CN 104468199A CN 201410683150 A CN201410683150 A CN 201410683150A CN 104468199 A CN104468199 A CN 104468199A
Authority
CN
China
Prior art keywords
configuration
server
installation
application software
linux
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410683150.7A
Other languages
Chinese (zh)
Inventor
魏琳琳
杨松
莫展鹏
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201410683150.7A priority Critical patent/CN104468199A/en
Publication of CN104468199A publication Critical patent/CN104468199A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the field of distributed calculation, in particular to a frame and running method suitable for deployment and management of a Linux distributed system. The frame comprises three parts, wherein a server Linux system starting guiding module is responsible for completing guiding starting of server hardware, and a next step after starting is performed on an installation image of an operating system; an operating system and application software installing module further comprises the operating system installing image, an application software installing source, a software installing list and an environment configuration module and is mainly responsible for providing an installing source for the operating system and application software, solidifying temporary configuration obtained in the guiding stage into fixed configuration, and installing a remote executing environment for a configuration management module; the configuration management module performs uniform configuration on the whole large-scale distributed system. The frame and running method suitable for deployment and management of the Linux distributed system solve the problem about automatic deployment and management of the Linux large-scale distributed system and can be used for automatic deployment and management of the Linux distributed system.

Description

The distributed system being suitable for Linux is disposed and Governance framework and operation method
Technical field
The present invention relates to Distributed Calculation field, refer to that a kind of distributed system being suitable for Linux is disposed and Governance framework and operation method especially.
Background technology
When large-scale distributed system is disposed, because number of servers is many, carry out operating system installation one by one, software is installed, the workload of environment configurations will be huge, and safeguard also more loaded down with trivial details.The method of the installation Network Based that general Linux provides can solve the problem of batch installing operating system, and performing step is as follows:
1, on a wherein station server of Intranet, run tftp server, and deposit the boot files of Linux on tftp server; Run a ftp server or nfs server in addition, and in ftp service, store the installation medium of (SuSE) Linux OS;
2, other server by utilizing PXE are from network startup, read the boot files on tftp server, install (SuSE) Linux OS with the installation medium on ftp.
Above method is only only applicable to reinstalling on a large scale of (SuSE) Linux OS, and be not be suitable for completely in application software installation and specific aim configuration, it exists following shortcoming:
1, except systems soft ware, to the installation of application software and configuration aspect targetedly helpless;
2, after operating system installation completes, can not safeguard system configuration and application software configuration, keeper still will safeguard one by one dispersedly.
Summary of the invention
One of technical problem that the present invention solves is to provide a kind of large scale distributed system being suitable for Linux to dispose and Governance framework; The problems such as solution is to the installation of application software and configuration aspect is targetedly helpless, management dispersion.
Two of the technical problem that the present invention solves is that providing a kind of is suitable for the large scale distributed system deployment of Linux and the operation method of Governance framework; The problems such as solution is to the installation of application software and configuration aspect is targetedly helpless, management dispersion.
The technical scheme that the present invention one of solves the problem is:
Described framework comprises server linux system starting factor module, operating system and application software installation module and Configuration Manager;
The guiding that described server linux system starting factor module in charge completes server hardware starts, and upon actuation by the installation mirror image of next step point operation system;
Described operating system and application software installation module primary responsibility provide the installation source of operating system and application software and the provisional configuration that the vectoring phase obtains are solidified into fixed configurations, and are Configuration Manager installation long-distance support environment;
Described Configuration Manager is responsible for whole large scale distributed system to carry out unifying configuration by long-distance support environment.
Described operating system and application software installation module comprise operating system installation mirror image, application software installs source, software installs list and environment configurations module four part.
The present invention solve the problem two technical scheme be:
The workflow of described server Linux starting factor module is as follows:
Step 1: be the interim distribution network address of the server started from PXE;
Step 2: for startup of server provides linux system boot image file;
Step 3: the installation mirror image of its point operation system after startup of server;
Described described operating system installation mirror image provides the basic software bag of (SuSE) Linux OS;
Described system and application software installation module comprise operating system installation mirror image, application software installs source, software installs list and environment configurations module four part, application software installs the installation kit that source provides application software, software installs in list designated mounting process the systems soft ware and application software list that need to install, and the workflow of environment configurations module is as follows:
Step 1: read default partition list and subregion is carried out to disk;
Step 2: read the software preset and install list and carry out the installation of systems soft ware and application software;
Step 3: the network address information temporarily distributing to server is cured;
Step 4: Install and configure long-distance support environment on the server;
The workflow of described Configuration Manager is as follows:
Step 1: according to the value amendment configuration file preset;
Step 2: long-distance support script file completes the configuration of service;
Step 3: the configuration information preserving every station server, so as in configuration destroyed or operating system reinstall after recovery configuring.
The described interim distribution network address of server started from PXE is the setting by dhcp server profile, carry out the automatic distributing of the ip address of assigned vlan or assigned ip corresponding with MAC Address provide IP address;
Describedly be pxelinux.0 and vmlinuz, initrd.img, boot.msg etc. are started under the file installed needed for minimum linxu system is placed on the service catalogue of tftp for server provides boot image.
All rpm bags that the installation mirror image of its point operation system is system to be installed after described startup of server, under being provided to the share directory shared and store nfs.
List installed by described software, environment configurations module is by controlling the control of ks.cfg file to need the software of installation and the relevant information of configuration.
The described value amendment configuration file according to presetting user is needed the relevant information to node is configured to pass to node, is configured by automatic Configuration Manager;
The configuration information of the every station server of described preservation is, by the client of long-distance support, client-side information is passed to management end.
The beneficial effect of the present invention program is as follows:
1, the program that realizes of framework of the present invention the configuration of application programs can be carried out customizations and configures;
2, the present invention can manage the information of configuration, so as in configuration destroyed or operating system reinstall after recovery configuring, alleviate the maintenance workload of large scale distributed system keeper;
3, framework of the present invention has very high durability, and the automation deployment that a small amount of code can realize distributed system write by these needs of the deployment of distributed system.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is the flow chart of framework of the present invention;
Embodiment
As shown in drawings, framework of the present invention comprises server linux system starting factor module, operating system and application software installation module and Configuration Manager.The guiding that server linux system starting factor module in charge completes server hardware starts, and upon actuation by the installation mirror image of next step point operation system.Operating system and application software installation module primary responsibility provide the installation source of operating system and application software and the provisional configuration that the vectoring phase obtains are solidified into fixed configurations, and are Configuration Manager installation long-distance support environment.Configuration Manager is responsible for whole large scale distributed system to carry out unifying configuration by long-distance support environment.Operating system and application software installation module comprise operating system installation mirror image, application software installs source, software installs list and environment configurations module four part.Illustrate with regard to its operation method below.
(1) server Linux starting factor module
(1) be the interim distribution network address of server started from PXE;
DHCP service is installed, and configures its configuration file:
The content of configuration file is as follows:
Subnet and netmask of indication in the middle of code, and the setting of route and DNS etc. is exactly dispose in order to automation to provide network installation data, and provide the network address of distribution, if the network installation address in the middle of example is 20.251.32.0 to 20.251.35.253
Further, provide an assigned ip and MAC binding
(2) for startup of server provides linux system boot image file;
Tftp service is installed, yum install tftp-server tftp
And modifier configuration file, be modified as follows:
Further, by relevant configuration file and the file needing installation, the assigned catalogue of tftp is provided to
Remarks: ksdevice=eth0 represents to specify by which network interface card to be installed, use for many network interface cards machine.
Authority is provided
#chmod-R 777/tftpboot/
(3) after startup of server the installation mirror image of its point operation system.
Shared-file system nfs, yum install nfs is installed
The configuration sharing item of amendment nfs, and upload installation mirror image:
(2) operating system and application software installation module
(1) operating system installation mirror image and application installation source are provided
(2) software installs list and environment configurations module
List installed by software and environment configurations module all carrys out specified control by Auto-mounting control documents ks.cfg.
The file content of ks.cfg is as follows:
System installation basic element part is as follows:
Pre-partition list and content format as follows:
Pre-installed software is as follows with application:
The network address information temporarily distributing to server is cured:
(3) Configuration Manager associative operation:
(1) according to the value amendment configuration file preset
There is provided relevant node configuration information, deploy content is as follows:
(2) long-distance support script file completes the configuration of service
(3) preserve the configuration information of every station server, so as in configuration destroyed or operating system reinstall after recovery configuring.
The configuration information that each node is preserved in IP address is installed.
(4) Environmental Health inspection
Perform the health examination that environment is carried out in following operation:

Claims (7)

1. the distributed system being suitable for Linux is disposed and a Governance framework, it is characterized in that: described framework comprises server linux system starting factor module, operating system and application software installation module and Configuration Manager;
The guiding that described server linux system starting factor module in charge completes server hardware starts, and upon actuation by the installation mirror image of next step point operation system;
Described operating system and application software installation module primary responsibility provide the installation source of operating system and application software and the provisional configuration that the vectoring phase obtains are solidified into fixed configurations, and are Configuration Manager installation long-distance support environment;
Described Configuration Manager is responsible for whole large scale distributed system to carry out unifying configuration by long-distance support environment.
2. the distributed system being suitable for Linux according to claim 1 is disposed and Governance framework, it is characterized in that: described operating system and application software installation module comprise operating system installation mirror image, application software installs source, software installs list and environment configurations module four part.
3. an operation method for framework according to claim 1, is characterized in that:
The workflow of described server Linux starting factor module is as follows:
Step 1: be the interim distribution network address of the server started from PXE;
Step 2: for startup of server provides linux system boot image file;
Step 3: the installation mirror image of its point operation system after startup of server;
Described described operating system installation mirror image provides the basic software bag of (SuSE) Linux OS;
Described system and application software installation module comprise operating system installation mirror image, application software installs source, software installs list and environment configurations module four part, application software installs the installation kit that source provides application software, software installs in list designated mounting process the systems soft ware and application software list that need to install, and the workflow of environment configurations module is as follows:
Step 1: read default partition list and subregion is carried out to disk;
Step 2: read the software preset and install list and carry out the installation of systems soft ware and application software;
Step 3: the network address information temporarily distributing to server is cured;
Step 4: Install and configure long-distance support environment on the server;
The workflow of described Configuration Manager is as follows:
Step 1: according to the value amendment configuration file preset;
Step 2: long-distance support script file completes the configuration of service;
Step 3: the configuration information preserving every station server, so as in configuration destroyed or operating system reinstall after recovery configuring.
4. operation method according to claim 3, it is characterized in that: the described interim distribution network address of server started from PXE, the setting by dhcp server profile, carry out the automatic distributing of the ip address of assigned vlan or assigned ip corresponding with MAC Address provide IP address;
Describedly be pxelinux.0 and vmlinuz, initrd.img, boot.msg etc. are started under the file installed needed for minimum linxu system is placed on the service catalogue of tftp for server provides boot image.
All rpm bags that the installation mirror image of its point operation system is system to be installed after described startup of server, under being provided to the share directory shared and store nfs.
5. the operation method according to claim 3 or 4, is characterized in that: described software installation list, environment configurations module are the relevant informations by the software and the configuration control of ks.cfg file being controlled to needs installation.
6. the operation method according to claim 3 or 4, is characterized in that: the described value amendment configuration file according to presetting user is needed the relevant information to node is configured to pass to node, is configured by automatic Configuration Manager;
The configuration information of the every station server of described preservation is, by the client of long-distance support, client-side information is passed to management end.
7. operation method according to claim 5, is characterized in that: the described value amendment configuration file according to presetting user is needed the relevant information to node is configured to pass to node, is configured by automatic Configuration Manager;
The configuration information of the every station server of described preservation is, by the client of long-distance support, client-side information is passed to management end.
CN201410683150.7A 2014-11-23 2014-11-23 Frame and running method suitable for deployment and management of Linux distributed system Pending CN104468199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410683150.7A CN104468199A (en) 2014-11-23 2014-11-23 Frame and running method suitable for deployment and management of Linux distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410683150.7A CN104468199A (en) 2014-11-23 2014-11-23 Frame and running method suitable for deployment and management of Linux distributed system

Publications (1)

Publication Number Publication Date
CN104468199A true CN104468199A (en) 2015-03-25

Family

ID=52913610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410683150.7A Pending CN104468199A (en) 2014-11-23 2014-11-23 Frame and running method suitable for deployment and management of Linux distributed system

Country Status (1)

Country Link
CN (1) CN104468199A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254162A (en) * 2016-09-29 2016-12-21 郑州云海信息技术有限公司 Network Linux system in cluster calculates node operating system restoration methods
CN107193614A (en) * 2017-06-23 2017-09-22 郑州云海信息技术有限公司 A kind of automatic prompting, automatic record, the method for automatic pre-assembled operational system
CN107463467A (en) * 2017-08-24 2017-12-12 浪潮(北京)电子信息产业有限公司 A kind of method and system that can quickly reduce virtual platform
CN108563454A (en) * 2018-03-30 2018-09-21 天津麒麟信息技术有限公司 A kind of operating system hard disk quick deployment method towards machine of soaring
CN109189418A (en) * 2018-11-08 2019-01-11 郑州云海信息技术有限公司 A kind of (SuSE) Linux OS Software Create, installation method and system
CN109213453A (en) * 2018-09-25 2019-01-15 郑州云海信息技术有限公司 A kind of disk management method and relevant apparatus
CN109245925A (en) * 2018-08-28 2019-01-18 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium configuring vlan
CN109284272A (en) * 2018-09-07 2019-01-29 郑州云海信息技术有限公司 A kind of dispositions method of distributed file system, device and equipment
CN109710281A (en) * 2018-12-28 2019-05-03 中科曙光国际信息产业有限公司 The installation method and device of big data platform
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device
CN111026723A (en) * 2019-11-21 2020-04-17 望海康信(北京)科技股份公司 Big data cluster management control method and device, computer equipment and storage medium
CN111124449A (en) * 2019-12-18 2020-05-08 杭州安恒信息技术股份有限公司 Service system deployment method and device based on CF card and extinux guide mode
CN111142888A (en) * 2019-12-29 2020-05-12 浪潮电子信息产业股份有限公司 Server system filling method, device, equipment and computer readable storage medium
CN112612485A (en) * 2020-12-25 2021-04-06 交控科技股份有限公司 Upgrading method for deploying tool client

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731738A (en) * 2005-08-30 2006-02-08 西安交通大学 Automated quick deployment method for large-scale computer cluster node
CN101170423A (en) * 2007-11-15 2008-04-30 曙光信息产业(北京)有限公司 A service-oriented service cluster deployment method
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN102520997A (en) * 2011-12-08 2012-06-27 曙光信息产业(北京)有限公司 Semi-automatic batch deploying method of homogenous cluster operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731738A (en) * 2005-08-30 2006-02-08 西安交通大学 Automated quick deployment method for large-scale computer cluster node
CN101170423A (en) * 2007-11-15 2008-04-30 曙光信息产业(北京)有限公司 A service-oriented service cluster deployment method
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN102520997A (en) * 2011-12-08 2012-06-27 曙光信息产业(北京)有限公司 Semi-automatic batch deploying method of homogenous cluster operating system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254162A (en) * 2016-09-29 2016-12-21 郑州云海信息技术有限公司 Network Linux system in cluster calculates node operating system restoration methods
CN106254162B (en) * 2016-09-29 2019-09-10 郑州云海信息技术有限公司 Network-based Linux system in cluster calculate node operating system recovery method
CN107193614A (en) * 2017-06-23 2017-09-22 郑州云海信息技术有限公司 A kind of automatic prompting, automatic record, the method for automatic pre-assembled operational system
CN107463467B (en) * 2017-08-24 2020-10-02 浪潮(北京)电子信息产业有限公司 Method and system capable of quickly restoring virtualization platform
CN107463467A (en) * 2017-08-24 2017-12-12 浪潮(北京)电子信息产业有限公司 A kind of method and system that can quickly reduce virtual platform
CN108563454A (en) * 2018-03-30 2018-09-21 天津麒麟信息技术有限公司 A kind of operating system hard disk quick deployment method towards machine of soaring
CN109245925A (en) * 2018-08-28 2019-01-18 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium configuring vlan
CN109284272A (en) * 2018-09-07 2019-01-29 郑州云海信息技术有限公司 A kind of dispositions method of distributed file system, device and equipment
CN109213453A (en) * 2018-09-25 2019-01-15 郑州云海信息技术有限公司 A kind of disk management method and relevant apparatus
CN109189418A (en) * 2018-11-08 2019-01-11 郑州云海信息技术有限公司 A kind of (SuSE) Linux OS Software Create, installation method and system
CN109710281A (en) * 2018-12-28 2019-05-03 中科曙光国际信息产业有限公司 The installation method and device of big data platform
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device
CN110753088B (en) * 2019-09-18 2022-10-18 平安科技(深圳)有限公司 System deployment method and device
CN111026723A (en) * 2019-11-21 2020-04-17 望海康信(北京)科技股份公司 Big data cluster management control method and device, computer equipment and storage medium
CN111026723B (en) * 2019-11-21 2023-08-11 望海康信(北京)科技股份公司 Big data cluster management control method and device, computer equipment and storage medium
CN111124449A (en) * 2019-12-18 2020-05-08 杭州安恒信息技术股份有限公司 Service system deployment method and device based on CF card and extinux guide mode
CN111142888A (en) * 2019-12-29 2020-05-12 浪潮电子信息产业股份有限公司 Server system filling method, device, equipment and computer readable storage medium
CN112612485A (en) * 2020-12-25 2021-04-06 交控科技股份有限公司 Upgrading method for deploying tool client

Similar Documents

Publication Publication Date Title
CN104468199A (en) Frame and running method suitable for deployment and management of Linux distributed system
US11405274B2 (en) Managing virtual network functions
CN108089913B (en) Virtual machine deployment method of super-fusion system
CN106911729B (en) Remote installation method of operating system suitable for domestic processor
US9286102B1 (en) Desktop image management for hosted hypervisor environments
US8387045B2 (en) Cloning image creation using virtual machine environment
EP2043320B1 (en) Method and system for automatic and remote server provisioning using virtual machine appliances
US9323820B1 (en) Virtual datacenter redundancy
US9542174B2 (en) Deployment of software images with distinct configuration logic
US7082527B2 (en) Method and system for rapid repurposing of machines in a clustered, scale-out environment
US20150106810A1 (en) Distribution of a Service Implemented by Intra-Connected Virtual Machines
CN108958742A (en) A kind of method of batch installing operating system, relevant device and system
US9354858B2 (en) Desktop image management for virtual desktops using on-demand stub creation
US20140365822A1 (en) Virtual infrastructure recovery configurator
CN102402446A (en) Method and device for installing application software
CN104394223A (en) Automatic rapid deployment method for large-scale computer cluster system nodes
CN102937909A (en) Method for deploying and upgrading Linux system
CN105740003A (en) Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine
CN108900656A (en) A kind of method and device of batch deployment
CN111786810A (en) Automatic deployment method and system for large-scale test bed nodes
US9286093B1 (en) Setting up network adaptors in a virtual machine
US9411604B2 (en) Booting a computing device to have a predefined functionality
US8839241B2 (en) Virtual appliance deployment
CN106209445B (en) A kind of Visualized data centre disposed by network
US20150248282A1 (en) Automatic application layer suggestion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
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: 20150325