CN117008926A - Method, storage medium, device and apparatus for realizing rapid server deployment - Google Patents

Method, storage medium, device and apparatus for realizing rapid server deployment Download PDF

Info

Publication number
CN117008926A
CN117008926A CN202310764271.3A CN202310764271A CN117008926A CN 117008926 A CN117008926 A CN 117008926A CN 202310764271 A CN202310764271 A CN 202310764271A CN 117008926 A CN117008926 A CN 117008926A
Authority
CN
China
Prior art keywords
server
deployment
deployed
configuration information
hardware
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
CN202310764271.3A
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.)
Hunan Environment Biological Polytechnic
Original Assignee
Hunan Environment Biological Polytechnic
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 Hunan Environment Biological Polytechnic filed Critical Hunan Environment Biological Polytechnic
Priority to CN202310764271.3A priority Critical patent/CN117008926A/en
Publication of CN117008926A publication Critical patent/CN117008926A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method, a storage medium, equipment and a device for realizing rapid deployment of a server, and relates to the technical field of server deployment. Selecting corresponding deployment content based on the server hardware and software configuration information, and installing and configuring the selected deployment content; and acquiring the deployed server to test and verify, and recording the deployment result to a server management system. The application can rapidly and automatically deploy the server, reduce the time and error rate of manual operation, and improve the deployment efficiency and quality, thereby reducing the cost and risk of operation and maintenance of the server.

Description

