CN106161082B - Setting method, system and the baseboard management controller of server UUID - Google Patents
Setting method, system and the baseboard management controller of server UUID Download PDFInfo
- Publication number
- CN106161082B CN106161082B CN201610414451.9A CN201610414451A CN106161082B CN 106161082 B CN106161082 B CN 106161082B CN 201610414451 A CN201610414451 A CN 201610414451A CN 106161082 B CN106161082 B CN 106161082B
- Authority
- CN
- China
- Prior art keywords
- uuid
- external memory
- band external
- illegal
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 claims abstract description 34
- 238000001514 detection method Methods 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 3
- 239000000758 substrate Substances 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses the setting methods of server UUID a kind of, comprising: receives the first IPMI request that user sends;It wherein, include the customized UUID of user in the first IPMI request;Whether legal detect the UUID;If legal, then the UUID is stored to band external memory;If it is illegal, then the illegal prompt information of UUID is returned to the user;As it can be seen that in the present embodiment, by the way that UUID to be stored in band external memory, in upgrading BIOS, UUID will not be caused also to be wiped free of because of Flash erase/write, provide convenience for user, increase user experience;Invention additionally discloses the setting system of server UUID a kind of and baseboard management controllers, are equally able to achieve above-mentioned technical effect.
Description
Technical field
The present invention relates to field of communication technology, more specifically to the setting method of server UUID a kind of, system and
Baseboard management controller.
Background technique
Server UUID (Universally Unique Identifier) is the general unique identifier of server, is used
The unique identification server in distributed system.UUID needs unique identification one service as the unique identifier of server
Device, and to have global unique, persistence, the scheme for being readily produced importing;More common at present being achieved in that is basic
Input-output system BIOS (Basic Input Output System) passes through Desktop Management Interface DMI (Desktop
Management Interface) system UUID is obtained, DMI is stored in Flash, and UUID is written to by external tool
In Flash.But the shortcomings that this implementation is that configuration information is stored in Flash, when upgrading BIOS Flash erase/write, can handle
UUID is wiped together, and UUID needs to re-start the write activity of UUID after losing, very troublesome.
Therefore, how server UUID is set, is those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the present invention is to provide setting method, system and the baseboard management controller of a kind of server UUID, with
It realizes more convenient setting server UUID, improves user experience.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of setting method of server UUID, comprising:
Receive the first IPMI request that user sends;It wherein, include that user is customized in the first IPMI request
UUID;
Whether legal detect the UUID;
If legal, then the UUID is stored to band external memory;If it is illegal, then the UUID is returned to the user
Illegal prompt information.
Wherein, the UUID is stored to band external memory, further includes:
Receive the 2nd IPMI request that basic input-output system BIOS is sent;
It is requested according to the 2nd IPMI, the UUID is obtained from the band external memory and is sent to the BIOS,
So that the BIOS stores the UUID to Desktop Management Interface DMI.
Wherein, after obtaining the UUID in the band external memory, further includes:
Whether legal detect the UUID;
If it is illegal, then the illegal prompt information of UUID is sent to the BIOS.
Wherein, when obtaining UUID from the band external memory, if detect not set UUID in the band external memory, or
When person detects that the UUID of setting is illegal UUID, UUID is automatically generated using UUID create-rule, and store to the band
External memory.
A kind of baseboard management controller BMC, comprising:
First receiving module, for receiving the first IPMI request of user's transmission;Wherein, it is wrapped in the first IPMI request
Include the customized UUID of user;
Detection module, it is whether legal for detecting the UUID;If legal, then memory module is triggered;If it is illegal, then it touches
Send out cue module;
Memory module, for storing the UUID to band external memory;
Cue module, for returning to the illegal prompt information of UUID to the user.
Wherein, further includes:
Second receiving module, for receiving the 2nd IPMI request of basic input-output system BIOS transmission;
Module is obtained, for requesting according to the 2nd IPMI, it is concurrent to obtain the UUID from the band external memory
It send to the BIOS, so that the BIOS stores the UUID to Desktop Management Interface DMI.
Wherein, further includes:
The detection module, for after obtaining the UUID in the band external memory, being examined in the acquisition module
Whether legal survey the UUID;
If it is illegal, then it triggers the cue module and sends the illegal prompt information of UUID to the BIOS.
Wherein, if the acquisition module obtains UUID from the band external memory, the detection module detects described
Band external memory in not set UUID, or detect setting UUID be illegal UUID when, then trigger UUID generation module;
The UUID generation module for automatically generating UUID using UUID create-rule, and is stored to the band external memory
Reservoir.
A kind of setting system of server UUID, including baseboard management controller BMC described in above-mentioned any one.
Wherein, this system further includes basic input-output system BIOS, band external memory, Desktop Management Interface DMI.
By above scheme it is found that the setting method of server UUID provided in an embodiment of the present invention a kind of, comprising: receive
The first IPMI request that user sends;It wherein, include the customized UUID of user in the first IPMI request;Described in detection
Whether UUID is legal;If legal, then the UUID is stored to band external memory;If it is illegal, then institute is returned to the user
State the illegal prompt information of UUID;As it can be seen that in the present embodiment, by the way that UUID to be stored in band external memory, upgrading
When BIOS, UUID will not be caused also to be wiped free of because of Flash erase/write, provide convenience for user, increase user experience;The present invention
The setting system and baseboard management controller of a kind of server UUID is also disclosed, is equally able to achieve above-mentioned technical effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of setting method flow diagram of server UUID disclosed by the embodiments of the present invention;
Fig. 2 is a kind of baseboard management controller BMC structural schematic diagram disclosed by the embodiments of the present invention;
Fig. 3 is a kind of setting system structure diagram of server UUID disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses setting method, system and the baseboard management controllers of a kind of server UUID, with reality
Existing more convenient setting server UUID, improves user experience.
Referring to Fig. 1, a kind of setting method of server UUID provided in an embodiment of the present invention, comprising:
S101, the first IPMI request that user sends is received;It wherein, include that user is customized in the first IPMI request
UUID;
Whether S102, the detection UUID are legal;If legal, then S103 is executed;If it is illegal, then S104 is executed;
Specifically, here detection UUID it is whether legal, can by detection UUID in whether have idle character, whether with its
His UUID, which is overlapped, whether number of characters transfinites determines the conditions such as number of characters and judges whether UUID is legal.
S103, the UUID is stored to band external memory;S104, Xiang Suoshu user return UUID are illegal to be mentioned
Show information.
Specifically, user is sent to BMC by IPMI order using UUID as parameter, and BMC is received after BMC booting
The legitimacy that set UUID is checked after IPMI order, UUID is arranged to EEPROM, if illegal return if legal
Error code prompts UUID invalid to user.
Wherein, when obtaining UUID from the band external memory, if detect not set UUID in the band external memory, or
When person detects that the UUID of setting is illegal UUID, UUID is automatically generated using UUID create-rule, and store to the band
External memory.
Specifically, after BMC booting, can access EEPROM first obtain UUID, if it is illegal or not at this moment to check UUID
Setting, BMC will automatically generate UUID according to the general create-rule of UUID, and be saved in EEPROM, in this way can be to avoid user not
UUID is invalid situation when setting;Wherein, the EEPROM in the present embodiment is non-volatile media.
The embodiment of the invention discloses the setting methods of specific server UUID a kind of, relative to a upper embodiment, originally
Embodiment has made further instruction and optimization to technical solution.It is specific: the UUID is stored to band external memory,
Further include:
Receive the 2nd IPMI request that basic input-output system BIOS is sent;
It is requested according to the 2nd IPMI, the UUID is obtained from the band external memory and is sent to the BIOS,
So that the BIOS stores the UUID to Desktop Management Interface DMI.
Specifically, after waiting BMC activation, BIOS is requested by sending the 2nd IPMI to BMC in BIOS start process,
BMC feeds back to BIOS after obtaining UUID from EEPROM, and BIOS saves UUID to DMI, in order to obtain from EEPROM in system
When taking UUID, UUID can be obtained from DMI.
Wherein, after obtaining the UUID in the band external memory, further includes:
Whether legal detect the UUID;
If it is illegal, then the illegal prompt information of UUID is sent to the BIOS.
Specifically, in the present embodiment, BMC can also detect UUID by the UUID and before being sent to the BIOS
It is whether legal, if illegal, the illegal prompt information of UUID is sent to BIOS, when obtaining UUID again so as to BIOS,
UUID can be obtained from DMI.
UUID is sent to it should be noted that equally can be in the whether legal movement of the present embodiment detection UUID
After BIOS, BIOS oneself detection.
Baseboard management controller BMC provided in an embodiment of the present invention is introduced below, substrate management described below
The setting method of controller BMC and above-described server UUID can be cross-referenced.
Referring to fig. 2, a kind of baseboard management controller BMC100 provided in an embodiment of the present invention, comprising:
First receiving module 101, for receiving the first IPMI request of user's transmission;Wherein, the first IPMI request
In include the customized UUID of user;
Detection module 102, it is whether legal for detecting the UUID;If legal, then memory module 103 is triggered;If not conforming to
Method then triggers cue module 104;
The memory module 103, for storing the UUID to band external memory;
Cue module 104, for returning to the illegal prompt information of UUID to the user.
Based on the above-mentioned technical proposal, this programme further include:
Second receiving module, for receiving the 2nd IPMI request of basic input-output system BIOS transmission;
Module is obtained, for requesting according to the 2nd IPMI, it is concurrent to obtain the UUID from the band external memory
It send to the BIOS, so that the BIOS stores the UUID to Desktop Management Interface DMI.
Based on the above-mentioned technical proposal, this programme further include:
The detection module, for after obtaining the UUID in the band external memory, being examined in the acquisition module
Whether legal survey the UUID;
If it is illegal, then it triggers the cue module and sends the illegal prompt information of UUID to the BIOS.
Based on the above-mentioned technical proposal, when the acquisition module obtains UUID from the band external memory, the detection module
When detecting not set UUID in the band external memory, or detecting that the UUID of setting is illegal UUID, then trigger
UUID generation module;
The UUID generation module for automatically generating UUID using UUID create-rule, and is stored to the band external memory
Reservoir.
Referring to Fig. 3, a kind of setting system of server UUID provided in an embodiment of the present invention, including in above-described embodiment
Baseboard management controller BMC100, basic input-output system BIOS 200, band external memory 300, Desktop Management Interface
DMI400。
The setting method of a kind of server UUID provided in an embodiment of the present invention, comprising: receive user sends first
IPMI request;It wherein, include the customized UUID of user in the first IPMI request;Whether legal detect the UUID;If
It is legal, then the UUID is stored to band external memory;If it is illegal, then it is mentioned to the user return UUID is illegal
Show information;
As it can be seen that BIOS can request access to BMC acquisition UUID by IPMI in the present embodiment, and due to the present embodiment
In UUID be stored in in outer EERPOM, UUID is separated with Flash, persistence, can achieve refresh Flash after UUID not
The purpose of loss;Invention additionally discloses the setting system of server UUID a kind of and baseboard management controllers, are equally able to achieve
State technical effect.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (6)
1. a kind of setting method of server UUID characterized by comprising
BMC receives the first IPMI request that user sends;It wherein, include that user is customized in the first IPMI request
UUID;
Whether legal detect the UUID;
If legal, then the UUID is stored to band external memory;If it is illegal, then the UUID is returned to the user not conforming to
The prompt information of method;Wherein, the band external memory is EEPROM;
The UUID is stored to band external memory, further includes:
Receive the 2nd IPMI request that basic input-output system BIOS is sent;
It is requested according to the 2nd IPMI, the UUID is obtained from the band external memory and is sent to the BIOS, so that
The BIOS stores the UUID to Desktop Management Interface DMI;
Wherein, when obtaining UUID from the band external memory, if detecting not set UUID, Huo Zhejian in the band external memory
When the UUID for measuring setting is illegal UUID, UUID is automatically generated using UUID create-rule, and store to the band external memory
Reservoir.
2. setting method according to claim 1, which is characterized in that obtained from the band external memory UUID it
Afterwards, further includes:
Whether legal detect the UUID;
If it is illegal, then the illegal prompt information of UUID is sent to the BIOS.
3. a kind of baseboard management controller BMC characterized by comprising
First receiving module, for receiving the first IPMI request of user's transmission;It wherein, include using in the first IPMI request
The customized UUID in family;
Detection module, it is whether legal for detecting the UUID;If legal, then memory module is triggered;If it is illegal, then triggering mentions
Show module;
Memory module, for storing the UUID to band external memory;Wherein, the band external memory is EEPROM;
Cue module, for returning to the illegal prompt information of UUID to the user;
Second receiving module, for receiving the 2nd IPMI request of basic input-output system BIOS transmission;
Module is obtained, for being requested according to the 2nd IPMI, the UUID is obtained from the band external memory and is sent to
The BIOS, so that the BIOS stores the UUID to Desktop Management Interface DMI;
Wherein, if the acquisition module obtains UUID from the band external memory, the detection module is detected outside the band
Not set UUID in memory, or detect setting UUID be illegal UUID when, then trigger UUID generation module;
The UUID generation module for automatically generating UUID using UUID create-rule, and is stored to the band external memory.
4. baseboard management controller BMC according to claim 3, which is characterized in that further include:
The detection module, for after obtaining the UUID in the band external memory, detecting institute in the acquisition module
Whether legal state UUID;
If it is illegal, then it triggers the cue module and sends the illegal prompt information of UUID to the BIOS.
5. a kind of setting system of server UUID, which is characterized in that including substrate management control as described in claim 3 or 4
Device BMC processed.
6. setting system according to claim 5, which is characterized in that further include basic input-output system BIOS, band is outer
Memory, Desktop Management Interface DMI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610414451.9A CN106161082B (en) | 2016-06-13 | 2016-06-13 | Setting method, system and the baseboard management controller of server UUID |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610414451.9A CN106161082B (en) | 2016-06-13 | 2016-06-13 | Setting method, system and the baseboard management controller of server UUID |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106161082A CN106161082A (en) | 2016-11-23 |
CN106161082B true CN106161082B (en) | 2019-06-28 |
Family
ID=57353168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610414451.9A Active CN106161082B (en) | 2016-06-13 | 2016-06-13 | Setting method, system and the baseboard management controller of server UUID |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161082B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092503A (en) * | 2017-03-28 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The method and system that mobile terminal small data UUID is permanently stored |
CN107168711A (en) * | 2017-05-16 | 2017-09-15 | 郑州云海信息技术有限公司 | A kind of improved acquisition UUID method |
CN108268285B (en) * | 2018-03-01 | 2021-06-25 | 郑州云海信息技术有限公司 | BIOS version upgrading method, device, equipment and readable storage medium |
CN111224932B (en) * | 2019-10-15 | 2022-01-04 | 平安科技(深圳)有限公司 | User management method and device of server out-of-band management system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346779A (en) * | 2011-10-18 | 2012-02-08 | 中国联合网络通信集团有限公司 | Distributed file system and master control node backup method |
CN103019847A (en) * | 2012-12-24 | 2013-04-03 | 创新科存储技术(深圳)有限公司 | Method and system for migrating data of virtual machine |
CN103186404A (en) * | 2011-12-28 | 2013-07-03 | 英业达股份有限公司 | System firmware update method and server system applying same |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005167574A (en) * | 2003-12-02 | 2005-06-23 | Funai Electric Co Ltd | Controller equipment connected to ieee 1394 serial bus |
-
2016
- 2016-06-13 CN CN201610414451.9A patent/CN106161082B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346779A (en) * | 2011-10-18 | 2012-02-08 | 中国联合网络通信集团有限公司 | Distributed file system and master control node backup method |
CN103186404A (en) * | 2011-12-28 | 2013-07-03 | 英业达股份有限公司 | System firmware update method and server system applying same |
CN103019847A (en) * | 2012-12-24 | 2013-04-03 | 创新科存储技术(深圳)有限公司 | Method and system for migrating data of virtual machine |
Also Published As
Publication number | Publication date |
---|---|
CN106161082A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106161082B (en) | Setting method, system and the baseboard management controller of server UUID | |
US9130927B2 (en) | Single certificate service system and operational method thereof | |
US9652314B2 (en) | Dynamic application programming interface publication for providing web services | |
US9588794B2 (en) | Method, system and device for managing software on virtual machine in cloud environment | |
JP6327539B2 (en) | Method for checking whether intelligent terminal hardware is operating abnormally and intelligent terminal | |
US10430172B2 (en) | Re-configuration in cloud computing environments | |
CN111279314A (en) | Providing tenant isolation in a multi-tenant API gateway using micro-service containers | |
EP2989543B1 (en) | Method and device for updating client | |
TW201804323A (en) | Method and device for waking up APP application through mobile browser | |
JP2011530748A5 (en) | ||
CN110582750A (en) | system and method for task scheduling and device management | |
US20120054743A1 (en) | Information Processing Apparatus and Client Management Method | |
JP2019503000A5 (en) | ||
JP6464288B2 (en) | Program, apparatus, server, and storage medium for deleting a cloud host in a cloud computing environment | |
CN114020340B (en) | Server system and data processing method thereof | |
US9405603B2 (en) | Naming of nodes in net framework | |
CN110392012A (en) | The method and apparatus rebooted in lightweight machine to machine system | |
JP2016025656A (en) | Ip address out-of-band setting | |
CN107203915B (en) | Data storage method and device | |
CN102884513B (en) | For the session of directly attached memory device | |
KR102086088B1 (en) | Terminal, device manager application and service application for changing access point name | |
CN113949712B (en) | Cloud host cluster high-availability processing method, system, electronic equipment and storage medium | |
CN110750246B (en) | Method and related device for generating multi-flow system | |
US20230297461A1 (en) | Methods and apparatus for datacenter monitoring | |
JP2010286890A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |