CN109412847A - A kind of method and system towards SR whole machine cabinet automatic configuration cabinet set meal - Google Patents

A kind of method and system towards SR whole machine cabinet automatic configuration cabinet set meal Download PDF

Info

Publication number
CN109412847A
CN109412847A CN201811202832.6A CN201811202832A CN109412847A CN 109412847 A CN109412847 A CN 109412847A CN 201811202832 A CN201811202832 A CN 201811202832A CN 109412847 A CN109412847 A CN 109412847A
Authority
CN
China
Prior art keywords
whole machine
machine cabinet
configuration
information
cabinet
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
CN201811202832.6A
Other languages
Chinese (zh)
Other versions
CN109412847B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811202832.6A priority Critical patent/CN109412847B/en
Publication of CN109412847A publication Critical patent/CN109412847A/en
Application granted granted Critical
Publication of CN109412847B publication Critical patent/CN109412847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention proposes a kind of method and systems towards SR whole machine cabinet automatic configuration cabinet set meal, the network IP and server database of configuration server operating system, make node and service device database/data communication after the completion of, by obtaining whole machine cabinet configuration information from production system, and configuration information is uploaded into server database in the form of order;Whole machine cabinet package information is obtained by server database, downloads whole machine cabinet configuration information automatically from server database using expect according to package information.According to the method achieve the dynamic set meals for needing to configure whole machine cabinet needed when whole machine cabinet is debugged according to client, to identify whole machine cabinet number of nodes, plate quantity in node, the information such as number of power sources.Artificial configuration is no longer needed, the efficiency of configuration is improved, meets the increasingly complicated customized demand of client.

Description