Method, storage medium, device and apparatus for realizing rapid server deployment
Technical Field
The application relates to the technical field of server deployment, in particular to a method, a storage medium, equipment and a device for realizing rapid server deployment.
Background
The server is a core infrastructure for information construction and business operation of enterprises, and the operation performance and stability of the server are critical to successful operation of the business. Furthermore, server deployment is one of important links of server operation and maintenance, and involves steps of installation, configuration, testing, verification and the like of software such as an operating system, a database, an application program, a server management tool, a monitoring program and the like, which require professional technology and a great deal of time to carry out.
Currently, server deployment is typically done manually by a system administrator or operation and maintenance personnel, which has the following problems: firstly, manual operation is easy to make mistakes, such as selecting wrong software version, configuring wrong parameters and the like, so that the server cannot normally operate; secondly, manual operation requires a lot of time and labor, and especially has low efficiency when deploying a large-scale server cluster; finally, manual operation has human factors, and deployment quality and consistency are difficult to ensure.
To address these issues, server automation deployment tools have emerged, such as PXE (Preboot Execution Environment, pre-boot execution environment), kickstart, chef, puppet, etc., which can automatically complete server deployment through preset configuration files and scripts. However, these tools still have limitations such as the need to manually write configuration files and scripts, the inability to support multiple operating systems and software, the inability to automate deployment of management tools and monitoring programs, and the like. As can be seen, there is a need for a method that enables rapid deployment of servers.
Disclosure of Invention
Aiming at the defects in the prior art, the application aims to provide a method, a storage medium, equipment and a device for realizing rapid deployment of a server, which can rapidly and automatically deploy the server, reduce the time and error rate of manual operation, and improve the deployment efficiency and quality, thereby reducing the cost and risk of operation and maintenance of the server.
In order to achieve the above purpose, the present application provides a method for implementing rapid deployment of a server, which specifically includes the following steps:
connecting a server to be deployed so as to acquire server hardware and software configuration information of the server to be deployed;
selecting corresponding deployment content based on the server hardware and software configuration information, and installing and configuring the selected deployment content;
and acquiring the deployed server to test and verify, and recording the deployment result to a server management system.
On the basis of the technical scheme, the server to be deployed is connected to acquire server hardware and software configuration information of the server to be deployed, and the method specifically comprises the following steps:
connecting to a server to be deployed through a network;
and acquiring server hardware and software configuration information of the server to be deployed based on a network protocol.
On the basis of the technical proposal, the method comprises the following steps,
the network comprises a wired mode and a wireless mode;
the network protocol comprises SNMP and SSH.
On the basis of the technical scheme, the deployment content comprises an operating system, a database and an application program.
On the basis of the technical scheme, the server hardware and software configuration information-based method for selecting corresponding deployment contents and installing and configuring the selected deployment contents comprises the following specific steps:
automatically selecting a corresponding operating system, database and application program according to the server hardware and software configuration information;
based on the automatic installation tool, the installation and configuration of the deployment content are automatically carried out according to the selected deployment content and the configuration information of the hardware and the software of the server.
Based on the technical scheme, the test comprises a system function test, a performance test, a safety test and a compatibility test.
On the basis of the technical scheme, the server management system comprises Red Hat Satellite and Foreman.
The present application provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for achieving rapid server deployment described above.
The application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the steps of the method for realizing the rapid deployment of the server are realized when the processor executes the program.
The application provides a device for realizing rapid deployment of a server, which comprises:
the acquisition module is used for connecting the server to be deployed so as to acquire the server hardware and software configuration information of the server to be deployed;
the installation module is used for selecting corresponding deployment content based on the server hardware and software configuration information and installing and configuring the selected deployment content;
the test module is used for acquiring the deployed server to test and verify, and recording the deployment result to the server management system.
Compared with the prior art, the application has the advantages that: the server to be deployed is connected to obtain the configuration information of the server hardware and the software of the server to be deployed, the corresponding deployment content is selected based on the configuration information of the server hardware and the software, the selected deployment content is installed and configured, the deployed server is obtained to test and verify, and the deployment result is recorded to a server management system, so that the server can be deployed quickly and automatically, the time and the error rate of manual operation are reduced, the deployment efficiency and the deployment quality are improved, and the cost and the risk of operation and maintenance of the server are reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for implementing rapid server deployment in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.
The embodiment of the application provides a method for realizing rapid deployment of a server, which can rapidly and automatically deploy the server, reduce the time and error rate of manual operation, and improve the deployment efficiency and quality, thereby reducing the cost and risk of operation and maintenance of the server. Referring to fig. 1, the method for implementing rapid server deployment of the present application specifically includes the following steps:
s1: connecting a server to be deployed so as to acquire server hardware and software configuration information of the server to be deployed;
in the application, a server to be deployed is connected to acquire server hardware and software configuration information of the server to be deployed, and the method comprises the following specific steps:
s101: the method comprises the steps of connecting to a server to be deployed through a network, wherein the network comprises a wired mode and a wireless mode;
s102: and acquiring server hardware and software configuration information of the server to be deployed based on a network protocol, namely acquiring a configuration file, wherein the network protocol comprises SNMP and SSH.
The server is connected to the server to be deployed through a network to acquire the configuration information of the server hardware and the software, and the server hardware and the software can be connected to the server to be deployed in a wired or wireless mode, and the configuration information of the server to be acquired can be acquired by adopting SNMP (Simple Network Management Protocol ), SSH (Secure Shell) or other network protocols.
S2: selecting corresponding deployment content based on the server hardware and software configuration information, and installing and configuring the selected deployment content; the deployment content includes an operating system, a database, and an application.
In the application, corresponding deployment content is selected based on server hardware and software configuration information, and the selected deployment content is installed and configured, and the specific steps comprise:
s201: automatically selecting a corresponding operating system, database and application program according to the server hardware and software configuration information;
s202: based on the automatic installation tool, the installation and configuration of the deployment content are automatically carried out according to the selected deployment content and the configuration information of the hardware and the software of the server.
The installation and configuration of the deployment content can be automatically completed according to the selected deployment content and the acquired server hardware and software configuration information, and when a MySQL (relational database management system) database is selected, the automatic installation tool can automatically complete the steps of database installation, initialization, user management, performance optimization and the like according to the configuration file. In the process of installation and configuration, a server management tool and a monitoring program can be installed and configured according to the needs, so that the server can be managed and monitored conveniently.
S3: and acquiring the deployed server to test and verify, and recording the deployment result to a server management system.
Testing and verifying the deployed server to ensure the normal operation of the server and meet business requirements, wherein the testing comprises system function testing, performance testing, safety testing and compatibility testing, and in the actual application process, the testing items are not limited to the above items.
And recording the deployment result to a server management system for subsequent management and maintenance. The server management system may use specialized management software, or may use an autonomous developed management system. The server management system of the present application includes Red Hat Satellite (a lifecycle management platform that provides administrators with tools to focus on managing global enterprise systems and content) and Foreman (a complete lifecycle management tool for physical and virtual servers).
The method for realizing the rapid deployment of the server is suitable for enterprises and organizations of various scales, and has wide application prospect in the aspects of the deployment and management of the server.
The following describes a specific implementation flow of the method for realizing rapid server deployment of the present application.
Step 1: preparing a server deployment environment
Before server deployment can take place, the server deployment environment needs to be prepared. The server deployment environment includes server hardware, a network environment, and the like. The server hardware comprises a server host, a storage device, a network card and the like. The network environment includes network topology, IP addresses, subnet masks, gateways, and the like. In preparing a server deployment environment, the following factors need to be considered: the purpose and business requirements of the server, the performance and capacity requirements of the server, the network topology and security policies of the server, etc.
Step 2: automated deployment server
After preparation of the server deployment environment is completed, automated deployment of the servers may begin. The automated deployment server comprises the following steps:
(1) And selecting a proper operating system version according to the hardware configuration information of the server. The operating system may be automatically installed and configured by an automation tool, such as Red Hat Kickstart, etc.;
(2) According to the service requirement and the software configuration information of the server, a proper database and application program are selected, and are installed and configured, and the database and the application program can be automatically installed and configured by using an automation tool, such as an conventional (an automation operation and maintenance tool), a Puppet (an automation operation and maintenance tool) and the like;
(3) For performance optimization and security reinforcement, automation tools and scripts, such as Shell scripts, python scripts and the like, can be used for performance optimization and security reinforcement, and optimization contents comprise: kernel optimization, network optimization, storage optimization, etc., and the reinforcement content includes: firewall configuration, key management, user rights management, etc.;
(4) The server management tool and the monitoring program can be installed and configured, and the server management tool and the monitoring program, such as Red Hat Satellite, foreman and the like, are convenient to manage and monitor.
Step 3: test and verification server
After the automatic deployment of the server is completed, the server needs to be tested and verified to ensure the normal operation of the server and meet the service requirements. Testing and verification may include the following:
and (3) testing system functions: testing whether each system function of the server is normal;
performance test: testing whether the performance of the server meets the expectations;
safety test: testing whether the security performance of the server meets the security requirement;
compatibility test: the compatibility of the server with other systems and software is tested.
Step 4: recording deployment results to a server management system
After testing and verification of the server is completed, the deployment results need to be recorded into the server management system for subsequent management and maintenance. The server management system may use specialized management software, such as Red Hat Satellite, foreman, etc., or may use an independently developed management system.
The method for realizing the rapid deployment of the server can realize the rapid deployment: the server deployment is rapidly completed by adopting an automatic tool and a process; intelligent configuration: according to the configuration information of the server hardware and software, a proper operating system, a database, an application program and the like are automatically selected, installed and configured; and (3) quality assurance: the automatic deployment can ensure the deployment quality and consistency, and avoid the influence of human factors on the deployment result; the reliability is high: through testing and verification, the normal operation of the server is ensured, and the service requirement is met; the flexibility is strong: the deployment and management can be flexibly carried out according to different service requirements and software configurations.
According to the method for realizing rapid deployment of the server, the server to be deployed is connected, so that server hardware and software configuration information of the server to be deployed is obtained, corresponding deployment content is selected based on the server hardware and software configuration information, the selected deployment content is installed and configured, the deployed server is obtained, testing and verification are performed, a deployment result is recorded to a server management system, the server can be deployed rapidly and automatically, time and error rate of manual operation are reduced, deployment efficiency and quality are improved, and cost and risk of operation and maintenance of the server are reduced.
In a possible implementation manner, the embodiment of the present application further provides a non-transitory computer readable storage medium, where the readable storage medium is located in a PLC (Programmable Logic Controller ) controller, and a computer program is stored on the readable storage medium, where the program is executed by a processor to implement the following steps of the method for implementing rapid server deployment:
connecting a server to be deployed so as to acquire server hardware and software configuration information of the server to be deployed;
selecting corresponding deployment content based on the server hardware and software configuration information, and installing and configuring the selected deployment content;
and acquiring the deployed server to test and verify, and recording the deployment result to a server management system.
The storage media may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The electronic equipment provided by the embodiment of the application comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the method for realizing the rapid deployment of the server when executing the program.
The device for realizing rapid deployment of the server provided by the embodiment of the application comprises an acquisition module, an installation module and a test module.
The acquisition module is used for connecting the server to be deployed so as to acquire server hardware and software configuration information of the server to be deployed; the installation module is used for selecting corresponding deployment content based on the server hardware and software configuration information and installing and configuring the selected deployment content; the test module is used for obtaining the deployed server to test and verify, and recording the deployment result to the server management system.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (10)

