FAQ-更换HBA卡后主机端和存储端都需要那些操作

发布时间:  2017-02-09 浏览次数:  149 下载次数:  0
问题描述

更换HBA卡后主机端和存储端都需要那些操作?

解决方案

1、登录存储DeviceManager管理界面,在主机中选择更换HBA卡后的主机。(图中更换HBA卡的主机名为DB2,下面的两个FC端口的WWN号为之前的,需要把新的WWN添加进去,把之前的删除)

2、选中主机之后,添加启动器(如图红色线框),在添加启动器界面有两个FC端口(这两个端口是新HBA卡的WWN,如图红色线框)。

3、选择两个新的FC端口(如图红色线框),点击右键头如图红色线框)。

此时两个新的FC端口已经添加过来(如图右侧红色线框),点击确定即可。

勾选(我已阅读上述信息)点击确定。

添加成功(如图红色线框),点击关闭。

4、删除之前FC端口,选择主机,刚刚添加的两个FC端口已经在主机下了。

勾选需要删除的FC端口,点击移除(如图红色线框)。

勾选(我已阅读上述信息)点击确定。

此时会显示移除成功。

5、清除之前告警信息,勾选之前告警信息,点击清除(如图红色线框)。


 

 

告警清除成功提示。

6、在主机端验证是FC端口启动器否添加成功,在系统下,执行upadm show path,查看路径是否已经成功映射,如果没有路径,请重启主机,再次执行一边。

      holdio={0 | 1} [timeout=seconds]

[root@dbsrv2 ~]# upadm show path

---------------------------------------------------------------

Array ID          : 0

Module Name       : Huawei.Storage

ControllerA State : normal

Path State        :

                    H######001    Up

                    H######002    Up

                    H######003    Up

                    H######004    Up

                    H######005    Up

                    H######006    Up

                    H######007    Up

                    H######008    Up

                    H######009    Up

ControllerB State : normal

Path State        :

                    H######001    Up

                    H######002    Up

                    H######003    Up

                    H######004    Up

                    H######005    Up

                    H######006    Up

                    H######007    Up

                    H######008    Up

                    H######009    Up

---------------------------------------------------------------

[root@dbsrv2 ~]#
 

执行fdisk -l命令,查看分区是否都已经挂载上来。此两条命令无前后顺序,灵活应用。
 

[root@dbsrv2 ~]# fdisk -l

Disk /dev/sda: 598.0 GB, 597998698496 bytes

255 heads, 63 sectors/track, 72702 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000e27c7

   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1         128     1024000   83  Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2             128       10327    81920000   83  Linux

/dev/sda3           10327       17976    61440000   83  Linux

/dev/sda4           17976       72703   439598080    5  Extended

/dev/sda5           17976       23075    40960000   83  Linux

/dev/sda6           23075       28175    40960000   83  Linux

/dev/sda7           28175       32254    32768000   82  Linux swap / Solaris

/dev/sda8           32254       72703   324905952+  83  Linux

Disk /dev/sdb: 2147 MB, 2147483648 bytes

67 heads, 62 sectors/track, 1009 cylinders

Units = cylinders of 4154 * 512 = 2126848 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdc: 2254 MB, 2254857728 bytes

70 heads, 62 sectors/track, 1014 cylinders

Units = cylinders of 4340 * 512 = 2222080 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sde: 107.4 GB, 107374182400 bytes

255 heads, 63 sectors/track, 13054 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdd: 2362 MB, 2362231808 bytes

73 heads, 62 sectors/track, 1019 cylinders

Units = cylinders of 4526 * 512 = 2317312 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdf: 139.6 GB, 139586437120 bytes

255 heads, 63 sectors/track, 16970 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdg: 140.7 GB, 140660178944 bytes

255 heads, 63 sectors/track, 17100 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdh: 141.7 GB, 141733920768 bytes

255 heads, 63 sectors/track, 17231 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdi: 480.0 GB, 479962595328 bytes

255 heads, 63 sectors/track, 58352 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

Disk /dev/sdj: 480.7 GB, 480709181440 bytes

255 heads, 63 sectors/track, 58442 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000
 

[root@dbsrv2 ~]#

END