CN102983989A - Removing method, device and equipment of server virtual address - Google Patents

Removing method, device and equipment of server virtual address Download PDF

Info

Publication number
CN102983989A
CN102983989A CN2012104400057A CN201210440005A CN102983989A CN 102983989 A CN102983989 A CN 102983989A CN 2012104400057 A CN2012104400057 A CN 2012104400057A CN 201210440005 A CN201210440005 A CN 201210440005A CN 102983989 A CN102983989 A CN 102983989A
Authority
CN
China
Prior art keywords
virtual address
blade server
plate
server plate
address information
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.)
Granted
Application number
CN2012104400057A
Other languages
Chinese (zh)
Other versions
CN102983989B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210440005.7A priority Critical patent/CN102983989B/en
Publication of CN102983989A publication Critical patent/CN102983989A/en
Application granted granted Critical
Publication of CN102983989B publication Critical patent/CN102983989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a removing method, a device and equipment of a server virtual address, and belongs to the field of network communications. The removing method comprises that virtual address information of a main use blade server board which is at work currently is acquired; a standby server board is searched in a blade system when the main use blade server board is detected to be broken; when the standby blade server board is found, information of an intelligent platform management interface (IPMI) is sent to the standby blade server board so as to remove the virtual address information of the main use blade server board to the standby blade server board; the information of the IPMI comprises the virtual address information of the main use blade server board. The removing method, the device and the equipment of the server virtual address achieves that the virtual address information of the main use blade server board can be automatically and reliably removed to the standby blade server board, and solves the problems that achievement is complex and unreliable factors are easy to lead in due to the fact that an expansion interface is needed by a shared storage device. Rapid breakdown recovery is ensured, and system reliability is improved.

Description