A kind of method and system towards SR whole machine cabinet automatic configuration cabinet set meal
Technical field
The present invention relates to the technical fields of SR whole machine cabinet configuration, and specifically one kind is towards SR whole machine cabinet automatic configuration The method and system of cabinet set meal.
Background technique
Whole machine cabinet server is a kind of novel fusion architecture system, and heat dissipation, power supply, management function are realized on hardware Centralization and modularization, and using software virtualization technology realize calculating, storage, the IT resource such as network pond form one A whole emerging system provides soft or hard integrated total solution towards the different market of public cloud, private clound.
With the update of SR whole machine cabinet, client is higher and higher to the customization degree of whole machine cabinet, whole machine cabinet configuration It becomes increasingly complex, is based on this, need the dynamic set meal for needing to configure whole machine cabinet according to client, in whole machine cabinet debugging to know Other whole machine cabinet number of nodes, the quantity of plate, the quantity of node backboard, the information such as number of power sources in node.Before this, do not have Good solution, can only manual configuration, manual configuration error-prone, and inefficiency is not able to satisfy client increasingly Complicated customized demand.
Summary of the invention
For disadvantage mentioned above, the invention proposes a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal and System can solve the problem of manual configuration is not able to satisfy the increasingly complicated customized demand of client.
The embodiment of the invention provides a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal, including it is following Step:
S1: whole machine cabinet configuration information is obtained from production system, and whole machine cabinet configuration information is uploaded in the form of order Server database;
S2: whole machine cabinet package information is obtained by server database, according to package information, using expect, from service Device database downloads whole machine cabinet configuration information automatically
Further, before executing step S1, further includes:
S0: the network IP and server database of configuration server operating system, make node and service device database data Communication.
Further, the step of S1 are as follows:
Whole machine cabinet configuration information is obtained from production system, automatically generates the first configuration file;
The whole machine cabinet configuration information that will acquire is converted into hexadecimal representation form by decimal representation form;
Using echo order, the whole machine cabinet configuration information of hexadecimal representation form is redirected to the second configuration file.
Further, the whole machine cabinet configuration information includes the number of nodes of whole machine cabinet, plate quantity and power supply number in node Amount.
Further, the step of S2 are as follows:
Using mysql order and select order, whole machine cabinet package information is obtained from server database;
According to the whole machine cabinet package information got, using root Account Logon to RMC, automatic download server configuration File is local to RMC;
The FRU information for refreshing RMC using ipmitool order, restarts RMC.
Further, the whole machine cabinet package information, including Product Part Number (product type), Product Name (name of product), Product Asset (product assets information).
Further, the FRU information of the RMC is the whole machine cabinet package information.
A kind of system towards SR whole machine cabinet automatic configuration cabinet set meal, comprising:
Configuration information management unit: whole machine cabinet configuration information is obtained from production system, and by whole machine cabinet configuration information to order Single form uploads to server database;
Package information administrative unit: obtaining whole machine cabinet package information by server database, according to package information, benefit With expect, whole machine cabinet configuration information is downloaded automatically from server database.
Further, the configuration information management unit includes:
First acquisition unit: whole machine cabinet configuration information is obtained from production system, automatically generates the first configuration file;
Converting unit: the whole machine cabinet configuration information for will acquire is converted into hexadecimal by decimal representation form Representation;
It redirects unit: using echo order, the whole machine cabinet configuration information of hexadecimal representation form being redirected to the Two configuration files.
Further, the package information administrative unit includes:
Second acquisition unit: using mysql order and select order, obtains whole machine cabinet set meal from server database Information;
Download unit: according to the whole machine cabinet package information got, using root Account Logon to RMC, automatic downloading clothes Business device configuration file is local to RMC;
Refresh unit: for using ipmitool order to refresh the FRU information of RMC, restart RMC.
The effect provided in summary of the invention is only the effect of embodiment, rather than invents all whole effects, above-mentioned A technical solution in technical solution have the following advantages that or the utility model has the advantages that
The invention proposes a kind of method and systems towards SR whole machine cabinet automatic configuration cabinet set meal, take in configuration Be engaged in device operating system network IP and server database, make node and service device database/data communication after the completion of, by from Production system obtains whole machine cabinet configuration information, and configuration information is uploaded to server database in the form of order;Pass through clothes Business device database obtains whole machine cabinet package information, is downloaded automatically using expect from server database according to package information Whole machine cabinet configuration information.According to the method achieve the whole machine cabinets of needing to configure needed when whole machine cabinet is debugged according to client Dynamic set meal, to identify whole machine cabinet number of nodes, plate quantity in node, the information such as number of power sources.No longer need artificial match It sets, improves the efficiency of configuration, meet the increasingly complicated customized demand of client.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram towards SR whole machine cabinet automatic configuration cabinet set meal of the embodiment of the present invention 1;
Fig. 2 is a kind of system architecture diagram towards SR whole machine cabinet automatic configuration cabinet set meal of the embodiment of the present invention 1.
Specific embodiment
In order to clarify the technical characteristics of the invention, below by specific embodiment, and its attached drawing is combined, to this Invention is described in detail.Following disclosure provides many different embodiments or example is used to realize difference of the invention Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can With repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not It indicates that the relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily in the accompanying drawings It is drawn to scale.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid this is unnecessarily limiting Invention.
Embodiment 1
The embodiment of the present invention 1 provides a kind of method and system towards SR whole machine cabinet automatic configuration cabinet set meal.Such as Fig. 1 show a kind of method flow diagram towards SR whole machine cabinet automatic configuration cabinet set meal.
In step s101, the process is started to process;
In step s 102, to guarantee going on smoothly for whole flow process, IP, the server count of operating system are configured first According to library, so that node and server database connectivity, node can obtain data information from server database.
In step s 103, whole machine cabinet configuration information is obtained in a manner of cabinet order from production system, automatically generate One configuration file, production system are located in server database.Whole machine cabinet configuration information includes number of nodes, plate number in node Amount and number of power sources etc..
In step S104, by the whole machine cabinet configuration information acquired by metric representation be converted into 16 into The representation of system.The representation of plate quantity and number of power sources in difference switching node quantity, node.
In step s105, using echo order, by the whole machine cabinet configuration information of hexadecimal representation form, number of nodes Plate quantity and number of power sources are redirected to the second configuration file in amount, node.
In step s 106, using mysql order and select order, whole machine cabinet set meal is obtained from server database Information, whole machine cabinet package information include Product Part Number (product type), Product Name (name of product) and Product Asset (product assets information).
In step s 107, it is arrived according to the whole machine cabinet package information obtained in step s 106 using root Account Logon After RMC, using expect, voluntarily download server configuration file is to the local RMC by the way of wget, using the side of wget Formula downloading can continue backstage execution after user log off, until downloading task is completed.
In step S108, the synchronous FRU information for refreshing RMC using ipmitool order.Wherein the FRU information of RMC is The whole machine cabinet package information Product Part Number (product type) got out of server, Product Name (name of product), Product Asset (product assets information), configuration are completed.
In step S109, after the completion of configuration, RMC is restarted.
In step s 110, whole flow process terminates.
The embodiment of the present invention gives a kind of system towards SR whole machine cabinet automatic configuration cabinet set meal, such as Fig. 2 institute It is shown as a kind of system architecture diagram towards SR whole machine cabinet automatic configuration cabinet set meal of the embodiment of the present invention, including configuration information Administrative unit and package information administrative unit.
Configuration information management unit: whole machine cabinet configuration information is obtained from production system, and by whole machine cabinet configuration information to order Single form uploads to server database;
Package information administrative unit: obtaining whole machine cabinet package information by server database, according to package information, benefit With expect, whole machine cabinet configuration information is downloaded automatically from server database.
Configuration information management unit includes:
First acquisition unit: whole machine cabinet configuration information is obtained from production system, automatically generates the first configuration file;
Converting unit: the whole machine cabinet configuration information for will acquire is converted into hexadecimal by decimal representation form Representation;
It redirects unit: using echo order, the whole machine cabinet configuration information of hexadecimal representation form being redirected to the Two configuration files.
Package information administrative unit includes:
Second acquisition unit: using mysql order and select order, obtains whole machine cabinet set meal from server database Information;
Download unit: according to the whole machine cabinet package information got, using root Account Logon to RMC, automatic downloading clothes Business device configuration file is local to RMC;
Refresh unit: for using ipmitool order to refresh the FRU information of RMC, restart RMC.
Although specification and drawings and examples have been carried out detailed description to the invention, this field skill Art personnel should be appreciated that and still can be modified or replaced equivalently to the invention;And all do not depart from wound of the present invention The technical solution and its improvement for the spirit and scope made, are encompassed by the protection scope of the invention patent.

