CN106686142B - Web-based integrated Linux server system and system image pushing method thereof - Google Patents

Web-based integrated Linux server system and system image pushing method thereof Download PDF

Info

Publication number
CN106686142B
CN106686142B CN201710130812.1A CN201710130812A CN106686142B CN 106686142 B CN106686142 B CN 106686142B CN 201710130812 A CN201710130812 A CN 201710130812A CN 106686142 B CN106686142 B CN 106686142B
Authority
CN
China
Prior art keywords
message
module
web
file transmission
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710130812.1A
Other languages
Chinese (zh)
Other versions
CN106686142A (en
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.)
Luen Thai cluster (Beijing) Technology Co., Ltd.
Original Assignee
Lthpc Beijing 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 Lthpc Beijing Technology Co ltd filed Critical Lthpc Beijing Technology Co ltd
Priority to CN201710130812.1A priority Critical patent/CN106686142B/en
Publication of CN106686142A publication Critical patent/CN106686142A/en
Application granted granted Critical
Publication of CN106686142B publication Critical patent/CN106686142B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an integrated Linux server system based on Web and a system image pushing method thereof, wherein the integrated Linux server system comprises a world wide Web service container, a session monitoring interface, a system management module, a simple file transmission module, a dynamic address distribution module and an image distribution module; the web service container receives a host starting message through a network card, and the host starting message is filtered through a session monitoring interface and distributed to a dynamic address allocation module and a simple file transmission module; the dynamic address allocation module cooperates with the simple file transmission module, selects a proper system image for the host computer through predefined configuration information, and completes system management.

Description

