CN106301897A - A kind of (SuSE) Linux OS installs collocation method and device - Google Patents

A kind of (SuSE) Linux OS installs collocation method and device Download PDF

Info

Publication number
CN106301897A
CN106301897A CN201610638517.2A CN201610638517A CN106301897A CN 106301897 A CN106301897 A CN 106301897A CN 201610638517 A CN201610638517 A CN 201610638517A CN 106301897 A CN106301897 A CN 106301897A
Authority
CN
China
Prior art keywords
computer
address
installation
service
tftp
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
CN201610638517.2A
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610638517.2A priority Critical patent/CN106301897A/en
Publication of CN106301897A publication Critical patent/CN106301897A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • 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)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of (SuSE) Linux OS and collocation method and device are installed, it is applied to control server, control server is provided with DHCP service and TFTP service in advance, control server and be connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed.The method comprises the following steps: receive the IP Address requests of object-computer;By DHCP service, the positional information that target ip address and TFTP service is returned to object-computer;When receiving the installation file acquisition request that object-computer sends, by TFTP service, default image file of installing is returned to object-computer, so that object-computer carries out installation and the configuration of (SuSE) Linux OS with the installation configuration file preset.So, improve installation effectiveness, decrease mistake, ensure the normal work of every computer of computer cluster.

Description

