CN109274777B - A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file - Google Patents

A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file Download PDF

Info

Publication number
CN109274777B
CN109274777B CN201811488877.4A CN201811488877A CN109274777B CN 109274777 B CN109274777 B CN 109274777B CN 201811488877 A CN201811488877 A CN 201811488877A CN 109274777 B CN109274777 B CN 109274777B
Authority
CN
China
Prior art keywords
target
configuration file
request
remote server
file
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
Application number
CN201811488877.4A
Other languages
Chinese (zh)
Other versions
CN109274777A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201811488877.4A priority Critical patent/CN109274777B/en
Publication of CN109274777A publication Critical patent/CN109274777A/en
Application granted granted Critical
Publication of CN109274777B publication Critical patent/CN109274777B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of methods for exporting configuration file, method includes the following steps: receiving the target configuration file request for the JSON format that target remote server is sent, by being parsed to target configuration file request, obtain the target designation of target configuration file and the target ip address of target remote server, target configuration file is searched according to file destination title, target configuration file is sent to the corresponding target remote server of target ip address by calling remote file transferring agreement scp and expect script by baseboard controller.Using technical solution provided by the embodiment of the present invention, realizes and BMC configuration file and BIOS configuration file are exported by redfish, ensure that the integrality of derived configuration information.The invention also discloses a kind of device, equipment and storage mediums for exporting configuration file, have relevant art effect.

Description

