CN102480396B - Server system and connection method thereof - Google Patents

Server system and connection method thereof Download PDF

Info

Publication number
CN102480396B
CN102480396B CN201010575196.9A CN201010575196A CN102480396B CN 102480396 B CN102480396 B CN 102480396B CN 201010575196 A CN201010575196 A CN 201010575196A CN 102480396 B CN102480396 B CN 102480396B
Authority
CN
China
Prior art keywords
server
main frame
administrative unit
server system
test program
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.)
Active
Application number
CN201010575196.9A
Other languages
Chinese (zh)
Other versions
CN102480396A (en
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.)
Suzhou, Mdt InfoTech Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN201010575196.9A priority Critical patent/CN102480396B/en
Publication of CN102480396A publication Critical patent/CN102480396A/en
Application granted granted Critical
Publication of CN102480396B publication Critical patent/CN102480396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a server system and a connection method thereof. The server system comprises a plurality of servers and a management unit, wherein a host machine contrast file is built in the management unit; the management unit performs a connection test program on at least one target server of the servers according to the host machine contrast file; when the target server is connected successfully through the connection test program, the management unit is connected with the target server through a network so as to acquire state information from at least one of the servers and generate a state information table according to the state information; and when the target server fails in connection through the connection test program, the management unit performs a corresponding program. By the server system and the connection method thereof, the connection test program is performed on the target server to be connected before network connection; if a test result shows that the target server fails in connection, a response can be made immediately; therefore, unnecessary waiting time can be saved, and the connection test program of system monitoring is improved.

Description

