请选择 进入手机版 | 继续访问电脑版

设为首页 收藏本站
思科社区 关注
思科社区

   思科 CCO 登录 推荐
 找回密码
 立即注册

搜索
热搜: 邮件服务器
查看: 588|回复: 1

原创 旧设备且保存了 配置 但是FCID 发生了变化

[复制链接]
发表于 2018-12-26 16:09:44 | 显示全部楼层 |阅读模式
system:    version 5.2(2d)
Hardware   MDS 9148D

Problem Description:

cu wants to know the reason why the fcid changed when he power cycle the mds-c9148 . he stated that before he power down copied run & start conf .
have redundancy fc fabric path  07&08 , the fcid changed in 07 , but not changed in 08 (08 was powered down too)

Action plan:

1、对比掉电前后的 show run  查看相关的信息
2 、 如果掉电前保存过配置 run conf 和start conf  那么flogi 上来 原设备的FCID不变化
       如果没有保存过配置  当然会发生变化


关于fcid database的问题:
1/ 当一个主机或者存储连接到mds接口后,mds会自动生成一个动态fcid,并将其写到fcdomain fcid database。
2/ 在保存配之后,自动生成的该条目不会被删除,即便该接口所连接的主机/存储设备已经下线,或者mds重启。
3/ 只有使用“purge fcdomain fcid vsan x”命令后,fcdomain fcid database中的动态条目且当前不在使用状态的fcid条目会被删除。

  
show startup-config
show running-config

show logging log  
NVRAM里会记录最后100条log ,不会因为掉电重启而被冲掉

日志显示如下:
2017 Nov 10 14:30:33 CNBJSN01107 %SYSTEMHEALTH-2-OHMS_NVRAM_FAILED: Nvram test maximum failures reached for module 1 for blocks 0x10.
OHMS Error messages
------------------------------------------------------------------------------
Fri Nov 10 14:30:33 2017@410679 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:33 2017@409959 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.

show system health internal plog

OHMS Error messages
------------------------------------------------------------------------------
Fri Nov 10 14:30:33 2017@410679 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:33 2017@409959 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.

Fri Nov 10 14:30:33 2017@325703 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:33 2017@325020 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.

Fri Nov 10 14:30:33 2017@241862 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:33 2017@241151 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.

Fri Nov 10 14:30:33 2017@135937 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:33 2017@135255 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.

Fri Nov 10 14:30:33 2017@ 52132 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:33 2017@ 51444 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.

Fri Nov 10 14:30:32 2017@968229 (1/54/0xb): 2509:ohms_nvram_start_test: ERROR: No of NVRAM blocks tested bad 1.
Fri Nov 10 14:30:32 2017@967572 (1/54/0xb): 2509:ohms_nvram_get_bad_blocks: ERROR: 4 NV Blk has bad checksum.



保存过配置的情况下  show flogi database 与show fcdomain fcid persistent

`show flogi database`
--------------------------------------------------------------------------------
INTERFACE        VSAN    FCID           PORT NAME               NODE NAME      
--------------------------------------------------------------------------------
fc1/1            520   0x6c0200  50:06:0e:80:05:c0:c7:34 50:06:0e:80:05:c0:c7:34
fc1/2            521   0x6c0600  50:06:0e:80:05:c0:c7:35 50:06:0e:80:05:c0:c7:35
fc1/32           520   0x6c0300  10:00:00:00:c9:7b:07:f8 20:00:00:00:c9:7b:07:f8
fc1/33           521   0x6c0d00  10:00:00:00:c9:88:fe:96 20:00:00:00:c9:88:fe:96
fc1/34           521   0x6c0700  10:00:00:00:c9:8d:9e:58 20:00:00:00:c9:8d:9e:58
fc1/35           521   0x6c0000  10:00:00:00:c9:9a:84:f3 20:00:00:00:c9:9a:84:f3
fc1/36           521   0x6c0e00  10:00:00:00:c9:9a:56:f6 20:00:00:00:c9:9a:56:f6
fc1/37           521   0x6c0900  10:00:00:00:c9:87:96:e0 20:00:00:00:c9:87:96:e0
fc1/38           521   0x6c1000  10:00:00:00:c9:8f:77:ee 20:00:00:00:c9:8f:77:ee
fc1/39           521   0x6c0a00  10:00:00:00:c9:98:d4:c2 20:00:00:00:c9:98:d4:c2
fc1/40           521   0x6c1100  10:00:00:00:c9:8d:9e:4a 20:00:00:00:c9:8d:9e:4a
fc1/41           521   0x6c0b00  10:00:00:00:c9:87:cf:1d 20:00:00:00:c9:87:cf:1d
fc1/42           521   0x6c1400  10:00:00:00:c9:8f:77:f2 20:00:00:00:c9:8f:77:f2
fc1/43           521   0x6c0c00  10:00:00:00:c9:98:d2:1c 20:00:00:00:c9:98:d2:1c
fc1/44           521   0x6c1300  10:00:00:00:c9:8f:75:a8 20:00:00:00:c9:8f:75:a8
fc1/45           520   0x6c0400  10:00:00:00:c9:8f:73:46 20:00:00:00:c9:8f:73:46
fc1/46           520   0x6c0000  10:00:00:00:c9:97:d8:70 20:00:00:00:c9:97:d8:70
fc1/47           521   0x6c0f00  10:00:00:00:c9:7b:01:a2 20:00:00:00:c9:7b:01:a2
fc1/48           521   0x6c1200  10:00:00:00:c9:8f:78:45 20:00:00:00:c9:8f:78:45

