国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

Solaris系統(tǒng)下配置MPXIO

瀏覽:76日期:2022-06-07 14:29:52

用的LSI的存儲(chǔ) 和普安的存儲(chǔ) SUN V245平臺(tái)+LPE11002 或者Qlogic QLE2460

環(huán)境SUN的V245 +LSI 3994 
想測(cè)試下 LSI的存儲(chǔ)在Solaris下的路徑冗余,因?yàn)橛肔SI帶的RDAC裝完系統(tǒng)就Hang住了……
操作系統(tǒng)環(huán)境 SUN-V245 Solaris10 U5  HBA卡是Emulex的 LPE11002 雙端口的,先用LSI的Santricity 做了一個(gè)Raid
然后在Solaris 下用Format 能看到倆個(gè)盤(pán)
接著如果使用第三方的存儲(chǔ)就如下:
bash-3.00# cat /kernel/drv/scsi_vhci.conf 
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#pragma ident   "@(#)scsi_vhci.conf     1.9     04/08/26 SMI"
#
name="scsi_vhci" class="root";
#
# Load balancing global configuration: setting load-balance="none" will cause
# all I/O to a given device (which supports multipath I/O) to occur via one
# path.  Setting load-balance="round-robin" will cause each path to the device
# to be used in turn.
#
load-balance="round-robin";
#
# Automatic failback configuration
# possible values are auto-failback="enable" or auto-failback="disable"
auto-failback="enable";
#
# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN     SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
# device-type-scsi-options-list =
# "SUN     SENA", "symmetric-option";
#
# symmetric-option = 0x1000000;
如果需要添加別的存儲(chǔ) 在下面添加如下:


device-type-scsi-options-list =
“DGC     RAID”, “symmetric-option”;

symmetric-option = 0×1000000;

怎么識(shí)別Vendor ID/Product ID 了 o(∩_∩)o...
首先執(zhí)行format,然后選擇映射過(guò)來(lái)的磁盤(pán),選擇inquiry 就可以顯示了 :)如下例所示:
bash-3.00# format
Searching for disks...doneAVAILABLE DISK SELECTIONS:      
 0. c0t0d0 <SEAGATE-ST973451SS-0001 cyl 38296 alt 2 hd 4 sec 935>          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0       
1. c0t1d0 <FUJITSU-MBB2147RC-0105 cyl 65533 alt 2 hd 4 sec 1095>          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0      
2. c0t2d0 <drive type unknown>          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0       
3. c0t3d0 <FUJITSU-MBB2147RC-0105 cyl 65533 alt 2 hd 4 sec 1095>          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0       
4. c1t2d0 <ENGENIO-INF-01-00-0619 cyl 25598 alt 2 hd 64 sec 64>          /pci@1e,600000/pci@0/pci@8/lpfc@0/fp@0,0/ssd@w200800a0b8420154,0       
5. c2t1d0 <ENGENIO-INF-01-00-0619 cyl 25598 alt 2 hd 64 sec 64>          /pci@1e,600000/pci@0/pci@8/lpfc@0,1/fp@0,0/ssd@w200800a0b8420153,0Specify disk (enter its number): 4selecting c1t2d0[disk formatted]FORMAT MENU:        
disk       - select a disk        
type       - select (define) a disk type        
partition  - select (define) a partition table        
current    - describe the current disk        
format     - format and analyze the disk       
repair     - repair a defective sector        
label      - write label to the disk        
analyze    - surface analysis       
defect     - defect list management       
 backup     - search for backup labels        
verify     - read and display labels        
save       - save new disk/partition definitions        
inquiry    - show vendor, product and revision        
volname    - set 8-character volume name        
!<cmd>     - execute <cmd>, then return        
quit
format> inquiry
Vendor:   ENGENIO 
Product:  INF-01-00       
Revision: 0619
format> 
然后呢執(zhí)行:
bash-3.00# stmsboot -e
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y) y
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y) y
This required a reboot, so I rebooted the machine, and low and behold the devices appeared correctly: 
重啟以后 在用format 應(yīng)該就會(huì)只看到一個(gè)盤(pán)了 :)

#######################################################

如果用的是普安的光纖存儲(chǔ)的話 或者其他光纖存儲(chǔ) 需要修改另外一些文件
首先用format看到倆個(gè)盤(pán)
然后在bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:       
0. c0t0d0 <SEAGATE-ST973451SS-0001 cyl 38296 alt 2 hd 4 sec 935>          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0       
1. c1t112d0 <inspur-AS800-361G cyl 37793 alt 2 hd 127 sec 64>          /pci@1e,600000/pci@0/pci@2/lpfc@0/fp@0,0/ssd@w220000d0230014de,0       
2. c2t113d0 <inspur-AS800-361G cyl 37793 alt 2 hd 127 sec 64>          /pci@1e,600000/pci@0/pci@2/lpfc@0,1/fp@0,0/ssd@w220000d0231014de,0
Specify disk (enter its number): 1
selecting c1t112d0[disk formatted]
FORMAT MENU:        
disk       - select a disk       
 type       - select (define) a disk type       
 partition  - select (define) a partition table        
current    - describe the current disk        
format     - format and analyze the disk        
repair     - repair a defective sector        
label      - write label to the disk        
analyze    - surface analysis        
defect     - defect list management       
 backup     - search for backup labels       
verify     - read and display labels        
save       - save new disk/partition definitions       
 inquiry    - show vendor, product and revision        