A kind of server system and attaching method thereof
Technical field
The present invention relates to a kind of server system, relate in particular to a kind of server system and attaching method thereof.
Background technology
Because computer industry is showing improvement or progress day by day, and enterprise also promotes day by day for the dependence of industrial computer system, industrial computer refers in particular to non-PC or inconsumable electronic system conventionally, for instance, industrial computer has comprised and has been used in core control equipment, the web page server of factory automation, data backup server of enterprise etc.
Along with the progress of electronic technology and industrial computer related application, industry improves relatively for the nature that requires of server system.And be the growth of reply enterprise, many enterprises are incorporated into numerous server unit in the middle of computer housing conventionally, and can utilize many group computer housing collocation composition industrial computer units, to deal with the demands such as the data quantity of a large amount of generations or network traffics, also can tackle the demands such as the expansion of server system in the future and upgrading simultaneously.
In general, a set of industrial computer unit may comprise multiple system chassiss, and in each system chassis, further comprises multiple computer servers (as blade type computer).
In addition, general industry computer needs under the long-term state in running, and once there be the problems such as any hardware component breaks down, enterprise often requires server system under non-stop-machine state, to repair or replace this hardware component.Therefore, the hot plug of motherboard (Hot Swap) demand, electric power supply distribution and radiator fan such as support also to arise at the historic moment mutually at the systemic-function.In addition,, in order to improve the stability of supply of electric power in industrial computer equipment, the protection mechanisms such as many systematic electricity condition monitorings, the error detection of power supply module, electric current and voltage keyholed back plate have also been developed.
In practical application, the keeper of user or computer system need to monitor the operating state of each server.On current known server system, user can be by the control interface of browser or other connection software, the state information that is connected to each Baseboard Management Controller and then checks particular server through network, in order conventionally to adopt the network of encrypting to be connected between the security consideration control unit on using and server, for example safe shell (Secure Shell, SSH) refined net connects.
But generally speaking SSH refined net connects needs to wait for that the longer time just can be returned connects overtimely, if even there is no correct setting, the connection of SSH refined net can continue repeatedly to connect, and can immediately not return the situation of Joint failure.In practical application, a set of server system may have several even dozens of servers, when server is changed, removed or during line interruption, if the server of linking these inefficacies by SSH refined net one by one by the operating times a large amount of waste, makes the immediately monitoring effect of server system reduce.
Summary of the invention
In order to address the above problem, the present invention proposes a kind of server system and attaching method thereof, can be before carrying out network connection, first the server of linking objective is carried out to a connecting test program, when destination server test result just can immediate reaction for cannot connect time, the instantaneity that can save the meaningless stand-by period and improve system monitoring with this.
Therefore, one of content of the present invention is to provide a kind of server system, and it comprises multiple servers and an administrative unit.In administrative unit, have main frame contrast archives, this administrative unit is carried out connecting test program according to main frame contrast archives at least one destination server in server, when destination server is when connecting test program is successful connection, between this administrative unit and this destination server, setting up a network is connected, with this, from these servers, at least one of them obtains state information and produces according to this state information table, when this destination server through this connecting test program for cannot connect time, this administrative unit is carried out a corresponding program.
One embodiment of content according to the present invention, wherein server has main frame identification title and the network address separately, stores the main frame identification title of server and the corresponding relation of the network address in main frame contrast archives.
One embodiment of content according to the present invention, wherein administrative unit obtains the corresponding network address of destination server from main frame contrast archives, and administrative unit is carried out connecting test program according to the network address.
One embodiment of content according to the present invention, wherein connecting test program package is containing PING program.
One embodiment of content according to the present invention, wherein server comprises respectively state sensing module and Baseboard Management Controller, and this Baseboard Management Controller is in order to receive this state information according to this state sensing module.
One embodiment of content according to the present invention, wherein when destination server through connecting test program for cannot connect time, the corresponding program package that administrative unit is carried out is containing returning to previous picture, showing Joint failure prompting or the sound that gives a warning.
One embodiment of content according to the present invention, wherein network connects and comprises the connection of SSH refined net.
One embodiment of content according to the present invention, wherein, when changing a server in server system, the main frame identification title of the server of change contrasts in archives with this main frame that the network address is written into administrative unit.
Another object of content of the present invention is to provide a kind of method of attachment, and it is for a server system, and server system comprises multiple servers and an administrative unit, and wherein method of attachment comprises the following step:
(1) set up main frame contrast archives in this administrative unit, wherein these main frame contrast archives store the main frame identification title of one of these servers and the corresponding relation of a network address;
(2) from these servers, choose at least one destination server;
(3) search in these main frame contrast archives and obtain corresponding this network address of this destination server;
(4) according to this network address, this destination server is carried out to a connecting test program;
(5), when this destination server is when this connecting test program is successful connection, between this administrative unit and this destination server, set up a network and be connected, so that at least one of them obtains state information and produces according to this state information table from these servers; And
(6) when this destination server through this connecting test program for cannot connect time, this administrative unit is carried out a corresponding program.
One embodiment of content according to the present invention, method of attachment of the present invention more comprises a step: when changing a server in this server system, this main frame identification title of the server of this change is contrasted to archives with this main frame that this network address writes this administrative unit.
Therefore, use server system provided by the invention and attaching method thereof, can be before carrying out network connection, first the server of linking objective is carried out to a connecting test program, when destination server test result just can immediate reaction for cannot connect time, the instantaneity that can save the meaningless stand-by period and improve system monitoring with this.
Accompanying drawing explanation
Reader, after having read the specific embodiment of the present invention with reference to accompanying drawing, will become apparent various aspects of the present invention.
Fig. 1 illustrates according to the schematic diagram of a kind of server system in one embodiment of the invention.
Fig. 2 illustrates according to the method flow diagram of a kind of method of attachment in one embodiment of the invention.
Embodiment
Refer to Fig. 1, it illustrates according to the schematic diagram of a kind of server system 100 in one embodiment of the invention.As shown in Figure 1, in server system 100, comprise multiple servers and administrative unit 140.In the present embodiment, administrative unit 140 can be in order to the many groups of respective tube reason server, in Fig. 1, only illustrate three groups of server (120a, 120b, 120c) as an example, but the present invention is not limited with three groups, for instance, in part embodiment, as the server system 100 of central data server (data center), can comprise totally three ten five groups of servers.
Wherein, each self-contained state sensing module 122, Baseboard Management Controller 124 in each group server 120a-120c.Baseboard Management Controller 124 is connected with state sensing module 122.For instance, in state sensing module 122, can comprise temperature-sensitive sticker.Wherein, temperature-sensitive sticker is in order to the working temperature of monitoring server, but the present invention is not as limit.
Therefore, in the server of industrial computer, may be provided with Baseboard Management Controller (baseboard management controller, BMC) as keyholed back plate element, BMC is a special process chip, normal is IPMI (IPMI, Intelligent Platform Management Interface) a part, Baseboard Management Controller utilizes corresponding sensor to carry out various states in monitoring server, for example: operating condition of the power supply of power supply unit or heat radiation module etc.In practical application, in server, can be provided with state sensing module and be used for measuring and return internal physical parameter, for example: temperature, humidity, supply voltage, fan speed, messaging parameter and operating system function.
124 of Baseboard Management Controllers can receive according to the sensing result of state sensing module 122 state information of the each side of this server 120a-120c, in the present embodiment, the content of state information has comprised the information such as the working temperature in server 120a-120c, but the present invention is not as limit.In practical application, state sensing module 122 is not limited only to above-mentioned two groups of sensors (being temperature-sensitive sticker and rotating speed sensor), and the content of the state information that produces of Baseboard Management Controller 124 can contain the testing result of temperature, humidity, supply voltage, fan speed, messaging parameter and operating system function etc. various different sensors.
Administrative unit 140 is in order to be connected with server 120a-120c communication, and can obtain above-mentioned state information from Baseboard Management Controller 124.In order to increase fail safe in transmission, go forward side by side and exercise user's identity authentication, in the present embodiment, between administrative unit 140 and server 120a-120c, setting up a network is connected, be used for that at least one of them obtains a state information from server 120a-120c, and can be by the part that the state information of collecting is integrated or Select to use person is interested in to produce a state information table.Network herein connects and can adopt safe shell (Secure Shell, SSH) refined net to connect in actual applications.When user is connected and logined Baseboard Management Controller 124 by SSH refined net, need to input user's title and password, need certain authentication procedure and authenticated time.
In practical operation, for the consideration of the facility on using or treatment efficiency, administrative unit 140 is not limited to read the state information of Servers-all 120 simultaneously, in actual applications, server system 100 can provide operation interface of user (as keyboard, the input units such as mouse, switching push button, touch-control interface etc.), administrative unit 140 can operate by choosing at least one destination server in server 120a-120c according to user, in following paragraph to choose wherein server 120a as destination server explanation for example, but the present invention is not as limit.Administrative unit 140 connects for the destination server of being chosen by user (server 120a).
In addition, administrative unit 140 also can be used to read in the lump rotating speed or the operating state of server system 100 fan modules (not illustrating), be beneficial to carry out monitoring management, in practical application, fan module can be arranged on the side of each server (120a-120c) in the frame of server system 100.
Should be noted, in the present embodiment administrative unit 140 with destination server (in this example for server 120a) between set up a network and be connected (as the connection of SSH refined net) before, can verify in advance (for example whether server still exists the state of destination server that wish connects, whether open, whether network is effective, connect whether occur abnormal etc.), in the present invention, administrative unit 140 is carried out a connecting test program according to main frame contrast archives to destination server (server 120a), with this, can avoid connecting and logining the destination server that cannot normally respond through SSH refined net, cause and login time waste meaningless in proof procedure.How It Works about above-mentioned connecting test program is specified in the following passage.
First in the network architecture, server 120a-120c has a main frame identification title (host name) and the network address (IP address) separately, and for example main frame of server 120a identification title can be SYS1 and its network address is 127.0.0.1.In main frame contrast archives, store the main frame identification title of server 120a-120c and the corresponding relation of the network address.When user chooses SYS1 (server 120a) as destination server, administrative unit 140 can be searched main frame contrast archives and be learnt the network address 127.0.0.1 of server 120a, and carries out connecting test program according to network address 127.0.0.1.In the present embodiment, connecting test program package is containing PING program.
After carrying out PING program for network address 127.0.0.1, administrative unit 140 just can learn whether destination server (server 120a) can successfully connect.When destination server is when connecting test program is successful connection, between administrative unit 140 and destination server (server 120a), set up SSH refined net and be connected, to obtain state information from destination server (server 120a).On the other hand, when destination server (server 120a) through connecting test program for cannot connect time, 140 of administrative units can be carried out a corresponding program, for instance, this correspondence program can be and returns to previous picture, shows Joint failure prompting or the sound that gives a warning, to immediately and rapidly allow the administrative staff of user or server system recognize the abnormal conditions that cannot connect.
What need supplement is, for example, when changing server in server system 100 (newly-increased server, the network address that removes server, server are changed, server renames), the main frame identification title of the server of this change contrasts in archives with the main frame that the network address is written into administrative unit 140, to maintain the instantaneity of main frame contrast archives.
Refer to Fig. 2, it illustrates according to the method flow diagram of a kind of method of attachment in one embodiment of the invention.In the present embodiment, method of attachment can be used for a server system, and server system comprises multiple servers and an administrative unit, and these servers have a state information separately.About the internal hardware structure of server system can be roughly similar to the server system 100 in previous embodiment herein, please also refer to the server system 100 in previous embodiment of the present invention and Fig. 1.
As shown in Figure 2, first method of attachment of the present invention performs step S100, set up main frame contrast archives (host file) in this administrative unit, wherein these main frame contrast archives store the main frame identification title (ID name) of these servers and the corresponding relation of the network address (IP address).
As shown in Figure 2, first method of attachment of the present invention performs step S102, opens the connection page corresponding on browser on server.
Then, connecting the interface of choosing that shows these servers on the page, allow user to click and want at present to show goal systems unit on the connection page, it can be indivedual servers or server farm (for example, all computer servers unit in single computer server unit, multiple computer servers unit or same cabinet etc.).With this, just can perform step S104, according to user, operate by choosing a part of destination server in these servers.
Finally, execution step S106, judges the state information that whether has had the destination server being selected in administrative unit.
Now, if there is not the state information of destination server in administrative unit, just can perform step S108, search in main frame contrast archives and obtain the corresponding network address of destination server.
Then, execution step S110, carries out connecting test program according to the network address to destination server, and whether test-target server is by connecting test program.
For example, when destination server in step S110 (is carried out PING program to this network address and had response) when connecting test program is successful connection, just perform step S112, between administrative unit and destination server, setting up network is connected, to obtain state information from this destination server, and can be by the part that the state information of collecting is integrated or Select to use person is interested in to produce a state information table.Then, can perform step S116 the content of state information table is presented to the connection page corresponding on browser.
On the other hand, for example, when destination server in step S110 (is carried out PING program without responding or connecting overtime etc. to this network address) through connecting test program for cannot connect time, just perform step S114, administrative unit is carried out a corresponding program, for example: return to previous picture, show Joint failure prompting or the sound etc. that gives a warning.
On the other hand, if while performing step S106, judge the state information that has had destination server in administrative unit, now, just can directly perform step S116, its content is presented on the corresponding connection page of browser.
Thus, when destination server occurs extremely to cause connecting, the present invention just can be learnt by connecting test program, and enter step S114, with quick and efficient making a response (return to previous picture, show Joint failure prompting or the sound etc. that gives a warning), can avoid waste the unnecessary stand-by period.
In addition, in order to maintain the instantaneity of main frame contrast archives, for example, when changing server in server system (newly-increased server, the network address that removes server, server are changed, server renames), method of attachment of the present invention, can further carry out a step main frame identification title of the server of change is contrasted in archives with the main frame that the network address is written into administrative unit.
Use the advantage of server system provided by the invention and attaching method thereof to be, can be before carrying out network connection, first the server of linking objective is carried out to a connecting test program, when destination server test result just can immediate reaction for cannot connect time, the instantaneity that can save the meaningless stand-by period and improve system monitoring with this.
Above, describe the specific embodiment of the present invention with reference to the accompanying drawings.But those skilled in the art can understand, without departing from the spirit and scope of the present invention in the situation that, can also do various changes and replacement to the specific embodiment of the present invention.These changes and replacement all drop in the claims in the present invention book limited range.