A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file
Technical field
The present invention relates to computer application technologies, more particularly to a kind of method, apparatus for exporting configuration file, set Standby and computer readable storage medium.
Background technique
Baseboard management controller (Baseboard Management Controller, abbreviation BMC) is that server is distinctive Management Controller, the major function of BMC first is that automatic monitoring server operating status, mainly includes the healthy shape of each hardware State.BMC monitors the health status of each hardware, obtains the information of each hardware, facilitates the fortune that operation maintenance personnel understands server in time Row situation guarantees that server operates normally.
Redfish is a kind of completely new server admin standard based on restful interface and JSON data model. The advantages that redfish has and can find, expansible, is easily managed, safe, can further enrich server for remote management function Energy.
As new server admin standard, and existing redfish interface can not be as traditional Restful interface one What sample directly supported file imports and exports function.If therefore wanting to obtain BMC config option or BIOS configuration by redfish interface Option can only call corresponding redfish URL, then obtain corresponding configuration information according to return value, and cannot will be corresponding Configuration file export to remote server.And in many application scenarios, operation maintenance personnel needs to get institute in configuration file The information of some config options, and the phenomenon that the URL return value of redfish is not complete there may be information, it is therefore desirable to realize logical Cross the function of redfish export BMC configuration file and BIOS configuration file.
In conclusion how to efficiently solve caused by calling redfish URL export config option, information is not complete shows As cannot achieve the problems such as exporting BMC configuration file and BIOS configuration file by redfish, being current those skilled in the art Member's urgent problem.
Summary of the invention
The object of the present invention is to provide a kind of methods for exporting configuration file, and the method achieve exported by redfish BMC configuration file and BIOS configuration file, ensure that the integrality of derived configuration information;It is a further object of the present invention to provide A kind of device, equipment and computer readable storage medium exporting configuration file.
In order to solve the above technical problems, the invention provides the following technical scheme:
A method of export configuration file, comprising:
Target remote server is received to request by the target configuration file that redfish URL is sent;Wherein, the target Configuration file request is to be encapsulated as the request of JSON format in advance;
To the target configuration file request parse, obtain target configuration file file destination title and the mesh Mark the target ip address of remote server;Wherein, the target configuration file is corresponding with target configuration file request Configuration file;
The target configuration file is searched according to the file destination title;
Remote file transferring agreement scp and preconfigured expect script are called, the target configuration file is sent Give the target ip address the corresponding target remote server.
In a specific embodiment of the invention, when target configuration file request is to include the target remote service When the target user's name and the request of target password of device, it is corresponding that the target configuration file is sent to the target ip address The target remote server, comprising:
Target user's name, the target password and the target configuration file are sent to the target ip address pair The target remote server answered, so that the target remote server utilizes institute before receiving the target configuration file It states target user's name and the target password and authentication is carried out to the sender of the target configuration file.
In a specific embodiment of the invention, when target configuration file request is to include the target remote service When device is to the request in the target storage path of the target configuration file, the target configuration file is sent to the Target IP The corresponding target remote server in address, comprising:
The target configuration file is sent to the corresponding mesh of the target ip address by the target storage path Mark remote server.
In a specific embodiment of the invention, when the target configuration file is BMC configuration file, it is remote to receive target Journey server is requested by the target configuration file that redfish URL is sent, comprising:
Receive the target configuration file request that target remote server is sent by BMC redfish URL;
When the target configuration file is BIOS configuration file, receives target remote server and pass through redfish URL The target configuration file of transmission is requested, comprising:
Receive the target configuration file request that target remote server is sent by BIOS redfish URL.
A kind of device exporting configuration file, comprising:
Request receiving module, the target configuration file sent for receiving target remote server by redfish URL Request;Wherein, the target configuration file request is to be encapsulated as the request of JSON format in advance;
Request analysis module obtains the mesh of target configuration file for parsing to target configuration file request Mark the target ip address of file name and the target remote server;Wherein, the target configuration file is and the target The corresponding configuration file of configuration file request;
File search module, for searching the target configuration file according to the file destination title;
File sending module will be described for calling remote file transferring agreement scp and preconfigured expect script Target configuration file is sent to the corresponding target remote server of the target ip address.
In a specific embodiment of the invention, when target configuration file request is to include the target remote service When the request of target user's name of device and target password, the file sending module is specially by target user name, described Target password and the target configuration file are sent to the corresponding target remote server of the target ip address, so that institute Target remote server is stated before receiving the target configuration file, using target user's name and the target password to institute The sender for stating target configuration file carries out the module of authentication.
In a specific embodiment of the invention, when target configuration file request is to include the target remote service When device is to the request in the target storage path of the target configuration file, file sending module is specially that the target is configured text Part is sent to the module of the corresponding target remote server of the target ip address by the target storage path.
In a specific embodiment of the invention, the request receiving module, specially when the target configuration file is When the BMC configuration file, receives target remote server and asked by the target configuration file that BMC redfish URL is sent It asks;When the target configuration file is the BIOS configuration file, receives target remote server and pass through BIOS redfish The module for the target configuration file request that URL is sent.
A kind of equipment exporting configuration file, comprising:
Memory, for storing computer program;
The step of processor, realization exports the method for configuration file as previously described when for executing the computer program.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described The step of method of export configuration file as previously described is realized when computer program is executed by processor.
Using the method for exporting configuration file provided by the embodiment of the present invention, baseboard controller receives target remote service The target configuration file request for the JSON format that device is sent obtains target and matches by parsing to target configuration file request The file destination title of file and the target ip address of target remote server are set, target configuration is searched according to file destination title File.Baseboard controller, will by calling the remote file transferring agreement scp and preconfigured expect script that import in advance Target configuration file is sent to the corresponding target remote server of target ip address.Matched to realize by redfish export File is set, ensure that the integrality of derived configuration information.
Correspondingly, the embodiment of the invention also provides export corresponding with the method for above-mentioned export configuration file configuration texts Device, equipment and the computer readable storage medium of part, have above-mentioned technique effect, details are not described herein.
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 implementation flow chart that the method for configuration file is exported in the embodiment of the present invention;
Fig. 2 is another implementation flow chart that the method for configuration file is exported in the embodiment of the present invention;
Fig. 3 is the structural block diagram of the device of export configuration file a kind of in the embodiment of the present invention;
Fig. 4 is the structural block diagram of the equipment of export configuration file a kind of in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to Fig. 1, Fig. 1 is a kind of implementation flow chart that the method for configuration file is exported in the embodiment of the present invention, this method May include:
S101: it receives target remote server and is requested by the target configuration file that redfish URL is sent.
Wherein, target configuration file request is to be encapsulated as the request of JSON format in advance.
When operation maintenance personnel manages the destination server of the other end by the target remote server at place end, need The corresponding configuration file of destination server is obtained, therefore can use target remote server and generate for target configuration file Target configuration file request, and by target configuration file request in advance be encapsulated as redfish interface support JSON format.It can It is responsible for so that the target configuration file request after the completion of encapsulation is sent to destination server place end by redfish URL to mesh The baseboard management controller that mark server is managed.Baseboard management controller receives target configuration file request.
Target configuration file request can be the request to any one configuration file in destination server, and can wrap The target ip address of the title of target configuration file and target remote server that need to obtain containing target remote server, also It may include the information such as user name, the password of target remote server.
Destination server can be any one server managed by target remote server.
S102: target configuration file request is parsed, the file destination title and target of target configuration file are obtained The target ip address of remote server.
Wherein, target configuration file is configuration file corresponding with target configuration file request.
Baseboard management controller can request to carry out after receiving target configuration file request to target configuration file Parsing obtains file destination title and target remote server that corresponding target configuration file is requested with target configuration file Target ip address is prepared for subsequent lookup and return to target configuration file.
S103: target configuration file is searched according to file destination title.
After the file destination title for obtaining target configuration file, target configuration can be searched according to file destination title File.
S104: remote file transferring agreement scp and preconfigured expect script are called, target configuration file is sent Give target ip address corresponding target remote server.
Baseboard management controller implanting needle can be given to the code or tool of remote file transferring agreement scp in advance, so that Baseboard management controller supports remote file transferring agreement scp, and can be pre-configured in baseboard management controller Expect script.After finding target configuration file according to file destination title, target configuration file can be sent to The corresponding target remote server of target ip address, so that target configuration file is successfully exported to mesh by baseboard management controller Remote server is marked, target remote server can disposably get each configuration item in target configuration file, save O&M The human cost and time cost of personnel reaches the efficient remote monitoring to destination server.
Using the method for exporting configuration file provided by the embodiment of the present invention, baseboard controller receives target remote service It is remote to obtain target by parsing to target configuration file request for the target configuration file request for the JSON format that device is sent The file destination title of the target configuration file of journey server and the target ip address of target remote server, according to file destination Title searches target configuration file.Baseboard controller is by calling the remote file transferring agreement scp imported in advance and matching in advance Target configuration file is sent to the corresponding target remote server of target ip address by the expect script set.To realize Configuration file is exported by redfish, ensure that the integrality of derived configuration information.
It should be noted that based on the above embodiment one, the embodiment of the invention also provides be correspondingly improved scheme.Rear Involved in continuous embodiment with can mutually be referred between same steps or corresponding steps in above-described embodiment one, corresponding beneficial effect Can also be cross-referenced, it is no longer repeated one by one in improvement embodiment below.
In a specific embodiment of the invention, when target configuration file is BMC configuration file, target remote clothes are received Business device is requested by the target configuration file that redfish URL is sent, comprising:
Receive the target configuration file request that target remote server is sent by BMC redfish URL;
When target configuration file is BIOS configuration file, receives target remote server and sent by redfish URL Target configuration file request, comprising:
Receive the target configuration file request that target remote server is sent by BIOS redfish URL.
Target remote server to the target configuration file that destination server is requested may include BMC configuration file and BIOS Corresponding redfish URL can be respectively configured for BMC configuration file and BIOS configuration file in configuration file.When needing to request Target configuration file be BMC configuration file when, can by BMC redfish URL to baseboard management controller send target Configuration file request;When the target configuration file for needing to request is BIOS configuration file, BIOS redfish can be passed through URL sends target configuration file request to baseboard management controller.By matching respectively for BMC configuration file and BIOS configuration file Corresponding redfish URL is set, in the target configuration file for needing to request corresponding types, corresponding redfish can be passed through Target configuration file request is quickly sent to substrate management control by URL, improves the request efficiency of target configuration file.
Embodiment two:
Referring to fig. 2, Fig. 2 is another implementation flow chart that the method for configuration file is exported in the embodiment of the present invention, the party Method may comprise steps of:
S201: it receives target remote server and is requested by the target configuration file that redfish URL is sent.
Wherein, target configuration file request is to be encapsulated as the request of JSON format in advance;Target configuration file request is packet Request of the server containing target remote to the target storage path of target configuration file.
It is remote that target remote server may include target into the target configuration file request that baseboard management controller is sent Storage path of the journey server to the target configuration file of request.In such a case, it is possible to avoid defaulting the mesh that will be requested The phenomenon that mark configuration file is stored in a position, leads to memory space overfill.Pass through the target configuration file distribution for request The load balancing of target remote server may be implemented in target storage path, improves the speed of service of target remote server.
S202: parsing target configuration file request, obtains the target user's name and target of target remote server The target ip address of password, the file destination title of target configuration file and target remote server.
Wherein, target configuration file is configuration file corresponding with target configuration file request.
S203: target configuration file is searched according to file destination title.
S204: when target configuration file request is asked for target user's name comprising target remote server, target password It asks and when target remote server is to the target storage path of target configuration file, calls remote file transferring agreement scp and pre- Target user's name, target password and target configuration file are according to target stored path and are sent to mesh by the expect script first configured The corresponding target remote server of IP address is marked, so that target remote server utilizes target before receiving target configuration file User name and target password carry out authentication to the sender of target configuration file.
Wherein, except script is the script that can automatically enter target user's name and target password.
Target remote server may include that target is remote into the target configuration file request that baseboard management controller is sent Target storage path of target user's name, target password and the target remote server of journey server to target configuration file. After baseboard management controller finds target configuration file, remote file transferring agreement scp can be called and be pre-configured with The expect script for automatically entering target user's name and target password, target user's name, target password and target are configured File according to target stores path and is sent to the corresponding target remote server of target ip address.Target remote server is receiving After target user's name, target password and target configuration file, target can be matched first with target user's name and target password The sender for setting file carries out authentication, receives and stores after being proved to be successful, then to target configuration file, thus compared with The earth improves the safety of configuration file acquisition process.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of device for exporting configuration file, under The device of the export configuration file of text description can correspond to each other reference with the method for above-described export configuration file.
Referring to Fig. 3, Fig. 3 is the structural block diagram of the device of export configuration file a kind of in the embodiment of the present invention, the device May include:
Request receiving module 31 configures text by the target that redfish URL is sent for receiving target remote server Part request;Wherein, target configuration file request is to be encapsulated as the request of JSON format in advance;
Request analysis module 32 obtains the target of target configuration file for parsing to target configuration file request The target ip address of file name and target remote server;Wherein, target configuration file is and target configuration file request pair The configuration file answered;
File search module 33, for searching target configuration file according to file destination title;
File sending module 34, for calling remote file transferring agreement scp and preconfigured expect script, by mesh Mark configuration file is sent to the corresponding target remote server of target ip address.
Using the method for exporting configuration file provided by the embodiment of the present invention, baseboard controller receives target remote service The target configuration file request for the JSON format that device is sent obtains target and matches by parsing to target configuration file request The file destination title of file and the target ip address of target remote server are set, target configuration is searched according to file destination title File.Baseboard controller, will by calling the remote file transferring agreement scp and preconfigured expect script that import in advance Target configuration file is sent to the corresponding target remote server of target ip address.Matched to realize by redfish export File is set, ensure that the integrality of derived configuration information.
In a specific embodiment of the invention, when target configuration file request is the target comprising target remote server When the request of user name and target password;File sending module 34 is specially to configure target user's name, target password and target File is sent to the corresponding target remote server of target ip address, so that target remote server is receiving target configuration file Before, the module of authentication is carried out to the sender of target configuration file using target user's name and target password.
In a specific embodiment of the invention, when target configuration file request is comprising target remote server to target When the request in the target storage path of configuration file, file sending module 34 is specially that target configuration file is according to target stored road Diameter is sent to the module of the corresponding target remote server of target ip address.
In a specific embodiment of the invention, request receiving module 31, specially when target configuration file is BMC configuration When file, the target configuration file request that target remote server is sent by BMC redfish URL is received;When target configures When file is BIOS configuration file, receives target remote server and pass through the target configuration file that BIOS redfish URL is sent The module of request.
Corresponding to above method embodiment, referring to fig. 4, Fig. 4 is the equipment of export configuration file provided by the present invention Schematic diagram, which may include:
Memory 41, for storing computer program;
Processor 42 can realize following steps when for executing the computer program of the above-mentioned storage of memory 41:
Target remote server is received to request by the target configuration file that redfish URL is sent;Wherein, target configures File request is to be encapsulated as the request of JSON format in advance;Target configuration file request is parsed, target configuration text is obtained The file destination title of part and the target ip address of target remote server;Wherein, target configuration file is to configure text with target Part requests corresponding configuration file;Target configuration file is searched according to file destination title;Call remote file transferring agreement scp And preconfigured expect script, target configuration file is sent to the corresponding target remote server of target ip address.
Above method embodiment is please referred to for the introduction of equipment provided by the invention, this will not be repeated here by the present invention.
It is computer-readable the present invention also provides a kind of computer readable storage medium corresponding to above method embodiment It is stored with computer program on storage medium, can realize following steps when computer program is executed by processor:
Target remote server is received to request by the target configuration file that redfish URL is sent;Wherein, target configures File request is to be encapsulated as the request of JSON format in advance;Target configuration file request is parsed, target configuration text is obtained The file destination title of part and the target ip address of target remote server;Wherein, target configuration file is to configure text with target Part requests corresponding configuration file;Target configuration file is searched according to file destination title;Call remote file transferring agreement scp And preconfigured expect script, target configuration file is sent to the corresponding target remote server of target ip address.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the invention, the present invention exists This is not repeated them here.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment It sets, for equipment and computer readable storage medium, since it is corresponded to the methods disclosed in the examples, so the comparison of description Simply, reference may be made to the description of the method.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art , without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these Improvement and modification are also fallen within the protection scope of the claims of the present invention.