Total number of flogi = 19.


`show fcdomain fcid persistent`
Total entries 27.
Persistent FCIDs table contents:
VSAN WWN                     FCID     Mask    Used Assignment Interface
---- ----------------------- -------- ------- ---- ---------- ---------
   1 50:06:0e:80:05:c0:a0:14 0x0b0000 SINGLE  NO   DYNAMIC    --
521 10:00:00:00:c9:9a:84:f3 0x6c0000 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:7c:84:a6 0x6c0100 SINGLE  NO   DYNAMIC    --
521 10:00:00:00:c9:6c:37:86 0x6c0200 SINGLE  NO   DYNAMIC    --
521 10:00:00:00:c9:7b:05:26 0x6c0300 SINGLE  NO   DYNAMIC    --
521 10:00:00:00:c9:7c:2d:66 0x6c0400 SINGLE  NO   DYNAMIC    --
520 10:00:00:00:c9:97:d8:70 0x6c0000 SINGLE  YES  DYNAMIC    --
520 10:00:00:00:c9:8c:3d:1c 0x6c0100 SINGLE  NO   DYNAMIC    --
521 10:00:00:00:c9:6d:b8:82 0x6c0500 SINGLE  NO   DYNAMIC    --
520 50:06:0e:80:05:c0:c7:34 0x6c0200 SINGLE  YES  DYNAMIC    --
521 50:06:0e:80:05:c0:c7:35 0x6c0600 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8d:9e:58 0x6c0700 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:6d:3d:90 0x6c0800 SINGLE  NO   DYNAMIC    --
521 10:00:00:00:c9:87:96:e0 0x6c0900 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:98:d4:c2 0x6c0a00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:87:cf:1d 0x6c0b00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:98:d2:1c 0x6c0c00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:88:fe:96 0x6c0d00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:9a:56:f6 0x6c0e00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:7b:01:a2 0x6c0f00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:77:ee 0x6c1000 SINGLE  YES  DYNAMIC    --
520 10:00:00:00:c9:7b:07:f8 0x6c0300 SINGLE  YES  DYNAMIC    --
520 10:00:00:00:c9:8f:73:46 0x6c0400 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8d:9e:4a 0x6c1100 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:78:45 0x6c1200 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:75:a8 0x6c1300 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:77:f2 0x6c1400 SINGLE  YES  DYNAMIC    --

`show fcdomain address-allocation`
`show fcns database local detail vsan 1-4093`

问题在于 没有保存配置 或是 保存了配置 但数据没有从NVRAM里正确读出来(NVRAM 硬件损坏)  则类似于新的FLOGI的过程 当然要重新分配FCID