Claims (10)

1. a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal, which comprises the following steps:
S1: whole machine cabinet configuration information is obtained from production system, and whole machine cabinet configuration information is uploaded into service in the form of order Device database;
S2: whole machine cabinet package information is obtained by server database, according to package information, using expect, from server count Download whole machine cabinet configuration information automatically according to library.
2. a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 1, which is characterized in that Before executing step S1, further includes:
S0: the network IP and server database of configuration server operating system, make node and service device database/data communication.
3. a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 1, which is characterized in that The step of S1 are as follows:
Whole machine cabinet configuration information is obtained from production system, automatically generates the first configuration file;
The whole machine cabinet configuration information that will acquire is converted into hexadecimal representation form by decimal representation form;
Using echo order, the whole machine cabinet configuration information of hexadecimal representation form is redirected to the second configuration file.
4. according to claim 1 to a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal described in 3 any one, It is characterized in that, the whole machine cabinet configuration information includes the number of nodes of whole machine cabinet, plate quantity and number of power sources in node.
5. a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 1, which is characterized in that The S2 step are as follows:
Using mysql order and select order, whole machine cabinet package information is obtained from server database;
According to the whole machine cabinet package information got, using root Account Logon to RMC, automatic download server configuration file is arrived RMC is local;
The FRU information for refreshing RMC using ipmitool order, restarts RMC.
6. a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 5, which is characterized in that The whole machine cabinet package information, including Product Part Number, Product Name and Product Asset.
7. a kind of method towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 5, which is characterized in that The FRU information of the RMC is the whole machine cabinet package information.
8. a kind of system towards SR whole machine cabinet automatic configuration cabinet set meal characterized by comprising
Configuration information management unit: whole machine cabinet configuration information is obtained from production system, and by whole machine cabinet configuration information with order Form uploads to server database;
Package information administrative unit: obtaining whole machine cabinet package information by server database, according to package information, utilizes Expect downloads whole machine cabinet configuration information from server database automatically.
9. a kind of system towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 8, which is characterized in that The configuration information management unit includes:
First acquisition unit: whole machine cabinet configuration information is obtained from production system, automatically generates the first configuration file;
Converting unit: the whole machine cabinet configuration information for will acquire is converted into hexadecimal representation shape by decimal representation form Formula;
It redirects unit: using echo order, the whole machine cabinet configuration information of hexadecimal representation form being redirected to second and is matched Set file.
10. a kind of system towards SR whole machine cabinet automatic configuration cabinet set meal according to claim 8, feature exist In the package information administrative unit includes:
Second acquisition unit: using mysql order and select order, obtains whole machine cabinet package information from server database;
Download unit: according to the whole machine cabinet package information got, using root Account Logon to RMC, automatic download server Configuration file is local to RMC;
Refresh unit: for using ipmitool order to refresh the FRU information of RMC, restart RMC.
CN201811202832.6A 2018-10-16 2018-10-16 Method and system for automatically configuring cabinet package for SR (scheduling request) whole cabinet Active CN109412847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811202832.6A CN109412847B (en) 2018-10-16 2018-10-16 Method and system for automatically configuring cabinet package for SR (scheduling request) whole cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811202832.6A CN109412847B (en) 2018-10-16 2018-10-16 Method and system for automatically configuring cabinet package for SR (scheduling request) whole cabinet