Claims (10)

1. a kind of method for exporting configuration file, which is characterized in that the substrate management control applied to end where destination server Device, comprising:
Target remote server is received to request by the target configuration file that redfish URL is sent;Wherein, the target configuration File request is to be encapsulated as the request of the JSON format of redfish interface support in advance for the destination server;
Target configuration file request is parsed, file destination title and the target for obtaining target configuration file are remote The target ip address of journey server;Wherein, the target configuration file is configuration corresponding with target configuration file request File;
The target configuration file is searched according to the file destination title;
Remote file transferring agreement scp and preconfigured expect script are called, the target configuration file is sent to institute State the corresponding target remote server of target ip address.
2. the method for export configuration file according to claim 1, which is characterized in that when the target configuration file is requested When for comprising the request of the target user of target remote server name and target password, the target configuration file is sent Give the target ip address the corresponding target remote server, comprising:
It is corresponding that target user's name, the target password and the target configuration file are sent to the target ip address The target remote server, so that the target remote server utilizes the mesh before receiving the target configuration file It marks user name and the target password and authentication is carried out to the sender of the target configuration file.
3. the method for export configuration file according to claim 1 or 2, which is characterized in that when the target configuration file When request is comprising the target remote server to the request in the target storage path of the target configuration file, by the mesh Mark configuration file is sent to the corresponding target remote server of the target ip address, comprising:
It is remote that the target configuration file by the target storage path is sent to the corresponding target of the target ip address Journey server.
4. the method for export configuration file according to claim 1, which is characterized in that when the target configuration file is When BMC configuration file, receives target remote server and is requested by the target configuration file that redfish URL is sent, comprising:
Receive the target configuration file request that target remote server is sent by BMC redfish URL;
When the target configuration file is BIOS configuration file, receives target remote server and sent by redfish URL Target configuration file request, comprising:
Receive the target configuration file request that target remote server is sent by BIOS redfish URL.
5. a kind of device for exporting configuration file, which is characterized in that the substrate management control applied to end where destination server Device, comprising:
Request receiving module is requested for receiving target remote server by the target configuration file that redfish URL is sent; Wherein, the target configuration file request is the JSON for being encapsulated as the support of redfish interface in advance for the destination server The request of format;
Request analysis module obtains the target text of target configuration file for parsing to target configuration file request The target ip address of part title and the target remote server;Wherein, the target configuration file is to configure with the target The corresponding configuration file of file request;
File search module, for searching the target configuration file according to the file destination title;
File sending module, for calling remote file transferring agreement scp and preconfigured expect script, by the target Configuration file is sent to the corresponding target remote server of the target ip address.
6. the device of export configuration file according to claim 5, which is characterized in that when the target configuration file is requested When for comprising the request of the target user of target remote server name and target password, the file sending module is specially It is corresponding described that target user's name, the target password and the target configuration file are sent to the target ip address Target remote server, so that the target remote server before receiving the target configuration file, is used using the target Name in an account book and the target password carry out the module of authentication to the sender of the target configuration file.
7. the device of export configuration file according to claim 5 or 6, which is characterized in that when the target configuration file When request is comprising the target remote server to the request in the target storage path of the target configuration file, file is sent It is corresponding described that the target configuration file is specially sent to the target ip address by the target storage path by module The module of target remote server.
8. the device of export configuration file according to claim 5, which is characterized in that the request receiving module, specifically It is sent when the target configuration file is BMC configuration file, to receive target remote server by BMC redfish URL Target configuration file request;When the target configuration file is BIOS configuration file, receives target remote server and pass through The module for the target configuration file request that BIOS redfish URL is sent.
9. a kind of equipment for exporting configuration file characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program exporting configuration file as described in any one of Claims 1-4 The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the side that configuration file is exported as described in any one of Claims 1-4 when the computer program is executed by processor The step of method.
CN201811488877.4A 2018-12-06 2018-12-06 A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file Active CN109274777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811488877.4A CN109274777B (en) 2018-12-06 2018-12-06 A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811488877.4A CN109274777B (en) 2018-12-06 2018-12-06 A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file

