CN103428034A - Mounting position checking method for servers in batches - Google Patents

Mounting position checking method for servers in batches Download PDF

Info

Publication number
CN103428034A
CN103428034A CN201310371977XA CN201310371977A CN103428034A CN 103428034 A CN103428034 A CN 103428034A CN 201310371977X A CN201310371977X A CN 201310371977XA CN 201310371977 A CN201310371977 A CN 201310371977A CN 103428034 A CN103428034 A CN 103428034A
Authority
CN
China
Prior art keywords
server
rack
mac address
added
switch
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
CN201310371977XA
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 Electronic Information Industry Co Ltd
Original Assignee
Inspur 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 Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201310371977XA priority Critical patent/CN103428034A/en
Publication of CN103428034A publication Critical patent/CN103428034A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a mounting position checking method for servers in batches. The specific checking process is as follows: connecting an equipment cabinet with a switch, scanning a network card MAC address of an equipment cabinet server, and establishing a corresponding relationship between the network card MAC address of the server and the port of the switch so as to generate an MAC address table; comparing with an equipment cabinet mounting information table planned by a user, and checking the mounting accuracy of servers deployed in batches in a machine room; when the comparison information is inconsistent, indicating that a mounting error occurs, and further adjusting the server with the error; when the comparison information is consistent, indicating that the deployment of surface servers is correct, and ending the deployment step. Compared with the prior art, the mounting position checking method for servers in batches can realize remote management through a network, is convenient and rapid, has high precision and avoids artificial errors; the implementation way is simple, easy to operate, strong in practicability and easy to generalize.

Description

