CN105117311A - System deployment environment inspection method and system - Google Patents

System deployment environment inspection method and system Download PDF

Info

Publication number
CN105117311A
CN105117311A CN201510484733.1A CN201510484733A CN105117311A CN 105117311 A CN105117311 A CN 105117311A CN 201510484733 A CN201510484733 A CN 201510484733A CN 105117311 A CN105117311 A CN 105117311A
Authority
CN
China
Prior art keywords
parameter
main frame
remote testing
module
test
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.)
Pending
Application number
CN201510484733.1A
Other languages
Chinese (zh)
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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201510484733.1A priority Critical patent/CN105117311A/en
Publication of CN105117311A publication Critical patent/CN105117311A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a system deployment environment inspection method and system. The method comprises: step 1: establishing connections between a remote test host and a plurality of system test machines mounted and deployed in a system; step 2: obtaining configuration files in all system test hosts through the remote test host, and processing and storing the obtained configuration files in a database of the remote test host; step 3: logging in the remote test host, sending a test request to the remote test host, and selecting inspection items according to the test request; step 4: starting a test program by the remote test host and testing all the system test machines according to the selected inspection items; step 5: finishing the test process and outputting a judgment result by the remote test host; and step 6: ending the test and exiting the remote test host. The system environment inspection efficiency is improved and manual inspection faults are reduced; and reused configuration modifications can be directly operated through a tool.

Description

