CN110399266A - The new user of BMC system creates function test method, device and associated component - Google Patents

The new user of BMC system creates function test method, device and associated component Download PDF

Info

Publication number
CN110399266A
CN110399266A CN201910630543.4A CN201910630543A CN110399266A CN 110399266 A CN110399266 A CN 110399266A CN 201910630543 A CN201910630543 A CN 201910630543A CN 110399266 A CN110399266 A CN 110399266A
Authority
CN
China
Prior art keywords
user
creation
information
creates
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910630543.4A
Other languages
Chinese (zh)
Other versions
CN110399266B (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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910630543.4A priority Critical patent/CN110399266B/en
Publication of CN110399266A publication Critical patent/CN110399266A/en
Application granted granted Critical
Publication of CN110399266B publication Critical patent/CN110399266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of BMC system, new user creates function test method, by obtaining user information to be created, it executes corresponding user and automatically creates instruction, creation feedback information is obtained after the completion of creation instruction, the judgement of creation function is carried out according to creation feedback information, creation test result includes creating successfully and creating failure, it can determine whether the user currently created succeeds according to the creation test result, to realize that automatic Verification creates username information function, this method saves a large amount of manpower, time, various resources such as cost, decrease unnecessary man-machine interactively process, to greatly improve testing efficiency, and guarantee the correctness of test operation, it has good value for applications.The present invention also provides a kind of BMC system, new user creates device for testing functions, equipment and a kind of readable storage medium storing program for executing, has above-mentioned beneficial effect.

Description

The new user of BMC system creates function test method, device and associated component
Technical field
The present invention relates to electronic technology field, in particular to a kind of new user of BMC system creates function test method, dress It sets, equipment and a kind of readable storage medium storing program for executing.
Background technique
BMC (Baseboard Manager Controller, baseboard management controller) system in server is one Independent system, it is independent of other hardware (such as CPU, memory etc.) in system, also not dependent on BIOS, OS etc..With Family can access BMC system by effective username and password come the temperature of monitoring system, voltage, fan, power supply etc., and Corresponding adjusting work is done, to guarantee that system is in the state of health.It the use of invalid or expired user is that can not access BMC system, this is also the security requirement of existing server B MC management platform.
The new user of BMC system, which creates function, will will have a direct impact on the access and server globality of subsequent BMC system Energy monitoring, however currently, the case where new user of BMC is in the presence of creation failure, may be not create new user, it is also possible to use to create Family information is wrong etc., in this case by directly affect server authentication correctness reliability and system it is safe and reliable Property.
Therefore, how effective new user creates functional test, improves the correctness reliability of test authentication server, is Those skilled in the art's technical issues that need to address.
Summary of the invention
The object of the present invention is to provide a kind of BMC system, new user creates function test method, and the method achieve effective The test of USER correlation module, while saving the human input of tester, also improve the correctness of test authentication server And reliability;Creating device for testing functions, equipment and one kind it is a further object of the present invention to provide a kind of new user of BMC system can Read storage medium.
In order to solve the above technical problems, the present invention provides a kind of new user's creation function test method of BMC system, comprising:
Obtain user information to be created;
Invoking server line module executes user and creates instruction;Wherein, the user creates instruction as according to the use What family information generated automatically creates instruction;
The judgement of creation function is carried out according to creation feedback information, generates creation test result.
It is optionally, described that the judgement of creation function is carried out according to creation feedback information, comprising:
Judge that new user whether is received in preset time creates successful feedback information;
If so, whether there is the user information in inquiry user list;
When it is present, determine that user creates successfully.
Optionally, the new user of the BMC system creates function test method further include:
Successful feedback information is created when not receiving new user in the preset time, and/or, when the user list In be not present the user information when, determine user create failure, and export user create failure prompt information.
Optionally, the invoking server line module executes user and creates instruction, comprising:
Log on to destination server;
It controls the destination server and enters smash command mode, to start user setting function;
The user information is filled into the instruction of user's drawing template establishment, user is generated and creates instruction;
It executes the user and creates instruction.
Optionally, before acquisition user information to be created, further includes:
Starting creation implementation procedure information is collected, and is stored obtained information is collected into journal file;
Then correspondingly, it whether there is the user information in the inquiry user list, comprising:
The creation user information in the journal file is obtained, the first user information is obtained;
Information comparison is carried out to first user information and the user information.
Optionally, the new user of the BMC system creates function test method further include:
When the creation test result shows that active user creates failure, the execution stored in the journal file is extracted Procedural information;
Creation fault diagnosis is carried out according to the implementation procedure information.
It is optionally, described to obtain user information to be created, comprising:
Timing acquisition user information to be created;
It is then correspondingly, described that the judgement of creation function is carried out according to creation feedback information, comprising:
The creation test result in preset time is counted, test result statistical information is generated;
Creation success rate is determined according to the test result statistical information;
Judge whether the creation success rate reaches first threshold;
If reaching, determine that creation function is normal;
If not up to, determining creation dysfunction, and output phase answers prompt information.
To achieve the above object, invention additionally discloses a kind of new users of BMC system to create device for testing functions, comprising:
Information acquisition unit, for obtaining user information to be created;
Call unit is instructed, user is executed for invoking server line module and creates instruction;Wherein, user's creation Instruction is to automatically create instruction according to what the user information generated;
As a result generation unit generates creation test result for carrying out the judgement of creation function according to creation feedback information.
To achieve the above object, invention additionally discloses a kind of new users of BMC system to create functional test equipment, comprising:
Memory, for storing program;
Processor realizes the step of new user of the BMC system creates function test method when for executing described program.
To achieve the above object, invention additionally discloses a kind of readable storage medium storing program for executing, which is characterized in that the readable storage medium It is stored with program in matter, realizes that the new user of the BMC system creates function test method when described program is executed by processor Step.
The new user of BMC system provided by the invention creates function test method, by obtaining user information to be created, holds The corresponding user of row automatically creates instruction, and creation feedback information is obtained after the completion of creation instruction, is carried out according to creation feedback information Function judgement is created, creation test result includes creating successfully and creating failure, be can determine whether according to the creation test result Whether the user currently created succeeds, to realize that automatic Verification creates username information function, this method is saved a large amount of Various resources such as manpower, time, cost decrease unnecessary man-machine interactively process, to greatly improve test effect Rate, and guarantee the correctness of test operation, it has good value for applications.
The present invention also provides a kind of BMC system, new user creates device for testing functions, equipment and a kind of readable storage medium Matter has above-mentioned beneficial effect, and 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 The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart that the new user of BMC system provided in an embodiment of the present invention creates function test method;
Fig. 2 is the structural block diagram that the new user of BMC system provided in an embodiment of the present invention creates device for testing functions;
Fig. 3 is the structural schematic diagram that the new user of BMC system provided in an embodiment of the present invention creates functional test equipment.
Specific embodiment
Core of the invention is to provide a kind of new user's creation function test method of BMC system, and the method achieve effective The test of USER correlation module, while saving the human input of tester, also improve the correctness of test authentication server And reliability;Another core of the invention be to provide a kind of new user of BMC system create device for testing functions, equipment and one kind can Read storage medium.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is the flow chart that the new user of BMC system provided in this embodiment creates function test method;It should Method mainly may include:
Step s110, user information to be created is obtained.
The purpose of the step is to carry out the creation of relative users according to the information, wherein user information specifically can wrap Common information-setting by user, such as user name, user password, rights parameters etc. are included, also may include being set according to user demand The type of the user information of the acquisitions such as fixed customized information-setting by user, such as associate device verification information can be according to BMC The module verification demand of the achievable function type of user's creation module and related technical personnel are set, in the present embodiment It does not limit this.
Obtaining for user information can be by extracting the user information in designated user's information document directly as to be created User information, wherein user information can be by related technical personnel's filled by hand in user information document;Use can also be set Family Automatic generation of information rule, realizes automatically generating for user information.For example, initial user information can be set are as follows: user Name a, password b, then user name and user password increase on the basis of upper primary user information when starting user creates every time C, then user information when creating for the second time are as follows: user name ac, password bc.The user information to be created to acquisition in the present embodiment Specific method without limitation, be only introduced by taking above-mentioned user information acquisition process as an example, the acquisition of information may be implemented i.e. It can.
Step s120, invoking server line module (USER) executes user and creates instruction.
User creates instruction to automatically create instruction according to what user information generated, is specified according to the user information corresponding The mode that user creates instruction is referred to implementation in the related technology.It is most that process is created in view of current BMC user It is created for manually backstage, in order to realize the automation of allomeric function test process, promotes user and create efficiency, reduce manpower Resource input, it is preferable that be referred to following steps and realize that user automatically creates:
1, destination server is logged on to;
The BMC system server of destination server, that is, to be tested logs on to the implementation of destination server without limitation, Can be logged in by ssh etc..
2, control destination server enters smash command mode, to start user setting function;
It include multiple functions mode on destination server, for example user setting mode (smash command mode), diagnosis are adjusted Die trial formula etc. needs to switch to user setting mode, i.e. smash command mode, the switching side of mode to realize user's creation Formula is specifically referred to implementation in the related technology.
3, user information is filled into the instruction of user's drawing template establishment, generates user and creates instruction;
User's drawing template establishment is pre-created, then can be filled directly into mould after getting current user information to be created User is generated in plate and creates instruction, it is of course also possible to use the mode of other manual or non-template settings carries out creation instruction It generates, details are not described herein.
4, it executes user and creates instruction.
According to aforesaid way carry out user create implementation it is simple, and user creation it is high-efficient, in the present embodiment only with It is introduced for the above process, other users, which create process, can refer to the introduction of the present embodiment, and details are not described herein.
Step s130, the judgement of creation function is carried out according to creation feedback information, generates creation test result.
Creation feedback information refers to that invoking server line module executes user and creates server USER module active after instruction Or the non-active user received creates feedback information, actively refers to the creation result information of USER module automatic feedback, such as newly User create successfully or new user creation unsuccessfully etc., non-active fingers test lead is actively to the user of USER module request creation correlation Information (such as creation log information, user list of creation generation etc.).
The generation that can carry out creation test result according to active feedback information and/or non-active feedback information simultaneously, than It can such as determine that user's creation functional test is effective, is receiving user's wound after receiving user and creating successful feedback information Build after the feedback information of failure that determine that user creates functional test invalid etc.;It can also be obtained further outside active feedback information Family list information is taken, to realize whether the user information for further judging to generate is wrong, such as user name, user password, use Whether family permission is correct etc..
Wherein it is preferred to can be referring in particular to following step according to the process that creation feedback information carries out the judgement of creation function It is rapid to realize:
Judge that new user whether is received in preset time creates successful feedback information;
If so, whether there is user information in inquiry user list;
When it is present, determine that user creates successfully.
For user list acquisition modes without limitation, the text of originally determined user information to be created can be will acquire The information of shelves is compared with the user information currently created, can also carry out information with the user list of creation of enquiry module Than equity.In addition, creating the decision procedure of failure without limitation for user in the above process, it is preferable that can be according to following Step is realized:
Successful feedback information is created when not receiving new user in preset time, and/or, when being not present in user list When user information, determine that user creates failure, and exports user and create failure prompt information.
Due to the case where causing active feedback information to send failure there are certain exceptions, survey may result in the case of this kind Situations such as test result is abnormal, therefore this method may include a variety of different abnormal caused use by carrying out the judgement of preset time Family creation failure situation, guarantees the comprehensive of test result.
Based on above-mentioned introduction, the new user of BMC system provided in this embodiment creates function test method by obtaining wait create The user information built executes corresponding user automatically and creates instruction, creation feedback information obtained after the completion of creation instruction, according to wound It builds feedback information and carries out the judgement of creation function, creation test result includes creating successfully and creating failure, is surveyed according to the creation Test result can determine whether the user currently created succeeds, thus realize that automatic Verification creates username information function, it should Method saves various resources such as a large amount of manpower, time, cost, decreases unnecessary man-machine interactively process, thus Testing efficiency is greatly improved, and guarantees the correctness of test operation, is had good value for applications.
Embodiment two:
In above-described embodiment to inquiry user list in the presence or absence of user information process without limitation, in the present embodiment It is introduced by taking two kinds of possible implementations as an example.
1, IPMI can be used with outer order to inquire user list, smashclp creation user name is verified by comparing And cryptographic function then specifically, is inquired in user list and is believed with the presence or absence of user to realize the comprehensive verification of user's creation function The process of breath can specifically include following steps:
It is inquired in user list with outer order with the presence or absence of user information by issuing IPMI;
When it is present, determine that user creates successfully.
Which is arranged user name, password by transmitting order to lower levels and opens administrator right, then by IPMI with outer life It enables and obtains user list, whether the user created by two ways inspection succeeds, and implementation is simple, realizes automatic chemical examination Card creation user name encrypted message function.
2, furthermore it is also possible to by monitoring log carry out user information comparison, then the specific implementation process is as follows:
Before obtaining user information to be created, further starting creation implementation procedure information is collected, and will be collected To information store into journal file;
Then correspondingly, the process that whether there is user information in user list is inquired specifically:
The creation user information in journal file is obtained, the first user information is obtained;
Information comparison is carried out to the first user information and user information.
This kind of information comparison mode can be transferred to avoid the long-range of background, while more in the number of users created When, can also further avoid information sifting process bring resource increase, the journal file in addition obtained can also carry out into The creation process analysis procedure analysis of one step, the effective smooth execution for ensureing troubleshooting process.
Further, the fault diagnosis after user creates failure can also be carried out, according to the log information so as to subsequent event Barrier processing, then correspondingly, further include steps of in above-mentioned steps
When creating test result display active user's creation failure, the implementation procedure letter stored in journal file is extracted Breath;
Creation fault diagnosis is carried out according to implementation procedure information.
Fast Read fault investigation may be implemented through the above steps, guarantee that system BMC user creates the stability of function.
It is only introduced by taking implementation in above-mentioned two as an example in the present embodiment, other implementations can refer to this implementation The introduction of example, details are not described herein.
Embodiment three:
It is introduced so that single user creates test process as an example in above-described embodiment, since single test process is sporadic It is higher, it is easy to appear the inaccurate situation of result, to promote measuring accuracy, guarantees the safe and stable operation of system, it is preferable that obtain The process of user information to be created is taken to be specifically as follows: timing acquisition user information to be created.Timing acquisition is to be created The later step of subsequent s110 is then continued to execute after user information, i.e. the new user of clocked flip creates functional test, to realize wound Make contributions can retest, to carry out effective analysis that the new user of BMC creates function from the result that test is repeated several times, when So, with not timing automatic trigger, the non-automatic triggering of timing, the non-automatic triggering of not timing or only single test etc. can also be carried out, It is not limited here, it can be configured according to actual test demand.
Then correspondingly, the judgement of creation function is carried out according to creation feedback information, comprising:
The creation test result in preset time is counted, test result statistical information is generated;
Creation success rate is determined according to test result statistical information;
Judge to create whether success rate reaches first threshold;
If reaching, determine that creation function is normal;
If not up to, determining creation dysfunction, and output phase answers prompt information.
The statistics for carrying out test result as procedure described above, from multiple test result analysis, new user creates the normal of function Whether, reduce test result it is sporadic to system stability bring threaten, the Accurate Analysis of performance is realized, for subsequent System setting also have preferably referring to value.
It is only introduced by taking above-mentioned realization process as an example in the present embodiment, other realization processes, such as non-timed triggering etc. It can refer to above-mentioned introduction, details are not described herein.
Example IV:
To deepen the understanding to the function test method introduced in above-described embodiment, the present embodiment introduces a kind of specific step Rapid realization and a kind of corresponding feasible script, can refer to the realization that the present embodiment carries out corresponding function test.It needs to illustrate It is to be repeated no more based on other test modes of the invention, can refer to the introduction of the present embodiment.
Test process in the present embodiment mainly comprises the steps that
(1), logged on on tested server using expect script ssh;
(2), into smash command mode;
send"/usr/local/bin/smashclp"
(3), the entitled Inspur of creative management person's permission user is sent using expect in smashclp module, password is Inspur123 order;
Send " user--id 5--name Inspur--passwd Inspur123--priv 4 n " # passes through echo letter Breath checks whether to be arranged successfully.If return information are as follows: The user set successfully, then it is assumed that be arranged successfully
(4), the information of collection is stored in file output.log, this document can be used for subsequent log analysis and compare.
log_file output.log
(5), it issues IPMI and inquires user list with outer order, inquiry is 5 with the presence or absence of id, the pipe of the entitled Inspur of user Reason person user:
Ipmitool-I lanplus-H<ip>- U<username>- P<userpassword>user list order executes Return value are as follows:
(6), inquiry IPMI gets the user whether created comprising step 3 in user list information with outer order Whether Inspur, user right are ADMINISTRATOR.If consistent, smashclp creates user name encrypted message function It is verified, does not pass through conversely, then testing verifying.
The test method of the present embodiment introduction realizes the creation user name password of the server smashclp based on expect The automatic test of information is verified, and is realized the automatic interaction with server by expect script, is issued by expect script Smashclp (being the Xiang Xieyi pushed by DMTF and SMWG, provide the standard of system administration CLI implementation) order setting is used Name in an account book, password and unlatching administrator right, then obtain user list with outer order by IPMI, logical by two ways inspection Whether the user for crossing smashclp creation succeeds, to realize effective automation smashclp creation user name encrypted message Functional verification.
Embodiment five:
Referring to FIG. 2, Fig. 2 is the structure that the new user of BMC system provided in an embodiment of the present invention creates device for testing functions Block diagram;It may include: information acquisition unit 210, creation designating unit 220 and result generation unit 230.The present embodiment provides The new user of BMC system create device for testing functions can be with the new user's creation function survey of BMC system introduced in above-described embodiment Method for testing mutually compares.
Wherein, information acquisition unit 210 is mainly used for obtaining user information to be created;
Creation designating unit 220 is mainly used for invoking server line module and executes user's creation instruction;Wherein, Yong Huchuan Building includes user information in instruction;
As a result generation unit 230 is mainly used for carrying out the judgement of creation function according to creation feedback information, generates creation test As a result.
Optionally, as a result generation unit can specifically include:
Judgment sub-unit, for judging that whether receiving new user in preset time creates successful feedback information;If so, Triggering inquiry subelement;
Subelement is inquired, for inquiring in user list with the presence or absence of user information;Triggering first determines son when it is present Unit;
First determines subelement, for determining that user creates successfully.
Optionally, judgment sub-unit may further be used for: when not receiving in preset time, new user's creation is successful When feedback information, triggering second determines subelement,
Inquiry subelement may further be used for: when user information is not present in user list, triggering second determines son Unit;
Correspondingly, the second judgement of triggering subelement is specifically used for: determining that user creates failure, and exports user and create failure Prompt information.
Optionally, instruction call unit can specifically include:
Subelement is logged in, for logging on to destination server;
Pattern switching subelement enters smash command mode for controlling destination server, to start user setting Function;
Instruction generates subelement, for filling user information into the instruction of user's drawing template establishment, generating user's creation and referring to It enables;
Instruction execution subelement creates instruction for executing user.
Optionally, the new user of BMC system provided in this embodiment creates may further include in device for testing functions: day Will collector unit is collected for starting creation implementation procedure information, and is stored obtained information is collected into journal file;
Then correspondingly, inquiry subelement is specifically as follows the first inquiry subelement, and the first inquiry subelement specifically includes:
User information obtains subelement and obtains the first user information for obtaining the creation user information in journal file;
Information comparison subelement, for carrying out information comparison to the first user information and user information.
Optionally, it may further include in the first inquiry subelement: diagnosis subelement, for aobvious when creating test result When showing that active user creates failure, the implementation procedure information stored in journal file is extracted;It is created according to implementation procedure information Build fault diagnosis.
Optionally, information acquisition unit is specifically as follows the first acquisition subelement, is used for: timing acquisition user to be created Information;
Then correspondingly, the result generation unit being indirectly connected with first acquisition unit can specifically include:
Subelement is counted, for counting the creation test result in preset time, generates test result statistical information;
Computation subunit, for determining creation success rate according to test result statistical information;
Threshold decision subelement creates whether success rate reaches first threshold for judging;If reaching, creation function is determined Normally;If not up to, determining creation dysfunction, and output phase answers prompt information.
The new user of BMC system provided in this embodiment creates device for testing functions and effective USER correlation module may be implemented Test, while the human input of tester is few, it is also ensured that test the high correctness and high reliability of authentication server.
Embodiment six:
The present embodiment provides a kind of BMC system, new user creates functional test equipment, comprising: memory and processor.
Wherein, memory is for storing program;
The step of creating function test method such as the new user of above-mentioned BMC system, tool are realized when processor is for executing program Body can refer to the introduction for creating function test method in above-described embodiment about the new user of BMC system, and details are not described herein.
Referring to FIG. 3, the structural schematic diagram of functional test equipment is created for the new user of BMC system provided in this embodiment, The test equipment can generate bigger difference because configuration or performance are different, may include one or more processors (central processing units, CPU) 322 (for example, one or more processors) and memory 332, one Or (such as one or more mass memories are set the storage medium 330 of more than one storage application program 342 or data 344 It is standby).Wherein, memory 332 and storage medium 330 can be of short duration storage or persistent storage.It is stored in the journey of storage medium 330 Sequence may include one or more modules (diagram does not mark), and each module may include to one in data processing equipment Series of instructions operation.Further, central processing unit 322 can be set to communicate with storage medium 330, in test equipment The series of instructions operation in storage medium 330 is executed on 301.
Test equipment 301 can also include one or more power supplys 326, one or more wired or wireless nets Network interface 350, one or more input/output interfaces 358, and/or, one or more operating systems 341, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
The step that the new user of BMC system described in above figure 1 creates in function test method can be mentioned by the present embodiment The structure that the new user of the BMC system of confession creates functional test equipment is realized.
Embodiment seven:
The present embodiment discloses a kind of readable storage medium storing program for executing, is stored thereon with program, realizes such as when program is executed by processor The step of infant's assisted care method, specifically can refer to the introduction that the new user of above-mentioned BMC system creates function test method.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk The readable storage medium storing program for executing of code.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration .
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.
Function test method, device, equipment and readable storage are created to the new user of BMC system provided by the present invention above Medium is described in detail.It is used herein that a specific example illustrates the principle and implementation of the invention, with The explanation of upper embodiment is merely used to help understand method and its core concept of the invention.It should be pointed out that being led for this technology For the those of ordinary skill in domain, without departing from the principle of the present invention, can also to the present invention carry out it is several improvement and Modification, these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims (10)

1. a kind of new user of BMC system creates function test method characterized by comprising
Obtain user information to be created;
Invoking server line module executes user and creates instruction;Wherein, the user creates instruction to believe according to the user What breath generated automatically creates instruction;
The judgement of creation function is carried out according to creation feedback information, generates creation test result.
2. the new user of BMC system as described in claim 1 creates function test method, which is characterized in that described according to creation Feedback information carries out the judgement of creation function, comprising:
Judge that new user whether is received in preset time creates successful feedback information;
If so, whether there is the user information in inquiry user list;
When it is present, determine that user creates successfully.
3. the new user of BMC system as claimed in claim 2 creates function test method, which is characterized in that further include:
Create successful feedback information when not receiving new user in the preset time, and/or, when in the user list not There are when the user information, judgement user creates failure, and exports user and create failure prompt information.
4. the new user of BMC system as described in claim 1 creates function test method, which is characterized in that the calling service Device line module executes user and creates instruction, comprising:
Log on to destination server;
It controls the destination server and enters smash command mode, to start user setting function;
The user information is filled into the instruction of user's drawing template establishment, user is generated and creates instruction;
It executes the user and creates instruction.
5. the new user of BMC system as claimed in claim 2 creates function test method, which is characterized in that it is described obtain to Before the user information of creation, further includes:
Starting creation implementation procedure information is collected, and is stored obtained information is collected into journal file;
Then correspondingly, it whether there is the user information in the inquiry user list, comprising:
The creation user information in the journal file is obtained, the first user information is obtained;
Information comparison is carried out to first user information and the user information.
6. the new user of BMC system as claimed in claim 5 creates function test method, which is characterized in that further include:
When the creation test result shows that active user creates failure, the implementation procedure stored in the journal file is extracted Information;
Creation fault diagnosis is carried out according to the implementation procedure information.
7. the new user of BMC system as described in claim 1 creates function test method, which is characterized in that described to obtain wait create The user information built, comprising:
Timing acquisition user information to be created;
It is then correspondingly, described that the judgement of creation function is carried out according to creation feedback information, comprising:
The creation test result in preset time is counted, test result statistical information is generated;
Creation success rate is determined according to the test result statistical information;
Judge whether the creation success rate reaches first threshold;
If reaching, determine that creation function is normal;
If not up to, determining creation dysfunction, and output phase answers prompt information.
8. a kind of new user of BMC system creates device for testing functions characterized by comprising
Information acquisition unit, for obtaining user information to be created;
Call unit is instructed, user is executed for invoking server line module and creates instruction;Wherein, the user creates instruction It is to automatically create instruction according to what the user information generated;
As a result generation unit generates creation test result for carrying out the judgement of creation function according to creation feedback information.
9. a kind of new user of BMC system creates functional test equipment characterized by comprising
Memory, for storing program;
Processor realizes that the new user of the BMC system as described in any one of claim 1 to 7 creates function when for executing described program The step of energy test method.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with program on the readable storage medium storing program for executing, described program is located It manages and realizes the step of new user of the BMC system as described in any one of claim 1 to 7 creates function test method when device executes.
CN201910630543.4A 2019-07-12 2019-07-12 Method and device for testing new user creation function of BMC (baseboard management controller) system and related components Active CN110399266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910630543.4A CN110399266B (en) 2019-07-12 2019-07-12 Method and device for testing new user creation function of BMC (baseboard management controller) system and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910630543.4A CN110399266B (en) 2019-07-12 2019-07-12 Method and device for testing new user creation function of BMC (baseboard management controller) system and related components

Publications (2)

Publication Number Publication Date
CN110399266A true CN110399266A (en) 2019-11-01
CN110399266B CN110399266B (en) 2023-01-10

Family

ID=68325542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910630543.4A Active CN110399266B (en) 2019-07-12 2019-07-12 Method and device for testing new user creation function of BMC (baseboard management controller) system and related components

Country Status (1)

Country Link
CN (1) CN110399266B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045884A (en) * 2019-11-21 2020-04-21 苏州浪潮智能科技有限公司 Method, system and equipment for testing maximum user number of server BMC (baseboard management controller)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895107A (en) * 2017-12-21 2018-04-10 郑州云海信息技术有限公司 A kind of method and system of batch setting BMC username and passwords
CN109408390A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 A kind of BMC login user stability test method, apparatus, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895107A (en) * 2017-12-21 2018-04-10 郑州云海信息技术有限公司 A kind of method and system of batch setting BMC username and passwords
CN109408390A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 A kind of BMC login user stability test method, apparatus, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045884A (en) * 2019-11-21 2020-04-21 苏州浪潮智能科技有限公司 Method, system and equipment for testing maximum user number of server BMC (baseboard management controller)

Also Published As

Publication number Publication date
CN110399266B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN107341098A (en) Software performance testing method, platform, equipment and storage medium
CN104978266B (en) A kind of application testing method and device
CN109800160B (en) Cluster server fault testing method and related device in machine learning system
CN110213215A (en) A kind of resource access method, device, terminal and storage medium
CN104952117B (en) A kind of attendance management method
JP2012094161A (en) Merging multi-line log entries
EP2479698A1 (en) Systems and methods for detecting fraud associated with systems application processing
CN105991709A (en) Cloud desktop account number management method and apparatus thereof
CN105099733B (en) The method and system of equipment safety management in safety control platform
CN103379000B (en) A kind of concurrent testing method and testing service device
Stephanow et al. Towards continuous security certification of software-as-a-service applications using web application testing techniques
CN106656927A (en) Method and device for enabling Linux account to be added to AD domain
CN105225283A (en) Based on the signing in method of wireless router and mobile phone
CN110311970A (en) A kind of remote debugging system and its method
CN109389697A (en) Recording method, equipment and the readable storage medium storing program for executing of underground inspection data inputting time
CN104967603B (en) Using account number safety verification method and device
CN110399266A (en) The new user of BMC system creates function test method, device and associated component
CN114362983A (en) Firewall policy management method and device, computer equipment and storage medium
CN105528546B (en) Vulnerability mining method and device and electronic equipment
CN110502376A (en) A kind of hard disk electric test method and device up and down
CN110113346A (en) A kind of network verification method, user terminal and server
CN109062752A (en) A kind of fault-tolerant automation safety detecting method of height and device of BMC
CN109684142A (en) A kind of method, system and the equipment of the test of BMC time accuracy
Bause et al. SDL and Petri net performance analysis of communicating systems
CN109669829A (en) A kind of diagnosis adjustment method, device and server based on BMC

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