A kind of moving method of server virtual address, device and equipment
Technical field
The present invention relates to network communication field, particularly a kind of moving method of server virtual address, device and equipment.
Background technology
Server virtualization, to take out a plurality of virtual servers or take out a plurality of operating systems at a platform at a physical server, utilize the scheduling of resource platform of automation that server resource is carried out dynamic assignment and management, thereby improve the utilance of resource, save a large amount of servers, reduce buying and the O﹠M cost of server.
But the blade server of a plurality of cassette server units of server virtualization normal operation plug-in mounting, blade server is virtual to have produced a lot of virtual addresses, such as MAC Address, WWN address etc., in the situation of primary blade server hardware fault, reliably these virtual addresses are moved on the blade server for subsequent use, efficiently, with needing automation, to guarantee the fast quick-recovery of fault, the reliability of elevator system.
At present, the method of the migration of blade server virtual address is by CPU(Central ProcessingUnit, central processing unit) with BMC(Baseboard Management Controller, single board management controller) shared storage is finished the transmission of virtual address, detailed process is: the Subrack Management Module in the blade server equipment, through out-band channel, the virtual address of the primary blade server that breaks down is passed among the BMC of spare blade server, by BMC virtual address is write in the shared storage, such as Flash or E2PROM, the CPU of spare blade server reads virtual address from shared storage, and is configured in the network interface card of blade.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Present shared storage such as Flash, an interface only is provided, accomplish that BMC and CPU will go to access, must add logical device and come expansion interface, and need to provide the bus collision of arbitration mechanism when avoiding BMC and CPU to access shared storage simultaneously, this is so that this technology realizes more complicated, and introduces easily insecure factor.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the invention provides a kind of moving method and equipment of server virtual address.Described technical scheme is as follows:
First aspect provides a kind of moving method of server virtual address, and described method comprises:
Obtain the virtual address information of current primary blade server plate of working;
When detecting described primary blade server plate and break down, in blade system, search the standby server plate;
When finding described spare blade server board, send intelligent platform management interface IPMI message to described spare blade server board so that with the virtual address information transfer of described primary blade server plate in described spare blade server board; The virtual address information that comprises described primary blade server plate in the described IPMI message.
In the possible implementation of the first of first aspect, the described virtual address information of obtaining current primary blade server plate of working specifically comprises:
When described primary blade server plate enters operating state, obtain the virtual address information that described primary blade server plate sends;
When the virtual address information of described primary blade server plate changes, obtain the virtual address information after described primary blade server plate upgrades.
In the possible implementation of the second of first aspect, describedly when detecting described primary blade server plate and break down, in blade system, search the standby server plate, specifically comprise:
When detecting described primary blade server plate and break down, in blade system, search the standby server plate and obtain the FRU information of described standby server plate; At least the model and the memory size that comprise described standby server plate in the described FRU information;
When the model of the model of described standby server plate and described primary server board is consistent, calculate the supported virtual machine quantity of described standby server plate according to the memory size of described standby server plate;
When if the supported virtual machine quantity of described standby server plate reaches the virtual address quantity of described primary blade server plate, then select described standby server plate as the spare blade server board of described primary blade server plate migration virtual address.
In the third possible implementation of first aspect, described when finding described spare blade server board, send IPMI message to described spare blade server board, specifically comprise:
Select after the spare blade server board of described standby server plate as described primary blade server plate migration virtual address, the virtual address Information encapsulation of described primary blade server plate in IPMI message, and is sent to the described IPMI message that has encapsulated described virtual address information among the single board management controller BMC of described standby server plate.
The third possible implementation in conjunction with first aspect, in the 4th kind of possible implementation of first aspect, after among the described single board management controller BMC that the described IPMI message that has encapsulated described virtual address information is sent to described standby server plate, also comprise:
The BMC of described standby server plate receives described IPMI message, obtains the virtual address information in the described IPMI message and described virtual address information sent in the central processor CPU of described standby server plate;
After the CPU of described standby server plate receives described virtual address information, in the virtual machine and network interface card with the described standby server plate of described virtual address information configuration.
Second aspect provides a kind of moving apparatus of server virtual address, and described device comprises:
Acquisition module is for the virtual address information of obtaining current primary blade server plate of working;
Search module, be used for when detecting described primary blade server plate and break down, in blade system, searching the standby server plate;
Transferring module, when finding described spare blade server board, send intelligent platform management interface IPMI message to described spare blade server board, so as with the virtual address information transfer of described primary blade server plate in described spare blade server board; The virtual address information that comprises described primary blade server plate in the described IPMI message.
In the possible implementation of the first of second aspect, described acquisition module specifically comprises:
The first acquiring unit is used for when described primary blade server plate enters operating state, obtains the virtual address information that described primary blade server plate sends;
Second acquisition unit is used for when the virtual address information of described primary blade server plate changes, and obtains the virtual address information after described primary blade server plate upgrades.
In the possible implementation of the second of second aspect, the described module of searching specifically comprises:
Search the unit, be used for when detecting described primary blade server plate and break down, in blade system, search the standby server plate and obtain the FRU information of described standby server plate; At least the model and the memory size that comprise described standby server plate in the described FRU information;
Computing unit is used for model when the model of described standby server plate and described primary server board when consistent, calculates the supported virtual machine quantity of described standby server plate according to the memory size of described standby server plate;
Selected cell, if when reaching the virtual address quantity of described primary blade server plate for the supported virtual machine quantity of described standby server plate, then select described standby server plate as the spare blade server board of described primary blade server plate migration virtual address.
In the third possible implementation of second aspect, described transferring module, after the concrete spare blade server board for selecting described standby server plate as described primary blade server plate migration virtual address, the virtual address Information encapsulation of described primary blade server plate in IPMI message, and is sent to the described IPMI message that has encapsulated described virtual address information among the single board management controller BMC of described standby server plate.
The third possible implementation in conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises: configuration module, being used for described transferring module sends to the described IPMI message that has encapsulated described virtual address information after the single board management controller BMC of described standby server plate, the BMC of described standby server plate receives described IPMI message, obtains the virtual address information in the described IPMI message and described virtual address information sent in the central processor CPU of described standby server plate; After the CPU of described standby server plate receives described virtual address information, in the virtual machine and network interface card with the described standby server plate of described virtual address information configuration.
The third aspect provides a kind of migration equipment of server virtual address, and described equipment comprises:
Primary blade server plate is used for sending virtual address information to Subrack Management Module;
Subrack Management Module is for the virtual address information of obtaining current primary blade server plate of working; When detecting described primary blade server plate and break down, in blade system, search the standby server plate; When finding described spare blade server board, send intelligent platform management interface IPMI message to described spare blade server board so that with the virtual address information transfer of described primary blade server plate in described spare blade server board; The virtual address information that comprises described primary blade server plate in the described IPMI message;
The spare blade server board is used for receiving the IPMI message that Subrack Management Module sends.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
By when detecting primary blade server plate and break down, in blade system, search the standby server plate, and send the IPMI message of the virtual address information comprise primary blade server plate to the spare blade server board, realized automatically moving to reliably the virtual address information of primary blade server plate on the spare blade server board, having solved present shared storage needs realization that expansion interface causes complicated and introduce easily the problem of insecure factor, guarantee the fast quick-recovery of fault, the reliability of elevator system.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the moving method flow chart of the server virtual address that provides of the embodiment of the invention one;
Fig. 2 is the moving method flow chart of the server virtual address that provides of the embodiment of the invention two;
Fig. 3 is the first structure chart of the moving method of the server virtual address that provides of the embodiment of the invention two;
Fig. 4 is the second structure chart of the moving method of the server virtual address that provides of the embodiment of the invention two;
Fig. 5 is the moving apparatus structural representation of the server virtual address that provides of the embodiment of the invention three;
Fig. 6 is the another kind of structural representation of the moving apparatus of the server virtual address that provides of the embodiment of the invention three;
Fig. 7 is the third structural representation of moving apparatus of the server virtual address that provides of the embodiment of the invention three;
Fig. 8 is the 4th kind of structural representation of moving apparatus of the server virtual address that provides of the embodiment of the invention three;
Fig. 9 is the migration device structure schematic diagram of the server virtual address that provides of the embodiment of the invention four.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of moving method of server virtual address, and referring to Fig. 1, the method comprises:
101, obtain the virtual address information of current primary blade server plate of working;
102, when detecting primary blade server plate and break down, in blade system, search the standby server plate;
103, when finding the spare blade server board, send intelligent platform management interface IPMI message to the spare blade server board so that with the virtual address information transfer of primary blade server plate in the spare blade server board; The virtual address information that comprises primary blade server plate in the IPMI message.
Particularly, obtain the virtual address information of current primary blade server plate of working, specifically comprise:
When primary blade server plate enters operating state, obtain the virtual address information that primary blade server plate sends;
When the virtual address information of primary blade server plate changes, obtain the virtual address information after primary blade server plate upgrades.
Particularly, when detecting primary blade server plate and break down, in blade system, search the standby server plate, specifically comprise:
When detecting primary blade server plate and break down, in blade system, search the standby server plate and obtain the FRU(Field Replace Unit of standby server plate, Field Replaceable Unit) information; At least the model and the memory size that comprise the standby server plate in the FRU information;
When the model of the model of standby server plate and primary server board is consistent, calculate the supported virtual machine quantity of standby server plate according to the memory size of standby server plate;
When if the supported virtual machine quantity of standby server plate reaches the virtual address quantity of primary blade server plate, then select the standby server plate as the spare blade server board of primary blade server plate migration virtual address.
Particularly, when finding the spare blade server board, send IPMI(Intelligent Platform Management Interface, intelligent platform management interface to the spare blade server board) message, specifically comprise:
Select after the spare blade server board of standby server plate as primary blade server plate migration virtual address, in IPMI message, and the IPMI message that will encapsulate virtual address information sends among the single board management controller BMC of standby server plate with the virtual address Information encapsulation of primary blade server plate.
Further, the IPMI message that has encapsulated virtual address information is sent among the single board management controller BMC of standby server plate after, also comprise:
The BMC of standby server plate receives IPMI message, obtains the virtual address information in the IPMI message and virtual address information is sent in the central processor CPU of standby server plate;
After the CPU of standby server plate receives virtual address information, in the virtual machine and network interface card with virtual address information configuration standby server plate.
The method that the embodiment of the invention provides, by when detecting primary blade server plate and break down, in blade system, search the standby server plate, and send the IPMI message of the virtual address information comprise primary blade server plate to the spare blade server board, realized automatically moving to reliably the virtual address information of primary blade server plate on the spare blade server board, having solved present shared storage needs realization that expansion interface causes complicated and introduce easily the problem of insecure factor, guarantee the fast quick-recovery of fault, the reliability of elevator system.
Embodiment two
The embodiment of the invention provides a kind of moving method of server virtual address, and referring to Fig. 2, the method comprises:
201, Subrack Management Module SMM(Shelf Management Module, Shelf Management Module) obtain the virtual address information of current primary blade server plate of working;
Particularly, comprise a plurality of blade server plates in the blade system that the embodiment of the invention provides, referring to Fig. 3, each blade server intralamellar part is comprised of processor subsystem, network interface card subsystem, BMC usually; Processor subsystem is by CPU, bridge sheet, internal memory, BIOS(Basic Input Output System, basic input output system), hard disk forms, and is mainly used in the business function of completing user appointment; The network interface card subsystem mainly provides professional I/O(Input Output, input and output) transmission channel, such as Ethernet, FC (Fiber Channel, optical-fibre channel), Infiniband etc.; BMC mainly finishes the equipment control of blade server inside, as: temperature, voltage, clock supervision; Veneer is in place, the management of slot number, electronic tag; SOL(Serial Over LAN, Serial over LAN), KVM(Keyboard, Video, and Mouse, keyboard, display, mouse is three-in-one) over IP function; Hot plug management, board type management; Power-on and power-off, reset, FRU(Field ReplaceableUnit, Field Replaceable Unit) management, SEL(System Event Log, System Event Log), SDR(Sensor Data Record, Sensor Data Record), alarm, Bootload, online upgrading; Power detection etc.
Wherein, through the interconnection of gap bridge sheet, BMC can adopt polytype bus to link to each other with the bridge sheet between BMC and the CPU, as: SMbus, USB, serial ports, PCIe etc.; The backboard management bus is an outband management bus, is mainly used in transmission equipment management information between the BMC of SMM Subrack Management Module and blade server plate; The IPMI agreement of common Application standard on the outband management bus; The IPMI regulation and stipulation form of message communicating, comprise request message format and response message format.The message format of request message and response message all support verification and, guaranteed the transmitting of data.
Particularly, the blade server equipment that the embodiment of the invention provides, referring to Fig. 4: the BMC in the primary blade server plate links to each other with the SMM Subrack Management Module by the outband management bus respectively with BMC in the spare blade server board, network interface card in the primary blade server plate links to each other with network board by back board service bus respectively with network interface card in the spare blade server board, and links to each other with the SMM Subrack Management Module by network board respectively; Adopt UART serial ports or PCIe interface between BMC and the CPU processor at hardware in the blade server plate of the present invention, the transmission channel of virtual address is provided; Adopting SMM Subrack Management Module-〉 blade server plate BMC-〉mechanism of message communicating between the CPU processor transmits virtual address information, and the form of message adopts the IPMI message format.
Wherein, when primary blade server plate entered operating state, Subrack Management Module SMM obtained the virtual address information that primary blade server plate sends; Be specially, after primary blade server plate enters operating state, current virtual address information sent to Subrack Management Module SMM through network board, Subrack Management Module SMM receives and gets access to virtual address information and the preservation that primary blade server plate sends;
When the virtual address information of primary blade server plate changes, obtain the virtual address information after primary blade server plate upgrades; Be specially: whether primary blade server buttress regularly detects current virtual address information according to Preset Time and changes, if detecting virtual address information changes, virtual address information after then will upgrading sends to Subrack Management Module SMM through network board, Subrack Management Module SMM receives and gets access to the virtual address information after the renewal that primary blade server plate sends, and replaces original virtual address information of preserving.
Need to prove, when follow-up primary blade server plate enters operating state, also the virtual address information of self can be sent to Subrack Management Module SMM preserves, detect the virtual address information change situation of self when not concluding, when changing up-to-date virtual address information is sent to Subrack Management Module SMM and preserve.
202, when Subrack Management Module SMM detects primary blade server plate and breaks down, in blade system, search the standby server plate;
Particularly, when Subrack Management Module SMM detected primary blade server plate and breaks down, Subrack Management Module SMM searched the standby server plate and obtains the FRU information of standby server plate in blade system; At least the model and the memory size that comprise the standby server plate in the FRU information;
When the model of the model of standby server plate and primary server board was consistent, Subrack Management Module SMM calculated the supported virtual machine quantity of standby server plate according to the memory size of standby server plate;
When if the supported virtual machine quantity of standby server plate reaches the virtual address quantity of primary blade server plate, then Subrack Management Module SMM selects the standby server plate as the spare blade server board of primary blade server plate migration virtual address.
Need to prove, if the supported virtual machine quantity of standby server plate does not reach the virtual address quantity of primary blade server plate, then can directly again search next standby server plate; Can also after selecting current standby server plate, continue to search next standby server plate, be used for moving the remaining virtual machine that can't support of a standby server plate.
203, when Subrack Management Module SMM finds the spare blade server board, send intelligent platform management interface IPMI message to the spare blade server board so that with the virtual address information transfer of primary blade server plate in the spare blade server board; The virtual address information that comprises primary blade server plate in the IPMI message.
Particularly, after Subrack Management Module SMM selects the spare blade server board of standby server plate as primary blade server plate migration virtual address, in IPMI message, and the IPMI message that will encapsulate virtual address information sends among the single board management controller BMC of standby server plate with the virtual address Information encapsulation of primary blade server plate.Wherein, the message format of IPMI: referring to the IPMI request message format of table 1 with referring to the IPMI response message format of table 2,
Table 1
The IPMI request message format:
Table 2
The IPMI response message format:
Wherein, the embodiment of the invention is encapsulated in the virtual address configuration information in the response message of the request message of IPMI and IPMI by the command word in the IPMI message of expansion and self-defining data position, realizes the transmission of virtual address.
204, the BMC of standby server plate receives IPMI message, obtains the virtual address information in the IPMI message and virtual address information is sent among the CPU of standby server plate;
Particularly, after the IPMI message that Subrack Management Module SMM will encapsulate virtual address information sends among the single board management controller BMC of standby server plate, the BMC of standby server plate receives IPMI message, obtains the virtual address information in the IPMI message and virtual address information is sent in the central processor CPU of standby server plate;
205, after the CPU of standby server plate receives virtual address information, in the virtual machine and network interface card with virtual address information configuration standby server plate.
Particularly, after CPU receives virtual address information, in the virtual machine and network interface card with virtual address information configuration standby server plate, realized the migration of virtual address information, the standby server plate just can replace primary server board to work on like this, realized the fast quick-recovery of fault, the reliability of elevator system.
The method that the embodiment of the invention provides, by when detecting primary blade server plate and break down, in blade system, search the standby server plate, and send the IPMI message of the virtual address information comprise primary blade server plate to the spare blade server board, realized automatically moving to reliably the virtual address information of primary blade server plate on the spare blade server board, having solved present shared storage needs realization that expansion interface causes complicated and introduce easily the problem of insecure factor, guarantee the fast quick-recovery of fault, the reliability of elevator system.
Embodiment three
Referring to Fig. 5, the embodiment of the invention provides a kind of moving apparatus of server virtual address, and this device comprises:
Acquisition module 501 is for the virtual address information of obtaining current primary blade server plate of working;
Search module 502, be used for when detecting primary blade server plate and break down, in blade system, searching the standby server plate;
Transferring module 503 when finding the spare blade server board, sends intelligent platform management interface IPMI message to the spare blade server board, so as with the virtual address information transfer of primary blade server plate in the spare blade server board; The virtual address information that comprises primary blade server plate in the IPMI message.
Particularly, referring to Fig. 6, acquisition module 501 specifically comprises:
The first acquiring unit 501a is used for obtaining the virtual address information that primary blade server plate sends when primary blade server plate enters operating state;
Second acquisition unit 501b is used for when the virtual address information of primary blade server plate changes, and obtains the virtual address information after primary blade server plate upgrades.
Particularly, participate in Fig. 7, search module 502, specifically comprise:
Search unit 502a, be used for when detecting primary blade server plate and break down, in blade system, search the standby server plate and obtain the FRU information of standby server plate; At least the model and the memory size that comprise the standby server plate in the FRU information;
Computing unit 502b is used for model when the model of standby server plate and primary server board when consistent, according to the supported virtual machine quantity of memory size calculating standby server plate of standby server plate;
Selected cell 503c is if when being used for the supported virtual machine quantity of standby server plate and reaching the virtual address quantity of primary blade server plate, then select the standby server plate as the spare blade server board of primary blade server plate migration virtual address.
Particularly, transferring module 503, concrete being used for after the spare blade server board of selection standby server plate as primary blade server plate migration virtual address, in IPMI message, and the IPMI message that will encapsulate virtual address information sends among the single board management controller BMC of standby server plate with the virtual address Information encapsulation of primary blade server plate.
Further, referring to Fig. 8, this device also comprises: configuration module 504, the IPMI message that will encapsulate virtual address information for transferring module sends to after the single board management controller BMC of standby server plate, the BMC of standby server plate receives IPMI message, obtains the virtual address information in the IPMI message and virtual address information is sent in the central processor CPU of standby server plate; After the CPU of standby server plate receives virtual address information, in the virtual machine and network interface card with virtual address information configuration standby server plate.
The device that the embodiment of the invention provides, by when detecting primary blade server plate and break down, in blade system, search the standby server plate, and send the IPMI message of the virtual address information comprise primary blade server plate to the spare blade server board, realized automatically moving to reliably the virtual address information of primary blade server plate on the spare blade server board, having solved present shared storage needs realization that expansion interface causes complicated and introduce easily the problem of insecure factor, guarantee the fast quick-recovery of fault, the reliability of elevator system.
Embodiment four
The embodiment of the invention provides a kind of migration equipment of server virtual address, and referring to Fig. 9, this equipment comprises:
Primary blade server plate 901 is used for sending virtual address information to Subrack Management Module;
Subrack Management Module 902 is for the virtual address information of obtaining current primary blade server plate 901 of working; When detecting primary blade server plate 901 and break down, in blade system, search standby server plate 903; When finding spare blade server board 903, send intelligent platform management interface IPMI message to spare blade server board 903 so that with the virtual address information transfer of primary blade server plate 903 in spare blade server board 903; The virtual address information that comprises primary blade server plate 901 in the IPMI message;
Spare blade server board 903 is used for receiving the IPMI message that Subrack Management Module 902 sends.
Particularly, Subrack Management Module 902, obtains the virtual address information that primary blade server plate 901 sends at concrete being used for when primary blade server plate 901 enters operating state;
When the virtual address information of primary blade server plate 901 changes, obtain the virtual address information after primary blade server plate 901 upgrades.
Particularly, Subrack Management Module 902, is searched the standby server plate and is obtained the FRU information of standby server plate at concrete being used for when detecting primary blade server plate 901 and break down in blade system; At least the model and the memory size that comprise the standby server plate in the FRU information;
When the model of the model of standby server plate and primary server board is consistent, calculate the supported virtual machine quantity of standby server plate according to the memory size of standby server plate;
When if the supported virtual machine quantity of standby server plate reaches the virtual address quantity of primary blade server plate 901, then select the standby server plate as the spare blade server board 903 of primary blade server plate 901 migration virtual addresses.
Particularly, Subrack Management Module 902, concrete being used for after the spare blade server board 903 of selection standby server plate as primary blade server plate 901 migration virtual addresses, in IPMI message, and the IPMI message that will encapsulate virtual address information sends among the single board management controller BMC of standby server plate with the virtual address Information encapsulation of primary blade server plate 901.
Further, Subrack Management Module 902, the IPMI message that has encapsulated virtual address information is sent among the single board management controller BMC of standby server plate after,
The BMC of standby server plate 903 receives IPMI message, obtains the virtual address information in the IPMI message and virtual address information is sent in the central processor CPU of standby server plate 903;
After the CPU of standby server plate 903 receives virtual address information, in the virtual machine and network interface card with virtual address information configuration standby server plate 903.
The equipment that the embodiment of the invention provides, by when detecting primary blade server plate and break down, in blade system, search the standby server plate, and send the IPMI message of the virtual address information comprise primary blade server plate to the spare blade server board, realized automatically moving to reliably the virtual address information of primary blade server plate on the spare blade server board, having solved present shared storage needs realization that expansion interface causes complicated and introduce easily the problem of insecure factor, guarantee the fast quick-recovery of fault, the reliability of elevator system.
Need to prove: the moving apparatus of the server virtual address that above-described embodiment provides and equipment are when the migration virtual address, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure that is about to device and equipment is divided into different functional modules, to finish all or part of function described above.In addition, the moving method embodiment of the moving apparatus of the server virtual address that above-described embodiment provides and equipment and server virtual address belongs to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the moving method of a server virtual address is characterized in that, described method comprises:
Obtain the virtual address information of current primary blade server plate of working;
When detecting described primary blade server plate and break down, in blade system, search the standby server plate;
When finding described spare blade server board, send intelligent platform management interface IPMI message to described spare blade server board so that with the virtual address information transfer of described primary blade server plate in described spare blade server board; The virtual address information that comprises described primary blade server plate in the described IPMI message.
2. method according to claim 1 is characterized in that, the described virtual address information of obtaining current primary blade server plate of working specifically comprises:
When described primary blade server plate enters operating state, obtain the virtual address information that described primary blade server plate sends;
When the virtual address information of described primary blade server plate changes, obtain the virtual address information after described primary blade server plate upgrades.
3. method according to claim 1 is characterized in that, describedly searches the standby server plate in blade system when detecting described primary blade server plate and break down, and specifically comprises:
When detecting described primary blade server plate and break down, in blade system, search the standby server plate and obtain the FRU information of described standby server plate; At least the model and the memory size that comprise described standby server plate in the described FRU information;
When the model of the model of described standby server plate and described primary server board is consistent, calculate the supported virtual machine quantity of described standby server plate according to the memory size of described standby server plate;
When if the supported virtual machine quantity of described standby server plate reaches the virtual address quantity of described primary blade server plate, then select described standby server plate as the spare blade server board of described primary blade server plate migration virtual address.
4. according to claim 1 or 3 described methods, it is characterized in that, described when finding described spare blade server board, send IPMI message to described spare blade server board, specifically comprise:
Select after the spare blade server board of described standby server plate as described primary blade server plate migration virtual address, the virtual address Information encapsulation of described primary blade server plate in IPMI message, and is sent to the described IPMI message that has encapsulated described virtual address information among the single board management controller BMC of described standby server plate.
5. method according to claim 4 is characterized in that, among the described single board management controller BMC that the described IPMI message that has encapsulated described virtual address information is sent to described standby server plate after, also comprise:
The BMC of described standby server plate receives described IPMI message, obtains the virtual address information in the described IPMI message and described virtual address information sent in the central processor CPU of described standby server plate;
After the CPU of described standby server plate receives described virtual address information, in the virtual machine and network interface card with the described standby server plate of described virtual address information configuration.
6. the moving apparatus of a server virtual address is characterized in that, described device comprises:
Acquisition module is for the virtual address information of obtaining current primary blade server plate of working;
Search module, be used for when detecting described primary blade server plate and break down, in blade system, searching the standby server plate;
Transferring module, when finding described spare blade server board, send intelligent platform management interface IPMI message to described spare blade server board, so as with the virtual address information transfer of described primary blade server plate in described spare blade server board; The virtual address information that comprises described primary blade server plate in the described IPMI message.
7. device according to claim 6 is characterized in that, described acquisition module specifically comprises:
The first acquiring unit is used for when described primary blade server plate enters operating state, obtains the virtual address information that described primary blade server plate sends;
Second acquisition unit is used for when the virtual address information of described primary blade server plate changes, and obtains the virtual address information after described primary blade server plate upgrades.
8. device according to claim 6 is characterized in that, the described module of searching specifically comprises:
Search the unit, be used for when detecting described primary blade server plate and break down, in blade system, search the standby server plate and obtain the FRU information of described standby server plate; At least the model and the memory size that comprise described standby server plate in the described FRU information;
Computing unit is used for model when the model of described standby server plate and described primary server board when consistent, calculates the supported virtual machine quantity of described standby server plate according to the memory size of described standby server plate;
Selected cell, if when reaching the virtual address quantity of described primary blade server plate for the supported virtual machine quantity of described standby server plate, then select described standby server plate as the spare blade server board of described primary blade server plate migration virtual address.
9. according to claim 6 or 8 described devices, it is characterized in that, described transferring module, after the concrete spare blade server board for selecting described standby server plate as described primary blade server plate migration virtual address, the virtual address Information encapsulation of described primary blade server plate in IPMI message, and is sent to the described IPMI message that has encapsulated described virtual address information among the single board management controller BMC of described standby server plate.
10. device according to claim 9, it is characterized in that, described device also comprises: configuration module, being used for described transferring module sends to the described IPMI message that has encapsulated described virtual address information after the single board management controller BMC of described standby server plate, the BMC of described standby server plate receives described IPMI message, obtains the virtual address information in the described IPMI message and described virtual address information sent in the central processor CPU of described standby server plate; After the CPU of described standby server plate receives described virtual address information, in the virtual machine and network interface card with the described standby server plate of described virtual address information configuration.
11. the migration equipment of a server virtual address is characterized in that, described equipment comprises:
Primary blade server plate is used for sending virtual address information to Subrack Management Module;
Subrack Management Module is for the virtual address information of obtaining current primary blade server plate of working; When detecting described primary blade server plate and break down, in blade system, search the standby server plate; When finding described spare blade server board, send intelligent platform management interface IPMI message to described spare blade server board so that with the virtual address information transfer of described primary blade server plate in described spare blade server board; The virtual address information that comprises described primary blade server plate in the described IPMI message;
The spare blade server board is used for receiving the IPMI message that Subrack Management Module sends.
CN201210440005.7A 2012-11-07 2012-11-07 Removing method, device and equipment of server virtual address Active CN102983989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210440005.7A CN102983989B (en) 2012-11-07 2012-11-07 Removing method, device and equipment of server virtual address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210440005.7A CN102983989B (en) 2012-11-07 2012-11-07 Removing method, device and equipment of server virtual address

