Summary of the invention
To the deficiency of prior art, the present invention provides the control method of a kind of blade server case panel power-on and power-off, and the cabinet panel circuit that control method of the present invention relates to is simple, and cost is low, and control method has realized complicated power-on and power-off flow process.
The objective of the invention is to adopt following technical proposals to realize:
The control method of a kind of blade server case panel power-on and power-off, its improvements are that said method comprises the power-on and power-off of the power knob control blade server case that utilizes cabinet panel;
The control mode of control blade server case power-on and power-off comprises: the control mode of administration module and the control mode of no administration module are arranged;
Said control mode when having the administration module control mode to comprise to damage with button request mode, the direct control mode of administration module and administration module;
The conversion of said administration module control mode and no administration module control mode adopts the control circuit on the cabinet panel to realize.
Preferably, power knob, ID button, power light and ID pilot lamp have been arranged side by side on the said cabinet panel; Control circuit on the said cabinet panel is connected with the ID button with said power knob respectively.
More preferably, said power knob is used to control the power-on and power-off of blade server case;
Said ID button is used for being positioned at the out of order blade server of a group of planes, adopts point-touch switch, is directly controlled by administration module;
Said power light is connected to cabinet panel to the power supply of plate in the said blade server case, on said cabinet panel, shows with power light;
Said ID pilot lamp; Directly control by administration module; (administration interface is the program of on administration module, moving according to the request of ID button or administration interface; The administration interface of man-machine interaction is provided, the button of " the ID pilot lamp is lighted or closed and goes out " is arranged on the interface, be similar to the button that ' begins/stop ' on the movie player) request do the operation of on and off.
More preferably, said power light and ID pilot lamp are LED light; Said power light adopts green LED; Said ID pilot lamp adopts blue led.
More preferably, said blade server case comprises middle plate, power module, administration module and fan;
Said power module, administration module and fan are connected with said middle plate respectively.
Plate is provided with bus chip and switch chip in said.
More preferably, one of them bus chip is connected with switch chip with administration module respectively; Another bus chip is connected with fan with administration module respectively.
Preferably, said ID button, ID pilot lamp and control circuit are connected with administration module respectively.
Preferably, the chip model of said administration module employing adopts the POWERPC405 of IBM Corporation.
Preferably, said method realizes through operating system; Operating provision is following:
By said power knob once, if be in power-down state, then be to have the request of administration module mode to power on;
Pinning said power knob and continue more than 5 seconds, if be in power-up state, then is to have under the request of administration module mode;
Pinning said ID button and do not put, and press said power knob 4 times continuously, then is manually powering on of no administration module mode;
Pinning said ID button and do not put, press said power knob 2 times continuously, then is the down manual of no administration module mode;
Pinning said ID button and do not put, press said power knob 1 time, then is to delegate power to the administration module control mode with manual control mode.
Preferably, said under the direct control mode of administration module, if there is not the mandate of administration module, even press the power knob on the said cabinet panel, said blade server case can not normally power on; And said administration module has the right to forbid power knob.
Preferably, when administration module damages, control said power module power-on and power-off with manual control mode.
Preferably, the said single power module power-on and power-off of control under the administration module control mode; All power modules power-on and power-off together on the control blade server case under manual control mode.
Preferably, when the said blade server case of control powers under said manual control mode, control the power-on and power-off of all fans on the blade server case simultaneously.
Preferably, when the said blade server case of control powered under said manual control mode, when inserting administration module again, said administration module can detect said blade server case power module and fan is moving.
Preferably, under the administration module control mode,, promptly require used bus chip to have latch function, and said bus chip is supplied power with accessory power supply if the situation that said administration module damages keeps the former duty of power module.
With the prior art ratio, the beneficial effect that the present invention reaches is:
1, the control method of blade server case panel provided by the invention power-on and power-off; The circuit design of cabinet panel is simple; Cost is low, but the circuit connection that provides design has realized the complicated flow process of blade server case power-on and power-off, need not buy special-purpose BMC chip and expensive code.
2, the control method of blade server case panel provided by the invention power-on and power-off; Considered the situation of all power-on and power-off of blade server; Include control mode that breaks down in the control mode, the administration module course of work of administration module and the control mode of not having administration module; And provided corresponding countermeasure to each situation, for the power-on and power-off of blade server case provide foundation.
Embodiment
Do further to specify below in conjunction with the accompanying drawing specific embodiments of the invention.
The present invention provides the control method of a kind of blade server case panel power-on and power-off, and this control method comprises the power-on and power-off of the power knob control blade server case that utilizes cabinet panel;
The control mode of control blade server case power-on and power-off comprises: the control mode of administration module and the control mode of no administration module are arranged;
Said control mode when having the administration module control mode to comprise to damage with button request mode, the direct control mode of administration module and administration module;
The conversion of said administration module control mode and no administration module control mode adopts the control circuit on the cabinet panel to realize.
The working method of said blade server acquiescence is that the administration module control mode is arranged.
Described have in the administration module control mode, if the situation of damage appears in administration module, must keep the original duty of power module, also promptly requires used bus chip to have latch function, and this chip should be used the power supply of auxiliary (standby) power supply.
Described have in the administration module control mode, when administration module has damaged, and still can the hand switch machine.
Described after assurance manually powers on operation, when inserting administration module again, power module and fan that administration module can detect system are moving.
Described have the administration module control mode can control single power supply to carry out power-on and power-off; Manual mode is controlled the power-on and power-off simultaneously of all power modules simultaneously.
Described when powering on manual mode control cabinet, need to control all fan power-on and power-off simultaneously.Also promptly require used bus chip to have latch function, this chip should be used the power supply of auxiliary (standby) power supply.
Described have under the administration module control mode, if there is not the mandate of administration module, even press the power knob on the cabinet panel, cabinet can not normally power on, and administration module has the right to forbid the function of power knob.
One, the syndeton of cabinet panel and other equipment
As shown in Figure 1; Cabinet panel 1 comprises power knob 11, ID button 12, power light 13, ID pilot lamp 14 and control circuit 15; Control circuit 15 on the said panel is connected with ID button 12 with power knob 11 respectively; ID button 12 also links to each other with administration module 4, its signal wire called after SYS_IDBUT_N.
Middle plate 2 comprises switch chip 21 and bus chip 22; Bus chip 22 comprises 2 chips, is respectively bus chip 221 and bus chip 222.Bus chip 22 adopts the I/O expander with latch function (I/O expands device) of IIC interface, for example can adopt the PCA9555PW chip of TI company.Switch chip 21 should be connected state (on state) under default setting; For example adopt the MC74LVXT4066DTR2 chip of On Semiconductor company; Each MC74LVXT4066DTR2 chip can be controlled 4 power modules 3, thus need select the number of MC74LVXT4066DTR2 chip according to the number of power module 3, to chip MC74LVXT4066DTR2; Need on middle plate midplane, draw high switch enable signal SYS_PWRBUT_EN with accessory power supply standby power supply; If select other switch chip, might on middle plate midplane, drag down, but in any case; Guarantee that the switch chip default setting is on state, i.e. connected state.
Cabinet panel 1, power module 3, administration module 4 and fan 5 all are to link to each other with middle plate 2 through connector.The number of power module 3 and fan 5 is at least 1, should require reasonably to be provided with the number of power module 3 and fan 5 with dispelling the heat according to the power consumption of blade server system.
Control circuit 15 on the cabinet panel 1 is drawn 3 signal line; Wherein a signal line (name SYS_PWRBUT_CNTR_N) links to each other with the enable signal PSU_PSON_N (s) that powers on of power module 3; And link to each other with administration module 4; Effect is the power-on and power-off of control power module 3, and notifies the administration module state that 4 power modules 3 are in simultaneously; One signal line (name SYS_PWRBUT_EN) links to each other with switch chip 21, and effect is the break-make of CS chip 21, reaches to connect or purpose that power-on and power-off that interrupt management module 4 sends for power module 3 through bus chip 221 are ordered; The 3rd signal line (name SYS_PWRBUT_REQ_N) links to each other with administration module 4, and effect is the signal that sends the power-on and power-off request to administration module 4, and its waveform can be specified arbitrarily, and Fig. 2 has illustrated a kind of situation.Also be connected with between cabinet panel 1 and the middle plate 2+the 12V power supply ,+12VSB power supply and ground (name GND), wherein+the 12VSB power supply is auxiliary (standby) power supply, is used for to cabinet panel 1 power supply.
Administration module 4 (Management Module; MM) utilize IIC Bus1 to link to each other with bus chip 221; And bus chip 221 links to each other with the enable signal PSU_PSON_N (s) that powers on of power module 3 through switch chip 21, and then reaches the purpose of administration module 4 control power modules 3 power-on and power-off.Administration module 4 utilizes IIC Bus2 bus chip 221 to link to each other with the enable signal Fan_PSON_N (s) of fan, reaches the purpose of control fan power-on and power-off.Administration module 4 can adopt the POWERPC405 of IBM Corporation.
The signal definition of cabinet panel is as shown in table 1 below:
Two, the function of cabinet panel and realization principle:
1, the power-on and power-off of control cabinet general supply promptly have the work of the master switch button control chassis power supply module 3 of a cabinet, and being divided into has administration module 4 and 4 two kinds of situation of no administration module.
By said power knob 11 once, if be in power-down state, then be to have the request of administration module mode to power on;
Pinning said power knob 11 and continue more than 5 seconds, if be in power-up state, then is to have under the request of administration module mode;
Pinning said ID12 button and do not put, and press said power knob 114 times continuously, then is manually powering on of no administration module mode;
Pinning said ID12 button and do not put, press said power knob 112 times continuously, then is the down manual of no administration module mode;
Pinning said ID12 button and do not put, press said power knob 111 times, then is that manual control mode is delegated power to the administration module control mode.
2, the power-up state of indication cabinet can adopt green LED lamp to show.
Pilot lamp 13 representes when bright that power module 3 primary powers work, promptly outputting standard+the 12V power supply.Pilot lamp does not work and representes not power on.
Design concept is, in plate 2+the 12V power supply is connected to the anode of power light 13, and the negative electrode of power light 13 connects ground (GND among Fig. 1); After cabinet powered on ,+12V power supply can exist, so power light 13 can be bright; Behind electricity under the cabinet; + 12V power supply does not exist, and becomes zero potential, so do not work.
3, ID button12 and ID pilot lamp 14 are used for locating the blade server that breaks down, and ID pilot lamp 14 can adopt blue led.
ID button12 can adopt point-touch switch, lights or turns off pilot lamp 14 by this button request administration module 4.Another kind of mode is exactly can just can light or close the ID pilot lamp 14 that goes out without ID button12 by means of the human-computer interaction interface on the administration module 4.
Three, the control flow of cabinet panel power-on and power-off
Fig. 3 is a cabinet panel button provided by the invention to the process flow diagram of each situation request power-on and power-off, includes the situation of administration module, the administration module situation of situation, no administration module that breaks down midway.Control flow is following:
The 1st step: the first state of value of blade server is a power-up state not, and this moment, the state of each signal was
SYS_PWRBUT_REQ_N=H (H: high level)
SYS_PWRBUT_EN=H (the default switch chip 21 that makes is in connected state)
SYS_PWRBUT_CNTR_N=H
The 2nd step: press Power Button (power knob 11) once, send the cabinet power on signal to control circuit 15.
The 3rd step: control circuit 15 is received the power on signal in the 2nd step, powers on so control signal wire SYS_PWRBUT_REQ_N sends 2 100ms pulse requests to administration module 4 (being called for short MM), and is as shown in Figure 2.Other signals keep original state: SYS_PWRBUT_EN=H, SYS_PWRBUT_CNTR_N=H
The 4th step: just get into the A-5 step if MM exists, otherwise get into the C-5 step.
The A-5 step: MM receives the request signal that powers on that signal wire SYS_PWRBUT_REQ_N passes over.
The A-6 step: MM makes judgement according to the situation of whole blade chassis, if do not allow to power on, will get into the A-7-1 step.If allow to power on, then get into the A-7-2 step.
The A-7-1 step: its human-computer interaction interface of MM control demonstrates the state and the reason that can not power on, and is recycled to for the 1st step.
A-7-2 step: the enable signal PSU_PSON_N (s) that powers on of MM control power module 3 (PSU) makes it become low level and controls one or more power module 3 and power on.The number that power module 3 powers on depends on the power consumption size of blade chassis, is maked decision according to the situation of estimating of blade system power consumption at that time by MM.
Because SYS_PWRBUT_EN=H; So switch chip 21 is in connected state; So MM can enable through each IO pin of IIC bus control bus chip 22, and process switch chip 21 is controlled the enable signal PSU_PSON_N (s) that powers on of each power module.
The A-8 step: blade server system operation.
The A-9 step: press Power Button (power knob 11) and keep more than 5 seconds, send off signal to control circuit 15.
The A-10 step: after control circuit 15 was received the off signal of A-9 in the step, control signal wire SYS_PWRBUT_REQ_N sent 2 500ms long pulses to MM, and request powers on, and is as shown in Figure 2.Other signals keep original state: SYS_PWRBUT_EN=H, SYS_PWRBUT_CNTR_N=H
The A-11 step: get into the A-12 step if MM is intact, otherwise get into the B-12 step.
The A-12 step: the enable signal PSU_PSON_N (s) that powers on of MM control power module 3 is a high level, makes all power modules 3 times.And be recycled to the 1st the step.
The B-12 step: MM breaks down, and the request that the A-10 step is sent out is not reacted.Next step enters into the C-10 step.
The C-5 step:, do not have reaction so system goes on foot the signal that produces to the 3rd because MM does not exist.
The C-6 step: the mode that powers on that switches to no administration module control by the mode of powering on of administration module control; The mode that manually powers on of promptly not having administration module; Pairing operation is: pin said ID12 button and do not put; Press said power knob 114 times continuously, two signals that button produced are issued control circuit 15.
The C-7 step: control circuit 15 is received manually the power on request signal of C-6 in the step, so control signal wire SYS_PWRBUT_EN=L (L: low level), promptly break off switch chip 21, cut off getting in touch of MM and power module 3; And make SYS_PWRBUT_CNTR_N=L, and promptly become low level to the enable signal PSU_PSON_N (s) that powers on of power module 3, all power modules 3 are powered on.Other signal conditions: SYS_PWRBUT_REQ=H
The C-8 step: the power on signal PSU_PSON_N of power module 3 (s) becomes low level, and all power modules 3 are powered on.
The C-9 step: system's operation
The C-10 step: the manual electric mode down that switches to no administration module control by the following electric mode of administration module control; Pairing operation is: pin said ID12 button and do not put; Press said power knob 112 times continuously, two signals that button produced are issued control circuit 15.
The C-11 step: control circuit 15 is received the following electric request signal of C-10 in the step, so control signal wire SYS_PWRBUT_EN=L promptly breaks off switch chip 21, cuts off getting in touch of MM and power module 3; And make SYS_PWRBUT_CNTR_N=H, and promptly become high level to the enable signal PSU_PSON_N (s) that powers on of power module 3, make all power modules 3 times.Other signal conditions: SYS_PWRBUT_REQ=H
The C-12 step: the enable signal PSU_PSON_N (s) that powers on of power module 3 becomes high level, makes all power modules 3 times.
The C-13 step: switch to the administration module control model by manual control model, pairing operation is: pin said ID12 button and do not put, press power knob 111 times, two signals that button produced are issued control circuit 15, are recycled to for the 1st step.
Fig. 4 is the process flow diagram without button, the direct control mode power-on and power-off of administration module (contain administration module break down situation) midway provided by the invention.Control flow is following:
The 1st step: the first state of value of blade server is a power-up state not, and this moment, the state of each signal was
SYS_PWRBUT_REQ_N=H
SYS_PWRBUT_EN=H (the default switch chip 21 that makes is in connected state)
SYS_PWRBUT_CNTR_N=H
The 2nd step: on the human-computer interaction interface of administration module, click the order that powers on.
The 3rd step: administration module is received the request of powering on.
The 4th step: MM makes judgement according to the situation of whole blade chassis, if do not allow to power on, will get into the 5-1 step.If allow to power on, then get into the 5-2 step.
The 5-1 step: its human-computer interaction interface of MM control demonstrates the state and the reason that can not power on, and is recycled to for the 1st step.
5-2 step: the enable signal PSU_PSON_N (s) that powers on of MM control power module 3 (PSU) makes it become low level and controls one or more power module 3 and power on.The number that power module 3 powers on depends on the power consumption size of blade chassis, is maked decision according to the situation of estimating of blade system power consumption at that time by MM.
Because SYS_PWRBUT_EN=H; So switch chip 21 is in connected state; So MM can enable through each IO pin of IIC bus control bus chip 22, and process switch chip 21 is controlled the enable signal PSU_PSON_N (s) that powers on of each power module.
The 6th step: blade server system operation.
The 7th step: get into the A-8 step if MM is intact, otherwise get into the B-8 step.
The A-8 step: on the human-computer interaction interface of administration module, click the order of electricity down;
The A-9 step: the enable signal PSU_PSON_N (s) that powers on of MM control power module 3 is a high level, makes all power modules 3 times.And be recycled to the 1st the step.
The B-8 step: MM breaks down, and its administration interface can't normally move, and electric order can't be carried out below the institute.
The B-9 step: the manual electric mode down that switches to no administration module control by the following electric mode of administration module control; Pairing operation is: pin said ID12 button and do not put; Press said power knob 112 times continuously, two signals that button produced are issued control circuit 15.
The B-10 step: control circuit 15 is received the following electric request signal of B-9 in the step, so control signal wire SYS_PWRBUT_EN=L promptly breaks off switch chip 21, cuts off getting in touch of MM and power module 3; And make SYS_PWRBUT_CNTR_N=H, and promptly become high level to the enable signal PSU_PSON_N (s) that powers on of power module 3, make all power modules 3 times.Other signal conditions: SYS_PWRBUT_REQ=H
The B-11 step: the enable signal PSU_PSON_N (s) that powers on of power module 3 becomes high level, makes all power modules 3 times.
The B-12 step: switch to the administration module control model by manual control model, pairing operation is: pin said ID12 button and do not put, press power knob 111 times, two signals that button produced are issued control circuit 15, are recycled to for the 1st step.
The control method of blade server case panel provided by the invention power-on and power-off; Its control method has been considered the situation of all power-on and power-off of blade server; Include control mode that breaks down in the control mode, the administration module course of work of administration module and the control mode of not having administration module; And provided corresponding countermeasure to each situation, for the power-on and power-off of blade server case provide foundation.The panel circuit simplicity of design, cost is low, but the circuit connection that provides design has realized the complicated flow process of blade server case power-on and power-off.
Should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not to its restriction; Although the present invention has been carried out detailed explanation with reference to the foregoing description; Under the those of ordinary skill in field be to be understood that: still can specific embodiments of the invention make amendment or be equal to replacement; And do not break away from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of the claim scope of the present invention.