关于SUN的StorEdge 3310的安装调试过程 - Solaris

关于SUN的StorEdge 3310的安装调试过程 - Solaris [@more@]

[共享]关于SUN的StorEdge 3310的安装调试过程 - Solaris
文章来源: 文章作者: 发布时间:2006-10-16 字体: [ ]
前些日子郁闷了好几天,一直在给一个客户调试他的3310的盘阵,虽然历经痛苦,但,总算搞掂,把经验与大家分享一下:

本次客户公司使用两台SUN Blade 2000做为主服务器,共连一台磁盘阵列Sun StorEdge 3310做为存储设备。

StorEdge 3310的外部连接方式为,双总线结构
(不好意思了,图片没贴上)

盘阵内一共有12块硬盘,根据客户要求,对其中7块硬盘做RAID5(0—0, 0—1, 0—2, 0—3, 2—0, 2—1, 2—2),对其中的两块盘做RAID1(2—3, 2—4),同时也对另外两块盘做RAID1(0—4, 0—5),最后的一块盘做为Globle Spare(2—5)。
创建三个逻辑驱动(Logic Drive),并对这三个逻辑驱动进行分区,每个驱动都做为一个逻辑分区(Logic Partition),分别挂接到两台主机,名为:bjgsun1:/bj1 bjgsun2:/ora1, bjgsun2:/ora2

有关于两台Sun Blade 2000:
1. hostname : bjgsun1 IP: a.b.c.d Netmask: 255.255.255.0
domain: bjg
2.hostname: bjgsun2 IP: a.b.c.e Netmask: 255.255.255.0
domain: bjg

在主机bjgsun1上连接盘阵设备,使用随机提供的串口线(一端为9针,另一针为9针转25针线缆),修改本地主机文件:/etc/remote
# vi /etc/remote
hardwire:
:dv=/dev/term/b:br#9600:e1=^C^S^Q^U^D:ie=%$e=^D:
ss3310: :dv=/dev/term/b:br#38400: e1=^C^S^Q^U^D:ie=%$e=^D:

# tip ss3310

使用Ctrl L来刷新屏幕,可以看到欢迎画面:使用上下键选择第二项:
1. PC Graphic(ANSI Mode)
2. Terminal(VT100 Mode)
3. PC Graphic(ANSI Color Mode)
4. Show Transfer Rate Show Cache Status

然后进入主画面:
--------------------------------< Main Menu >;--------------------------------------------
Quick installation
View and edit Logical drives
View and edit logical Volumes
View and edit Host luns
View and edit scsi Drives
View and edit Scsi channels
View and edit Configuration parameters
View and edit Peripheral devices
System Functions
View system Information
View and edit event logs

默认情况下,盘阵系统已经建立起Host Luns,如果要建立自己的配置,需要先删除Host Luns,再删除Logical drives。
建立逻辑驱动:
1. 选择 view and edit Logical drives
2. 建立第一个逻辑驱动—S0,RAID级别为5,包括7块硬盘(0—0, 0—1, 0—2, 0—3, 2—0, 2—1, 2—2)
3. 配置后,选择:logical drive Assignments
4. 将本驱动分配给Secondary Control来进行管理
5. 选择:system Functions
6. Reset controller,这样使得改变生效
7. 再一次选择view and edit Logical drives
8. 选择S0后,Paritition logical drive对逻辑驱动进行分区,整个逻辑驱动被化分成一个逻辑分区

9. 选择 view and edit Logical drives
10. 建立第二个逻辑驱动—P1,RAID级别为1,包括2块硬盘(2—3, 2—4)
11. 不选择logical drive Assignments,这个驱动默认由Primary来管理
12. 再一次选择view and edit Logical drives
13. 选择P1后,Paritition logical drive对逻辑驱动进行分区,整个逻辑驱动被化分成一个逻辑分区
14. 选择:system Functions
15. Reset controller,这样使得改变生效
16. 同样步骤建立第三个逻辑驱动—P2,RAID级别为1,包括(0—4, 0—5)
17. 选择view and edit Host luns,做分区的映象
18. 选择CHL 1 ID 0 (Primary Cotroller)
19. 选择第一个可用LUN,创建LUN0
20. 同样,选择第二个可用LUN,创建LUN1
21. 选择 CHL 3 ID 1 (Secondary Controller)
22. 选择第一个可用LUN,创建LUN0
23. 选择:system Functions
24. Reset controller,这样使得改变生效

重要声明:
下载驱动的包及补丁:
SUNWqus, SUNWqusx, SUNWqusu, SUNWqusux
112697-02
及说明文档:816-2157-14.pdf

当把驱动的包和补丁安装好以后,进入系统:
# vi /kernel/drv/sd.conf
# BEGIN RAID Manager additional lun entries
# DO NOT EDIT from BEGIN above to END below...
name="sd" class="scsi" target=0 lun=1;
name="sd" class="scsi" target=0 lun=2;
name="sd" class="scsi" target=0 lun=3;
name="sd" class="scsi" target=0 lun=4;
name="sd" class="scsi" target=0 lun=5;
name="sd" class="scsi" target=0 lun=6;
name="sd" class="scsi" target=0 lun=7;
name="sd" class="scsi" target=0 lun=8;
name="sd" class="scsi" target=0 lun=9;
name="sd" class="scsi" target=0 lun=10;
name="sd" class="scsi" target=0 lun=11;
name="sd" class="scsi" target=0 lun=12;
name="sd" class="scsi" target=0 lun=13;
name="sd" class="scsi" target=0 lun=14;
name="sd" class="scsi" target=0 lun=15;
name="sd" class="scsi" target=0 lun=16;
name="sd" class="scsi" target=0 lun=17;
name="sd" class="scsi" target=0 lun=18;
name="sd" class="scsi" target=0 lun=19;
name="sd" class="scsi" target=0 lun=20;
name="sd" class="scsi" target=0 lun=21;
name="sd" class="scsi" target=0 lun=22;
name="sd" class="scsi" target=0 lun=23;
name="sd" class="scsi" target=0 lun=24;
name="sd" class="scsi" target=0 lun=25;
name="sd" class="scsi" target=0 lun=26;
name="sd" class="scsi" target=0 lun=27;
name="sd" class="scsi" target=0 lun=28;
name="sd" class="scsi" target=0 lun=29;
name="sd" class="scsi" target=0 lun=30;
name="sd" class="scsi" target=0 lun=31;
name="sd" class="scsi" target=1 lun=1;
…..
name=”sd” class=”scsi” target=4 lun=31;
偶在这里有点懒了,用不着写这么多,不过,全写上更安全一些!

# devfsadm –v
# reboot

# format
这时将会出现新生成的磁盘信息(也就是盘阵生成的LUN)
# newfs /dev/rdsk/cxtxdxsx
# mkdir /oradata
# mount /dev/rdsk/cxtxdxsx /oradata

哈哈,看到你想看的东东了吗?
反正偶看到了!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/620862/viewspace-891173/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/620862/viewspace-891173/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值