Testing methods and apparatus for multipath plugins

By testing the preset aliases of the multipath plugin, we ensured their uniqueness with the mapped device aliases, thus solving the system instability problem caused by duplicate preset aliases in the existing technology and improving the stability and reliability of the system.

CN117194122BActive Publication Date: 2026-07-17INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2023-08-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing multipath plugins ignore the impact of unmapped block devices on mapped block devices when setting preset aliases for block devices, which may lead to duplicate aliases and affect system stability and reliability.

Method used

By obtaining the target block device preset alias generated by the multipath plugin, and testing based on the alias of the host's mapped device, it is determined whether the preset alias can be set repeatedly. This includes changing the alias of the mapped device and comparing the text similarity between the preset alias and the alias of the mapped device to ensure the uniqueness of the preset alias.

Benefits of technology

This improves the stability and reliability of the system corresponding to the multi-path plugin, avoids conflicts between preset aliases and mapped aliases, and ensures the normal operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117194122B_ABST
    Figure CN117194122B_ABST
Patent Text Reader

Abstract

This invention provides a testing method and apparatus for multipath plugins. The method includes: obtaining a preset alias set by the multipath plugin for a target block device; testing the preset alias based on multiple mapped device aliases on the host to determine whether the preset alias can be set repeatedly; and determining the test result of the multipath plugin based on whether the preset alias can be set repeatedly. The testing method and apparatus provided by this invention, by obtaining the preset alias of the target block device generated by the multipath plugin and testing the preset alias based on multiple mapped device aliases on the host to determine whether the preset alias can be set repeatedly, can indirectly test the function corresponding to the preset alias of the block device determined by the multipath plugin. This ensures that the preset alias determined by the multipath plugin after testing will not conflict with existing mapped aliases on the host, improving the stability and reliability of the system using the multipath plugin.
Need to check novelty before this filing date? Find Prior Art