CN106302864A - A kind of IP in order arranges system - Google Patents
A kind of IP in order arranges system Download PDFInfo
- Publication number
- CN106302864A CN106302864A CN201610918855.1A CN201610918855A CN106302864A CN 106302864 A CN106302864 A CN 106302864A CN 201610918855 A CN201610918855 A CN 201610918855A CN 106302864 A CN106302864 A CN 106302864A
- Authority
- CN
- China
- Prior art keywords
- arranges
- rack
- server
- orderly
- script
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
Abstract
The invention discloses a kind of IP in order and system is set, including: cabinet management module: rack is corresponding to the rack at truthful data center, for managing and arrange the switch cashier's office in a shop of rack, the switch that the server initial IP place network interface card on described rack connects;IP planning management module: being that the servers' layout in a rack goes out IP section, a rack can arrange multiple IP planning, be respectively applied to multiple network interface cards;System order IP arranges interface module: this interface is for far call after server start, it is achieved the orderly IP determining server the function arranging on server;The orderly IP of calling system arranges the script of interface: described script runs after startup of server, arranges interface for the orderly IP of calling system;IP arranges script: orderly IP arranges the script of server, different according to operating system, it is achieved the script that arranges of different IP;Said system arranges IP without manual entry to server.
Description
Technical field
The invention belongs to server large data and field is set, particularly relate to a kind of IP in order and system is set.
Background technology
In data center, often having large batch of server to need to reach the standard grade, for convenient management, the IP between server needs
To arrange in order, and general server has multiple network interface cards to need to arrange IP, be accomplished by manual entry in this case to clothes
Business device, setting one by one.
Due to the network planning of data center, often separate business network, management network, storage network, server
The IP gateway of multiple network interface cards, mask are the most inconsistent, add that server to be arranged is a lot, therefore error-prone, and clothes
Business device on-line time is the longest, repeated work burden weight.
Accordingly, it would be desirable to design one is suitable for large-scale data center, automatic batch arranges the device of orderly IP.
Summary of the invention
For the deficiencies in the prior art, it is an object of the invention to provide a kind of IP in order and system is set, it is not necessary to manual entry
IP is set to server, only need to carry out IP planning, after installing the operating system of server, one foot of automated system operation in advance
Originally it is connected to device, server can be embodied as orderly IP is set.
A kind of IP in order arranges system, and described orderly IP arranges system and includes:
Cabinet management module: rack is corresponding to the rack at truthful data center, for managing and arrange the switch cashier's office in a shop of rack,
The switch that server initial IP place network interface card on described rack connects;
IP planning management module: being that the servers' layout in a rack goes out IP section, a rack can arrange multiple IP planning, point
It is not applied to multiple network interface cards;
System order IP arranges interface module: this interface is for far call after server start, it is achieved determine the orderly of server
IP also arranges the function on server;
The orderly IP of calling system arranges the script of interface: described script runs after startup of server, orderly for calling system
IP arranges interface;
IP arranges script: orderly IP arranges the script of server, different according to operating system, it is achieved different IP arrange
Script;
Preferably, described system has following work process: before server arranges orderly IP, first arranges rack information and IP
Planning information, after setting rack and IP planning information, carries out server OS and installs and orderly IP setting, work as server
Starting after installing operating system, system is provided with and starts the script automatically run, and in script, orderly for request IP is arranged interface
Carrying out orderly IP setting, orderly IP arranges interface and the orderly IP completing server is arranged work.
Preferably, described rack information include the sequence number of exchanger information and rack, described IP planning information include IP section,
Gateway, mask and network interface card.
Preferably, described orderly IP arranges interface and has a following work process:
S1, described orderly IP arrange system according to the IP address that used of request, according to the IP address in request, user name and
Password SSH, to server, obtains the mac address of nic that IP address is corresponding;
S2, described orderly IP arrange the switch list in system polling system rack information, know server network interface card physically
Place, location switch and place switch ports themselves number, determine place rack according to place switch, according to rack and switch
Port numbers obtains rack sequence number and server sequence number;
S3, plans according to rack sequence number and IP, obtains the IP subplan of rack, according to the IP subplan of server sequence number and rack
Obtain the IP planning of server;
S4, SSH, to server, arrange host IP address, if only arranging a network interface card, the most directly redirect S5;
S5, SSH is to main frame, the IP address of the network interface card connected before setting again.
Preferably, described orderly IP arranges system needs to carry out following operation in use user:
S1, arranges rack information, including rack sequence number and the ip of switch, username and password.
S2, arranges IP planning, including IP section, gateway, mask and network interface card title.
S3, installs operating system, the script that this operating system is run the most automatically with starting up.
Technical scheme has the advantages that
A kind of IP in order that the present invention provides arranges system and method for work thereof, brings following obvious effect: batch is certainly
Dynamic system arranges IP for server automatically according to the setting of user, batch, it is not necessary to manual operation;IP system in order
The IP that system is arranged for server is ordered into, convenient management;The versatility high pass new IP of exploitation arranges script can be real
Now the more orderly IP of operating system is arranged.
Accompanying drawing explanation
Below by drawings and Examples, technical scheme is described in further detail.
Fig. 1 is that a kind of IP in order of the present invention arranges system module structure chart;
Fig. 2 is the workflow diagram that a kind of orderly IP of the present invention arranges system;
Fig. 3 be a kind of orderly IP of the present invention system is set interfaces flow chart is set.
Detailed description of the invention
In order to have a clear understanding of technical scheme, its detailed structure be will be set forth in the description that follows.Obviously, originally
The concrete also deficiency of implementing of inventive embodiments is limited to the specific details that those skilled in the art is familiar with.The present invention's is preferred real
Execute example to be described in detail as follows, in addition to these embodiments described in detail, it is also possible to there is other embodiments.
With embodiment, the present invention is described in further details below in conjunction with the accompanying drawings.
IP arranges system in order, is equivalent to the Intelligent Recognition server cis-position at rack, and according to IP planning automatically for clothes
Business device arranges IP.The switch location-server place rack connected by machine, and determine that server is at this switch
Belong to server cis-position;System is planned according to the IP that the service cis-position taken is relevant with rack, determines that server needs to arrange
IP, then SSH is on server, arranges script by routine call server ip, can realize the setting of orderly IP.
Being that a kind of IP in order of the present invention arranges system module structure chart in conjunction with Fig. 1, Fig. 1, the orderly IP of the present invention arranges system
Included system mainly has:
(1) rack management.Rack, corresponding to the rack at truthful data center, needs to arrange (this rack of switch cashier's office in a shop of rack
On the switch that connects of server initial IP place network interface card).
(2) IP planning management.Being that the servers' layout in a rack goes out IP section, a rack can arrange multiple IP rule
Draw, be respectively applied to multiple network interface cards.
(3) system order IP arranges interface.This interface is for far call after server start, it is achieved determine server has
Sequence IP also arranges the function on server.
(4) the orderly IP of calling system arranges the script of interface.This script runs after startup of server, for calling system
IP arranges interface in order.
(5) IP arranges script.Orderly IP is arranged the script of server, different according to operating system, it is achieved difference
The script that IP is arranged.
As in figure 2 it is shown, before server arranges orderly IP, need first to set rack information and (include exchanger information
(including IP, username and password), the sequence number of rack), IP planning information (includes IP section, gateway, mask, network interface card etc.).Arrange
After good rack and IP planning information, it is possible to carry out server OS installation and orderly IP is provided with.When server is installed
Starting (the IP address that requirement can get a Dynamic Host Configuration Protocol server distribution automatically) after good operating system, system is provided with startup
Automatically the script run, arranges interface by orderly for request IP in script and carries out orderly IP setting, and orderly IP arranges interface and will complete
The orderly IP of server arranges work.
IP arranges interfaces flow process as it is shown on figure 3, include procedure below in order
First, the IP address that system is used according to request, utilize the IP address in request, username and password SSH is to service
Device, obtains the mac address of nic that IP address is corresponding.
Second, the switch list in system polling system rack information, know that server mac address of nic place is handed over
Change planes and place switch ports themselves number, determine place rack according to place switch, obtain according to rack and switch ports themselves number
Take rack sequence number (record in rack information) and server sequence number (being positioned at which position of rack).
3rd, plan according to rack sequence number and IP, obtain the IP subplan of rack, according to server sequence number and the IP of rack
Subplan obtains the IP planning of server.
4th, SSH, to server (the IP address that request is used), arrange host IP address (except the net connected
Card, if only arranging a network interface card, the most directly carries out the 5th step)
5th, SSH is to main frame (using the IP just arranged), the IP address of the network interface card connected before setting again
By above-mentioned steps, automatically orderly IP can be set for server by realizing batch.
User has only to carry out the setting of following three steps when in use and just can use flexibly:
Step one: arrange rack information, including rack sequence number and the ip of switch, username and password;
Step 2: IP planning is set, including IP section, gateway, mask, network interface card title;
Step 3: installing operating system, the script that this operating system is run the most automatically with starting up (asks orderly IP to arrange
Interface);
By above three step, user interface realizes batch and arranges orderly IP for server.
A kind of IP in order that the present invention provides arranges system and method for work thereof, brings following obvious effect: batch is certainly
Dynamic system arranges IP for server automatically according to the setting of user, batch, it is not necessary to manual operation;IP system in order
The IP that system is arranged for server is ordered into, convenient management;The versatility high pass new IP of exploitation arranges script can be real
Now the more orderly IP of operating system is arranged.
Finally should be noted that: above example is only in order to illustrate that technical scheme is not intended to limit, to the greatest extent
The present invention has been described in detail by pipe with reference to above-described embodiment, and those of ordinary skill in the field still can be to this
Bright detailed description of the invention is modified or equivalent, these without departing from spirit and scope of the invention any amendment or
Equivalent, all within the claims that application is awaited the reply.
Claims (5)
1. an orderly IP arranges system, it is characterised in that described orderly IP arranges system and includes:
Cabinet management module: rack is corresponding to the rack at truthful data center, for managing and arrange the switch cashier's office in a shop of rack,
The switch that server initial IP place network interface card on described rack connects;
IP planning management module: being that the servers' layout in a rack goes out IP section, a rack can arrange multiple IP planning, point
It is not applied to multiple network interface cards;
System order IP arranges interface module: this interface is for far call after server start, it is achieved determine the orderly of server
IP also arranges the function on server;
The orderly IP of calling system arranges the script of interface: described script runs after startup of server, orderly for calling system
IP arranges interface;
IP arranges script: orderly IP arranges the script of server, different according to operating system, it is achieved different IP arrange
Script.
The orderly IP of one the most according to claim 1 arranges system, it is characterised in that described system has following worked
Journey: before server arranges orderly IP, first arranges rack information and IP planning information, sets rack and IP planning information
After, carrying out server OS and install and orderly IP setting, start after server installs operating system, system is provided with
Starting the script automatically run, in script, orderly for request IP is arranged interface and carry out orderly IP setting, orderly IP arranges interface will
The orderly IP completing server arranges work.
The orderly IP of one the most according to claim 2 arranges system, it is characterised in that described rack information includes switch
Information and the sequence number of rack, described IP planning information includes IP section, gateway, mask and network interface card.
The orderly IP of one the most according to claim 2 arranges system, it is characterised in that described orderly IP arranges interface to be had
Following work process:
S1, described orderly IP arrange system according to the IP address that used of request, according to the IP address in request, user name and
Password SSH, to server, obtains the mac address of nic that IP address is corresponding;
S2, described orderly IP arrange the switch list in system polling system rack information, know server network interface card physically
Place, location switch and place switch ports themselves number, determine place rack according to place switch, according to rack and switch
Port numbers obtains rack sequence number and server sequence number;
S3, plans according to rack sequence number and IP, obtains the IP subplan of rack, according to the IP subplan of server sequence number and rack
Obtain the IP planning of server;
S4, SSH, to server, arrange host IP address, if only arranging a network interface card, the most directly redirect S5;
S5, SSH is to main frame, the IP address of the network interface card connected before setting again.
The orderly IP of one the most according to claim 1 arranges system, it is characterised in that described orderly IP arrange system with
Family needs to carry out following operation in use:
S1, arranges rack information, including rack sequence number and the ip of switch, username and password;
S2, arranges IP planning, including IP section, gateway, mask and network interface card title;
S3, installs operating system, the script that this operating system is run the most automatically with starting up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610918855.1A CN106302864A (en) | 2016-10-21 | 2016-10-21 | A kind of IP in order arranges system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610918855.1A CN106302864A (en) | 2016-10-21 | 2016-10-21 | A kind of IP in order arranges system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106302864A true CN106302864A (en) | 2017-01-04 |
Family
ID=57720405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610918855.1A Pending CN106302864A (en) | 2016-10-21 | 2016-10-21 | A kind of IP in order arranges system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106302864A (en) |
Cited By (5)
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 |
CN107612728A (en) * | 2017-09-14 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of method of the server ip of two direct network connections of quickly setting |
CN108347351A (en) * | 2018-01-26 | 2018-07-31 | 广州视源电子科技股份有限公司 | The method, apparatus and system of equipment Dual-Ethernet card compatibility |
CN108683556A (en) * | 2018-04-26 | 2018-10-19 | Tcl王牌电器(惠州)有限公司 | Detect the method, apparatus and computer storage media of network interface card functional status |
CN109547238A (en) * | 2018-11-12 | 2019-03-29 | 深圳互联先锋科技有限公司 | A method of realizing automatic network-building in equipment management system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102726025A (en) * | 2011-11-29 | 2012-10-10 | 华为技术有限公司 | Installation method and relative devices of business packet |
CN103167050A (en) * | 2011-12-13 | 2013-06-19 | 台达电子工业股份有限公司 | Automatic installation and setting method of server |
CN104378218A (en) * | 2013-08-12 | 2015-02-25 | 鸿富锦精密工业(深圳)有限公司 | System and method for managing servers in cabinet |
CN104954504A (en) * | 2015-05-05 | 2015-09-30 | 浪潮电子信息产业股份有限公司 | Method for automatically configuring BMC (baseboard management controller) management IP (internet protocol) |
CN105024849A (en) * | 2015-06-02 | 2015-11-04 | 浪潮电子信息产业股份有限公司 | Method for a high-density equipment cabinet server to perform bulk operation on each node BMC |
CN105426184A (en) * | 2015-11-12 | 2016-03-23 | 浪潮电子信息产业股份有限公司 | Method for setting static IP (Internet Protocol) of Linux system of whole cabinet in batches |
-
2016
- 2016-10-21 CN CN201610918855.1A patent/CN106302864A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102726025A (en) * | 2011-11-29 | 2012-10-10 | 华为技术有限公司 | Installation method and relative devices of business packet |
CN103167050A (en) * | 2011-12-13 | 2013-06-19 | 台达电子工业股份有限公司 | Automatic installation and setting method of server |
CN104378218A (en) * | 2013-08-12 | 2015-02-25 | 鸿富锦精密工业(深圳)有限公司 | System and method for managing servers in cabinet |
CN104954504A (en) * | 2015-05-05 | 2015-09-30 | 浪潮电子信息产业股份有限公司 | Method for automatically configuring BMC (baseboard management controller) management IP (internet protocol) |
CN105024849A (en) * | 2015-06-02 | 2015-11-04 | 浪潮电子信息产业股份有限公司 | Method for a high-density equipment cabinet server to perform bulk operation on each node BMC |
CN105426184A (en) * | 2015-11-12 | 2016-03-23 | 浪潮电子信息产业股份有限公司 | Method for setting static IP (Internet Protocol) of Linux system of whole cabinet in batches |
Cited By (7)
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 |
CN107612728A (en) * | 2017-09-14 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of method of the server ip of two direct network connections of quickly setting |
CN108347351A (en) * | 2018-01-26 | 2018-07-31 | 广州视源电子科技股份有限公司 | The method, apparatus and system of equipment Dual-Ethernet card compatibility |
CN108347351B (en) * | 2018-01-26 | 2022-02-22 | 广州视源电子科技股份有限公司 | Method, device and system for compatibility of dual Ethernet cards of equipment |
CN108683556A (en) * | 2018-04-26 | 2018-10-19 | Tcl王牌电器(惠州)有限公司 | Detect the method, apparatus and computer storage media of network interface card functional status |
CN108683556B (en) * | 2018-04-26 | 2021-11-09 | Tcl王牌电器(惠州)有限公司 | Method and device for detecting functional state of network card and computer storage medium |
CN109547238A (en) * | 2018-11-12 | 2019-03-29 | 深圳互联先锋科技有限公司 | A method of realizing automatic network-building in equipment management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106302864A (en) | A kind of IP in order arranges system | |
CN101739287A (en) | Device, system and method for managing virtual machines | |
US20130329344A1 (en) | Intelligent telecommunications patching system | |
US20070204069A1 (en) | Port number emulation for wireless usb connections | |
CN105653398B (en) | A kind of smart allocation operating system mirror method | |
CN105490826A (en) | Configuration management system and method based on automatic discovery | |
CN105487859A (en) | Template based WEB deployment method for big data components | |
CN103441935A (en) | Method and device capable of automatically recognizing adjacency relation between server and access switch | |
CN103326902A (en) | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data | |
CN104410511B (en) | A kind of server management method and system | |
CN107704257A (en) | A kind of method and device of distributed server centralized management | |
CN107566518A (en) | The method and apparatus of management equipment information during installation file | |
CN107769952B (en) | Remote management system and method thereof | |
CN103152756A (en) | Automation configuration method for wireless local area network access controller (WLAN AC) | |
CN105117898A (en) | Cloud attendance management method and system for supporting access of attendance terminals of multiple manufacturers | |
CN108965403A (en) | O&M monitors establishment of connection method and terminal device | |
CN101009601A (en) | A maintenance and detection method, system and device of the network element | |
CN108920163A (en) | Server firmware upgrade method and device | |
CN108089968A (en) | A kind of method of host's machine monitoring virtual-machine data storehouse state | |
CN107249050A (en) | The management method and device of resource in cloud platform | |
CN110413311A (en) | ' In System Reconfiguration Method and server | |
CN104717091B (en) | Server quality verification method and system | |
CN113472578B (en) | Method and device for distributing physical positions of network equipment, storage medium and equipment | |
CN115577160A (en) | Production line data acquisition method, device, equipment and medium | |
CN109710605B (en) | Automatic equipment information acquisition device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |