A method and system for detecting the matching between multi-level cascading box host name and SN
A host name, host name technology, applied in the field of detection of multi-level cascaded BOX host name and SN matching, can solve the problems of increasing the workload of test engineers and wasting time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Such as figure 1 As shown, a method for detecting that the host name of a multi-level cascaded BOX matches the SN includes the following steps:
[0055] S1: Obtain the serial numbers and host names of all cascaded BOXes in the current system; the host obtains the serial numbers and host names of all cascaded BOXes in the current system through the restful interface. Before the host obtains information, it first needs to create a list of data items; The serial number and host name of the obtained BOX are correspondingly written into the data item list;
[0056] In the actual application process, it is also necessary to detect whether there are abnormal items in the information written into the data item list, which can be detected by the method described below;
[0057] Concretely, detect whether the quantity of the serial number of the BOX that obtains matches with the quantity of the host name of the BOX that obtains; If do not match, then determine that there is abno...
Embodiment 2
[0063] A method for detecting that the host name of a multi-level cascaded BOX matches the SN, comprising the steps of:
[0064] S1: Obtain the serial numbers and host names of all cascaded BOXes in the current system; the host obtains the serial numbers and host names of all cascaded BOXes in the current system through the restful interface. Before the host obtains information, it first needs to create a list of data items; The serial number and host name of the obtained BOX are correspondingly written into the data item list;
[0065]S2: Compare the serial number of each BOX with the host name; what needs to be explained here is that the multi-level cascaded BOX has been associated with its own serial number when naming, so the host name of each BOX is Analysis; the correct analysis result is in one-to-one correspondence with the serial number, and the analysis result is compared with the serial number of the BOX.
[0066] S3: If inconsistent, list the host name of the BOX,...
Embodiment 3
[0071] The technical solution of the present invention also provides a system for detecting the matching between the host name of the multi-level cascaded BOX and the SN, including the multi-machine cascaded BOX, the host and the client;
[0072] The hosts are connected to the multi-machine cascaded BOX respectively; the hosts are respectively connected to the multi-machine cascaded BOX through the restful interface;
[0073] The host includes an acquisition module, a comparison module and a log output module;
[0074] The obtaining module is used to obtain the serial numbers and host names of all cascaded BOXs in the current system;
[0075] A comparison module is used to compare the serial number of each BOX with the host name;
[0076] The log output module is used to list the host name of the BOX, and send abnormal log information to the host BMC;
[0077] The client communicates with the host; it is used to log in to the host BMC to view log information.
[0078] The h...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

