Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1993891
  • 博文数量: 346
  • 博客积分: 10221
  • 博客等级: 上将
  • 技术积分: 4079
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-01 19:43
文章分类

全部博文(346)

文章存档

2012年(1)

2011年(102)

2010年(116)

2009年(127)

我的朋友

分类: 服务器与存储

2009-06-24 23:22:01

SAN环境中配置SSO时的一点经验!

环境:NBU4.5FP3. HPUX11.11. L20/700带库*2.SAN

在master server上扫描设备:

#ioscan -fnCtape

Class     I  H/W Path      Driver S/W State   H/W Type     Description

=======================================================================

tape     25  0/0/1/0.3.0   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/25m           /dev/rmt/25mnb         /dev/rmt/c0t3d0BESTn   /dev/rmt/c0t3d0DDSb 

                          /dev/rmt/25mb          /dev/rmt/c0t3d0BEST    /dev/rmt/c0t3d0BESTnb  /dev/rmt/c0t3d0DDSn 

                          /dev/rmt/25mn          /dev/rmt/c0t3d0BESTb   /dev/rmt/c0t3d0DDS     /dev/rmt/c0t3d0DDSnb

tape     78  0/8/0/0.3.8.255.0.0.0   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/78m            /dev/rmt/78mn           /dev/rmt/c32t0d0BEST    /dev/rmt/c32t0d0BESTn

                          /dev/rmt/78mb           /dev/rmt/78mnb          /dev/rmt/c32t0d0BESTb   /dev/rmt/c32t0d0BESTnb

tape     82  0/8/0/0.3.8.255.0.0.1   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/82m            /dev/rmt/82mn           /dev/rmt/c32t0d1BEST    /dev/rmt/c32t0d1BESTn

                          /dev/rmt/82mb           /dev/rmt/82mnb          /dev/rmt/c32t0d1BESTb   /dev/rmt/c32t0d1BESTnb

tape     79  0/8/0/0.3.9.255.0.0.0   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/79m            /dev/rmt/79mn           /dev/rmt/c33t0d0BEST    /dev/rmt/c33t0d0BESTn

                          /dev/rmt/79mb           /dev/rmt/79mnb          /dev/rmt/c33t0d0BESTb   /dev/rmt/c33t0d0BESTnb

tape     83  0/8/0/0.3.9.255.0.0.1   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/83m            /dev/rmt/83mn           /dev/rmt/c33t0d1BEST    /dev/rmt/c33t0d1BESTn

                          /dev/rmt/83mb           /dev/rmt/83mnb          /dev/rmt/c33t0d1BESTb   /dev/rmt/c33t0d1BESTnb

tape     90  0/8/0/0.4.8.255.0.0.0   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/90m            /dev/rmt/90mn           /dev/rmt/c34t0d0BEST    /dev/rmt/c34t0d0BESTn

                          /dev/rmt/90mb           /dev/rmt/90mnb          /dev/rmt/c34t0d0BESTb   /dev/rmt/c34t0d0BESTnb

tape     92  0/8/0/0.4.8.255.0.0.1   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/92m            /dev/rmt/92mn           /dev/rmt/c34t0d1BEST    /dev/rmt/c34t0d1BESTn

                          /dev/rmt/92mb           /dev/rmt/92mnb          /dev/rmt/c34t0d1BESTb   /dev/rmt/c34t0d1BESTnb

tape     91  0/8/0/0.4.9.255.0.0.0   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/91m            /dev/rmt/91mn           /dev/rmt/c35t0d0BEST    /dev/rmt/c35t0d0BESTn

                          /dev/rmt/91mb           /dev/rmt/91mnb          /dev/rmt/c35t0d0BESTb   /dev/rmt/c35t0d0BESTnb

tape     93  0/8/0/0.4.9.255.0.0.1   stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/93m            /dev/rmt/93mn           /dev/rmt/c35t0d1BEST    /dev/rmt/c35t0d1BESTn

                          /dev/rmt/93mb           /dev/rmt/93mnb          /dev/rmt/c35t0d1BESTb   /dev/rmt/c35t0d1BESTnb

tape     80  0/10/0/0.2.8.255.0.0.0  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/80m            /dev/rmt/80mn           /dev/rmt/c36t0d0BEST    /dev/rmt/c36t0d0BESTn

                          /dev/rmt/80mb           /dev/rmt/80mnb          /dev/rmt/c36t0d0BESTb   /dev/rmt/c36t0d0BESTnb