Publications (2)

Publication Number Publication Date
CN102983989A true CN102983989A (en) 2013-03-20
CN102983989B CN102983989B (en) 2015-07-08

Family

ID=47857750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210440005.7A Active CN102983989B (en) 2012-11-07 2012-11-07 Removing method, device and equipment of server virtual address

Country Status (1)

Country Link
CN (1) CN102983989B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471994A (en) * 2015-12-01 2016-04-06 华为技术有限公司 Control method and device
CN108491347A (en) * 2018-04-02 2018-09-04 联想(北京)有限公司 Communication means and electronic equipment
CN109213643A (en) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 A kind of method and device of dynamic management server subcard sensor
CN110519406A (en) * 2019-08-16 2019-11-29 济南浪潮数据技术有限公司 A kind of virtual address distribution method, device and CTDB cluster and storage medium
CN111769983A (en) * 2020-06-22 2020-10-13 北京紫玉伟业电子科技有限公司 Signal processing task backup dynamic migration disaster recovery system and backup dynamic migration method
CN112928729A (en) * 2019-12-06 2021-06-08 国网上海市电力公司 Station domain protection measurement and control integrated device supporting hot plug management
WO2021238579A1 (en) * 2020-05-27 2021-12-02 华为技术有限公司 Method for managing sata hard disk by means of storage system, and storage system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050283602A1 (en) * 2004-06-21 2005-12-22 Balaji Vembu Apparatus and method for protected execution of graphics applications
US20090157941A1 (en) * 2007-12-14 2009-06-18 International Business Machines Corporation Managing Virtual Addresses Of Blade Servers In A Data Center
US20090157858A1 (en) * 2007-12-15 2009-06-18 International Business Machines Corporation Managing Virtual Addresses Of Blade Servers In A Data Center
CN101494697A (en) * 2008-01-21 2009-07-29 中兴通讯股份有限公司 Load equilibrium method and apparatus employing double-blade server
US20090274162A1 (en) * 2005-08-19 2009-11-05 Brocade Communications Systems, Inc. Port expander for fibre channel fabrics in storage area networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050283602A1 (en) * 2004-06-21 2005-12-22 Balaji Vembu Apparatus and method for protected execution of graphics applications
US20090274162A1 (en) * 2005-08-19 2009-11-05 Brocade Communications Systems, Inc. Port expander for fibre channel fabrics in storage area networks
US20090157941A1 (en) * 2007-12-14 2009-06-18 International Business Machines Corporation Managing Virtual Addresses Of Blade Servers In A Data Center
US20090157858A1 (en) * 2007-12-15 2009-06-18 International Business Machines Corporation Managing Virtual Addresses Of Blade Servers In A Data Center
CN101494697A (en) * 2008-01-21 2009-07-29 中兴通讯股份有限公司 Load equilibrium method and apparatus employing double-blade server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471994A (en) * 2015-12-01 2016-04-06 华为技术有限公司 Control method and device
CN105471994B (en) * 2015-12-01 2019-01-15 华为技术有限公司 A kind of control method and device
CN109213643A (en) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 A kind of method and device of dynamic management server subcard sensor
CN108491347A (en) * 2018-04-02 2018-09-04 联想(北京)有限公司 Communication means and electronic equipment
CN110519406A (en) * 2019-08-16 2019-11-29 济南浪潮数据技术有限公司 A kind of virtual address distribution method, device and CTDB cluster and storage medium
CN112928729A (en) * 2019-12-06 2021-06-08 国网上海市电力公司 Station domain protection measurement and control integrated device supporting hot plug management
WO2021238579A1 (en) * 2020-05-27 2021-12-02 华为技术有限公司 Method for managing sata hard disk by means of storage system, and storage system
CN113742142A (en) * 2020-05-27 2021-12-03 华为技术有限公司 Method for managing SATA hard disk by storage system and storage system
CN113742142B (en) * 2020-05-27 2024-03-26 华为技术有限公司 Method for managing SATA hard disk by storage system and storage system
CN111769983A (en) * 2020-06-22 2020-10-13 北京紫玉伟业电子科技有限公司 Signal processing task backup dynamic migration disaster recovery system and backup dynamic migration method

