华为多路径软件UltraPath

news/2024/7/23 23:25:14 标签: linux, 服务器

检查多路径是否安装。
# rpm -qa|grep UltraPath命令查看多路径软件是否安装

查看UltraPath软件版本
# upadmin show version
查看物理路径状态。

#upadmin show path
查看虚拟磁盘信息。

#upadmin show vlun
查看逻辑路径状态。
#upadmin show vlun

查看多路径配置。
#upadmin show upconfig

[root@db1 ~]# rpm -qa|grep UltraPath
UltraPath-31.02.024-2.x86_64

[root@db1 ~]# upadmin show version
Software Version   : 31.02.024
Driver   Version   : 31.02.024

[root@db1 ~]# upadmin show upconfig
=======================================================
UltraPath Configuration
=======================================================
Basic Configuration
    Working Mode : load balancing within controller
    LoadBalance Mode : min-queue-depth
    Loadbanlance io threshold : 100
    LUN Trespass : off

Advanced Configuration
    Io Retry Times : 10
    Io Retry Delay : 0
    Faulty path check interval : 10
    Idle path check interval : 60
    Failback Delay Time : 60
    Io Suspension Time : 60
    Max io retry timeout : 1800
    Performance Record : off
    Pending delete period of obsolete paths : 28800

Path reliability configuration
    Timeout degraded statistical time : 600
    Timeout degraded threshold : 1
    Timeout degraded path recovery time : 1800
    Frequent timeout degraded statistical time : 86400
    Frequent timeout degraded threshold : 3
    Frequent timeout degraded path recovery time : 86400
    Intermittent IO error degraded statistical time : 300
    Min. I/Os for intermittent IO error degraded statistical : 5000
    Intermittent IO error degraded threshold : 20
    Intermittent IO error degraded path recovery time : 1800
    Intermittent fault degraded statistical time : 1800
    Intermittent fault degraded threshold : 3
    Intermittent fault degraded path recovery time : 3600
    High latency degraded statistical time : 300
    High latency degraded threshold : 1000
    High latency degraded path recovery time : 3600
    Sensitive delayed degraded threshold : 0
    Sensitive delayed degraded recovery time : 120

HyperMetro configuration
    HyperMetro Primary Array SN : 2102350HYL10H6000020
    HyperMetro WorkingMode : read write within primary array
    HyperMetro Split Size : 128MB
    HyperMetro Load Balance Mode : round-robin

[root@db1 ~]#
 
 
[root@db1 ~]# upadmin  show path
-------------------------------------------------------------------------------------------------------------------------------
 Path ID   Initiator Port      Array Name      Controller    Target Port     Path State  Check State  Port Type   Port ID  
    0     10000090fa81c6ef  Huawei.Storage-1F      0A      2080446a2ef573be    Normal        --          FC      CTE0.A.H0
    1     10000090fa81c6ef  Huawei.Storage-1F      0B      2090446a2ef573be    Normal        --          FC      CTE0.B.H0
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
 Path ID   Initiator Port      Array Name      Controller    Target Port     Path State  Check State  Port Type   Port ID  
    2     10000090fa81c6ef  Huawei.Storage-2F      0B      2091446a2ef573b5    Normal        --          FC      CTE0.B.H1
    3     10000090fa81c6ef  Huawei.Storage-2F      0A      2081446a2ef573b5    Normal        --          FC      CTE0.A.H1
-------------------------------------------------------------------------------------------------------------------------------
 
[root@db1 ~]# upadmin check status
------------------------------------------------------------
Checking path status:
Serverity    Array                    Type                                    Description                                                                                                                     
Critical     2102350HYL10H6000020     All path down                           All paths of LUN (wwn:6446a2e100f573b55c5a1ff100000010) are down.
                                                              
Critical     2102350HYL10H6000020     All path down                           All paths of LUN (wwn:6446a2e100f573b55c5a462d00000011) are down.
                                                              
------------------------------------------------------------
Checking environment and config:
Pass
------------------------------------------------------------
Checking HBA Information:
iscsi is not installed.
complete FC checking.
Pass
...................

[root@db1 ~]# rpm -e UltraPath-31.02.024-2.x86_64
The running service is deleted successfully.
The boot service is removed successfully.
The UltraPath files are deleted successfully.
UltraPath driver package has been successfully removed from your system.
Restart the system.
 

故障处理--重新安装
[root@db1 CentOS]# upadmin show version
Unable to detect UltraPath device node, exit