tape     85  0/10/0/0.2.8.255.0.0.2  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/85m            /dev/rmt/85mn           /dev/rmt/c36t0d2BEST    /dev/rmt/c36t0d2BESTn

                          /dev/rmt/85mb           /dev/rmt/85mnb          /dev/rmt/c36t0d2BESTb   /dev/rmt/c36t0d2BESTnb

tape     81  0/10/0/0.2.9.255.0.0.0  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/81m            /dev/rmt/81mn           /dev/rmt/c37t0d0BEST    /dev/rmt/c37t0d0BESTn

                          /dev/rmt/81mb           /dev/rmt/81mnb          /dev/rmt/c37t0d0BESTb   /dev/rmt/c37t0d0BESTnb

tape     84  0/10/0/0.2.9.255.0.0.1  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/84m            /dev/rmt/84mn           /dev/rmt/c37t0d1BEST    /dev/rmt/c37t0d1BESTn

                          /dev/rmt/84mb           /dev/rmt/84mnb          /dev/rmt/c37t0d1BESTb   /dev/rmt/c37t0d1BESTnb

tape     86  0/10/0/0.3.8.255.0.0.0  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/86m            /dev/rmt/86mn           /dev/rmt/c38t0d0BEST    /dev/rmt/c38t0d0BESTn

                          /dev/rmt/86mb           /dev/rmt/86mnb          /dev/rmt/c38t0d0BESTb   /dev/rmt/c38t0d0BESTnb

tape     89  0/10/0/0.3.8.255.0.0.2  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/89m            /dev/rmt/89mn           /dev/rmt/c38t0d2BEST    /dev/rmt/c38t0d2BESTn

                          /dev/rmt/89mb           /dev/rmt/89mnb          /dev/rmt/c38t0d2BESTb   /dev/rmt/c38t0d2BESTnb

tape     87  0/10/0/0.3.9.255.0.0.0  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/87m            /dev/rmt/87mn           /dev/rmt/c39t0d0BEST    /dev/rmt/c39t0d0BESTn

                          /dev/rmt/87mb           /dev/rmt/87mnb          /dev/rmt/c39t0d0BESTb   /dev/rmt/c39t0d0BESTnb

tape     88  0/10/0/0.3.9.255.0.0.1  stape  CLAIMED     DEVICE       HP      Ultrium 1-SCSI

                          /dev/rmt/88m            /dev/rmt/88mn           /dev/rmt/c39t0d1BEST    /dev/rmt/c39t0d1BESTn

                          /dev/rmt/88mb           /dev/rmt/88mnb          /dev/rmt/c39t0d1BESTb   /dev/rmt/c39t0d1BESTnb

红色字体与黑色字体分别是两个带库中的各自8个drive.

其中,红色字体的drive在2年前已经配置完成,并且正常工做。昨天配置另外一个带库,在配置sso时如下:

drvie number in robot path
1 /dev/rmt/78mnb
2 /dev/rmt/79mnb
3 /dev/rmt/80mnb
4 /dev/rmt/81mnb
5 /dev/rmt/82mnb
6 /dev/rmt/83mnb
7 /dev/rmt/84mnb
8 /dev/rmt/85mnb

配置完成后,起inlinecopy的policy,storage unit分别指向两个带库,这时发现新配置的带库drive只要磁带放到drive里面就会down掉!报Request terminated because media is unavailable in DOWN drive

后来经高人指点重新配置sso.如下:

 

drvie number in robot path H/W PATH
1 /dev/rmt/78mnb     0/8/0/0.3.8.255.0.0.0
2 /dev/rmt/82mnb 0/8/0/0.3.8.255.0.0.1
3 /dev/rmt/79mnb 0/8/0/0.3.9.255.0.0.0
4 /dev/rmt/83mnb 0/8/0/0.3.9.255.0.0.1
5 /dev/rmt/80mnb 0/10/0/0.2.8.255.0.0.0
6 /dev/rmt/85mnb 0/10/0/0.2.8.255.0.0.2
7 /dev/rmt/81mnb 0/10/0/0.2.9.255.0.0.0
8 /dev/rmt/84mnb 0/10/0/0.2.9.255.0.0.1

也就是NBU中DRIVE的顺序要按照H/W PATH来设定,而不是设备文件名字!结果一切正常!

现在还有不明白NBU中如何使用设备为何要看H/W PATH ??

阅读(1359) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~