Also Published As

Publication number Publication date
CN102983989B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN102983989B (en) Removing method, device and equipment of server virtual address
TWI759564B (en) Rack-mountable data storage system and programable logic device
CN102255888B (en) Method and apparatus data storage device being carried out security sweep from remote server
CN106557145A (en) Circuit breaking protective system and its method
WO2016037503A1 (en) Configuration method and device of pcie topology
US9531668B2 (en) Micro server, method of allocating MAC address, and computer readable recording medium
US10409756B2 (en) Multi-node server platform with modularly replaceable cards
US10372639B2 (en) System and method to avoid SMBus address conflicts via a baseboard management controller
CN106814826B (en) System and method for controlling airflow in server cabinet
CN103955441B (en) Equipment management system, equipment management method and IO (Input/Output) expansion interface
CN101373433A (en) Method for updating BIOS and computer and system using the same
US9806959B2 (en) Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface
KR20140144520A (en) Processor module, server system and method for controlling processor module
US20140122753A1 (en) Electronic Device, Management Method Thereof, and Rack Serving System
US20170220506A1 (en) Modular Software Defined Storage Technology
CN106201332A (en) Drive Array Policy Control
CN109189627B (en) Hard disk fault monitoring and detecting method, device, terminal and storage medium
CN105302248A (en) Chip set and server system
KR102170993B1 (en) Electronic system and operating method thereof
CN112395152B (en) Server resource acquisition method and acquisition system
CN105446657A (en) Method for monitoring RAID card
CN106484549A (en) A kind of exchange method, NVMe equipment, HOST and physical machine system
CN114116378A (en) Method, system, terminal and storage medium for acquiring PCIe device temperature
TWI791913B (en) System and method to recover fpga firmware over a sideband interface
CN103942013B (en) High-speed read-write and mass-storage system and method for work thereof under a kind of ARM platform

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