Automated System Configuration Migration via Telnet and Shell Scripts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current migration technologies for high-end fault-tolerant computer systems require manual installation of agents on source and destination servers, necessitating the writing and maintenance of test cases, which increases workload and risk.
Innovation Solution
A method and device utilizing telnet/ssh protocol channels and predefined shell scripts to automatically collect and migrate system configuration items by comparing source system configurations with defaults, querying mapping relationships, and performing configuration on destination systems.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If agents are installed on source and destination servers to discover and migrate system services, then migration functionality is achieved, but workload and migration risk increase
Solution Approach 1:
The patent extracts the Agent component from the migration system and replaces it with direct configuration item collection methods using telnet/ssh protocols and shell scripts. This removal of the Agent intermediary simplifies the migration architecture, reduces workload, and eliminates the need for writing and maintaining test cases while achieving the same configuration migration functionality.
2Measurement precision
If manual test cases are written and maintained to collect system services, then service discovery is achieved, but time consumption and workload increase
Solution Approach 1:
The system performs self-service by automatically collecting configuration items from the source system through telnet/ssh channels and shell scripts without requiring manual test case intervention. The automated collection process discovers system services, compares them with default configurations, and identifies non-default items that need migration, thereby eliminating time-consuming manual operations while maintaining discovery accuracy.
Solution Approach 2:
The patent implements preliminary action by pre-defining shell scripts corresponding to different source systems and pre-establishing the mapping relationships between configuration items and their key parameters. This preparation enables automated configuration collection and comparison without requiring manual test case writing during the actual migration process, significantly reducing time consumption.
3Ease of operation
If configuration items are manually obtained and migrated, then migration control is achieved, but automation level remains low
Solution Approach 1:
The patent replaces manual mechanical operations with automated electronic processes. Configuration items are automatically collected through telnet/ssh protocols, processed by predefined shell scripts, compared with default configurations, and migrated using automated mapping relationships. This substitution maintains precise control over the migration process while dramatically increasing the automation level from manual to fully automated operations.
Data Source
AI summary
A method and a device for migrating a source system configuration item: collecting through a telnet/ssh protocol channel established with a source system and a predefined shell script corresponding to the source system, a source system configuration item corresponding to a system configuration item identifier, wherein the system configuration item identifier is a predefined system configuration item identifier corresponding to the source system; comparing the collected source system configuration item with a preset default system configuration item to obtain a non-default system configuration item, wherein the non-default system configuration item is regarded as a system configuration item that needs to be migrated; querying a mapping relationship among a pre-system: the system configuration item and a key parameter value to obtain a destination system configuration item and the key parameter value; and performing migration configuration on a destination system through the telnet/ssh protocol channel established with the destination system.