1. The method for realizing the rapid deployment of the server is characterized by comprising the following steps:
connecting a server to be deployed so as to acquire server hardware and software configuration information of the server to be deployed;
selecting corresponding deployment content based on the server hardware and software configuration information, and installing and configuring the selected deployment content;
and acquiring the deployed server to test and verify, and recording the deployment result to a server management system.
2. The method for implementing rapid server deployment according to claim 1, wherein the step of connecting the server to be deployed to obtain server hardware and software configuration information of the server to be deployed comprises the following specific steps:
connecting to a server to be deployed through a network;
and acquiring server hardware and software configuration information of the server to be deployed based on a network protocol.
3. A method for enabling rapid deployment of servers as recited in claim 2, wherein:
the network comprises a wired mode and a wireless mode;
the network protocol comprises SNMP and SSH.
4. The method for realizing rapid deployment of the server according to claim 1, wherein: the deployment content includes an operating system, a database, and an application.
5. The method for implementing rapid server deployment according to claim 4, wherein the steps of selecting corresponding deployment contents based on server hardware and software configuration information, and installing and configuring the selected deployment contents comprise:
automatically selecting a corresponding operating system, database and application program according to the server hardware and software configuration information;
based on the automatic installation tool, the installation and configuration of the deployment content are automatically carried out according to the selected deployment content and the configuration information of the hardware and the software of the server.
6. The method for realizing rapid deployment of the server according to claim 1, wherein: the test includes a system function test, a performance test, a security test and a compatibility test.
7. The method for realizing rapid deployment of the server according to claim 1, wherein: the server management system includes Red Hat Satellite and Foreman.
8. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method of achieving a rapid deployment of servers according to any of claims 1 to 7.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the method of achieving rapid deployment of a server as claimed in any one of claims 1 to 7 when the program is executed.
10. An apparatus for implementing rapid deployment of a server, comprising:
the acquisition module is used for connecting the server to be deployed so as to acquire the server hardware and software configuration information of the server to be deployed;
the installation module is used for selecting corresponding deployment content based on the server hardware and software configuration information and installing and configuring the selected deployment content;
the test module is used for acquiring the deployed server to test and verify, and recording the deployment result to the server management system.
CN202310764271.3A 2023-06-26 2023-06-26 Method, storage medium, device and apparatus for realizing rapid server deployment Pending CN117008926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310764271.3A CN117008926A (en) 2023-06-26 2023-06-26 Method, storage medium, device and apparatus for realizing rapid server deployment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310764271.3A CN117008926A (en) 2023-06-26 2023-06-26 Method, storage medium, device and apparatus for realizing rapid server deployment