Claims (9)

1. a server system, is characterized in that, described server system comprises:
Multiple servers; And
One administrative unit, in described administrative unit, have main frame contrast archives, described administrative unit is carried out a connecting test program according to described main frame contrast archives at least one destination server in described server, when described destination server is when described connecting test program is successful connection, between described administrative unit and described destination server, setting up a network is connected, in order to from described server, at least one of them obtains a state information and produces according to this state information table, when described destination server through described connecting test program for cannot connect time, described administrative unit is carried out a corresponding program, described corresponding program package is containing returning to previous picture, show Joint failure prompting or the sound that gives a warning.
2. server system as claimed in claim 1, it is characterized in that, described server has main frame identification title and a network address separately, in described main frame contrast archives, stores the described main frame identification title of described server and the corresponding relation of the described network address.
3. server system as claimed in claim 2, it is characterized in that, described administrative unit is by obtaining the corresponding described network address of described destination server in described main frame contrast archives, and described administrative unit is carried out described connecting test program according to the described network address.
4. server system as claimed in claim 1, is characterized in that, described connecting test program package is containing a PING program.
5. server system as claimed in claim 1, is characterized in that, described server comprises respectively a state sensing module and a Baseboard Management Controller, and described Baseboard Management Controller is in order to receive described state information according to described state sensing module.
6. server system as claimed in claim 1, is characterized in that, described network connects and comprises a SSH refined net connection.
7. server system as claimed in claim 1, is characterized in that, when changing a server in described server system, a main frame identification title of the server of described change contrasts in archives with the described main frame that a network address is written into described administrative unit.
8. a method of attachment, for a server system, described server system comprises multiple servers and an administrative unit, it is characterized in that, and described method of attachment comprises the following step:
Set up main frame contrast archives in described administrative unit, wherein said main frame contrast archives store a main frame identification title of described server and the corresponding relation of a network address;
From described server, choose at least one destination server;
Search in described main frame contrast archives and obtain the corresponding described network address of described destination server;
According to the described network address, described destination server is carried out to a connecting test program;
When described destination server is when described connecting test program is successful connection, between described administrative unit and described destination server, set up a network and be connected, in order at least one of them obtains a state information and produces according to this state information table from described server; And
When described destination server through described connecting test program for cannot connect time, described administrative unit is carried out a corresponding program, described corresponding program package is containing returning to previous picture, showing Joint failure prompting or the sound that gives a warning.
9. method of attachment as claimed in claim 8, is characterized in that, described method of attachment more comprises the following step:
When changing a server in described server system, the described main frame identification title of the server of described change is contrasted to archives with the described main frame that the described network address writes described administrative unit.
CN201010575196.9A 2010-11-30 2010-11-30 Server system and connection method thereof Active CN102480396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010575196.9A CN102480396B (en) 2010-11-30 2010-11-30 Server system and connection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010575196.9A CN102480396B (en) 2010-11-30 2010-11-30 Server system and connection method thereof