Web-based integrated Linux server system and system image pushing method thereof
Technical Field
The invention relates to a server system operation and maintenance technology, in particular to an integrated Linux server system based on Web and a system image pushing method thereof.
Background
In a large-scale server environment, system images are often booted and pushed through the network services dynamic host configuration protocol + simple file transfer protocol (DHCP + TFTP). The existing mainstream Linux operating system release usually integrates DHCP and TFTP services, but has several technical defects as follows:
first, system image services cannot be provided in a highly concurrent manner, such as: simultaneously, the distribution of ten-thousand-level nodes is supported; secondly, flexible grouping and system image customization and distribution are difficult to carry out according to business needs; thirdly, it is difficult to integrate with the business system and interact with the business logic.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide an integrated Linux server system based on Web and a system image pushing method thereof, so as to support a high concurrency manner to provide system image services, and to perform flexible grouping and distribution of system images according to business needs, and also to support business system integration and interaction with business logic.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
an integrated Linux server system based on Web comprises a world wide Web service container, a session monitoring interface, a system management module, a simple file transmission module, a dynamic address allocation module and an image distribution module; the web service container receives a host starting message through a network card, and the host starting message is filtered through a session monitoring interface and distributed to a dynamic address allocation module and a simple file transmission module; the dynamic address allocation module cooperates with the simple file transmission module, selects a proper system starting image for the host computer through predefined configuration information, and completes system management, wherein the business logic is coupled with the address service and the file transmission service through a network connection Session (Session), and the system image is guided to be classified and pushed according to rules generated by dynamic change in the running process of the business logic.
The system image is specifically an iso file or an img file.
A system image pushing method of an integrated Linux server system based on Web comprises the following steps:
A. a step of receiving a network message by using a web service container; the network message specifically refers to a message from a host;
B. judging whether the network message is a starting message or a management message, and distributing the message; if the message is the starting type message, executing the step C; if the message is a management type message, executing the step D; the starting type message is specifically a host starting message; the management type message is specifically a management instruction;
C. the starting message is forwarded to a dynamic address allocation module for role matching, and then step E is executed; the roles are defined according to the requirements of users;
D. the management type message is forwarded to a simple file transmission module, and a management instruction is downloaded; then ending the message processing;
E. selecting a system image which accords with the role of the host machine according to the matching result of the host machine identification information and the predefined rule by using the dynamic address allocation module, and then executing the step F;
F. and sending the selected system mapping information to a file transmission module, downloading the file, namely performing simple file transmission, and then finishing message processing.
Compared with the prior art, the Web-based integrated Linux server system and the system image pushing method thereof have the following advantages:
1) the number of threads or processes used by the traditional built-in service is limited, a large number of network transmission connections cannot be efficiently kept simultaneously, a system image pushing method based on web is optimized through a protocol, and a large number of connections can be kept online simultaneously with low cost, so that the system image service can be provided in a high-concurrency mode, and concurrency of ten-thousand-level nodes can be supported.
2) The invention supports grouping according to the requirements of specific services, and provides a configuration file with a specific format, so that a user can define own servers into various roles, such as a web server, an ftp server, a metadata server and the like, thereby flexibly grouping and distributing system images according to customization.
3) The invention can assign the servers operated by the service which needs to be defined by the user to different roles through the configuration file, and the definitions of the roles can be further associated with a specific system image, thereby realizing integration and supporting the interaction of service logic.
4) The Web-based integrated Linux server system can solve the problem of automatic image pushing of hosts with different roles, simplify manual management work in a large-scale cloud service environment and support the realization of automatic and intelligent system operation and maintenance.
Drawings
FIG. 1 is a schematic structural diagram of an integrated Web-based Linux server system according to an embodiment of the present invention;
fig. 2 is a schematic flow diagram of a system image pushing method of the Web-based integrated Linux server system according to an embodiment of the present invention.
Detailed Description
The Web-based integrated Linux server system and the system image pushing method thereof according to the present invention are described in further detail with reference to the accompanying drawings and embodiments of the present invention.
The invention adopts Web service to provide network guide service uniformly, integrates with session mechanism of Web container, and provides programmable and customizable Linux system network guide and system image push based on business logic. The Web service runs in an Apache-tomcat container. The Apache-tomcat container is a Web application container supported by the Apache free software foundation.
Fig. 1 is a schematic structural diagram of an integrated Web-based Linux server system according to an embodiment of the present invention.
As shown in fig. 1, the integrated Web-based Linux server system mainly includes a Web service container, a session monitoring interface, a system management module, a simple file transmission module, a dynamic address allocation module, and an image distribution module.
The method comprises the steps that a world wide web service container receives a host starting message through a network card, and the host starting message is filtered through a session monitoring interface and distributed to a dynamic address allocation module and a simple file transmission module; the dynamic address allocation module cooperates with the simple file transmission module to select a proper system starting image for the host computer through the predefined configuration information and complete the system management. The system boot image, i.e. the system image, may be specifically an iso file, an img file, or a directory stored on the server.
The business logic, address service and file transmission service are coupled through network connection Session (Session), and system images are guided to be classified and pushed according to rules generated by dynamic changes in the running process of the business logic.
Fig. 2 is a schematic flow diagram of a system image pushing method of the Web-based integrated Linux server system according to an embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
step 21: receiving a network message using a web service container; the network message specifically refers to a message from a host.
Step 22: judging whether the network message is a starting message or a management message, and distributing the message; if the message is the start class message, executing step 23; if it is a management class message, step 24 is performed.
Here, the start-up type message may specifically be a host start-up message. The management type message may be a management instruction.
Step 23: the start class message is forwarded to the dynamic address assignment module for role matching and then step 25 is performed.
Here, the roles are defined as needed according to the user's needs.
Step 24: the management type message is forwarded to a simple file transmission module, and a management instruction is downloaded; and step 27 is performed.
Step 25: the dynamic address assignment module is used to select the system image that conforms to the host role according to the matching result of the host identification information and the predefined rule, and then step 26 is executed.
Here, the roles are defined as needed according to the user's needs, and are not predetermined.
Step 26: the selected system image information is sent to the file transfer module for file download, i.e. simple file transfer, and then step 27 is performed.
Step 27: the message processing is finished.
By adopting the Web-based integrated Linux server system and the system image pushing method thereof, the problem of automatic image pushing of hosts with different roles can be solved, manual management work can be simplified in a large-scale cloud service environment, and automatic and intelligent system operation and maintenance are supported.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (3)

1. An integrated Linux server system based on Web is characterized by comprising a world wide Web service container, a session monitoring interface, a system management module, a simple file transmission module, a dynamic address allocation module and an image distribution module; the web service container receives a host starting message through a network card, and the host starting message is filtered through a session monitoring interface and distributed to a dynamic address allocation module and a simple file transmission module; the dynamic address allocation module cooperates with the simple file transmission module, selects a proper system image for the host computer through predefined configuration information, and completes system management, wherein the service logic is coupled with the address service and the file transmission service through a network connection Session, and the system image is guided to be classified and pushed according to rules generated by dynamic changes in the service logic operation process.
2. The Web-based integrated Linux server system of claim 1, wherein the system image is, in particular, an iso file or an img file.
3. A system image pushing method of an integrated Linux server system based on Web is characterized by comprising the following steps:
A. a step of receiving a network message by using a web service container; the network message specifically refers to a message from a host;
B. judging whether the network message is a starting message or a management message, and distributing the message; if the message is the starting type message, executing the step C; if the message is a management type message, executing the step D; the starting type message is specifically a host starting message; the management type message is specifically a management instruction;
C. the starting message is forwarded to a dynamic address allocation module for role matching, and then step E is executed; the roles are defined according to the requirements of users;
D. the management type message is forwarded to a simple file transmission module, and a management instruction is downloaded; then ending the message processing;
E. selecting a system image which accords with the role of the host machine according to the matching result of the host machine identification information and the predefined rule by using the dynamic address allocation module, and then executing the step F;
F. and sending the selected system mapping information to a file transmission module, downloading the file, namely performing simple file transmission, and then finishing message processing.
CN201710130812.1A 2017-03-07 2017-03-07 Web-based integrated Linux server system and system image pushing method thereof Expired - Fee Related CN106686142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710130812.1A CN106686142B (en) 2017-03-07 2017-03-07 Web-based integrated Linux server system and system image pushing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710130812.1A CN106686142B (en) 2017-03-07 2017-03-07 Web-based integrated Linux server system and system image pushing method thereof