Publications (2)

Publication Number Publication Date
CN109412847A true CN109412847A (en) 2019-03-01
CN109412847B CN109412847B (en) 2021-11-05

Family

ID=65468196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811202832.6A Active CN109412847B (en) 2018-10-16 2018-10-16 Method and system for automatically configuring cabinet package for SR (scheduling request) whole cabinet

Country Status (1)

Country Link
CN (1) CN109412847B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209053A (en) * 2019-12-24 2020-05-29 池州学院 Method for automatically configuring cabinet package for SR (scanning sequence) whole cabinet
CN111274588A (en) * 2019-11-06 2020-06-12 苏州朗威电子机械股份有限公司 Method for automatically configuring cabinet package for SR (scanning sequence) whole cabinet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075511A1 (en) * 2011-11-23 2013-05-30 华为技术有限公司 Rack server system
CN104615447A (en) * 2015-03-12 2015-05-13 浪潮集团有限公司 Method for reusing monitor management software of server of whole-machine cabinet
CN105302690A (en) * 2015-10-14 2016-02-03 浪潮电子信息产业股份有限公司 Whole rack server monitoring management method
CN106354538A (en) * 2016-09-29 2017-01-25 郑州云海信息技术有限公司 Device and method for remote configuration of complete cabinet server operating system
CN108255678A (en) * 2018-01-24 2018-07-06 郑州云海信息技术有限公司 Monitoring nodes method, apparatus and storage medium based on Rack whole machine cabinets

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075511A1 (en) * 2011-11-23 2013-05-30 华为技术有限公司 Rack server system
CN104615447A (en) * 2015-03-12 2015-05-13 浪潮集团有限公司 Method for reusing monitor management software of server of whole-machine cabinet
CN105302690A (en) * 2015-10-14 2016-02-03 浪潮电子信息产业股份有限公司 Whole rack server monitoring management method
CN106354538A (en) * 2016-09-29 2017-01-25 郑州云海信息技术有限公司 Device and method for remote configuration of complete cabinet server operating system
CN108255678A (en) * 2018-01-24 2018-07-06 郑州云海信息技术有限公司 Monitoring nodes method, apparatus and storage medium based on Rack whole machine cabinets

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274588A (en) * 2019-11-06 2020-06-12 苏州朗威电子机械股份有限公司 Method for automatically configuring cabinet package for SR (scanning sequence) whole cabinet
CN111209053A (en) * 2019-12-24 2020-05-29 池州学院 Method for automatically configuring cabinet package for SR (scanning sequence) whole cabinet

Also Published As

Publication number Publication date
CN109412847B (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN106850746B (en) The method and device of smooth service upgrading
WO2016045403A1 (en) Runtime environment configuration method, device and system
CN105450461B (en) A kind of shunt method and the network equipment
CN107959588A (en) Cloud resource management method, cloud resource management platform and the management system of data center
WO2016110092A1 (en) Asset information management method and device
CN104580519A (en) Method for rapid deployment of openstack cloud computing platform
US11463327B2 (en) Commerce characteristic data reporting method and device, network slice arrangement method and device
CN109412847A (en) A kind of method and system towards SR whole machine cabinet automatic configuration cabinet set meal
CN111782635B (en) Data processing method and device, storage medium and electronic device
CN102546218B (en) Configuring management method and system
CN110196800A (en) Distributed transaction test method, apparatus and system
CN110224879A (en) A kind of whole machine cabinet server and its node configuration method, device and CMC
CN105210039B (en) Terminal with for it is synchronous its application method
CN105681108B (en) A kind of method and apparatus for realizing that configuration is synchronous
CN108989123A (en) A kind of server configuration method and device
CN105490849B (en) The automatic deployment method and system of application system
WO2016086612A9 (en) Single-board software management method, system, and computer storage medium
CN109672721A (en) Pushing method for media files, device, server-side and computer readable storage medium
CN106535221A (en) Resource management method and device, and multimode soft base station unified webmaster
CN111782618A (en) Data synchronization system
CN109361554A (en) The method and apparatus of the customized management page and default configuration
CN110225077A (en) Synchronous method, device, computer equipment and the computer storage medium of change supply data
CN112804313B (en) Data synchronization method, device, equipment and medium based on cross-domain edge node
CN116107694A (en) Deployment method and device of k8s sub-cluster and storage medium
CN111506646B (en) Data synchronization method, device, system, storage medium and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant