CN104683134A - System and method for configuring cluster server testing environment - Google Patents

System and method for configuring cluster server testing environment Download PDF

Info

Publication number
CN104683134A
CN104683134A CN201310631857.9A CN201310631857A CN104683134A CN 104683134 A CN104683134 A CN 104683134A CN 201310631857 A CN201310631857 A CN 201310631857A CN 104683134 A CN104683134 A CN 104683134A
Authority
CN
China
Prior art keywords
management controller
address
baseboard management
server
mainboard
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
CN201310631857.9A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310631857.9A priority Critical patent/CN104683134A/en
Publication of CN104683134A publication Critical patent/CN104683134A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a system for configuring a cluster server testing environment. The system comprises a switch, a cluster server connected with the switch, a working machine and a main server, wherein both the main server and the working machine access the cluster server through the switch; the main server is used for generating an image needed by the testing environment; the cluster server comprises a mainboard and a substrate management controller arranged on the mainboard; the substrate management controller is used for detecting the IP (Internet Protocol) address of the mainboard and basic information corresponding to the IP address, and transmitting the IP address and the basic information to the main server for storing; the substrate management controller is also used for starting the image and storing the image on the corresponding mainboard according to the IP address and the basic information.

Description

The system and method for allocation cluster server test environment
Technical field
The present invention relates to a kind of server, particularly a kind of system and method for allocation cluster server test environment.
Background technology
Cluster (Cluster) is so a kind of technology: multiple system connects together by it, multiple servers is worked as a machine or seems a machine.Clustering is a technology of development high-performance server, has high reliability, expansibility and anti-calamity, is one group of separate server, utilizes high-speed communicating network to form a single server system.A cluster comprises multiple servers, and described server needs to test usually, and needs before described server test to carry out numerous and diverse test environment configuration.So, current test environment configuration is all that tester passes through each server manual operation usually, and workload is large, wastes time and energy.
Summary of the invention
In view of above content, be necessary to provide a kind of system and method facilitating allocation cluster server test environment.
A kind of system of allocation cluster server test environment, comprise switch, the cluster server be connected with described switch, working machine and master server, described master server and described working machine are all by cluster server described in described switch-access, the mirror image that described master server needs for generating test environment, described cluster server comprises mainboard and is installed on the baseboard management controller on described mainboard, described baseboard management controller is for the essential information of the IP address and corresponding described IP address of detecting described mainboard, and described IP address and described essential information are sent to the storage of described master server, described baseboard management controller also for start described mirror image and according to described IP address and described essential information by described mirrored storage to corresponding mainboard.
Preferably, described master server comprises control unit and memory cell, and described control unit is for generating described mirror image, and described memory cell is for storing described mirror image, described IP address and described essential information.
Preferably, described master server comprises port and inquiry unit, described port connects described switch by netting twine, described baseboard management controller comprises interface, described port is connected with described switch by netting twine, and described inquiry unit is by baseboard management controller described in described port and described interface accessing.
Preferably, described baseboard management controller also comprises performance element and information unit, described essential information is stored in described information unit, described inquiry unit inquires described information unit by described port and described interface, and the IP address and essential information that are stored in described information unit are sent to described master server and store by described performance element.
Preferably, described baseboard management controller also comprises start unit, and described start unit is virtual medium, and described start unit is for starting described mirror image.
A method for allocation cluster server test environment, comprises the following steps:
Inquiry step, described master server sends inquiry message by described switch and inquires described baseboard management controller to described baseboard management controller;
Response of step, described baseboard management controller responds described inquiry step, detects the essential information of the mainboard of the IP address of described mainboard and corresponding described IP address and described IP address and described essential information is sent to described master server and stores;
Mirror image generation step, described master server generates mirror image according to described IP address and described essential information;
Setting up procedure, described baseboard management controller starts described mirror image;
Perform step, described baseboard management controller according to described IP address and described essential information by the mirrored storage of correspondence to corresponding mainboard.
Preferably, described baseboard management controller starts described mirror image after described master server generates described mirror image, and described baseboard management controller starts in described mirrored storage to corresponding mainboard after described mirror image.
Preferably, described master server stores described mirror image to generating daily record after described mainboard and described daily record being preserved at described baseboard management controller.
Preferably, described master server is being preserved described daily record post analysis and is processing the result of described daily record and stores processor.
Preferably, before described master server inquires described baseboard management controller, described master server is also configured to Web server by installing operating system, and operation interface is shown on described working machine by described master server.
Compared with prior art, in the system and method for above-mentioned allocation cluster server test environment, described master server and described working machine are by cluster server described in described switch-access, described control chip detects the IP address of described mainboard and the essential information of corresponding described IP address, and described IP address and described essential information are sent to the storage of described master server, described master server generates the mirror image that test environment needs, described control chip start described mirror image and according to described IP address and described essential information by described mirrored storage on corresponding mainboard.Described cluster server carries out batch configuration test environment by described master server, and configuration is convenient, thus increases work efficiency.
Accompanying drawing explanation
Fig. 1 is the block diagram of a better embodiment of the system and method for allocation cluster server test environment of the present invention.
Fig. 2 is the flow chart of a better embodiment of the system and method for allocation cluster server test environment of the present invention.
Main element symbol description
Master server 10
Port 11
Inquiry unit 12
Control unit 13
Memory cell 14
Switch 20
Cluster server 30
Mainboard 31
Control chip 33
Interface 330
Start unit 331
Performance element 332
Information unit 334
Working machine 40
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
Refer to Fig. 1, in a better embodiment of the present invention, a kind of system of allocation cluster server test environment comprises master server 10, switch 20, cluster server 30 and a working machine 40.Described master server 10 and described cluster server 30 and described working machine 40 are connected with described switch 20 respectively.Described master server 10 accesses described cluster server 30 by described switch 20.Described working machine 40 is accessed described master server 10 by described switch 20 and is shown.In one embodiment, described working machine 40 is a notebook computer.
Described master server 10 comprises Single port 11, inquiry unit 12, control unit 13 and a memory cell 14.Described master server 10 is for being configured to a Web server and installing an operating system and a browser.Described port one 1 is connected with described switch 20 by netting twine (not shown).The mirror image that described control unit 13 needs for generating test environment.Described memory cell 14 is for storing described mirror image.In one embodiment, described operating system 15 is a linux system.
Described cluster server 30 comprises some mainboards 31 and control chip 33.In one embodiment, described control chip 33 is a baseboard management controller (Baseboard Management Controller, BMC).Each mainboard 31 is installed a control chip 33.Each control chip 33 comprises interface 330, start unit 331, performance element 332 and an information unit 334.Each interface 330 is connected with described switch 20 by described netting twine.Described inquiry unit 12 is for accessing described information unit 334 by described port one 1, described switch 20 and described interface 330.Described information unit 334 comprises the essential information of IP address and the corresponding described IP address storing each mainboard 31.Described performance element 332 is for detecting the IP address and described essential information that are stored in described information unit 334 and memory cell 14 for described IP address and described essential information being sent to described master server 10 after the described inquiry unit 12 of response stores.Described essential information comprise the version information, title, sequence number etc. of the BIOS of each mainboard 31 and each control chip 33 version information, title, sequence number etc.Described performance element 332.In one embodiment, described performance element 332 is a virtual medium (virtual media).
Refer to Fig. 1 and Fig. 2, a kind of method of configuration server comprises the following steps:
S201: system installation steps, is configured to a Web server by described master server 10 and installs an operating system and a browser;
S202: operation interface step display, operation interface is shown on described working machine 40 by described browser by described master server 10;
S203: inquiry step, described inquiry unit 12 sends a calling-on signal by described port one 1, described switch 20 and described interface 330 and inquires described information unit 334 to described information unit 334;
S204: response of step, described performance element 332 responds described inquiry step, detect to be stored in the IP address of described information unit 334 and essential information and described IP address and described essential information are sent to described memory cell 14 and store;
S205: information display step, the IP address and essential information that are stored in described memory cell 14 are shown on described working machine 40 by described browser by described control unit 13;
S206: determining step, described performance element 332 judges the mirror image whether described memory cell 14 has test environment to need, and the mirror image that described memory cell 14 has test environment to need, then carry out step S209, otherwise carry out step S207;
S207: mirror image generation step, described control unit 13 generate test environment need mirror image and by described mirrored storage in described memory cell 14;
S208: setting up procedure, described start unit 331 starts described mirror image;
S209: perform step, described performance element 332 according to described IP address and described essential information by the mirrored storage of correspondence to corresponding mainboard 31;
S210: daily record generation step, described control unit 13 generates daily record according to aforesaid operations step and described daily record is saved to described memory cell 14;
S211: analyze and treatment step, described control unit 13 is analyzed described daily record and processes, and the result of process is stored to described memory cell 14.
In the system of above-mentioned allocation cluster server test environment, according to test environment needs, the mirror image of configuration testing need for environment on described master server 10, the control unit 13 of described master server 10 generates mirror image that test environment needs and by described mirrored storage in described memory cell 14, described start unit 331 starts described mirror image, described performance element 332 according to described IP address and described essential information by the mirrored storage of correspondence to corresponding mainboard 31, described cluster server 30 can carry out batch configuration test environment by the described master server 10 of access, convenient configuration, thus increase work efficiency.
To one skilled in the art, can combine according to scheme of the invention of the present invention and inventive concept the actual needs produced and make other change accordingly or adjustment, and these change and adjustment all should belong to scope disclosed in this invention.

Claims (10)

1. the system of an allocation cluster server test environment, comprise switch, the cluster server be connected with described switch and working machine, it is characterized in that: the system of described allocation cluster server test environment also comprises the master server be connected with described switch, described master server is by cluster server described in described switch-access, described working machine is by cluster server described in described switch-access, the mirror image that described master server needs for generating test environment, described cluster server comprises mainboard and is installed on the baseboard management controller on described mainboard, described baseboard management controller is for the essential information of the IP address and corresponding described IP address of detecting described mainboard, and described IP address and described essential information are sent to the storage of described master server, described baseboard management controller also for start described mirror image and according to described IP address and described essential information by described mirrored storage to corresponding mainboard.
2. the system of allocation cluster server test environment as claimed in claim 1, it is characterized in that: described master server comprises control unit and memory cell, described control unit is for generating described mirror image, and described memory cell is for storing described mirror image, described IP address and described essential information.
3. the system of allocation cluster server test environment as claimed in claim 1, it is characterized in that: described master server comprises port and inquiry unit, described port connects described switch by netting twine, described baseboard management controller comprises interface, described port is connected with described switch by netting twine, and described inquiry unit is by baseboard management controller described in described port and described interface accessing.
4. the system of allocation cluster server test environment as claimed in claim 3, it is characterized in that: described baseboard management controller also comprises performance element and information unit, described essential information is stored in described information unit, described inquiry unit inquires described information unit by described port and described interface, and the IP address and essential information that are stored in described information unit are sent to described master server and store by described performance element.
5. battery electric quantity control system as claimed in claim 1, it is characterized in that: described baseboard management controller also comprises start unit, described start unit is virtual medium, and described start unit is for starting described mirror image.
6. the method for an allocation cluster server test environment, be applied in the system of allocation cluster server test environment, the system of described allocation cluster server test environment, comprise switch, the cluster server be connected with described switch, working machine, and the master server to be connected with described working machine, described cluster server comprises mainboard and is installed on the baseboard management controller on described mainboard, described baseboard management controller is for the essential information of the IP address and corresponding described IP address of detecting described mainboard, and described IP address and described essential information are sent to the storage of described master server, it is characterized in that: the method for described allocation cluster server test environment comprises the following steps:
Inquiry step, described master server sends inquiry message by described switch and inquires described baseboard management controller to described baseboard management controller;
Response of step, described baseboard management controller responds described inquiry step, detects the essential information of the mainboard of the IP address of described mainboard and corresponding described IP address and described IP address and described essential information is sent to described master server and stores;
Mirror image generation step, described master server generates mirror image according to described IP address and described essential information;
Setting up procedure, described baseboard management controller starts described mirror image;
Perform step, described baseboard management controller according to described IP address and described essential information by the mirrored storage of correspondence to corresponding mainboard.
7. the method for electric allocation cluster server test environment as claimed in claim 6, it is characterized in that: described baseboard management controller starts described mirror image after described master server generates described mirror image, described baseboard management controller starts in described mirrored storage to corresponding mainboard after described mirror image.
8. the method for electric allocation cluster server test environment as claimed in claim 6, is characterized in that: described master server stores described mirror image to generating daily record after described mainboard and described daily record being preserved at described baseboard management controller.
9. the method for allocation cluster server test environment as claimed in claim 8, is characterized in that: described master server is being preserved described daily record post analysis and processing the result of described daily record and stores processor.
10. the method for electric allocation cluster server test environment as claimed in claim 6, it is characterized in that: before described master server inquires described baseboard management controller, described master server is also configured to Web server by installing operating system, and operation interface is shown on described working machine by described master server.
CN201310631857.9A 2013-12-02 2013-12-02 System and method for configuring cluster server testing environment Pending CN104683134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310631857.9A CN104683134A (en) 2013-12-02 2013-12-02 System and method for configuring cluster server testing environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310631857.9A CN104683134A (en) 2013-12-02 2013-12-02 System and method for configuring cluster server testing environment