volname    - set 8-character volume name        
!<cmd>     - execute <cmd>, then return        
quit
format> inquiry
Vendor:   inspur  
Product:  AS800           
Revision: 361G
format> q 
然后修改/kernel/drv/scsi_conf文件 
如下所示:bash-3.00# cat /kernel/drv/scsi_vhci.conf 
bash-3.00# cat /kernel/drv/scsi_vhci.conf 
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#pragma ident   "@(#)scsi_vhci.conf     1.9     04/08/26 SMI"
#
name="scsi_vhci" class="root";
#
# Load balancing global configuration: setting load-balance="none" will cause
# all I/O to a given device (which supports multipath I/O) to occur via one
# path.  Setting load-balance="round-robin" will cause each path to the device
# to be used in turn.
#
load-balance="round-robin";
#
# Automatic failback configuration
# possible values are auto-failback="enable" or auto-failback="disable"
auto-failback="enable";
#
# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN     SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
# device-type-scsi-options-list =
# "SUN     SENA", "symmetric-option";
#
# symmetric-option = 0x1000000;
device-type-scsi-options-list =
"inspur    AS800", "symmetric-option";

symmetric-option = 0x1000000;


在然后 看下機(jī)器上的光纖設(shè)備,我下面顯示的還有Qlogic的是因?yàn)槲也暹^(guò)QLOGIC的卡……
bash-3.00# ls -l /dev/fc
total 10
lrwxrwxrwx   1 root     root          60 Jul 22 12:12 fp0 -> ../../devices/pci@1e,600000/pci@0/pci@8/lpfc@0/fp@0,0:devctl
lrwxrwxrwx   1 root     root          62 Jul 22 12:12 fp1 -> ../../devices/pci@1e,600000/pci@0/pci@8/lpfc@0,1/fp@0,0:devctl
lrwxrwxrwx   1 root     root          64 Jul 22 14:26 fp2 -> ../../devices/pci@1e,600000/pci@0/pci@2/QLGC,qlc@0/fp@0,0:devctl
lrwxrwxrwx   1 root     root          60 Jul 22 14:38 fp3 -> ../../devices/pci@1e,600000/pci@0/pci@2/lpfc@0/fp@0,0:devctl
lrwxrwxrwx   1 root     root          62 Jul 22 14:38 fp4 -> ../../devices/pci@1e,600000/pci@0/pci@2/lpfc@0,1/fp@0,0:devctl

然后編輯/kernel/drv/fcp.conf文件 添加下面的內(nèi)容

bash-3.00# vi /kernel/drv/fcp.conf 
"/kernel/drv/fcp.conf" 8 lines, 182 characters 
#
# Copyright 1999 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident  "@(#)fcp.conf   1.2     03/09/30 SMI"
#

name="fcp" parent="pseudo" instance=0;
name="fcp" parent="pci@1e,600000/pci@0/pci@2/lpfc@0" instance=0 port=0 mpxio-disable="no";
name="fcp" parent="pci@1e,600000/pci@0/pci@2/lpfc@0,1" instance=0 port=0 mpxio-disable="no";
~
然后保存后執(zhí)行下面的命令:#stmsboot -e 重啟后就可以正確認(rèn)出來(lái)一塊盤(pán)了

 bash-3.00# luxadm probe
No Network Array enclosures found in /dev/es

Found Fibre Channel device(s):
  Node WWN:200000d0230014de  Device Type:Disk device
    Logical Path:/dev/rdsk/c3t600D0230FFFFFFFF0014DE422CA20201d0s2

bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SEAGATE-ST973451SS-0001 cyl 38296 alt 2 hd 4 sec 935>
          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
       1. c3t600D0230FFFFFFFF0014DE422CA20201d0 <inspur-AS800-361G cyl 37793 alt 2 hd 127 sec 64>
          /scsi_vhci/ssd@g600d0230ffffffff0014de422ca20201
Specify disk (enter its number): ^D


如果有什么不對(duì)的地方 或者需要修改的地方 請(qǐng)幫忙指出 謝謝 :)
 

標(biāo)簽: 其它系統(tǒng) Solaris
相關(guān)文章:
主站蜘蛛池模板: 欧美aaa视频| 日本免费人成黄页网观看视频 | 国产在线一区二区三区欧美 | 国产成人精品一区二区秒拍 | 日韩精品一区二区在线观看 | 91福利精品老师国产自产在线 | 国产一区精品 | 国内自拍第100页 | 国产成人久久精品推最新 | 美国三级在线观看 | 美国三级网站 | 在线观看免费av网站 | 欧美激情欧美狂野欧美精品免费 | 女人张开双腿让男人桶完整 | 全国男人的天堂网 | 国产aaa毛片 | 九九视频在线观看视频6偷拍 | 欧美一区二区三区视频 | 欧美人成毛片在线播放 | 欧美一级毛片高清毛片 | 国产精品亚洲一区二区在线观看 | 国产精品成人一区二区三区 | 六月丁香婷婷色狠狠久久 | 一级毛片免费观看不卡视频 | 手机看片午夜 | 九九久久精品 | 三区在线视频 | 欧美国产一区二区三区 | 午夜成年| 免费观看欧美成人禁片 | 午夜性爽视频男人的天堂在线 | 久久精品免费观看国产软件 | 成年女人毛片免费播放视频m | 美女视频黄a视频免费全程 美女视频黄a视频免费全过程 | 色本道| 可以免费看黄色的网站 | 久久精品福利视频在线观看 | 成人a免费视频播放 | 久久91综合国产91久久精品 | 国产亚洲女在线精品 | 夜色邦合成福利网站 |