A kind of method of remote control startup of server
Technical field
The present invention relates to a kind of method of not having process control startup of server mode, in particular a kind of method of using IPMI IPMI standard the server that baseboard management controller BMC is housed to be carried out the control of remote activation parameter.
Background technology
In the prior art, ATCA (Advanced Telecom Computing Architecture, Advanced Telecom Computing Architecture) is for satisfying the computing platform standard of new generation of high-throughput, high reliability.The ATCA standard considers that the ever-increasing demand of telecom operators has adopted brand-new design, the telecom equipment manufacturers that helps this new standard satisfies the harsh day by day requirement of operator, comprise hardware reliability, high availability, extensibility and I/O bandwidth, and manageability that strengthens and interoperability etc.
(Intelligent PlatformManagement Interface IPMI) carries out the intelligent management of hardware by IPMI in the ATCA standard.The keeper can utilize the physical features of IPMI monitor server, as temperature, voltage, electric fan operating state, power supply supply and cabinet invasion etc., for system management, recovery and asset management provide information.
" intellectuality " of IPMI technology comes from a management microcontroller, this controller is called as BMC (Baseboard Management Controller, baseboard management controller), BMC is power autonomous, and supervisory control system health status and process IP MI instruction automatically.What be associated with BMC is one group of passive internal memory, is used for stored information.IPMI by specify general, simplify, message based interface, message transmission to baseboard management controller, is realized separating of software and hardware information.
The maximum advantage of described IPMI (IPMI) is that it is independent of CPUBIOS and operating system, so the user is no matter in start still under the state of shutdown, as long as energized just can realize the monitoring to server.In addition, this IPMI (IPMI) can make things convenient for long-range operating terminal to meet RMCP UDP/IP protocol of I PMI message packet via a LAN (LAN) transmission, or via the serial signal of serial modem such as UART interface protocol, to carry out telemonitoring or to control this server.
In the prior art, though the keeper can carry out hardware detection and power management to server by IPMI (IPMI), but the start-up parameter of uncontrollable server goes to revise by telemanagement software after can only waiting for server having started again.And need the start-up parameter of the system of revising in some cases, could allow system start-up successful, change as operational environment, or need come adjusting function by the regulating system start-up parameter, or because software fault need enter service mode the time, all needs to change start-up parameter.At this moment, the execute-in-place of can only sending someone is wasted a large amount of manpowers and material resources.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method of remote control startup of server, is not subjected to the whether influence of operate as normal of operating system, realizes from fully to the Long-distance Control of os starting parameter.
For achieving the above object, the invention provides a kind of method of remote control startup of server, realize that by the control start-up parameter it is used for an Advanced Telecom Computing Architecture, described server is supported the intelligent platform management agreement, and installing operating system and boot; Said method comprising the steps of:
A, the client of the described startup of server parameter of a telemanagement is set, and is connected with described server;
B, described client send by the IPMI order and revise the start-up parameter request to described server, and described server is saved in this modification start-up parameter in the passive internal memory of its baseboard management controller;
C, described server read start-up parameter, and start its operating system with this start-up parameter from described passive internal memory when starting.
Described method, wherein, server described in the described steps A is connected by serial ports with described client.
Described method, wherein, server described in the described steps A is connected by network interface card with described client.
Described method, wherein, described step B also comprises:
B1, carry out remote manager on described client, start-up parameter is revised in input;
B2, described remote manager are revised start-up parameter according to this and are generated the IPMI request, issue described server;
B3, described server receive this IPMI request, give its baseboard management controller and handle, and obtain revising start-up parameter.
Described method, wherein, described step C also comprises:
C1, described server power on, and carry out its start-up routine;
C2, described start-up routine are inquired about current start-up parameter by data input/output interface from passive internal memory;
C3, described start-up routine utilize this start-up parameter to start the operating system.
The method of a kind of remote control startup of server provided by the present invention, compared with prior art, the influence whether management of its start-up parameter is not powered on by server, the intelligent platform management agreement equally can obtain handling when server does not power on, so the start-up parameter influence that not whether started by system; Owing to can realize the remote activation parameter maintenance, it is artificial to need not the scene, has saved maintenance cost simultaneously.
Description of drawings
Fig. 1 is the Organization Chart that carries out telemanagement in the inventive method by serial ports;
Fig. 2 is the Organization Chart that carries out telemanagement in the inventive method by network;
Fig. 3 is the process structure figure that client and server communicate in the inventive method;
Fig. 4 is the bootup process figure of operating system in the inventive method;
Wherein, description of reference numerals is as follows:
11: client does not need to have the BMC chip;
12: service end has the BMC chip;
13: serial ports connects;
14: network connects;
15: intelligent platform management software;
16: passive internal memory;
17: baseboard management controller (BMC);
18: the booting operating system program;
19: operating system;
120,220: network interface card;
121,221: serial ports.
Embodiment
Below in conjunction with accompanying drawing, will carry out comparatively detailed explanation to each preferred embodiment of the present invention.
As depicted in figs. 1 and 2, long-distance management system 20 of the present invention includes at least one IPMI client 11 and at least one IPMI server 12, can be connected as shown in Figure 2 or connect as shown in Figure 1 by serial mode 13 by netting twine 14 between described client 11 and the described server 12.Described server 12 is supported the intelligent platform management agreements, and installing operating system and boot; Described client 11 is used for the start-up parameter on the remotely administered server.
The present invention unlike the prior art be, the baseboard management controller BMC of described server 12 is supported in storage/access start-up parameter in the passive internal memory, the boot support of described server is read start-up parameter from passive internal memory.Described client 11 sends by the IPMI order and revises the start-up parameter request to described server 12, and described server 12 is saved in new start-up parameter in the passive internal memory of BMC; Read start-up parameter from passive internal memory when described server 12 starts, and start the operating system with this parameter.
As shown in Figure 3, during for the inventive method medium-long range control start-up parameter, the inner schematic diagram of forming of client and server, described client 11 comprises intelligent platform management software 15 at least, also comprises serial equipment 121 or network card equipment 120 in addition; Described server 12 comprises baseboard management controller (BMC) hardware 17 at least, and passive internal memory hardware 16 also comprises serial equipment 221 or network card equipment 220 in addition.
As shown in Figure 4, be the schematic flow sheet during startup of server among the present invention.When starting, described server 12 starts successively with the lower part: baseboard management controller (BMC) hardware 17, passive internal memory hardware 16, booting operating system program software 18, operating system 19.
As shown in Figure 5, client flow chart during for Long-distance Control start-up parameter of the present invention, the keeper is behind the address and its modification start-up parameter of input server 12 on the intelligent platform management software 15, and intelligent platform management software 15 generates the IPMI request package according to software information.If client 11 and server 12 are connected by serial ports, the then described intelligent platform management software 15 directly serial ports 121 by client connects 13 to serial ports and sends the IPMI request package.If client 11 and server 12 are connected by network interface card, then described intelligent platform management software 15 uses Remote Management Control Protocol (Remote Management Control Protocol to the IPMI bag earlier, RMCP) form encapsulates, and sends on the network 14 from client NIC 120 by the UDP message again.Client sends the start-up parameter flow process and finishes.
As shown in Figure 6, for the server of the inventive method receives the flow chart of start-up parameter controlling packet, described server 12 is from its network interface card 220 or serial ports 221 receives request content, gives baseboard management controller 17 and handles.If bag receives from serial ports, baseboard management controller 17 directly decomposes the IPMI request, obtains start-up parameter, and start-up parameter is kept in the passive internal memory 16.If bag receives from network interface card, then described baseboard management controller decomposes the bag that receives according to udp protocol earlier, obtain the RMCP bag, decompose according to the RMCP agreement again, obtain the IPMI request, decompose the IPMI request at last and obtain start-up parameter, baseboard management controller 17 is saved in start-up parameter in the passive internal memory 16.
At last, described baseboard management controller 17 sends the IPMI response to the requestor, is connected to server 12 if the requestor connects 13 by serial ports, and baseboard management controller 17 directly sends to the serial ports 221 of server.Be connected to server 12 if the requestor connects 14 by network, described baseboard management controller is encapsulated in the IPMI request in the RMCP bag earlier, utilize udp protocol to send the RMCP bag again.Server receives start-up parameter controlling packet flow process to be finished.
As shown in Figure 7, be the flow chart of the startup of server operating system in the inventive method; Described server 12 powers on, load operation system bootstrap routine software 18, and booting operating system program 18 reads start-up parameter by data input/output interface IO from described passive internal memory 16, and starts the operating system 19 according to the start-up parameter of reading.Startup of server operating system flow process finishes.
In the method for remote control startup of server parameter of the present invention, the influence whether management of its start-up parameter is not powered on by server, the intelligent platform management agreement equally can obtain handling when server does not power on; Owing to can realize the remote activation parameter maintenance, it is artificial to need not the scene, has saved maintenance cost simultaneously.
Should be understood that above-mentioned description at preferred embodiment of the present invention is comparatively detailed, can not therefore be interpreted as the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.