Publications (2)

Publication Number Publication Date
CN102480396A CN102480396A (en) 2012-05-30
CN102480396B true CN102480396B (en) 2014-05-07

Family

ID=46092883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010575196.9A Active CN102480396B (en) 2010-11-30 2010-11-30 Server system and connection method thereof

Country Status (1)

Country Link
CN (1) CN102480396B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729280A (en) * 2013-12-23 2014-04-16 国云科技股份有限公司 High availability mechanism for virtual machine
CN105825124A (en) * 2015-01-06 2016-08-03 中国移动通信集团广西有限公司 Server illegal operation monitoring method and monitoring system
CN106034036B (en) * 2015-03-13 2019-08-13 昆达电脑科技(昆山)有限公司 Server state detecting real-time method and system, terminal installation
CN107769952B (en) * 2016-08-23 2021-02-12 佛山市顺德区顺达电脑厂有限公司 Remote management system and method thereof
CN108984466A (en) * 2018-06-29 2018-12-11 深圳市同泰怡信息技术有限公司 The exchange method of BMC and server OS, system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227355A (en) * 2006-08-16 2008-07-23 环达电脑(上海)有限公司 Clustering system and system management architecture thereof
CN101605056A (en) * 2009-06-16 2009-12-16 中兴通讯股份有限公司 A kind of J2EE server monitoring device and adopt the method for supervising of this device
CN101729302A (en) * 2008-10-31 2010-06-09 英业达股份有限公司 Test system and automatic configuration method for internet protocol address thereof
CN101741577A (en) * 2008-11-14 2010-06-16 英业达股份有限公司 Method and system for testing baseboard management controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6985357B2 (en) * 2003-08-28 2006-01-10 Galactic Computing Corporation Bvi/Bc Computing housing for blade server with network switch
US20070086449A1 (en) * 2005-10-18 2007-04-19 Aten International Co., Ltd System and method for remote management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227355A (en) * 2006-08-16 2008-07-23 环达电脑(上海)有限公司 Clustering system and system management architecture thereof
CN101729302A (en) * 2008-10-31 2010-06-09 英业达股份有限公司 Test system and automatic configuration method for internet protocol address thereof
CN101741577A (en) * 2008-11-14 2010-06-16 英业达股份有限公司 Method and system for testing baseboard management controller
CN101605056A (en) * 2009-06-16 2009-12-16 中兴通讯股份有限公司 A kind of J2EE server monitoring device and adopt the method for supervising of this device