The method that the added seat in the plane of a kind of bulk service device checks
Technical field
The present invention relates to field of computer technology, the method that the added seat in the plane of a kind of bulk service device checks specifically.
Background technology
At present a large amount of Internet user's order quantity servers, these servers are after installing end in batches, a very important job will be checked the added seat in the plane of server exactly, but the method adopted in most cases at present is exactly sequence number, MAC Address of Network Card, added seat in the plane to each station server, connect the information such as switch ports themselves, added up, after whole servers is all added up one time, be organized into again table, the last added information table of rack of planning with the user is again compared line by line, finds out the server of setup error.Along with the quantity of the disposable procure server of Internet user is more and more, the machine room scale is also increasing, easily up to a hundred even thousands of station servers need to dispose, if adopt this original processing method will greatly increase job costs, also can greatly reduce operating efficiency again.And ripe gradually along with the telemanagement technology, be no longer dependent on server place machine room local management to the management of server, but control by network remote, therefore needs a kind of simple, efficient solution.
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, and a kind of bulk service device method that added seat in the plane checks is provided.
Technical scheme of the present invention realizes in the following manner, the method that the added seat in the plane of this kind of bulk service device checks, and its particular exam process is:
1) by the rack access switch, scan the MAC Address of Network Card of rack server, set up the corresponding relation of server MAC Address of Network Card and switch ports themselves, generate mac address table;
2) the added information table of rack of contrast user planning, check the machine room added accuracy of deployment server in batches;
3), when comparative information is inconsistent, setup error occurs, and then adjustment occurs that wrong server gets final product; When comparative information is consistent, the deployment of surperficial server is correct, finishes deploying step.
In technique scheme, utilize the MAC Address of Network Card of rack access switch scanning rack server, set up the corresponding relation of server MAC Address of Network Card and switch ports themselves, because this address is unique, just can determine the position of server in rack according to the corresponding relation of switch ports themselves and rack pallet position, compare with the added information table of rack of user's planning by automated procedures again, thereby check fast the machine room added accuracy of deployment server in batches.
The detailed process of described step 1) is:
Server after installing and finishing powers on rack, guarantee all normal boot-straps of server, then portable terminal device is linked in the supervising the network of user's machine room, configuring ip can be communicated with the access switch of rack, be remotely logged on switch, obtain mac address table; During according to the installation rack, the corresponding relation of switch ports themselves and rack pallet position, determine the position of machine in rack, together with mac address table, preserves into information table.
Described portable terminal device refers to notebook computer or panel computer.
Described step 2) checking process in completes by computer program, and the added information table of rack that this program can be planned according to new information table and the user of generation is correspondence proving one by one, returns to the prompting of successful installation when inspection is consistent; Return to the feedback of wrong server specific address when setup error.
The beneficial effect that the present invention compared with prior art produced is:
The method that the added seat in the plane of a kind of bulk service device of the present invention checks can automatically complete in batches and check, effectively increases work efficiency; Whole process does not rely on scene; Can manage by network remote, convenient and swift; Precision is high, avoids human error; Implementation is simple, and easy operating is practical, is easy to promote.
The accompanying drawing explanation
Accompanying drawing 1 is realization flow figure of the present invention.
Accompanying drawing 2 is that the embodiments of the invention check result shows schematic diagram.
Embodiment
The method below added seat in the plane of a kind of bulk service device of the present invention checked elaborates.
As shown in Figure 1, now provide a kind of bulk service device method that added seat in the plane checks, its particular exam process is:
1) by the rack access switch, scan the MAC Address of Network Card of rack server, set up the corresponding relation of server MAC Address of Network Card and switch ports themselves, generate mac address table;
2) the added information table of rack of contrast user planning, check the machine room added accuracy of deployment server in batches;
3), when comparative information is inconsistent, setup error occurs, and then adjustment occurs that wrong server gets final product; When comparative information is consistent, the deployment of surperficial server is correct, finishes deploying step.
The detailed process of described step 1) is:
Server after installing and finishing powers on rack, guarantee all normal boot-straps of server, then portable terminal device is linked in the supervising the network of user's machine room, configuring ip can be communicated with the access switch of rack, be remotely logged on switch, obtain mac address table; During according to the installation rack, the corresponding relation of switch ports themselves and rack pallet position, determine the position of machine in rack, together with mac address table, preserves into information table.
Described portable terminal device refers to notebook computer or panel computer.
Described step 2) checking process in completes by computer program, and the added information table of rack that this program can be planned according to new information table and the user of generation is correspondence proving one by one, returns to the prompting of successful installation when inspection is consistent; Return to the feedback of wrong server specific address when setup error.
Specific embodiment:
1, server after installing and finishing powers on rack, guarantee all normal boot-straps of server, then notebook is linked in the supervising the network of user's machine room, configuring ip can be communicated with the access switch of rack, be remotely logged on switch, obtain mac address table:
00:E5:22:3C:B0:63 FastEthernet0/0
00:E5:22:3C:B0:65 FastEthernet0/1
00:E5:22:3C:B0:67 FastEthernet0/2
00:E5:22:3C:B0:69 FastEthernet0/3
00:E5:22:3C:B0:6B FastEthernet0/4
00:E5:22:3C:B0:23 FastEthernet0/5
00:E5:22:3C:B0:25 FastEthernet0/6
00:E5:22:3C:B0:76 FastEthernet0/7
00:E5:22:3C:B0:7B FastEthernet0/8
00:E5:22:3C:B0:A0 FastEthernet0/9
00:E5:22:3C:B0:85 FastEthernet0/10
00:E5:22:3C:B0:87 FastEthernet0/11
……
The corresponding relation of switch ports themselves and rack pallet position during 2, according to the installation rack, determine the position of machine in rack, preserve into following file together with mac address table, file is named the added information table file of the rack svtable.txt by name of swtable.txt(user's planning):
Rack MAC address of server switch ports themselves number
1-1 00:E5:22:3C:B0:63 FastEthernet0/0
1-2 00:E5:22:3C:B0:65 FastEthernet0/1
1-3 00:E5:22:3C:B0:67 FastEthernet0/2
1-4 00:E5:22:3C:B0:69 FastEthernet0/3
1-5 00:E5:22:3C:B0:6B FastEthernet0/4
1-6 00:E5:22:3C:B0:23 FastEthernet0/5
1-7 00:E5:22:3C:B0:25 FastEthernet0/6
1-8 00:E5:22:3C:B0:76 FastEthernet0/7
1-9 00:E5:22:3C:B0:7B FastEthernet0/8
1-10 00:E5:22:3C:B0:A0 FastEthernet0/9
1-11 00:E5:22:3C:B0:85 FastEthernet0/10
1-12 00:E5:22:3C:B0:87 FastEthernet0/11
……
3, added information table audit program is named as macCheck, based on linux system, can or directly on server, move at the virtual machine of PC, and code is as follows:
#! /bin/bash
clear
Echo " plans added information table filename: " & & Read MAC_SERVER
Echo " the switch mac address list file name of preserving: " & & Read MAC_SWITCH
Echo-e " the n checking, please wait a moment ... "
diff $MAC_SERVER $MAC_SWITCH --side-by-side > /dev/null
if [ $ -eq 0 ];
then
" Servers-all all correctly is installed in rack echo-e! N "
else
Echo-e " notes abnormalities! The server of setup error marks with " | " in following table: n "
diff $MAC_SERVER $MAC_SWITCH --side-by-side
fi
4, give program file and can carry out authority: #chmod 777 macCheck
5, carry out audit program:
If it is correct that machine is all installed, program can be returned to successfully prompting; If the server of setup error is arranged, program can report an error and specifically note the particular location of wrong server, show in accompanying drawing 2 that 1 rack the 9th station server is different with planned position with 2 racks the 8th station server, left side form is correct added information table, the right form is the actual mac address table obtained, known by contrasting, this two-server is anti-loaded:
6, the server of setup error is adjusted.
Except the described technical characterictic of specification, be the known technology of those skilled in the art.

Claims (4)

1. the method that the added seat in the plane of bulk service device checks, is characterized in that, its particular exam process is:
1) by the rack access switch, scan the MAC Address of Network Card of rack server, set up the corresponding relation of server MAC Address of Network Card and switch ports themselves, generate mac address table;
2) the added information table of rack of contrast user planning, check the machine room added accuracy of deployment server in batches;
3), when comparative information is inconsistent, setup error occurs, and then adjustment occurs that wrong server gets final product; When comparative information is consistent, the deployment of surperficial server is correct, finishes deploying step.
2. the method that the added seat in the plane of a kind of bulk service device according to claim 1 checks, is characterized in that, the detailed process of described step 1) is:
Server after installing and finishing powers on rack, guarantee all normal boot-straps of server, then portable terminal device is linked in the supervising the network of user's machine room, configuring ip can be communicated with the access switch of rack, be remotely logged on switch, obtain mac address table; During according to the installation rack, the corresponding relation of switch ports themselves and rack pallet position, determine the position of machine in rack, together with mac address table, preserves into information table.
3. the method that the added seat in the plane of a kind of bulk service device according to claim 2 checks is characterized in that described portable terminal device refers to notebook computer or panel computer.
4. the method that the added seat in the plane of a kind of bulk service device according to claim 1 and 2 checks, it is characterized in that, described step 2) checking process in completes by computer program, the added information table of rack that this program can be planned according to new information table and the user of generation is correspondence proving one by one, returns to the prompting of successful installation when inspection is consistent; Return to the feedback of wrong server specific address when setup error.
CN201310371977XA 2013-08-23 2013-08-23 Mounting position checking method for servers in batches Pending CN103428034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310371977XA CN103428034A (en) 2013-08-23 2013-08-23 Mounting position checking method for servers in batches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310371977XA CN103428034A (en) 2013-08-23 2013-08-23 Mounting position checking method for servers in batches