A kind of system disposes environmental test method and system
Technical field
The present invention relates to a kind of system and dispose environmental test method and system, belong to computer software and application software field.
Background technology
Existing NGCRM system architecture is complicated, relates to host number more and comparatively disperse.Be necessary very much before using after system is installed that the system to installing comprehensively checks verification, to avoid occurring the mistakes such as Install and configure mistake, DataBase combining, database configuration, the normal use of influential system.The current inspection to system environments is mostly based on artificial verification, the method efficiency is lower, and human factor is larger, the situation that easy generation key point is not checked through, based on this kind of situation, develop the environmental test instrument after these system installation and deployment, achieve the automatic inspection of system environments in visual mode, improve efficiency and accuracy to a great extent.
Summary of the invention
Technical matters to be solved by this invention is, for the deficiencies in the prior art, there is provided a kind of home environment that solves to dispose the front loaded down with trivial details craft inspection of rear or new environment use, submit environmental test efficiency to, the system of reduction environment application risk disposes environmental test method and system.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of system disposes environmental test method, specifically comprises the following steps:
Step 1: remote testing main frame and installation and deployment are connected at intrasystem multiple system tester;
Step 2: obtain the configuration file in all system testers by remote testing main frame, and by the database stored in remote testing main frame after the configuration file process of acquisition;
Step 3: log in remote testing main frame, send test request to remote testing main frame, selects check item according to test request;
Step 4: remote testing host-initiated test procedure, the check item according to selecting is tested all system testers;
Step 5: complete test process, remote testing main frame exports result of determination;
Step 6: test terminates, and exits remote testing main frame.
The invention has the beneficial effects as follows: improve the efficiency that system environments is verified, reduce artificial inspection error; Can by this instrument direct control for the configuration modification of reusing; Eliminate in the past hand inspection environment time frequently main frame log in and switch, reduce inspector's requirement higher to system environments familiarity.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described configuration file comprises IP configuration information, host address and log-on message etc.
Further, in described step 3, the process of configuration file obtained is comprised the host address in configuration file and log-on message are modified.
Further, described step 4 specifically comprises the following steps:
Step 4.1: remote testing host-initiated test procedure, the configuration file in reading database, obtains host address and the log-on message of all system testers;
Step 4.2: according to the host address obtained and log-on message, remote testing main frame is connected to all system testers, obtains the systematic parameter construction system parameter set that all system testers are current;
Step 4.3: concentrate from systematic parameter that to get a systematic parameter be parameter current, judges that whether parameter current is effective, if so, judges that the system tester configuration that parameter current is corresponding is correct, execution step 4.5; Otherwise, perform step 4.4;
Step 4.4: judge that the system tester that parameter current is corresponding goes wrong, abandon parameter current, perform step 4.3;
Step 4.5: judge that systematic parameter concentrates the systematic parameter whether existing and do not judge, if so, performs step 4.3; Otherwise, result of determination is outputted in remote testing main frame, performs step 5.
Further, whether effectively the judgement of described parameter current is by judging whether the logical relation of the multiple configurations in parameter current correctly carries out judging, if the logical relation of multiple configuration is correct, judges that parameter current is effective; Otherwise, judge that parameter current is invalid.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of system disposes environmental test system, comprises link block, configuration module, request module, test module, determination module and exits module;
Described link block is used for remote testing main frame and installation and deployment to connect at intrasystem multiple system tester;
Described configuration module is used for the configuration file obtained by remote testing main frame in all system testers, and by the database stored in remote testing main frame after the configuration file process of acquisition;
Described request module, for logging in remote testing main frame, sends test request to remote testing main frame, selects check item according to test request;
Described test module is used for remote testing host-initiated test procedure, and the check item according to selecting is tested all system testers;
Described determination module has been used for test process, and remote testing main frame exports result of determination;
The described module that exits, for testing end, exits remote testing main frame.
The invention has the beneficial effects as follows: improve the efficiency that system environments is verified, reduce artificial inspection error; Can by this instrument direct control for the configuration modification of reusing; Eliminate in the past hand inspection environment time frequently main frame log in and switch, reduce inspector's requirement higher to system environments familiarity.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described configuration file comprises IP configuration information, host address and log-on message etc.
Further, in described request module, the process of configuration file obtained is comprised the host address in configuration file and log-on message are modified.
Further, described test module comprises read module, parameter module and judge module;
Described read module is used for remote testing host-initiated test procedure, and the configuration file in reading database, obtains host address and the log-on message of all system testers;
Described parameter module be used for according to obtain host address and log-on message, remote testing main frame is connected to all system testers, obtains the systematic parameter construction system parameter set that all system testers are current;
Described judge module, for judging that whether effective systematic parameter concentrate all parameters, if so, judges that system tester configuration corresponding to described parameter is correct, triggers determination module; Otherwise, judge that system tester corresponding to described parameter goes wrong, abandon described parameter.
Further, whether effectively the judgement of described parameter current is by judging whether the logical relation of the multiple configurations in parameter current correctly carries out judging, if the logical relation of multiple configuration is correct, judges that parameter current is effective; Otherwise, judge that parameter current is invalid.
The present invention supports following functions:
1. check IP configuration information in each configuration file of hosted environment;
2. check that between main frame, route is connective;
3. check database data configuration information;
4. the logical relation correctness of configuration file in check system;
5. unmanned self-verifying;
6. conventional environment configurations revises one-touch execution.
The present invention must upload on the distance host that is communicated with all Host routes to be detected (supporting various minicomputer and rolling reamer machine), otherwise cannot use due to routing issue.
Accompanying drawing explanation
Fig. 1 is that a kind of system of the present invention disposes environmental test method flow diagram;
Fig. 2 is that a kind of system of the present invention disposes environmental test system architecture diagram.
In accompanying drawing, the list of parts representated by each label is as follows:
1, link block, 2, configuration module, 3, request module, 4, test module, 5, determination module, 6, exit module.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, for a kind of system of the present invention disposes environmental test method, specifically comprise the following steps:
Step 1: remote testing main frame and installation and deployment are connected at intrasystem multiple system tester;
Step 2: obtain the configuration file in all system testers by remote testing main frame, and by the database stored in remote testing main frame after the configuration file process of acquisition;
Step 3: log in remote testing main frame, send test request to remote testing main frame, selects check item according to test request;
Step 4: remote testing host-initiated test procedure, the check item according to selecting is tested all system testers;
Step 5: complete test process, remote testing main frame exports result of determination;
Step 6: test terminates, and exits remote testing main frame.
Described configuration file comprises IP configuration information, host address and log-on message etc.
In described step 3, the process of the configuration file obtained is comprised and the host address in configuration file and log-on message are modified.
Described step 4 specifically comprises the following steps:
Step 4.1: remote testing host-initiated test procedure, the configuration file in reading database, obtains host address and the log-on message of all system testers;
Step 4.2: according to the host address obtained and log-on message, remote testing main frame is connected to all system testers, obtains the systematic parameter construction system parameter set that all system testers are current;
Step 4.3: concentrate from systematic parameter that to get a systematic parameter be parameter current, judges that whether parameter current is effective, if so, judges that the system tester configuration that parameter current is corresponding is correct, execution step 4.5; Otherwise, perform step 4.4;
Step 4.4: judge that the system tester that parameter current is corresponding goes wrong, abandon parameter current, perform step 4.3;
Step 4.5: judge that systematic parameter concentrates the systematic parameter whether existing and do not judge, if so, performs step 4.3; Otherwise, result of determination is outputted in remote testing main frame, performs step 5.
Whether effectively the judgement of described parameter current is by judging whether the logical relation of the multiple configurations in parameter current correctly carries out judging, if the logical relation of multiple configuration is correct, judges that parameter current is effective; Otherwise, judge that parameter current is invalid.
As shown in Figure 2, for a kind of system of the present invention disposes environmental test system, comprise link block 1, configuration module 2, request module 3, test module 4, determination module 5 and exit module 6;
Described link block 1 is for connecting remote testing main frame and installation and deployment at intrasystem multiple system tester;
Described configuration module 2 for being obtained the configuration file in all system testers by remote testing main frame, and by database stored in remote testing main frame after the configuration file process that obtains;
Described request module 3, for logging in remote testing main frame, sends test request to remote testing main frame, selects check item according to test request;
Described test module 4 is for remote testing host-initiated test procedure, and the check item according to selecting is tested all system testers;
Described determination module 5 is for completing test process, and remote testing main frame exports result of determination;
The described module 6 that exits, for testing end, exits remote testing main frame.
Described configuration file comprises IP configuration information, host address and log-on message etc.
In described request module 3, the process of the configuration file obtained is comprised and the host address in configuration file and log-on message are modified.
Described test module 4 comprises read module, parameter module and judge module;
Described read module is used for remote testing host-initiated test procedure, and the configuration file in reading database, obtains host address and the log-on message of all system testers;
Described parameter module be used for according to obtain host address and log-on message, remote testing main frame is connected to all system testers, obtains the systematic parameter construction system parameter set that all system testers are current;
Described judge module, for judging that whether effective systematic parameter concentrate all parameters, if so, judges that system tester configuration corresponding to described parameter is correct, triggers determination module; Otherwise, judge that system tester corresponding to described parameter goes wrong, abandon described parameter.
Whether effectively the judgement of described parameter current is by judging whether the logical relation of the multiple configurations in parameter current correctly carries out judging, if the logical relation of multiple configuration is correct, judges that parameter current is effective; Otherwise, judge that parameter current is invalid.
Tool part is deployed on distance host, requires that between this distance host and each main frame of system installation and deployment, route is normal, normally connects communication by ssh agreement.
Revise address and the log-on message of each main frame according to the description of configuration file cfg.txt according to each host information of system installation and deployment.
Sign in start-up check instrument on this distance host.
A checklist checkpoint can be selected according to individual demand, or select single step to check comprehensively.
The Item number corresponding according to interface prompt input.
After treating that corresponding the checking item checks, interface automatic Display check result.
Instrument is exited according to interface prompt after inspection.
After distance host uploaded by instrument, if the host information of examine system is unchanged, the later stage does not need to safeguard, if host information changes, then needs the host address in manual amendment configuration file cfg.txt and log-on message.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. system disposes an environmental test method, it is characterized in that, specifically comprises the following steps:
Step 1: remote testing main frame and installation and deployment are connected at intrasystem multiple system tester;
Step 2: obtain the configuration file in all system testers by remote testing main frame, and by the database stored in remote testing main frame after the configuration file process of acquisition;
Step 3: log in remote testing main frame, send test request to remote testing main frame, selects check item according to test request;
Step 4: remote testing host-initiated test procedure, the check item according to selecting is tested all system testers;
Step 5: complete test process, remote testing main frame exports result of determination;
Step 6: test terminates, and exits remote testing main frame.
2. a kind of system according to claim 1 disposes environmental test method, and it is characterized in that, described configuration file comprises IP configuration information, host address and log-on message.
3. a kind of system according to claim 1 disposes environmental test method, it is characterized in that, comprises modifying to the host address in configuration file and log-on message in described step 3 to the process of the configuration file obtained.
4. a kind of system according to claim 1 disposes environmental test method, and it is characterized in that, described step 4 specifically comprises the following steps:
Step 4.1: remote testing host-initiated test procedure, the configuration file in reading database, obtains host address and the log-on message of all system testers;
Step 4.2: according to the host address obtained and log-on message, remote testing main frame is connected to all system testers, obtains the systematic parameter construction system parameter set that all system testers are current;
Step 4.3: concentrate from systematic parameter that to get a systematic parameter be parameter current, judges that whether parameter current is effective, if so, judges that the system tester configuration that parameter current is corresponding is correct, execution step 4.5; Otherwise, perform step 4.4;
Step 4.4: judge that the system tester that parameter current is corresponding goes wrong, abandon parameter current, perform step 4.3;
Step 4.5: judge that systematic parameter concentrates the systematic parameter whether existing and do not judge, if so, performs step 4.3; Otherwise, result of determination is outputted in remote testing main frame, performs step 5.
5. a kind of system according to claim 1 disposes environmental test method, it is characterized in that, whether effectively the judgement of described parameter current is by judging whether the logical relation of the multiple configurations in parameter current correctly carries out judging, if the logical relation of multiple configuration is correct, judge that parameter current is effective; Otherwise, judge that parameter current is invalid.
6. system disposes an environmental test system, comprises link block, configuration module, request module, test module, determination module and exits module;
Described link block is used for remote testing main frame and installation and deployment to connect at intrasystem multiple system tester;
Described configuration module is used for the configuration file obtained by remote testing main frame in all system testers, and by the database stored in remote testing main frame after the configuration file process of acquisition;
Described request module, for logging in remote testing main frame, sends test request to remote testing main frame, selects check item according to test request;
Described test module is used for remote testing host-initiated test procedure, and the check item according to selecting is tested all system testers;
Described determination module has been used for test process, and remote testing main frame exports result of determination;
The described module that exits, for testing end, exits remote testing main frame.
7. a kind of system according to claim 6 disposes environmental test system, and it is characterized in that, described configuration file comprises IP configuration information, host address and log-on message.
8. a kind of system according to claim 6 disposes environmental test system, it is characterized in that, comprises modifying to the host address in configuration file and log-on message in described request module to the process of the configuration file obtained.
9. a kind of system according to claim 6 disposes environmental test system, and it is characterized in that, described test module comprises read module, parameter module and judge module;
Described read module is used for remote testing host-initiated test procedure, and the configuration file in reading database, obtains host address and the log-on message of all system testers;
Described parameter module be used for according to obtain host address and log-on message, remote testing main frame is connected to all system testers, obtains the systematic parameter construction system parameter set that all system testers are current;
Described judge module, for judging that whether effective systematic parameter concentrate all parameters, if so, judges that system tester configuration corresponding to described parameter is correct, triggers determination module; Otherwise, judge that system tester corresponding to described parameter goes wrong, abandon described parameter.
10. a kind of system according to claim 6 disposes environmental test system, it is characterized in that, whether effectively the judgement of described parameter current is by judging whether the logical relation of the multiple configurations in parameter current correctly carries out judging, if the logical relation of multiple configuration is correct, judge that parameter current is effective; Otherwise, judge that parameter current is invalid.
CN201510484733.1A 2015-08-07 2015-08-07 System deployment environment inspection method and system Pending CN105117311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510484733.1A CN105117311A (en) 2015-08-07 2015-08-07 System deployment environment inspection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510484733.1A CN105117311A (en) 2015-08-07 2015-08-07 System deployment environment inspection method and system

