Automated testing method for switching of configuration two-computer resources

An automated testing and resource technology, applied in data exchange network, machine execution device, program control design, etc., can solve problems such as inability to guarantee the accuracy of test results, inability to automatically capture error logs, time-consuming and labor costs, etc. Improve test efficiency, facilitate problem analysis, and save labor costs

Inactive Publication Date: 2016-05-04
TOYOU FEIJI ELECTRONICS
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to ensure the high availability and disaster resistance of the dual-machine cluster system, tens of thousands of conditional triggers and switching process tests must be performed. Taking error logs requires manual recording, which consumes a lot of time and labor costs
[0004] To sum up, manually testing a dual-machine cluster system is time-consuming and laborious, and the accuracy of the test results cannot be guaranteed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automated testing method for switching of configuration two-computer resources
  • Automated testing method for switching of configuration two-computer resources
  • Automated testing method for switching of configuration two-computer resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention proposes an automated testing method for resource switching of a dual-machine cluster, the process of which is as follows figure 1 As shown, it is applied to a dual-machine cluster storage device, figure 2 For the test topology diagram of dual-machine cluster resource switching, the following is figure 2 The test environment is taken as an example to describe the specific test situation of the present invention in detail.

[0031] According to step 1, perform SSH password-free login settings. Use the ssh-keygen command on node HA1 to generate a key pair, copy the public key to the / root directory of node HA2 through the SCP command, and append the public key to the authorized key on node HA2, that is, the authorized_keys file, modify The usage permission of this file is 600. Perform an SSH connection test on the HA1 node: ssh "HA2 node ip", you can log in to the HA2 node without password.

[0032] According to step 2, to create such as figu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an automated testing method for switching of configuration two-computer resources, which is suitable for a dual-computer cluster of any business and belongs to the field of computer storage technologies. An implementation process of the method comprises the following steps of automatically configuring pass-free login of an SSH (Secure Shell) between cluster nodes; automatically configuring dual-computer cluster nodes and creating dual-computer cluster resources; configuring a client to access the dual-computer cluster resources and normally carrying out IO read-write; traversing conditions for triggering switching of the dual-computer cluster resources; and testing switching of the resources due to any one fault for more than thousands of times. If the client IO has no interruption and the status of the resources on the current node can be queried, the test is carried out again, otherwise the test is stopped, the system log information is stored and the system environment is retained. Through the method, the switching test of the two-computer resources can be effectively and accurately executed, and when a problem occurs, the reliable information can be provided for analyzing the problem.

Description

technical field [0001] The invention relates to an automatic test method for configuring dual-computer resource switching, which is applicable to any business dual-machine cluster and belongs to the technical field of computer storage. Background technique [0002] The dual-machine cluster technology integrates a group of mutually independent computers into a single computer system through the network. One of the characteristics of the two-machine cluster is to ensure high availability of storage configuration and data. When a service fails, the two-machine cluster system can automatically switch the service from the failed node to another standby node, thereby providing uninterrupted services and ensuring The continuous operation of the business improves the reliability and disaster resistance of the system at the same time. [0003] There are many conditions for a dual-machine cluster system to achieve resource switching, such as disconnecting the business network, discon...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26G06F9/38
CPCH04L43/50G06F9/3828G06F9/3891
Inventor 王道邦张恒杨凡凡周泽湘沈晶罗华李艳国潘兴旺段舒文于召鑫杨威
Owner TOYOU FEIJI ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products