Publications (1)

Publication Number Publication Date
CN103428034A true CN103428034A (en) 2013-12-04

Family

ID=49652237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310371977XA Pending CN103428034A (en) 2013-08-23 2013-08-23 Mounting position checking method for servers in batches

Country Status (1)

Country Link
CN (1) CN103428034A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027691A (en) * 2016-05-13 2016-10-12 深圳市国鑫恒宇科技有限公司 Checking and correcting method for network card MAC (Media Access Control) address
CN103973930B (en) * 2014-05-16 2016-10-12 赵威 The remote scanning device of communication apparatus physical state in rack
CN109587997A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 Method, electronic equipment and the computer readable storage medium of distribution server position
CN110661893A (en) * 2018-06-28 2020-01-07 鸿富锦精密电子(天津)有限公司 Data center management method and data center management system
CN110806946A (en) * 2019-11-01 2020-02-18 华云超融合科技有限公司 Detection method, device, server and storage medium
CN111064624A (en) * 2019-12-29 2020-04-24 苏州浪潮智能科技有限公司 Whole cabinet node positioning method, device, equipment and readable storage medium
CN111599030A (en) * 2019-02-21 2020-08-28 广州高新兴机器人有限公司 Robot inspection method and system based on machine room
CN114363275A (en) * 2022-01-04 2022-04-15 广东大榕树信息科技有限公司 Low-cost IT equipment resource rapid and effective management method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100100965A1 (en) * 2004-05-21 2010-04-22 Computer Associates Think, Inc. System and method for providing remediation management
CN103037022A (en) * 2011-10-06 2013-04-10 台达电子工业股份有限公司 Automatic network address allocation method and data center specially implementing same
CN103138966A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server rack system
CN103167050A (en) * 2011-12-13 2013-06-19 台达电子工业股份有限公司 Automatic installation and setting method of server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100100965A1 (en) * 2004-05-21 2010-04-22 Computer Associates Think, Inc. System and method for providing remediation management
CN103037022A (en) * 2011-10-06 2013-04-10 台达电子工业股份有限公司 Automatic network address allocation method and data center specially implementing same
CN103138966A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server rack system
CN103167050A (en) * 2011-12-13 2013-06-19 台达电子工业股份有限公司 Automatic installation and setting method of server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973930B (en) * 2014-05-16 2016-10-12 赵威 The remote scanning device of communication apparatus physical state in rack
CN106027691A (en) * 2016-05-13 2016-10-12 深圳市国鑫恒宇科技有限公司 Checking and correcting method for network card MAC (Media Access Control) address
CN106027691B (en) * 2016-05-13 2019-06-14 深圳市同泰怡信息技术有限公司 A kind of inspection modification method of MAC Address of Network Card
CN110661893A (en) * 2018-06-28 2020-01-07 鸿富锦精密电子(天津)有限公司 Data center management method and data center management system
CN109587997A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 Method, electronic equipment and the computer readable storage medium of distribution server position
CN111599030A (en) * 2019-02-21 2020-08-28 广州高新兴机器人有限公司 Robot inspection method and system based on machine room
CN110806946A (en) * 2019-11-01 2020-02-18 华云超融合科技有限公司 Detection method, device, server and storage medium
CN110806946B (en) * 2019-11-01 2023-06-09 华云数据有限公司 Detection method, detection device, server and storage medium
CN111064624A (en) * 2019-12-29 2020-04-24 苏州浪潮智能科技有限公司 Whole cabinet node positioning method, device, equipment and readable storage medium
CN114363275A (en) * 2022-01-04 2022-04-15 广东大榕树信息科技有限公司 Low-cost IT equipment resource rapid and effective management method