[root@db1 ~]#  ./install.sh
complete iscsi checking.
complete FC checking.
Verify the UltraPath existence.
[WARNING] The UltraPath driver has been detected.
Do you want to uninstall it now?
<Y|N>:y
The UltraPath uninstallation starts.
The running service is deleted successfully.
The boot service is removed successfully.
The UltraPath files are deleted successfully.
UltraPath driver package has been successfully removed from your system.
Modify system configuration.[file:/etc/iscsi/iscsid.conf,item:node.startup ,value:  automatic]
Modify system configuration.[file:/etc/iscsi/iscsid.conf,item:node.session.timeo.replacement_timeout ,value:  1]
Modify system configuration.[file:/etc/modprobe.d/nxupmodules.conf,module:qla2xxx,item:qlport_down_retry,value:5]
Modify system configuration.[file:/etc/modprobe.d/nxupmodules.conf,module:lpfc,item:lpfc_nodev_tmo,value:5]
Modify system configuration.[file:/etc/systemd/system.conf,item:DefaultTimeoutStartSec,value:600s]
If the operating system is installed on a local drive of the server, you are advised
to choose boot from local; if the operating system is installed on a SAN storage
system, you must choose boot from san. Please choose the boot type of your system:
<1>--boot-from-Local
<2>--boot-from-SAN
please input your select:1
Preparing...                          ########################################
Updating / installing...
UltraPath-31.02.024-2                 ########################################
User configuration is saved successfully.
The boot service is installed successfully.
The running service is installed successfully.
************************************Attention************************************
* UltraPath would modify some parameters of HBA cards for better performace. If *
* UltraPath is installed for the first time, you may need to update the initrd  *
* image before system reboot to make the modification take effect.              *
*********************************************************************************
*********************************************************************************
* UltraPath will use the system hostname for alarm generation and automatic host*
* registration. Make sure that the system hostname is correctly configured..    *
*********************************************************************************
The installation is complete. Whether to restart the system now?
<Y|N>:y


http://www.niftyadmin.cn/n/5046855.html

相关文章

C++ -- 类型转换

目录 C语言中的类型转换 为什么C需要四种类型转换 C 类型转换 static_cast reinterpret_cast const_cast 添加关键字 volatile dynamic_cast 补充 RTTI 总结 C语言中的类型转换 在C语言中&#xff0c;如果赋值运算符左右两侧类型不同&#xff0c;或者形参与实参类型…

浅谈为什么多态只能是指针或引用

其实在很早之前&#xff0c;我一直没有注意到这个问题&#xff0c;直到今天碰见了一道题&#xff0c;顺便前面的博客中&#xff0c;继承写到&#xff0c;子类中不包含父类&#xff0c;子类只是继承了父类的成员变量和函数&#xff0c;由这一点&#xff0c;引发了我对切片以及赋…

PHP8的类与对象的基本操作之类常量-PHP8知识详解

php 8引入了一种新的特性&#xff0c;称为类常量&#xff08;class Constants&#xff09;。类常量是在类中定义的常量&#xff0c;类似于全局常量&#xff0c;但作用域仅限于定义它们的类。 在PHP 8中&#xff0c;类常量的作用域被限制在定义它们的类中。这意味着只有类的成员…

【刷题笔记9.24】LeetCode:只出现一次的数字

LeetCode&#xff1a;只出现一次的数字 一、题目描述 给你一个 非空 整数数组 nums &#xff0c;除了某个元素只出现一次以外&#xff0c;其余每个元素均出现两次。找出那个只出现了一次的元素。 你必须设计并实现线性时间复杂度的算法来解决此问题&#xff0c;且该算法只使…

C/C++好题分享--代码题

2-1排序子序列 int main() {int n;cin >> n;// 注意这里多给了一个值&#xff0c;是处理越界的情况的比较&#xff0c;具体参考上面的解题思路vector<int> a;a.resize(n 1);//这里有个坑&#xff0c;这个题越界了牛客测不出来&#xff0c;给n,并且不写a[n] 0;不会…

Windows 上下载并提取 Wikipedia

下载资源 很久以前看过了 Wikipedia 是支持 dump 的&#xff0c;不得不说真是造福人类的壮举。我其实也用不到这个&#xff0c;但是看见不少人是用来做 NLP 语料训练的。不过最近我也想尝试一些新的东西&#xff08;我就是单纯想要这个文本数据&#xff09;&#xff0c;所以就…

Python 判断回文数

"""判断输入的数是否为回文数介绍&#xff1a;回文数&#xff1a;数字从高位到低位正序排列和低位到高位逆序排列都是同一数值例如&#xff1a;数字 1221 无论正序还是逆序都是 1221知识点&#xff1a;1、获取字符串长度函数len()2、条件语句if/elif/else3、循环…

2、SpringBoot_依赖介绍

三、SpringBoot介绍 1.parent 前言&#xff1a;之前是使用spring/springmvc 开发&#xff0c;整合不同的组件会有很多依赖&#xff0c;这些依赖会涉及到很多的版本信息&#xff0c;版本信息多了之后可能会导致版本冲突问题概述&#xff1a;把很多组件技术的搭配放到一起&…