A kind of (SuSE) Linux OS installs collocation method and device
Technical field
The present invention relates to computer operating system technical field, particularly relate to a kind of (SuSE) Linux OS and configuration is installed Method and device.
Background technology
Along with the fast development of computer cluster technology, the quantity of the computer that computer cluster comprises gets more and more, right Complicated all the more in the installation of every computer and the configuration of computer cluster.
In the prior art, it is generally required that every computer in computer cluster is installed and joins by manager one by one Putting, work efficiency is relatively low, and the process that configures easily is made mistakes, and partial computer may be caused normally to work, thus affect The normal work of whole computer cluster.
Summary of the invention
For solving above-mentioned technical problem, the present invention provides a kind of (SuSE) Linux OS to install collocation method and device.
A kind of (SuSE) Linux OS installs collocation method, is applied to control server, pacifies in advance in described control server Servicing equipped with dynamic host configuration protocol DHCP service and TFTP TFTP, described control server is with to be installed Every compunication in the computer cluster of (SuSE) Linux OS connects;Described method includes:
Receiving the IP Address requests of object-computer, described object-computer is any one in described computer cluster Computer;
By described DHCP service, the positional information that target ip address and described TFTP service is returned to described target meter Calculation machine, described target ip address is the IP address selected in IP resource pool by described DHCP service;
Please according to the installation file acquisition that the positional information that described TFTP services sends receiving described object-computer When asking, by described TFTP service, default image file of installing is returned to described target meter with the installation configuration file preset Calculation machine, comprises the create-rule of host name and login password in described installation configuration file so that described object-computer according to Described installation image file and described installation configuration file carry out installation and the configuration of (SuSE) Linux OS.
In a kind of detailed description of the invention of the present invention, described by described DHCP service by target ip address and described After the positional information of TFTP service returns to described object-computer, described method also includes:
Described target ip address is rejected from described IP resource pool.
A kind of (SuSE) Linux OS installs collocation method, is applied to object-computer, and described object-computer is to be installed Any one computer in the computer cluster of (SuSE) Linux OS, every computer in described computer cluster all with Control server communication to connect, described control server is provided with dynamic host configuration protocol DHCP service and simple literary composition in advance Part host-host protocol TFTP services;Described method includes:
IP Address requests is sent to described control server;
Receive target ip address and the position of described TFTP service that described control server is returned by described DHCP service Confidence ceases;
The positional information serviced according to described TFTP, sends to described control server and installs file acquisition request;
Receive installation image file and installation configuration file, institute that described control server is returned by described TFTP service State and the create-rule comprising host name and login password in configuration file is installed;
According to described installation image file and described installation configuration file, it is installed and configured (SuSE) Linux OS.
In a kind of detailed description of the invention of the present invention, described civilian according to described installation image file and described installation configuration Part, is installed and configured (SuSE) Linux OS, including:
According to described installation image file and described installation configuration file, (SuSE) Linux OS is installed;
After installation is complete, according to described installation configuration file, preserve described target ip address, and according to described Target IP Address generates the host name corresponding with described target ip address and login password.
A kind of (SuSE) Linux OS installs configuration device, is applied to control server, pacifies in advance in described control server Servicing equipped with dynamic host configuration protocol DHCP service and TFTP TFTP, described control server is with to be installed Every compunication in the computer cluster of (SuSE) Linux OS connects;Described device includes:
IP Address requests receiver module, for receiving the IP Address requests of object-computer, described object-computer is institute State any one computer in computer cluster;
Information returns module, for positional information target ip address and described TFTP serviced by described DHCP service Returning to described object-computer, described target ip address is the IP ground selected in IP resource pool by described DHCP service Location;
File returns module, for receiving the positional information transmission that described object-computer services according to described TFTP The request of installation file acquisition time, by default, image file and the installation configuration file preset are installed by described TFTP service Return to described object-computer, described installation configuration file comprises the create-rule of host name and login password, so that institute State object-computer carry out the installation of (SuSE) Linux OS according to described installation image file and described installation configuration file and join Put.
In a kind of detailed description of the invention of the present invention, described device also includes that module is rejected in IP address, is used for:
By described DHCP service, the positional information that target ip address and described TFTP service is returned to described described After object-computer, described target ip address is rejected from described IP resource pool.
A kind of (SuSE) Linux OS installs configuration device, is applied to object-computer, and described object-computer is to be installed Any one computer in the computer cluster of (SuSE) Linux OS, every computer in described computer cluster all with Control server communication to connect, described control server is provided with dynamic host configuration protocol DHCP service and simple literary composition in advance Part host-host protocol TFTP services;Described device includes:
IP Address requests sending module, for sending IP Address requests to described control server;
Information receiving module, for receive target ip address that described control server returns by described DHCP service with The positional information of described TFTP service;
File acquisition request sending module is installed, for the positional information serviced according to described TFTP, controls clothes to described Business device sends installs file acquisition request;
File reception module, for receiving the installation image file that described control server is returned by described TFTP service With installation configuration file, described installation configuration file comprises the create-rule of host name and login password;
Configuration module is installed, for according to described installation image file and described installation configuration file, is installed and configured (SuSE) Linux OS.
In a kind of detailed description of the invention of the present invention, described installation configures module, specifically for:
According to described installation image file and described installation configuration file, (SuSE) Linux OS is installed;
After installation is complete, according to described installation configuration file, preserve described target ip address, and according to described Target IP Address generates the host name corresponding with described target ip address and login password.
The technical scheme that the application embodiment of the present invention is provided, is installed on control clothes in advance by DHCP service and TFTP service In business device, control server and be connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed.When connecing When receiving the IP Address requests of object-computer, the positional information that by DHCP service, target ip address and TFTP can be serviced Return to object-computer, when the installation file acquisition receiving object-computer is asked, serviced default by TFTP Image file is installed and the installation configuration file preset returns to object-computer, so that object-computer enters according to these files The installation of row (SuSE) Linux OS and configuration.Install as such, it is possible to the computer in computer cluster to be carried out batch, and After installation, according to target, configuration file is installed and carries out individual cultivation, improve installation effectiveness, decrease mistake, protect Hinder the normal work of every computer of computer cluster.
Accompanying drawing explanation
For the clearer explanation embodiment of the present invention or the technical scheme of prior art, below will be to embodiment or existing In technology description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of installation system in the embodiment of the present invention;
Fig. 2 is the implementing procedure figure that in the embodiment of the present invention, a kind of (SuSE) Linux OS installs collocation method;
Fig. 3 is the implementing procedure figure that in the embodiment of the present invention, another kind of (SuSE) Linux OS installs collocation method;
Fig. 4 is the another kind of implementing procedure figure that in the embodiment of the present invention, (SuSE) Linux OS installs collocation method;
Fig. 5 is a kind of structural representation that in the embodiment of the present invention, a kind of (SuSE) Linux OS installs configuration device;
Fig. 6 is the another kind of structural representation that in the embodiment of the present invention, another kind of (SuSE) Linux OS installs configuration device.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawings and detailed description of the invention The present invention is described in further detail.Obviously, described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, broadly falls into the scope of protection of the invention.
Embodiments providing a kind of (SuSE) Linux OS and install collocation method, the method is applied to control service Device.Control server can be installed a certain (SuSE) Linux OS in advance, as installed CentOS operating system, this behaviour Make system is provided with DHCP (Dynamic Host Configuration Protocol, DHCP) in advance Service and TFTP (Trivial File Transfer Protocol, TFTP) service.Wherein, DHCP service Next node point to TFTP service place file.
In actual applications, control server can be joined the computer of (SuSE) Linux OS to be installed by manager In the LAN of cluster, so, controlling server can be with every meter in the computer cluster of (SuSE) Linux OS to be installed Calculation machine communicates to connect, as shown in Figure 1.Control server by implementing the technical scheme that the embodiment of the present invention is provided, Ke Yishi In existing computer cluster, the automatic of the (SuSE) Linux OS of every computer is installed and configuration, improves installation effectiveness, and it is poor to reduce Mistake, ensures the normal work of every computer of computer cluster.
Shown in Figure 2, by a kind of enforcement of the (SuSE) Linux OS installation collocation method that the embodiment of the present invention is provided Flow chart, the method may comprise steps of:
S110: receive the IP Address requests of object-computer.
Wherein, any one computer during object-computer is computer cluster.
In actual applications, control server is joined the computer cluster of (SuSE) Linux OS to be installed by manager LAN in after, can start and control the DHCP service of server and TFTP service, and by the computer in LAN successively Power on.
Any one computer in the computer cluster of (SuSE) Linux OS to be installed can be sent out to controlling server Send IP Address requests.
After controlling the IP Address requests that server receives object-computer, the operation of step S120 can be continued executing with. Any one the computer that object-computer is in computer cluster.
S120: the positional information that target ip address and TFTP service is returned to object-computer, mesh by DHCP service Mark IP address is the IP address selected in IP resource pool by DHCP service.
The DHCP service controlling server is used for safeguarding IP resource pool, controls server and receives what object-computer sent After IP Address requests, in IP resource pool, a target ip address can be distributed for this object-computer by DHCP service.That is, Target ip address is the IP address selected in IP resource pool by DHCP service.
In embodiments of the present invention, the TFTP service controlling server is used for managing installation image file and installing configuration literary composition Part, can be previously added in the file at TFTP service place install the installation image file needed for (SuSE) Linux OS and Installing configuration file, installing configuration file is that the characteristic according to (SuSE) Linux OS to be installed is pre-created, at this The answer that may be embodied in the problem encountered in typical installation process in configuration file is installed.In embodiments of the present invention, This installation configuration file also comprises the create-rule of host name and login password.The next node of DHCP service points to TFTP clothes The file at business place.
Control server and can pass through the DHCP service positional information using target ip address and TFTP service as target meter The response message of the IP Address requests that calculation machine sends, returns to this object-computer.
In a kind of detailed description of the invention of the present invention, control server by DHCP service by target ip address and TFTP After the positional information of service returns to object-computer, the method is further comprising the steps of:
Target ip address is rejected from IP resource pool.
Controlling server by DHCP service is after object-computer distributes target ip address, can be by target ip address Reject from IP resource pool, not this target ip address of recycling.In this manner it is ensured that receive the IP request of other computers again Time, this target ip address will not be distributed to other computers, it is ensured that by controlling server installation Linux in computer cluster The uniqueness of the IP of the computer of operating system.
S130: receiving the installation file acquisition request that object-computer sends according to the positional information that TFTP services Time, by TFTP service, default image file of installing is returned to object-computer with the installation configuration file preset, install Configuration file comprises the create-rule of host name and login password, so that object-computer is according to installing image file and installation Configuration file carries out installation and the configuration of (SuSE) Linux OS.
Control server in step S120 to be returned by the positional information that target ip address and TFTP service by DHCP service After object-computer, object-computer obtains this target ip address, and has known the positional information that TFTP services.Target The positional information that computer services according to TFTP, can send installation file acquisition request to controlling server.
When controlling the installation file acquisition request that server receives object-computer, will be able to be installed by TFTP service Image file and installation configuration file return to object-computer.
Object-computer can carry out the installation of (SuSE) Linux OS according to installation image file and installation configuration file, After installation, corresponding configuration can be carried out further according to installing configuration file.
The method that the application embodiment of the present invention is provided, is installed on control server by DHCP service and TFTP service in advance In, control server and be connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed.When receiving During the IP Address requests of object-computer, by DHCP service, the positional information that target ip address and TFTP service can be returned To object-computer, when the installation file acquisition receiving object-computer is asked, serviced default installation by TFTP Image file and the installation configuration file preset return to object-computer, so that object-computer is carried out according to these files The installation of (SuSE) Linux OS and configuration.Install as such, it is possible to the computer in computer cluster to be carried out batch, and in peace After installing into, according to target, configuration file is installed and carries out individual cultivation, improve installation effectiveness, decrease mistake, ensure The normal work of every computer of computer cluster.
The embodiment of the present invention additionally provides another kind of (SuSE) Linux OS and installs collocation method, and the method is applied to target Computer, object-computer is any one computer in the computer cluster of (SuSE) Linux OS to be installed, computer collection Every computer in Qun is all connected with control server communication, controls to be provided with DHCP in advance in server DHCP service and TFTP TFTP service.
Shown in Figure 3, the method may comprise steps of:
S210: send IP Address requests to controlling server.
After object-computer sets up communication connection with control server, IP Address requests can be sent to controlling server.
S220: receive and control target ip address and the positional information of TFTP service that server is returned by DHCP service.
The DHCP service controlling server is used for safeguarding IP resource pool, controls server and receives what object-computer sent After IP Address requests, in IP resource pool, a target ip address can be distributed for this object-computer by DHCP service.That is, Target ip address is the IP address selected in IP resource pool by DHCP service.
In embodiments of the present invention, the TFTP service controlling server is used for managing installation image file and installing configuration literary composition Part, can be previously added in the file at TFTP service place install the installation image file needed for (SuSE) Linux OS and Installing configuration file, installing configuration file is that the characteristic according to (SuSE) Linux OS to be installed is pre-created, at this The answer that may be embodied in the problem encountered in typical installation process in configuration file is installed.In embodiments of the present invention, This installation configuration file also comprises the create-rule of host name and login password.The next node of DHCP service points to TFTP clothes The file at business place.
Control server and can pass through the DHCP service positional information using target ip address and TFTP service as target meter The response message of the IP Address requests that calculation machine sends, returns to this object-computer.
Object-computer receives after controlling the information that server returns, and continues executing with the operation of step S230.
S230: according to the positional information of TFTP service, send installation file acquisition request to controlling server.
Object-computer can be according to the positional information of TFTP service, please to controlling server transmission installation file acquisition Ask, to obtain the installation image file at TFTP service position and installation configuration file.
S240: receive installation image file and installation configuration file that control server is returned by TFTP service.
Wherein, the create-rule comprising host name and login password in configuration file is installed.
When controlling the installation file acquisition request that server receives object-computer, will be able to be installed by TFTP service Image file and installation configuration file return to object-computer.After object-computer receives installation file, can continue to hold The operation of row step S250.
S250: according to installing image file and installing configuration file, be installed and configured (SuSE) Linux OS.
Object-computer can carry out the installation of (SuSE) Linux OS according to installation image file and installation configuration file, After installation, corresponding configuration can be carried out further according to installing configuration file.
In a kind of detailed description of the invention of the present invention, step S250 may comprise steps of:
Step one: according to installing image file and installing configuration file, install (SuSE) Linux OS;
Step 2: after installation is complete, according to installing configuration file, preserves target ip address, and according to target ip address Generate the host name corresponding with target ip address and login password.
For ease of describing, above-mentioned two step is combined and illustrates.
After destination server receives installation image file and the installation configuration file controlling server return, Ke Yigen According to installing image file and installing configuration file, (SuSE) Linux OS is installed.
Including the create-rule of host name and login password in installing configuration file, object-computer installs After (SuSE) Linux OS, target ip address can be preserved according to installing configuration file, and generates and mesh according to target ip address Mark host name corresponding to IP address and login password.Such as, can be using the last field of target ip address as object-computer Host name or login password.The login password of the different computers in computer cluster can be identical, it is also possible to different.
The method that the application embodiment of the present invention is provided, is installed on control server by DHCP service and TFTP service in advance In, control server and be connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed.When receiving During the IP Address requests of object-computer, by DHCP service, the positional information that target ip address and TFTP service can be returned To object-computer, when the installation file acquisition receiving object-computer is asked, serviced default installation by TFTP Image file and the installation configuration file preset return to object-computer, so that object-computer is carried out according to these files The installation of (SuSE) Linux OS and configuration.Install as such, it is possible to the computer in computer cluster to be carried out batch, and in peace After installing into, according to target, configuration file is installed and carries out individual cultivation, improve installation effectiveness, decrease mistake, ensure The normal work of every computer of computer cluster.
Shown in Figure 4, the (SuSE) Linux OS provided by the embodiment of the present invention installs the another kind of real of collocation method Execute flow chart, any one computer A in the computer cluster of (SuSE) Linux OS to be installed and be provided with DHCP clothes in advance The interaction of the control server B of business and TFTP service is as follows:
S310:A sends IP Address requests to B;
S320:B returns target ip address and the positional information of TFTP service to A;
S330:A sends to B and installs file acquisition request;
S340:B generates target according to target ip address and installs configuration file;
S350:B sends to A and installs image file and target installation configuration file;
S360:A starts installation procedure.
Corresponding to the embodiment of the method shown in Fig. 2, the embodiment of the present invention additionally provides a kind of (SuSE) Linux OS installation and joins Put device, be applied to control server, control server to be provided with dynamic host configuration protocol DHCP service in advance with simple File transfer protocol (FTP) TFTP services, and controls server and every calculating in the computer cluster of (SuSE) Linux OS to be installed Machine communicates to connect.A kind of (SuSE) Linux OS installation configuration device described below with above-described a kind of Linux operation is System installs collocation method can be mutually to should refer to.
Shown in Figure 5, this device can include with lower module:
IP Address requests receiver module 410, for receiving the IP Address requests of object-computer, object-computer is for calculating Any one computer in machine cluster;
Information returns module 420, for being returned by the positional information that target ip address and TFTP service by DHCP service To object-computer, target ip address is the IP address selected in IP resource pool by DHCP service;
File returns module 430, for receiving the peace that object-computer sends according to the positional information that TFTP services During dress file acquisition request, by TFTP service, default image file of installing is returned to mesh with the installation configuration file preset Mark computer, installs the create-rule comprising host name and login password in configuration file, so that object-computer is according to installation Image file and installation configuration file carry out installation and the configuration of (SuSE) Linux OS.
The device that the application embodiment of the present invention is provided, is installed on control server by DHCP service and TFTP service in advance In, control server and be connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed.When receiving During the IP Address requests of object-computer, by DHCP service, the positional information that target ip address and TFTP service can be returned To object-computer, when the installation file acquisition receiving object-computer is asked, serviced default installation by TFTP Image file and the installation configuration file preset return to object-computer, so that object-computer is carried out according to these files The installation of (SuSE) Linux OS and configuration.Install as such, it is possible to the computer in computer cluster to be carried out batch, and in peace After installing into, according to target, configuration file is installed and carries out individual cultivation, improve installation effectiveness, decrease mistake, ensure The normal work of every computer of computer cluster.
In a kind of detailed description of the invention of the present invention, this device also includes that module is rejected in IP address, is used for:
After the positional information that target ip address and TFTP service being returned to object-computer by DHCP service, will Target ip address is rejected from IP resource pool.
Corresponding to the embodiment of the method shown in Fig. 3, the embodiment of the present invention additionally provides a kind of (SuSE) Linux OS installation and joins Putting device, be applied to object-computer, object-computer is any one in the computer cluster of (SuSE) Linux OS to be installed Platform computer, every computer in computer cluster is all connected with control server communication, controls to install in advance in server There are dynamic host configuration protocol DHCP service and TFTP TFTP service.
Shown in Figure 6, this device can include with lower module:
IP Address requests sending module 510, for controlling server transmission IP Address requests;
Information receiving module 520, controls, for receiving, target ip address and the TFTP that server is returned by DHCP service The positional information of service;
File acquisition request sending module 530 is installed, for the positional information according to TFTP service, sends out to controlling server Send installation file acquisition request;
File reception module 540, controls, for receiving, installation image file and the peace that server is returned by TFTP service Dress configuration file, installs the create-rule comprising host name and login password in configuration file;
Configuration module 550 is installed, for according to installing image file and installing configuration file, being installed and configured Linux behaviour Make system.
In a kind of detailed description of the invention of the present invention, configuration module 550 is installed, specifically for:
According to installing image file and installing configuration file, (SuSE) Linux OS is installed;
After installation is complete, according to installing configuration file, preserve target ip address, and generate and mesh according to target ip address Mark host name corresponding to IP address and login password.
The device that the application embodiment of the present invention is provided, is installed on control server by DHCP service and TFTP service in advance In, control server and be connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed.When receiving During the IP Address requests of object-computer, by DHCP service, the positional information that target ip address and TFTP service can be returned To object-computer, when the installation file acquisition receiving object-computer is asked, serviced default installation by TFTP Image file and the installation configuration file preset return to object-computer, so that object-computer is carried out according to these files The installation of (SuSE) Linux OS and configuration.Install as such, it is possible to the computer in computer cluster to be carried out batch, and in peace After installing into, according to target, configuration file is installed and carries out individual cultivation, improve installation effectiveness, decrease mistake, ensure The normal work of every computer of computer cluster.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and other The difference of embodiment, between each embodiment, same or similar part sees mutually.For filling disclosed in embodiment For putting, owing to it corresponds to the method disclosed in Example, so describe is fairly simple, relevant part sees method part Illustrate.
Professional further appreciates that, in conjunction with the unit of each example that the embodiments described herein describes And algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, the most generally describes composition and the step of each example according to function.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can direct hardware, processor be held The software module of row, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above a kind of (SuSE) Linux OS provided by the present invention is installed collocation method and device has carried out detailed Jie Continue.Principle and the embodiment of the present invention are set forth by specific case used herein, and the explanation of above example is only It is the method and core concept thereof being adapted to assist in and understanding the present invention.It should be pointed out that, for those skilled in the art For, under the premise without departing from the principles of the invention, it is also possible to the present invention is carried out some improvement and modification, these improve and repair Decorations also fall in the protection domain of the claims in the present invention.