Publications (2)

Publication Number Publication Date
CN109274777A CN109274777A (en) 2019-01-25
CN109274777B true CN109274777B (en) 2019-11-22

Family

ID=65186508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811488877.4A Active CN109274777B (en) 2018-12-06 2018-12-06 A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file

Country Status (1)

Country Link
CN (1) CN109274777B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976976A (en) * 2019-03-27 2019-07-05 苏州浪潮智能科技有限公司 A kind of heat dissipation is tactful to configure update method, device, terminal and storage medium
CN111290802B (en) * 2020-02-13 2022-07-08 苏州浪潮智能科技有限公司 Information analysis method and device for BMC internal device and readable storage medium
CN111756818B (en) * 2020-06-05 2022-01-14 腾讯科技(深圳)有限公司 File transfer method, device, equipment and storage medium
CN114047966A (en) * 2021-10-22 2022-02-15 济南浪潮数据技术有限公司 Web-based BMC configuration import and export method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346672B2 (en) * 2002-03-12 2008-03-18 Hewlett-Packard Development Company, L.P. Automatic TFTP firmware download
CN102164360A (en) * 2011-04-20 2011-08-24 瑞斯康达科技发展股份有限公司 Method and system for configurating and loading network equipment
CN103200036A (en) * 2013-04-08 2013-07-10 国电南瑞科技股份有限公司 Automated configuration method of electrical power system cloud computing platform
CN103634144A (en) * 2013-11-15 2014-03-12 新浪网技术(中国)有限公司 Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file
CN104965741A (en) * 2015-06-30 2015-10-07 浪潮(北京)电子信息产业有限公司 Method and apparatus for installing real-time application clusters
CN108334411A (en) * 2018-01-30 2018-07-27 郑州云海信息技术有限公司 Resource transfer method and device based on Redfish in a kind of BMC

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161122A (en) * 2015-03-27 2016-11-23 银联商务有限公司 A kind of automatization's Centralized Monitoring method for early warning and system
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN108880897A (en) * 2018-06-29 2018-11-23 平安科技(深圳)有限公司 Acceptance method, device, computer equipment and the storage medium of server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346672B2 (en) * 2002-03-12 2008-03-18 Hewlett-Packard Development Company, L.P. Automatic TFTP firmware download
CN102164360A (en) * 2011-04-20 2011-08-24 瑞斯康达科技发展股份有限公司 Method and system for configurating and loading network equipment
CN103200036A (en) * 2013-04-08 2013-07-10 国电南瑞科技股份有限公司 Automated configuration method of electrical power system cloud computing platform
CN103634144A (en) * 2013-11-15 2014-03-12 新浪网技术(中国)有限公司 Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file
CN104965741A (en) * 2015-06-30 2015-10-07 浪潮(北京)电子信息产业有限公司 Method and apparatus for installing real-time application clusters
CN108334411A (en) * 2018-01-30 2018-07-27 郑州云海信息技术有限公司 Resource transfer method and device based on Redfish in a kind of BMC