Publications (1)

Publication Number Publication Date
CN105117311A true CN105117311A (en) 2015-12-02

Family

ID=54665309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510484733.1A Pending CN105117311A (en) 2015-08-07 2015-08-07 System deployment environment inspection method and system

Country Status (1)

Country Link
CN (1) CN105117311A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168877A (en) * 2017-05-19 2017-09-15 郑州云海信息技术有限公司 A kind of method for carrying out remote testing to server based on Python
CN109710469A (en) * 2018-11-29 2019-05-03 中国气象局气象探测中心 It is a kind of for testing the method and system of meteorological observation equipment
CN110224869A (en) * 2019-06-13 2019-09-10 北京航空航天大学 A kind of Automation arranging method of micro services website
CN116723123A (en) * 2023-07-13 2023-09-08 浙江齐安信息科技有限公司 Method, terminal and storage medium for checking and managing safety configuration of industrial control host

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5371883A (en) * 1993-03-26 1994-12-06 International Business Machines Corporation Method of testing programs in a distributed environment
CN1731748A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Testing system and method
CN103092754A (en) * 2013-01-07 2013-05-08 上海斐讯数据通信技术有限公司 Automatic test method of long distance multi-device condition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5371883A (en) * 1993-03-26 1994-12-06 International Business Machines Corporation Method of testing programs in a distributed environment
CN1731748A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Testing system and method
CN103092754A (en) * 2013-01-07 2013-05-08 上海斐讯数据通信技术有限公司 Automatic test method of long distance multi-device condition

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168877A (en) * 2017-05-19 2017-09-15 郑州云海信息技术有限公司 A kind of method for carrying out remote testing to server based on Python
CN109710469A (en) * 2018-11-29 2019-05-03 中国气象局气象探测中心 It is a kind of for testing the method and system of meteorological observation equipment
CN110224869A (en) * 2019-06-13 2019-09-10 北京航空航天大学 A kind of Automation arranging method of micro services website
CN116723123A (en) * 2023-07-13 2023-09-08 浙江齐安信息科技有限公司 Method, terminal and storage medium for checking and managing safety configuration of industrial control host
CN116723123B (en) * 2023-07-13 2024-03-08 浙江齐安信息科技有限公司 Method, terminal and storage medium for checking and managing safety configuration of industrial control host