Claims (8)

1. a (SuSE) Linux OS installs collocation method, it is characterised in that be applied to control server, described control service Being provided with dynamic host configuration protocol DHCP service and TFTP TFTP service in device in advance, described control services Device is connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed;Described method includes:
Receiving the IP Address requests of object-computer, described object-computer is any one calculating in described computer cluster Machine;
By described DHCP service, the positional information that target ip address and described TFTP service is returned to described object-computer, Described target ip address is the IP address selected in IP resource pool by described DHCP service;
When receiving the installation file acquisition request that described object-computer sends according to the positional information that described TFTP services, By described TFTP service, default image file of installing is returned to described object-computer with the installation configuration file preset, Described installation configuration file comprises the create-rule of host name and login password, so that described object-computer is according to described peace Dress image file and described installation configuration file carry out installation and the configuration of (SuSE) Linux OS.
Method the most according to claim 1, it is characterised in that described by described DHCP service by target ip address and After the positional information of described TFTP service returns to described object-computer, described method also includes:
Described target ip address is rejected from described IP resource pool.
3. a (SuSE) Linux OS installs collocation method, it is characterised in that be applied to object-computer, and described target calculates Machine is any one computer in the computer cluster of (SuSE) Linux OS to be installed, every in described computer cluster Computer is all connected with control server communication, is provided with dynamic host configuration protocol DHCP clothes in described control server in advance Business and TFTP TFTP service;Described method includes:
IP Address requests is sent to described control server;
Receive target ip address and the position letter of described TFTP service that described control server is returned by described DHCP service Breath;
The positional information serviced according to described TFTP, sends to described control server and installs file acquisition request;
Receive installation image file and installation configuration file, described peace that described control server is returned by described TFTP service Dress configuration file comprises the create-rule of host name and login password;
According to described installation image file and described installation configuration file, it is installed and configured (SuSE) Linux OS.
Method the most according to claim 3, it is characterised in that described join according to described installation image file and described installation Put file, be installed and configured (SuSE) Linux OS, including:
According to described installation image file and described installation configuration file, (SuSE) Linux OS is installed;
After installation is complete, according to described installation configuration file, preserve described target ip address, and according to described target ip address Generate the host name corresponding with described target ip address and login password.
5. a (SuSE) Linux OS installs configuration device, it is characterised in that be applied to control server, described control service Being provided with dynamic host configuration protocol DHCP service and TFTP TFTP service in device in advance, described control services Device is connected with every compunication in the computer cluster of (SuSE) Linux OS to be installed;Described device includes:
IP Address requests receiver module, for receiving the IP Address requests of object-computer, described object-computer is described meter Any one computer in calculation machine cluster;
Information returns module, for being returned by the positional information that target ip address and described TFTP service by described DHCP service To described object-computer, described target ip address is the IP address selected in IP resource pool by described DHCP service;
File returns module, for receiving the peace that described object-computer sends according to the positional information that described TFTP services During dress file acquisition request, by described TFTP service, default image file of installing is returned with the installation configuration file preset To described object-computer, described installation configuration file comprises the create-rule of host name and login password, so that described mesh Mark computer carries out installation and the configuration of (SuSE) Linux OS according to described installation image file and described installation configuration file.
Device the most according to claim 5, it is characterised in that described device also includes that module is rejected in IP address, is used for:
By described DHCP service, the positional information that target ip address and described TFTP service is returned to described target described After computer, described target ip address is rejected from described IP resource pool.
7. a (SuSE) Linux OS installs configuration device, it is characterised in that being applied to object-computer, described target calculates Machine is any one computer in the computer cluster of (SuSE) Linux OS to be installed, every in described computer cluster Computer is all connected with control server communication, is provided with dynamic host configuration protocol DHCP clothes in described control server in advance Business and TFTP TFTP service;Described device includes:
IP Address requests sending module, for sending IP Address requests to described control server;
Information receiving module, for receiving target ip address that described control server returned and described by described DHCP service The positional information of TFTP service;
File acquisition request sending module is installed, for the positional information serviced according to described TFTP, to described control server Send and file acquisition request is installed;
File reception module, for receiving installation image file and the peace that described control server is returned by described TFTP service Dress configuration file, comprises the create-rule of host name and login password in described installation configuration file;
Configuration module is installed, for according to described installation image file and described installation configuration file, is installed and configured Linux behaviour Make system.
Device the most according to claim 7, it is characterised in that described installation configuration module, specifically for:
According to described installation image file and described installation configuration file, (SuSE) Linux OS is installed;
After installation is complete, according to described installation configuration file, preserve described target ip address, and according to described target ip address Generate the host name corresponding with described target ip address and login password.
CN201610638517.2A 2016-08-05 2016-08-05 A kind of (SuSE) Linux OS installs collocation method and device Pending CN106301897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610638517.2A CN106301897A (en) 2016-08-05 2016-08-05 A kind of (SuSE) Linux OS installs collocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610638517.2A CN106301897A (en) 2016-08-05 2016-08-05 A kind of (SuSE) Linux OS installs collocation method and device