Also Published As

Publication number Publication date
CN109274777A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109274777B (en) A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file
CN111176976B (en) Test data generation method and device, storage medium and electronic device
CN102355667B (en) Application program network connection control method and system in mobile intelligent terminal system
CN106331135B (en) A kind of part interface update method, system, client and server-side
CN102591724B (en) Method and device for information interaction
EP2866142A1 (en) Upgrade package generation method and device, dynamic file differential upgrade method and terminal
CN105337787A (en) Multi-server monitoring method, device and system
CN110235427A (en) The IP index for IP address distribution based on policy control functions
CN104301443A (en) Method and system for calling end capacity ports on web page
CN104380278A (en) Device, system, and method for client-governed session persistency between one or more clients and servers of a data center
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN105022832B (en) Method, mobile terminal and the download server that APP application securities are downloaded
CN104113576A (en) Method and device for updating client
CN103701867A (en) Method, system and central server for processing call requests
CN106453576A (en) Interactive method, interactive system and dispatching centre based on hybrid cloud platform
CN109413210A (en) Target drives upgrade method, device, equipment and the medium of distributed cluster system
CN108347731A (en) A kind of method, medium, equipment and terminal carrying out secure binding
CN108536484A (en) Parameter amending method, device, terminal device and storage medium
US8880108B2 (en) Short message processing method and apparatus
CN106603593A (en) HTTP calling method and device based on adaption
CN106034113A (en) Data processing method and data processing device
CN105099769A (en) Method, device and system for processing abnormal operations of service platform
CN109491976A (en) A kind of storing data analytic method, device and relevant device
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN103987030A (en) Method, device and system for achieving number-portability upgrading network

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