Also Published As

Publication number Publication date
CN102480396A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
US7069349B2 (en) IPMI dual-domain controller
US9183106B2 (en) System and method for the automated generation of events within a server environment
CN102223394B (en) Methods and servers to provide remote direct access of solid-state storage
JP5684946B2 (en) Method and system for supporting analysis of root cause of event
US9569325B2 (en) Method and system for automated test and result comparison
CN102480396B (en) Server system and connection method thereof
US20070088816A1 (en) System and method for monitoring the status of a bus in a server environment
CN108804114A (en) For the firmware of server unit and the setting method of self-defined setting
CN102081567B (en) Server
CN106155970B (en) automatic hardware recovery method and automatic hardware recovery system
CN112286709B (en) Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
US20120254662A1 (en) Automated test system and automated test method
CN102411526A (en) Test method of mainboard of blade server
CN103200199A (en) Out of band (OOB) data collection system
CN101771565B (en) Analogy method for realizing multitudinous or different baseboard management controllers by single server
CN107729038A (en) The baseboard management controller of firmware update and renewable firmware
US6973412B2 (en) Method and apparatus involving a hierarchy of field replaceable units containing stored data
CN103176516B (en) The monitoring method of cabinet system and cabinet system
CN103853636A (en) Cabinet server system and detecting method thereof
CN102957563B (en) Linux clustering fault automatic recovery method and Linux clustering fault automatic recovery system
CN111949320A (en) Method, system and server for providing system data
CN107247505B (en) Cloud server power supply blackbox design method easy to view
CN116560586B (en) Determination method and device of attribute value, storage medium and electronic equipment
CN105893196A (en) Server debugging auxiliary tool and system
CN101101558B (en) Method and system for initialization after a power interruption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190625

Address after: One 509 Tongji Science and Technology Plaza, 333 Hushan Road, Changshu High-tech Industrial Development Zone, Suzhou City, Jiangsu Province

Patentee after: Suzhou, Mdt InfoTech Ltd

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. sixty-six

Patentee before: Inventec Corporation

TR01 Transfer of patent right