Publications (2)

Publication Number Publication Date
CN106686142A CN106686142A (en) 2017-05-17
CN106686142B true CN106686142B (en) 2020-08-25

Family

ID=58828580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710130812.1A Expired - Fee Related CN106686142B (en) 2017-03-07 2017-03-07 Web-based integrated Linux server system and system image pushing method thereof

Country Status (1)

Country Link
CN (1) CN106686142B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284243A (en) * 2014-08-18 2015-01-14 四川长虹电器股份有限公司 Start-up system and method for television
CN105959134A (en) * 2016-04-22 2016-09-21 汉柏科技有限公司 Automatic installation deployment method based on PXE, and PXE server

Family Cites Families (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
CN104394223A (en) * 2014-12-03 2015-03-04 浪潮集团有限公司 Automatic rapid deployment method of large-scale computer cluster system nodes
CN105159704B (en) * 2015-08-05 2019-10-01 浪潮(北京)电子信息产业有限公司 A kind of method and device of batch deployment operation system
CN105930288A (en) * 2016-04-28 2016-09-07 江苏理工学院 Multifunctional computer communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284243A (en) * 2014-08-18 2015-01-14 四川长虹电器股份有限公司 Start-up system and method for television
CN105959134A (en) * 2016-04-22 2016-09-21 汉柏科技有限公司 Automatic installation deployment method based on PXE, and PXE server

Also Published As

Publication number Publication date
CN106686142A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN111061484B (en) Code compiling method, device, server, user terminal and readable medium
CN105159704B (en) A kind of method and device of batch deployment operation system
CN106301829B (en) A kind of method and apparatus of network service dilatation
US10282191B2 (en) Updating web resources
US10353728B2 (en) Method, system and device for managing virtual machine software in cloud environment
CN102752137B (en) The apparatus and method of virtual machine network parameter are initiatively set
CN103984575A (en) Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN106126273B (en) A kind of method of upgrading BIOS
CN108958742A (en) A kind of method of batch installing operating system, relevant device and system
CN104639378A (en) Automatic server deployment method based on PXE (pre-boot execution environment)
CN103441867A (en) Method for updating internal network resource allocation of virtual machine
CN110913015A (en) Distributed quick installation method, system and medium for cloud mobile phone APP
CN103281203A (en) Ecos (Embedded Configurable Operating System) system-based DHCP (Dynamic Host Configuration Protocol) address assignment management method
CN102662884B (en) Device driving program configuration method based on network
CN104113430A (en) Cloud computing data center automatic deployment software framework design
CN107707687A (en) A kind of method and apparatus of virtual machine IP address configuration
CN103220643B (en) Information providing method and device, ATL matching process and device
KR20150108230A (en) Cluster construction method and apparatus thereof
US20120122573A1 (en) Apparatus and method for synchronizing virtual machine
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN102546218A (en) Configuration management method and system
CN105656643A (en) Method and equipment for performing compatible management based on network configuration protocol
CN108881504A (en) A kind of hardware information automatic acquiring method and device
CN106686142B (en) Web-based integrated Linux server system and system image pushing method thereof
JP7257554B2 (en) Model file distribution method, platform, system, terminal and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180704

Address after: 100089 112, room 13, 13 building, No. 3, Fung Xiu Road, Haidian District, Beijing.

Applicant after: Luen Thai cluster (Beijing) Technology Co., Ltd.

Address before: 100089 2 floor 202, building 22, 72 Qinghe street, Haidian District, Beijing.

Applicant before: Wudaokou science and Technology (Beijing) Limited by Share Ltd

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200825

Termination date: 20210307