Publications (1)

Publication Number Publication Date
CN104683134A true CN104683134A (en) 2015-06-03

Family

ID=53317765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310631857.9A Pending CN104683134A (en) 2013-12-02 2013-12-02 System and method for configuring cluster server testing environment

Country Status (1)

Country Link
CN (1) CN104683134A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094040A (en) * 2015-06-26 2015-11-25 北京天地玛珂电液控制系统有限公司 Computer control system of full-mechanized work face monitoring center
CN106657444A (en) * 2017-02-24 2017-05-10 郑州云海信息技术有限公司 Method and device for configuring IP address of BMC
CN108306996A (en) * 2018-01-17 2018-07-20 郑州云海信息技术有限公司 A kind of automatic modification server B MC fixation IP design schemes
CN109583223A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 A kind of detection method and device of pair of big data security deployment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094040A (en) * 2015-06-26 2015-11-25 北京天地玛珂电液控制系统有限公司 Computer control system of full-mechanized work face monitoring center
CN106657444A (en) * 2017-02-24 2017-05-10 郑州云海信息技术有限公司 Method and device for configuring IP address of BMC
CN106657444B (en) * 2017-02-24 2019-09-24 郑州云海信息技术有限公司 A kind of method and device for the IP address configuring BMC
CN109583223A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 A kind of detection method and device of pair of big data security deployment
CN108306996A (en) * 2018-01-17 2018-07-20 郑州云海信息技术有限公司 A kind of automatic modification server B MC fixation IP design schemes