Publications (1)

Publication Number Publication Date
CN117008926A true CN117008926A (en) 2023-11-07

Family

ID=88568090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310764271.3A Pending CN117008926A (en) 2023-06-26 2023-06-26 Method, storage medium, device and apparatus for realizing rapid server deployment

Country Status (1)

Country Link
CN (1) CN117008926A (en)

Similar Documents

Publication Publication Date Title
US9419856B1 (en) Network device configuration deployment pipeline
CN108141380B (en) Network-based resource configuration discovery service
US9497209B2 (en) Image vulnerability repair in a networked computing environment
US20190149420A1 (en) System and method for automated system management
US9992064B1 (en) Network device configuration deployment pipeline
US9602599B2 (en) Coordinating application migration processes
US8346897B2 (en) System and method for deploying and maintaining software applications
US8332496B2 (en) Provisioning of operating environments on a server in a networked environment
US20160232065A1 (en) Preserving management services with self-contained metadata through the disaster recovery life cycle
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CA2973896C (en) Recovery execution system using programatic generation of actionable workflows
US10897393B1 (en) Systems and methods for network management
CN117170803A (en) Method for generating signal-creation operating system pipeline, electronic equipment and storage medium
US20160277234A1 (en) Software version maintenance in a software defined network
CN111586022A (en) Firewall opening verification method, electronic device, computer equipment and storage medium
CN106970865B (en) Monitoring and management of software as a service in a micro-cloud environment
US11575763B2 (en) System and method for managing configuration data of monitoring agents
US9389991B1 (en) Methods, systems, and computer readable mediums for generating instruction data to update components in a converged infrastructure system
CN117008926A (en) Method, storage medium, device and apparatus for realizing rapid server deployment
EP3284214B1 (en) Converged system compliance checking
CN113014416A (en) Method, system, device and storage medium for automatically configuring and managing network device
US20230221935A1 (en) Blueprints-based deployment of monitoring agents
US11736525B1 (en) Generating access control policies using static analysis
US20240248779A1 (en) Data Center Virtual Machine Disaster Recovery Based on Centrality Prioritization
CN116185434A (en) Cloud server adaptation method and device based on podman

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