Similar Documents

Publication Publication Date Title
CN105302716B (en) Test method, device under the development mode of interflow
CN110888414B (en) Test method for upgrading vehicle controller
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
CN105117311A (en) System deployment environment inspection method and system
US20140372989A1 (en) Identification of a failed code change
CN102346709A (en) Software development assisting method and system
US7921337B2 (en) Systems and methods for diagnosing faults in electronic systems
CN106612204B (en) Service checking method and device
CN108319240B (en) Method and system for collecting operation and maintenance knowledge base applied to field operation terminal
CN101853173A (en) Software upgrading method and device of programmable logic device of distributed system
CN110928556A (en) Automatic program burning method and device for railway vehicle, and testing method and system
CN111132060A (en) Internet of things-based hardware automatic test tool and test method
CN106897223A (en) A kind of software kit delivery method and device based on continuous integrating
CN115080299B (en) Software fault feedback processing method, device, medium and equipment
CN102508754B (en) Method for detecting 1553B communication interface
CN109002397B (en) Controller smoking test system and test method
US10613963B2 (en) Intelligent packet analyzer circuits, systems, and methods
CN107222586B (en) Method for automatically identifying BMC IP in local area network
WO2023125706A1 (en) Test method and system for mileage order generation of battery swapping vehicle, device and medium
CN116028365A (en) Automatic detection method, device, equipment and medium for wafer test codes
CN107423107B (en) Construction method of mobile distributed data center
CN115840129A (en) Board card testing method and device
WO2015172488A1 (en) Method and apparatus for detecting network access faults of wireless communication device, and wireless communication device
TW201807583A (en) Automatic control system and the instrument automatically search method using the same
CN113282496A (en) Automatic interface test method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202