Similar Documents

Publication Publication Date Title
US10031671B2 (en) Method, apparatus, and system for calculating identification threshold to distinguish cold data and hot data
CN110865867B (en) Method, device and system for discovering application topological relation
CN109189627B (en) Hard disk fault monitoring and detecting method, device, terminal and storage medium
CN103377115A (en) System event log management system and system event log management method
CN105204979A (en) Recording method of Android logs and mobile terminal
CN104683134A (en) System and method for configuring cluster server testing environment
CN103716174A (en) Test log acquisition system and method for the same
CN113890879B (en) Load balancing method and device for data access, computer equipment and medium
CN102289402A (en) Monitoring and managing method based on physical multi-partition computer architecture
CN109257249A (en) A kind of network interface card stability test method, apparatus, terminal and storage medium
CN109240865A (en) A kind of AC test method, device, terminal and the storage medium of AEP memory
CN112187574A (en) Method, system and storage medium for network stress testing using virtual machines
CN104657243A (en) Server and server detection method
CN101174985B (en) Method and device for recovering configuration information
CN107145304B (en) Server, storage system and related method
CN110674008B (en) Problem disk log information collection method, device, equipment and medium of SSD
CN112187509A (en) Multi-architecture cloud platform execution log management method, system, terminal and storage medium
CN102480360A (en) Power control method of multiple servers
CN203301532U (en) Cloud desktop system
CN105634635A (en) Real-time clock (RTC) sharing method, device and system
CN111177053B (en) Data communication method, device and system and computer readable storage medium
CN115543881B (en) PCIE (peripheral component interconnect express) equipment adaptation method, PCIE equipment adaptation system, computer equipment and storage medium
CN110134546A (en) Batch restarts windows systems approach, electronic device and storage medium
CN115269347A (en) Storage performance testing method, device, medium and electronic equipment
CN114238019A (en) Hard disk display method, device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150603