Similar Documents

Publication Publication Date Title
CN103428034A (en) Mounting position checking method for servers in batches
CN102437938B (en) Large-scale network monitoring oriented virtual deployment system and method
CN106597947B (en) Transformer substation equipment testing method, server, tester and system
CN107920005B (en) Intelligent terminal device rapid network access installation and debugging system and working method
CN109361562A (en) A kind of automated testing method based on the access of related network equipment
CN108180599A (en) Adjustment method and debugging apparatus and computer readable storage medium
CN104539458A (en) Operating environment self-adapting method and device
CN105471982A (en) Interaction method and system for internet-of-things gateway and cloud platform
CN104683161A (en) Network management method and device based on SaaS (software as a service)
US11616389B2 (en) Method and arrangement for detecting a topology in a low-voltage network
CN106549810A (en) Cloud service platform redaction issues front method of testing, device and system
CN204291050U (en) A kind of dispatching and monitoring information check system
CN102970699B (en) A kind of fault handling method and distributed base station
CN110784020A (en) Automatic checking and accepting equipment, system and method for monitoring information
CN103530226A (en) Method and device for testing peripheral compatibility of electronic device
CN105548749A (en) Communication terminal testing method, device and system based on internet
KR101453671B1 (en) Integrated interface system for monitoring and controling electric power system
CN104698374A (en) Method for improving testing efficiency and accuracy of automatic relay protecting tester
CN105490826A (en) Configuration management system and method based on automatic discovery
CN103475526A (en) IP setting and detecting method supporting multi-VLAN virtual machine
CN103823111A (en) Remote network unified phase color identification system
CN105988903A (en) Laptop mainboard tester
CN111813655A (en) Embedded point testing method and device, embedded point management system and storage medium
MX2012009526A (en) Data acquisition method in network resource estimation and system thereof.
US20150169806A1 (en) Management method of an electric installation and management system of one such installation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131204

WD01 Invention patent application deemed withdrawn after publication