Solaris下如何修改HBA卡连接模式
步骤一:备份配置文件:
# cp /kernel/drv/lpfc.conf /kernel/drv/lpfc.conf.bak
注意:Emulex卡为lpfc.conf配置文件,Qlogic为qlc.conf配置文件。
步骤二:修改配置文件:
# vi lpfc.conf
……
# topology: link topology for initializing the Fibre Channel connection.
# 0 = attempt loop mode, if it fails attempt point-to-point mode
# 2 = attempt point-to-point mode only
# 4 = attempt loop mode only
# 6 = attempt point-to-point mode, if it fails attempt loop mode
# Set point-to-point mode if you want to run as an N_Port.
# Set loop mode if you want to run as an NL_Port.
topology=4;
……
将topology=0修改为topology=4,为将HBA卡连接模式修改为loop only.
说明:与存储直连时将HBA连接模式修改为loop only,通过光纤交换机连接存储时将HBA卡连接模式修改为point-to-point;
步骤三:重起主机生效
#reboot
修改日期 | 修改人 | 备注 |
2023-04-27 18:00:17[当前版本] | 张奎呈 | 调整内容 |
2019-03-07 11:35:37 | 张奎呈 | 移动知识到知识小组 |
2018-02-08 16:35:08 | 张奎呈 | CREAT |