CN109587282B - Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet - Google Patents
Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet Download PDFInfo
- Publication number
- CN109587282B CN109587282B CN201811342843.4A CN201811342843A CN109587282B CN 109587282 B CN109587282 B CN 109587282B CN 201811342843 A CN201811342843 A CN 201811342843A CN 109587282 B CN109587282 B CN 109587282B
- Authority
- CN
- China
- Prior art keywords
- node
- information
- whole cabinet
- cabinet
- rmc
- 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 27
- 238000013507 mapping Methods 0.000 claims description 15
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000012360 testing method Methods 0.000 abstract description 23
- 238000013515 script Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- 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
-
- 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/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
Abstract
The application discloses a method and a system for SR whole cabinet-oriented automatic node IP configuration, wherein the method comprises the following steps: uploading configuration information related to a node to be tested to a database under a Linux system; configuring RMC information of a node to be tested according to a database, wherein the RMC information comprises: location, PPN and PN of the node to be detected; writing the Location of the node to be detected in the RMC information back to the chassis extra field of the node; and configuring a fixed IP for the node by using the cabinet position number and the node position number according to the chasses extra field of the node. The system comprises: the device comprises an uploading module, an RMC information configuration module, a write-back module and an IP configuration module. By the method and the system, the fixed IP in the node system can be automatically configured, so that the testing of the network broadband is facilitated, and the testing of the network broadband configuration of double network ports and multiple network ports is particularly facilitated.
Description
Technical Field
The application relates to the technical field of automatic test of SR (Security maintenance) complete equipment cabinets, in particular to a method and a system for automatically configuring a node IP (Internet protocol) for an SR complete equipment cabinet.
Background
The SR whole cabinet can flexibly support various nodes such as half-width computing nodes, full-width storage nodes and the like, and can be compatible with a standard rack type network switch, so that computing, storage and network functions are integrated in one infrastructure, and configuration requirements of different users are met. Therefore, in the actual production process, the number of the switches, the network cables and the nodes of each SR cabinet is different. In order to perform the test of the whole cabinet and the network bandwidth test between the nodes, the location information of the nodes in the SR whole cabinet is generally required to be configured.
At present, a method for configuring node position information in an SR entire cabinet generally includes: randomly generating an IP address of a node, and randomly matching the IP address with a certain node, for example, matching an IP address 1 with a certain node A, wherein the IP address 1 is used as the IP address of the node A; when the user demand changes, another IP address 2 is generated for node a.
However, in the current method for configuring node location information in an SR entire rack, because the IP address of the same node changes, the IP in the configured node location information is not a fixed IP, and the node location is not easily determined by the unfixed IP address, which is not favorable for performing a test on the entire rack and a network bandwidth test between nodes, and further affects the test efficiency of the entire rack and the network bandwidth test efficiency.
Disclosure of Invention
The application provides a method and a system for SR-oriented automatic node IP configuration of a complete equipment cabinet, which aim to solve the problems that in the prior art, node IP is unfixed, so that the complete equipment cabinet test is not facilitated and the network bandwidth test between nodes is not facilitated.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
an SR-oriented complete equipment cabinet automatic node IP configuration method comprises the following steps:
under a Linux system, uploading configuration information related to a node to be tested to a database, wherein the configuration information comprises: the method comprises the steps that order information of nodes to be configured, the number of the nodes in the order information and the mapping relation between a node order and an order of the whole cabinet are obtained;
configuring RMC (Rack Management Controller) information of a node to be tested according to the database, wherein the RMC information comprises: location, PPN and PN of the node to be detected;
the Location of the node to be detected in the RMC information is written back to a chassis extra field of the node, and the chassis extra field is used for communicating position information between the node and an SR whole cabinet;
and configuring a fixed IP for the node by utilizing the cabinet position number and the node position number according to the chasses extra field of the node.
Optionally, the configuring, according to the database, the RMC information of the node to be tested includes:
acquiring order information related to the node to be tested according to the database and the serial number of the SR whole cabinet;
acquiring package information of the SR whole cabinet, a Name of a client to which the SR whole cabinet belongs, and PPN (Product Part Number) and PN (Product Name) information of a node to be tested according to the order information;
determining the Location of the node to be tested according to the position number of the SR whole cabinet and the mapping relation between the node order and the whole cabinet order;
and importing the RMC information of the node to be tested in the SR whole cabinet into the RMC by using an expect tool.
Optionally, the configuring, according to the chassis extra field of the node, a fixed IP for the node by using the enclosure location number and the node location number includes:
acquiring a chassis extra field of a node from FRU information of the node;
analyzing the chassis extra field of the node to obtain the position number of the node in the SR whole cabinet;
determining IP addresses of all network ports in the SR whole cabinet according to the name of a client to which the SR whole cabinet belongs, the number of the network ports of the SR whole cabinet and the position number of the node in the SR whole cabinet, and generating a corresponding configuration file;
and redirecting the configuration file to a Linux system network configuration file directory.
Optionally, the step of obtaining the chassis extra field of the node from FRU information of the node specifically includes:
and acquiring the chassis extra field of the node from FRU information of the node by using an ipmitool tool.
An SR-oriented complete equipment cabinet automation node IP configuration system, comprising:
the uploading module is used for uploading configuration information related to the node to be tested to a database under the Linux system, and the configuration information comprises: the method comprises the steps that order information of nodes to be configured, the number of the nodes in the order information and the mapping relation between a node order and an order of the whole cabinet are obtained;
an RMC information configuration module, configured to configure, according to the database, RMC information of a node to be tested, where the RMC information includes: location, PPN and PN of the node to be detected;
the write-back module is used for writing back the Location of the node to be detected in the RMC information to a sessions extra field of the node, wherein the sessions extra field is used for communicating position information between the node and an SR complete machine cabinet;
and the IP configuration module is used for configuring a fixed IP for the node by utilizing the cabinet position number and the node position number according to the chasses extra field of the node.
Optionally, the RMC information configuring module includes:
the order information acquisition unit is used for acquiring order information related to the node to be tested according to the serial numbers of the database and the SR whole cabinet;
the PPN and PN information acquisition unit is used for acquiring package information of the SR whole cabinet, the name of a customer to which the SR whole cabinet belongs and PPN and PN information of a node to be detected according to the order information;
the Location information determining unit is used for determining the Location of the node to be detected according to the position number of the SR whole cabinet and the mapping relation between the node order and the whole cabinet order;
and the importing unit is used for importing the RMC information of the node to be tested in the SR whole cabinet into the RMC by using an expect tool.
Optionally, the IP configuration module includes:
a field obtaining unit, configured to obtain a chassis extra field of a node from FRU information of the node;
the analysis unit is used for analyzing the chassis extra field of the node and acquiring the position number of the node in the SR whole cabinet;
the configuration file generation unit is used for determining IP addresses of all network ports in the SR whole cabinet and generating a corresponding configuration file according to the name of a client to which the SR whole cabinet belongs, the number of the network ports of the SR whole cabinet and the position number of the node in the SR whole cabinet;
and the redirection unit is used for redirecting the configuration file to a Linux system network configuration file directory.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the method comprises the steps of uploading configuration information related to a node to be detected to a database through a production system under a Linux system, configuring RMC information of the node to be detected according to the information in the database, and configuring a fixed IP address according to the position relation between the node and a complete cabinet, so that the node IP is automatically configured on the complete cabinet. The method is based on a Linux system, a database and a shell script, is oriented to different network configurations of the whole cabinet, and can realize automatic configuration of the fixed IP in the node system, thereby being beneficial to testing the network broadband, and being particularly beneficial to testing the network broadband configuration with double network ports and multiple network ports. Meanwhile, the configured IP address is automatically configured through the cabinet position number and the node position number, and is a fixed IP, so that the node position is more favorably positioned, the synchronous test of the whole cabinet is facilitated, and the test efficiency is greatly improved.
The application also provides an SR whole cabinet-oriented automatic node IP configuration system which mainly comprises an uploading module, an RMC information configuration module, a write-back module and an IP configuration module. The uploading module uploads configuration information related to the node to be tested, such as order information, node quantity and a mapping relation between a node order and an order of the whole cabinet, to a database; the RMC information configuration module configures the RMC information of the node to be tested according to the configuration information in the database; then, the Location of the node in the RMC information is written back to the chassis extra field of the node through a write-back module, so that the position information intercommunication between the node and the whole cabinet is realized; and finally, configuring a fixed IP address for the node through an IP configuration module according to the chasses extra field of the node, the cabinet position number and the node position number. Because the fixed IP address is obtained, the fixed IP is used for testing the network, and the testing efficiency of the network and the synchronous testing efficiency of the whole cabinet are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for automatically configuring a node IP for an SR-oriented complete cabinet according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an SR-oriented system for automatically configuring a node IP in a complete equipment cabinet according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For a better understanding of the present application, embodiments of the present application are explained in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for automatically configuring an IP node for an SR entire rack according to an embodiment of the present disclosure. As shown in fig. 1, the method for automatically configuring the node IP for the SR complete equipment cabinet in this embodiment mainly includes the following steps:
s1: and uploading configuration information related to the node to be tested to a database under the Linux system.
The configuration information includes: the order information of the nodes to be configured, the number of the nodes in the order information and the mapping relation between the node order and the whole cabinet order.
In this embodiment, the Linux system, the database, and the RMC of the entire cabinet need to be configured first, and the RMC can obtain the node information. The configuration database is that: and uploading configuration information related to the node to be tested to a database through a production system. The configuration information to be uploaded includes: order information of the nodes to be configured, the number of the nodes in the order information, the mapping relation between the node order and the whole cabinet order and the like. The method for configuring the Linux system and uploading the configuration information adopts a general method in the prior art, and is not described herein again.
After uploading the relevant configuration information to the database through the production system, executing S2: configuring RMC information of a node to be tested according to a database, wherein the RMC information comprises: location, PPN and PN of the node to be tested.
Specifically, the configuration of the node RMC information is performed according to the configuration information in the database, which mainly includes the following processes:
s21: and obtaining order information related to the node to be tested according to the serial numbers of the database and the SR whole cabinet.
And acquiring order information related to the node to be tested according to the configuration information in the database and the serial number of the SR whole cabinet.
S22: and acquiring package information of the SR whole cabinet, the name of a customer to which the SR whole cabinet belongs and PPN and PN information of the node to be tested according to the order information.
S23: and determining the Location of the node to be detected according to the position number of the SR whole cabinet and the mapping relation between the node order and the whole cabinet order.
The PPN and the PN of the node to be tested are obtained through the step S22, the Location of the node to be tested is obtained through the step S23, then the RMC information of the node to be tested can be determined, and the step S24 is executed: and importing the RMC information of the node to be tested in the SR whole cabinet into the RMC by using an expect tool. Namely, RMC information Location, PPN and PN are introduced into RMC.
After the RMC information of the node to be tested is obtained, an expect tool is used for leading the RMC information into the RMC, and therefore RMC information configuration of the node to be tested is completed.
The embodiment can be realized by adopting a shell language under a Linux system. According to steps S22-S24, first, the cabinet location number tag is scanned, and the RMC information is passed to the tracking variable through parsing, where the tracking variable defined in this embodiment includes: the serial number of the cabinet and the position number of the node in the cabinet can be located to the position of the node through a random location variable. Then, the RMC function is used to configure the RMC of the corresponding client in a dynamic or static manner, for example: the RMC information of the client Baidu is configured by the Baidu _ RMC function. Finally, the specific configuration manner of the RMC information is as follows: and automatically configuring the Location, the PPN, the PN and the like of the RMC by using an expect tool according to the parameters transferred to configure-puley-dynamic by the RMC function.
After the RMC configuration is completed, step S3 is performed: and writing the Location of the node to be detected in the RMC information back to a chassis extra field of the node, wherein the chassis extra field is used for communicating position information between the node and the SR complete machine cabinet.
According to the RMC development specification of the SR full cabinet, the RMC writes Location back to the chassis extra field of the node.
S4: and configuring a fixed IP for the node by using the cabinet position number and the node position number according to the chasses extra field of the node.
Specifically, step S4 includes the following processes:
s41: and acquiring the chassis extra field of the node from the FRU information of the node.
Specifically, by using an ipmitool tool, the chasses extra field of the node is acquired from FRU information of the node.
S42: and analyzing the chasses extra field of the node to obtain the position number of the node in the SR whole cabinet.
S43: and determining IP addresses of all network ports in the SR whole cabinet according to the name of the client to which the SR whole cabinet belongs, the number of the network ports of the SR whole cabinet and the position number of the node in the SR whole cabinet, and generating a corresponding configuration file.
S44: and redirecting the configuration file to a Linux system network configuration file directory.
Taking a shell script of a Linux system as an example, the method in this embodiment may compile two scripts, one of which is an RMC information configuration script rmc.sh, and the other of which is a script getip.sh for performing IP configuration according to RMC information. The two scripts are added into a test program, automatic testing is achieved, and testing efficiency can be greatly improved.
As can be seen from the foregoing steps S41-S44, first, the ipmitool tool is used to obtain FRU sessions extract field information of the node to be detected, and the information is analyzed, so as to obtain the position number of the node to be detected in the SR entire cabinet, that is: the current node is the second node on the SR whole machine cabinet. Wherein, Location is the position number of the cabinet in the aging chamber. And then, parameters such as the name of the client to which the SR whole cabinet belongs, the number of network ports of the SR whole cabinet, the position number of the node in the SR whole cabinet and the like are transmitted to the GetIp. Taking the dual portal package information as an example, the IP of portal xgbe0 is configured to be 10.1. Finally, the two configuration files are redirected to the network configuration file directory of the Linux system, for example: and redirecting to/etc/sysconfig/network-scripts/directory. Restarting the network or the node to be tested, and configuring the IP address fixed by the network card for the interface.
Example two
Referring to fig. 2 based on the embodiment shown in fig. 1, fig. 2 is a schematic structural diagram of an SR-oriented system for automatically configuring an IP node of a complete rack. As can be seen from fig. 2, the system in this embodiment mainly includes: the device comprises an uploading module, an RMC information configuration module, a write-back module and an IP configuration module. The uploading module is used for uploading configuration information related to the node to be tested to a database under a Linux system, and the configuration information comprises: the order information of the nodes to be configured, the number of the nodes in the order information and the mapping relation between the node order and the whole cabinet order. The RMC information configuration module is used for configuring RMC information of the node to be tested according to the database, and the RMC information comprises: location, PPN and PN of the node to be tested. And the write-back module is used for writing back the Location of the node to be detected in the RMC information to a chassis extra field of the node, and the chassis extra field is used for communicating position information between the node and the SR whole cabinet. And the IP configuration module is used for configuring a fixed IP for the node by utilizing the cabinet position number and the node position number according to the chasses extra field of the node.
In the embodiment, configuration information related to nodes, such as order information, node number, and mapping relationship between a node order and a complete cabinet order, is uploaded to a database through an uploading module, so as to prepare an environment for subsequent RMC information configuration and IP configuration. Then, configuring the RMC information of the node to be tested by utilizing an RMC information configuration module according to the configuration information in the database; and then, the Location of the node in the RMC information is written back to the chasses extra field of the node through a write-back module, so that the position information intercommunication between the node and the whole cabinet is realized. And finally, configuring a fixed IP address for the node through an IP configuration module according to the chasses extra field of the node, the cabinet position number and the node position number. Because the system finally acquires the fixed IP address, the fixed IP is used for testing the network, and the network testing efficiency and the synchronous testing efficiency of the whole cabinet are improved.
Further, the RMC information configuration module further includes: the system comprises an order information acquisition unit, a PPN and PN information acquisition unit, a Location information determination unit and an import unit. The order information acquisition unit is used for acquiring order information related to the node to be tested according to the serial numbers of the database and the SR whole cabinet; the PPN and PN information acquisition unit is used for acquiring package information of the SR whole cabinet, the name of a client to which the SR whole cabinet belongs and PPN and PN information of a node to be detected according to the order information; the Location information determining unit is used for determining the Location of the node to be detected according to the position number of the SR whole cabinet and the mapping relation between the node order and the whole cabinet order; the importing unit is used for importing RMC information of the nodes to be tested in the SR whole cabinet into the RMC by using an expect tool.
The IP configuration module further comprises: the device comprises a field acquisition unit, an analysis unit, a configuration file generation unit and a redirection unit. The field acquisition unit is used for acquiring the chassis extra field of the node from FRU information of the node; the analysis unit is used for analyzing the chassis extra field of the node and acquiring the position number of the node in the SR whole cabinet; the configuration file generation unit is used for determining IP addresses of all network ports in the SR whole cabinet and generating a corresponding configuration file according to the name of a client to which the SR whole cabinet belongs, the number of the network ports of the SR whole cabinet and the position number of the node in the SR whole cabinet; the redirection unit is used for redirecting the configuration file to a Linux system network configuration file directory.
In this embodiment, the working principle and the working method of the SR entire cabinet automation configuration node IP oriented system have been described in detail in the first embodiment shown in fig. 1, and are not described herein again.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (3)
1. A method for SR-oriented complete equipment cabinet automatic node IP configuration is characterized by comprising the following steps:
under a Linux system, uploading configuration information related to a node to be tested to a database, wherein the configuration information comprises: the method comprises the steps that order information of nodes to be configured, the number of the nodes in the order information and the mapping relation between a node order and an order of the whole cabinet are obtained;
configuring RMC information of a node to be tested according to the database, wherein the RMC information comprises: the Location of the node to be tested, the product part number PPN and the product name PN;
the Location of the node to be detected in the RMC information is written back to a chassis extra field of the node, and the chassis extra field is used for communicating position information between the node and an SR whole cabinet;
configuring a fixed IP for the node by using a cabinet position number and a node position number according to the chasses extra field of the node;
the configuring, according to the database, the RMC information of the node to be tested includes:
acquiring order information related to the node to be tested according to the database and the serial number of the SR whole cabinet;
acquiring package information of the SR whole cabinet, a name of a customer to which the SR whole cabinet belongs, and PPN and PN information of a node to be detected according to the order information;
determining the Location of the node to be tested according to the position number of the SR whole cabinet and the mapping relation between the node order and the whole cabinet order;
introducing RMC information of the nodes to be detected in the SR whole cabinet into RMC by using an expect tool;
configuring a fixed IP for the node by using a cabinet position number and a node position number according to the chasses extra field of the node, wherein the method comprises the following steps:
acquiring a chassis extra field of a node from FRU information of the node;
analyzing the chassis extra field of the node to obtain the position number of the node in the SR whole cabinet;
determining IP addresses of all network ports in the SR whole cabinet according to the name of a client to which the SR whole cabinet belongs, the number of the network ports of the SR whole cabinet and the position number of the node in the SR whole cabinet, and generating a corresponding configuration file;
and redirecting the configuration file to a Linux system network configuration file directory.
2. The method for SR-oriented complete machine cabinet automatic node IP configuration according to claim 1, wherein the chassis extra field of the node is obtained from FRU information of the node, and specifically comprises:
and acquiring the chassis extra field of the node from FRU information of the node by using an ipmitool tool.
3. An SR-oriented complete equipment cabinet automation node IP configuration system is characterized by comprising:
the uploading module is used for uploading configuration information related to the node to be tested to a database under the Linux system, and the configuration information comprises: the method comprises the steps that order information of nodes to be configured, the number of the nodes in the order information and the mapping relation between a node order and an order of the whole cabinet are obtained;
an RMC information configuration module, configured to configure, according to the database, RMC information of a node to be tested, where the RMC information includes: location, PPN and PN of the node to be detected;
the write-back module is used for writing back the Location of the node to be detected in the RMC information to a sessions extra field of the node, wherein the sessions extra field is used for communicating position information between the node and an SR complete machine cabinet;
the IP configuration module is used for configuring a fixed IP for the node by utilizing the cabinet position number and the node position number according to the chasses extra field of the node;
wherein, the RMC information configuration module comprises:
the order information acquisition unit is used for acquiring order information related to the node to be tested according to the serial numbers of the database and the SR whole cabinet;
the PPN and PN information acquisition unit is used for acquiring package information of the SR whole cabinet, the name of a customer to which the SR whole cabinet belongs and PPN and PN information of a node to be detected according to the order information;
the Location information determining unit is used for determining the Location of the node to be detected according to the position number of the SR whole cabinet and the mapping relation between the node order and the whole cabinet order;
the importing unit is used for importing RMC information of the nodes to be tested in the SR whole cabinet into RMC by using an expect tool;
the IP configuration module comprises:
a field obtaining unit, configured to obtain a chassis extra field of a node from FRU information of the node;
the analysis unit is used for analyzing the chassis extra field of the node and acquiring the position number of the node in the SR whole cabinet;
the configuration file generation unit is used for determining IP addresses of all network ports in the SR whole cabinet and generating a corresponding configuration file according to the name of a client to which the SR whole cabinet belongs, the number of the network ports of the SR whole cabinet and the position number of the node in the SR whole cabinet;
and the redirection unit is used for redirecting the configuration file to a Linux system network configuration file directory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811342843.4A CN109587282B (en) | 2018-11-12 | 2018-11-12 | Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811342843.4A CN109587282B (en) | 2018-11-12 | 2018-11-12 | Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587282A CN109587282A (en) | 2019-04-05 |
CN109587282B true CN109587282B (en) | 2022-02-18 |
Family
ID=65922017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811342843.4A Active CN109587282B (en) | 2018-11-12 | 2018-11-12 | Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587282B (en) |
Families Citing this family (1)
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 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333617A (en) * | 2014-11-18 | 2015-02-04 | 浪潮电子信息产业股份有限公司 | Method for automatically setting static state IP for rack cabinet in Linux system |
CN104572379A (en) * | 2015-01-29 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | RACK cabinet RMC login testing method |
CN105024849A (en) * | 2015-06-02 | 2015-11-04 | 浪潮电子信息产业股份有限公司 | Method for a high-density equipment cabinet server to perform bulk operation on each node BMC |
CN105302680A (en) * | 2015-11-04 | 2016-02-03 | 浪潮电子信息产业股份有限公司 | Automated testing method of RACK AC (Alternating Current) stability |
CN105373398A (en) * | 2015-10-10 | 2016-03-02 | 浪潮电子信息产业股份有限公司 | Method for setting server BMC IP of whole cabinet in bulk on basis of Xshell script |
CN105426184A (en) * | 2015-11-12 | 2016-03-23 | 浪潮电子信息产业股份有限公司 | Method for setting static IP (Internet Protocol) of Linux system of whole cabinet in batches |
CN108616428A (en) * | 2018-05-14 | 2018-10-02 | 郑州云海信息技术有限公司 | A kind of mobile APP implementations of remote management RACK computer rooms |
CN108763019A (en) * | 2018-05-22 | 2018-11-06 | 郑州云海信息技术有限公司 | A method of it is tested simultaneously towards SR whole machine cabinets and captures all node power consumptions |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070250518A1 (en) * | 2006-04-19 | 2007-10-25 | Chu Simon C | Method and system for correlating location information of a server |
-
2018
- 2018-11-12 CN CN201811342843.4A patent/CN109587282B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333617A (en) * | 2014-11-18 | 2015-02-04 | 浪潮电子信息产业股份有限公司 | Method for automatically setting static state IP for rack cabinet in Linux system |
CN104572379A (en) * | 2015-01-29 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | RACK cabinet RMC login testing method |
CN105024849A (en) * | 2015-06-02 | 2015-11-04 | 浪潮电子信息产业股份有限公司 | Method for a high-density equipment cabinet server to perform bulk operation on each node BMC |
CN105373398A (en) * | 2015-10-10 | 2016-03-02 | 浪潮电子信息产业股份有限公司 | Method for setting server BMC IP of whole cabinet in bulk on basis of Xshell script |
CN105302680A (en) * | 2015-11-04 | 2016-02-03 | 浪潮电子信息产业股份有限公司 | Automated testing method of RACK AC (Alternating Current) stability |
CN105426184A (en) * | 2015-11-12 | 2016-03-23 | 浪潮电子信息产业股份有限公司 | Method for setting static IP (Internet Protocol) of Linux system of whole cabinet in batches |
CN108616428A (en) * | 2018-05-14 | 2018-10-02 | 郑州云海信息技术有限公司 | A kind of mobile APP implementations of remote management RACK computer rooms |
CN108763019A (en) * | 2018-05-22 | 2018-11-06 | 郑州云海信息技术有限公司 | A method of it is tested simultaneously towards SR whole machine cabinets and captures all node power consumptions |
Also Published As
Publication number | Publication date |
---|---|
CN109587282A (en) | 2019-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10761873B2 (en) | Evaluating distributed application performance in a new environment | |
CN111522922B (en) | Log information query method and device, storage medium and computer equipment | |
US20210117210A1 (en) | Methods and Systems for Integrated Development Environment Editor Support with a Single Code Base | |
US8792385B2 (en) | Method and device for auto-generating goose signal connection topology from substation level | |
CN105391811B (en) | domain name resolution method, access method of application server and terminal thereof | |
CN108427631A (en) | A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing | |
CN110532169A (en) | Interface testing case generation method, device, computer equipment and storage medium | |
US8726298B1 (en) | Cloud-based instrument driver system | |
CN111258722B (en) | Cluster log acquisition method, system, equipment and medium | |
US8849947B1 (en) | IT discovery of virtualized environments by scanning VM files and images | |
CN105204991A (en) | Internet of things test method and device | |
CN111404628B (en) | Time synchronization method and device | |
CN107070752B (en) | Testing method and testing system for long connection capacity | |
CN105487859A (en) | Template based WEB deployment method for big data components | |
CN103746879A (en) | Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol | |
US9866466B2 (en) | Simulating real user issues in support environments | |
CN109802842B (en) | Application topology generation method and related equipment | |
CN104899134A (en) | Automatic domain name registration server testing system and method | |
CN109587282B (en) | Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet | |
CN106875765B (en) | Electronic classroom implementation method and device based on VDI | |
CN105068926A (en) | Program test method and device thereof | |
CN109408376A (en) | A kind of generation method of configuration data, device, equipment and storage medium | |
CN113448988A (en) | Method and device for training algorithm model, electronic equipment and storage medium | |
CN115190103A (en) | Service grid-based service domain name resolution method, device and equipment | |
CN109286692A (en) | A kind of method of configuration server IPMI static ip address |
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 |