`show flogi database`
--------------------------------------------------------------------------------
INTERFACE        VSAN    FCID           PORT NAME               NODE NAME      
--------------------------------------------------------------------------------
fc1/1            520   0x6b0000  50:06:0e:80:05:c0:c7:24 50:06:0e:80:05:c0:c7:24
fc1/2            521   0x6b0000  50:06:0e:80:05:c0:c7:25 50:06:0e:80:05:c0:c7:25
fc1/32           520   0x6b0100  10:00:00:00:c9:7b:02:6a 20:00:00:00:c9:7b:02:6a
fc1/33           521   0x6b0100  10:00:00:00:c9:8f:77:c5 20:00:00:00:c9:8f:77:c5
fc1/34           521   0x6b0200  10:00:00:00:c9:8b:a5:e1 20:00:00:00:c9:8b:a5:e1
fc1/35           521   0x6b0300  10:00:00:00:c9:9a:56:fd 20:00:00:00:c9:9a:56:fd
fc1/36           521   0x6b0400  10:00:00:00:c9:9a:84:bf 20:00:00:00:c9:9a:84:bf
fc1/37           521   0x6b0500  10:00:00:00:c9:97:d9:86 20:00:00:00:c9:97:d9:86
fc1/38           521   0x6b0600  10:00:00:00:c9:8f:78:0a 20:00:00:00:c9:8f:78:0a
fc1/39           521   0x6b0700  10:00:00:00:c9:88:ab:05 20:00:00:00:c9:88:ab:05
fc1/40           521   0x6b0800  10:00:00:00:c9:8b:a5:57 20:00:00:00:c9:8b:a5:57
fc1/41           521   0x6b0900  10:00:00:00:c9:9c:7c:9e 20:00:00:00:c9:9c:7c:9e
fc1/42           521   0x6b0a00  10:00:00:00:c9:8f:78:3a 20:00:00:00:c9:8f:78:3a
fc1/43           521   0x6b0b00  10:00:00:00:c9:9c:7d:93 20:00:00:00:c9:9c:7d:93
fc1/44           521   0x6b0c00  10:00:00:00:c9:8f:75:b2 20:00:00:00:c9:8f:75:b2
fc1/45           520   0x6b0200  10:00:00:00:c9:88:aa:ab 20:00:00:00:c9:88:aa:ab
fc1/46           520   0x6b0300  10:00:00:00:c9:97:d8:32 20:00:00:00:c9:97:d8:32
fc1/47           521   0x6b0d00  10:00:00:00:c9:6d:3c:fc 20:00:00:00:c9:6d:3c:fc
fc1/48           521   0x6b0e00  10:00:00:00:c9:88:aa:4c 20:00:00:00:c9:88:aa:4c
Total number of flogi = 19.

`show fcdomain fcid persistent`
Total entries 19.
Persistent FCIDs table contents:
VSAN WWN                     FCID     Mask    Used Assignment Interface
---- ----------------------- -------- ------- ---- ---------- ---------
520 50:06:0e:80:05:c0:c7:24 0x6b0000 SINGLE  YES  DYNAMIC    --
521 50:06:0e:80:05:c0:c7:25 0x6b0000 SINGLE  YES  DYNAMIC    --
520 10:00:00:00:c9:7b:02:6a 0x6b0100 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:77:c5 0x6b0100 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8b:a5:e1 0x6b0200 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:9a:56:fd 0x6b0300 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:9a:84:bf 0x6b0400 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:97:d9:86 0x6b0500 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:78:0a 0x6b0600 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:88:ab:05 0x6b0700 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8b:a5:57 0x6b0800 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:9c:7c:9e 0x6b0900 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:78:3a 0x6b0a00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:9c:7d:93 0x6b0b00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:8f:75:b2 0x6b0c00 SINGLE  YES  DYNAMIC    --
520 10:00:00:00:c9:88:aa:ab 0x6b0200 SINGLE  YES  DYNAMIC    --
520 10:00:00:00:c9:97:d8:32 0x6b0300 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:6d:3c:fc 0x6b0d00 SINGLE  YES  DYNAMIC    --
521 10:00:00:00:c9:88:aa:4c 0x6b0e00 SINGLE  YES  DYNAMIC    --



  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
发表于 2018-12-26 16:20:18 | 显示全部楼层
感谢专家分享 恭喜你获得  #2018最后一周#我们一起来分享 活动“原创先锋”礼包一份

  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver | 思科社区  

GMT+8, 2019-6-26 20:45 , Processed in 0.091646 second(s), 32 queries .

京ICP备09041801号-187

版权所有 :copyright:1992-2019 思科系统  重要声明 | 保密声明 | 隐私权政策 | 商标 |

快速回复 返回顶部 返回列表