Publications (1)

Publication Number Publication Date
CN106301897A true CN106301897A (en) 2017-01-04

Family

ID=57665614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610638517.2A Pending CN106301897A (en) 2016-08-05 2016-08-05 A kind of (SuSE) Linux OS installs collocation method and device

Country Status (1)

Country Link
CN (1) CN106301897A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071043A (en) * 2017-04-28 2017-08-18 曙光信息产业(北京)有限公司 The collocation method and device of a kind of network information
CN107360042A (en) * 2017-08-22 2017-11-17 郑州云海信息技术有限公司 A kind of server management method and device
CN108664274A (en) * 2017-03-27 2018-10-16 中兴通讯股份有限公司 Implementation method, system and the device of operating system initialization configuration
CN109451013A (en) * 2018-11-02 2019-03-08 郑州云海信息技术有限公司 A kind of method and system of Remote configuration client computer OS
CN111475176A (en) * 2020-04-10 2020-07-31 腾讯科技(深圳)有限公司 Data reading and writing method, related device, system and storage medium
CN115174556A (en) * 2022-06-29 2022-10-11 浪潮云信息技术股份公司 Configuration method and system of server operating system, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100333086A1 (en) * 2003-06-25 2010-12-30 Microsoft Corporation Using Task Sequences to Manage Devices
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device
CN104572372A (en) * 2014-12-26 2015-04-29 浪潮电子信息产业股份有限公司 System and method for building server performance testing environment
CN105045614A (en) * 2015-06-29 2015-11-11 浪潮(北京)电子信息产业有限公司 Operating system installation method and system
CN105117268A (en) * 2015-09-24 2015-12-02 上海爱数软件有限公司 Installing method and system for automatically installing linux systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100333086A1 (en) * 2003-06-25 2010-12-30 Microsoft Corporation Using Task Sequences to Manage Devices
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device
CN104572372A (en) * 2014-12-26 2015-04-29 浪潮电子信息产业股份有限公司 System and method for building server performance testing environment
CN105045614A (en) * 2015-06-29 2015-11-11 浪潮(北京)电子信息产业有限公司 Operating system installation method and system
CN105117268A (en) * 2015-09-24 2015-12-02 上海爱数软件有限公司 Installing method and system for automatically installing linux systems

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664274A (en) * 2017-03-27 2018-10-16 中兴通讯股份有限公司 Implementation method, system and the device of operating system initialization configuration
CN107071043A (en) * 2017-04-28 2017-08-18 曙光信息产业(北京)有限公司 The collocation method and device of a kind of network information
CN107360042A (en) * 2017-08-22 2017-11-17 郑州云海信息技术有限公司 A kind of server management method and device
CN109451013A (en) * 2018-11-02 2019-03-08 郑州云海信息技术有限公司 A kind of method and system of Remote configuration client computer OS
CN111475176A (en) * 2020-04-10 2020-07-31 腾讯科技(深圳)有限公司 Data reading and writing method, related device, system and storage medium
CN115174556A (en) * 2022-06-29 2022-10-11 浪潮云信息技术股份公司 Configuration method and system of server operating system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN106301897A (en) A kind of (SuSE) Linux OS installs collocation method and device
CN111934918B (en) Network isolation method and device for container instances in same container cluster
US11687354B2 (en) Virtual machine management using onboarding operations and openstack control
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN106302434A (en) Server adaptation method, device and system
CN109495542B (en) Load distribution method based on performance monitoring and terminal equipment
CN103516547A (en) Network parameter distribution method and device
US20120124242A1 (en) Server and method for testing pxe function of network interface card
CN112019366B (en) Leasing method and device of physical host, cloud platform and readable storage medium
CN110245020B (en) Mobile phone content forensics method and system based on multiple forensics devices
CN103095722A (en) Method for updating network security table and network device and dynamic host configuration protocol (DHCP) server
CN112333289A (en) Reverse proxy access method, device, electronic equipment and storage medium
CN106059888A (en) IP (Internet Protocol) address assignment method and device based on open network operating system
EP3901766A1 (en) Offline configuration method and apparatus for smart device
CN112087401A (en) Method and device for realizing service quality in distributed storage
US20090319766A1 (en) Provisioning an unknown computer system
CN110636149B (en) Remote access method, device, router and storage medium
WO2002039246A2 (en) Systems and method for remote management of printing devices
CN108334366A (en) A kind of online software delivery method, net purchase platform and delivery system
CN106484460A (en) The installation method of large-scale storage cluster system in a kind of
US9075968B2 (en) Dynamic creation of a temporary administrative user
CN107659621B (en) RAID control card configuration method and device
CN112667293A (en) Method, device and storage medium for deploying operating system
CN111124593A (en) Information processing method and device, network element and storage medium
US11153268B2 (en) Cloud-based dynamic host configuration protocol configuration

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

Application publication date: 20170104

RJ01 Rejection of invention patent application after publication