1. Solaris mpxio 구성
- 전체(fp|lsc|mpt|mpt_sas|pmcs|lmrc) 활성화
[root@SA-OVS1:~:#] stmsboot -e
WARNING: stmsboot operates on each supported multipath-capable controller
detected in a host. In your system, these controllers are
If you do NOT wish to operate on these controllers, please quit stmsboot
and re-invoke with -D { fp | lsc | mpt | mpt_sas | pmcs | lmrc} to specify which controllers you wish
to modify your multipathing configuration for.
Do you wish to continue? [y/n] (default: y)
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y)
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y)
- fp driver만 활성화
[root@SA-OVS1:~:#] stmsboot -D fp -e
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y)
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y)
- mpxio 구성 확인
[root@SA-OVS1:~:#] stmsboot -L
non-STMS device name STMS device name
------------------------------------------------------------------
/dev/rdsk/c4t0d148 /dev/rdsk/c0t600000E00D000000000205A100940000d0s
/dev/rdsk/c15t0d148 /dev/rdsk/c0t600000E00D000000000205A100940000d0s
/dev/rdsk/c4t0d147 /dev/rdsk/c0t600000E00D000000000205A100930000d0s
/dev/rdsk/c15t0d147 /dev/rdsk/c0t600000E00D000000000205A100930000d0s
/dev/rdsk/c4t0d146 /dev/rdsk/c0t600000E00D000000000205A100920000d0s
/dev/rdsk/c15t0d146 /dev/rdsk/c0t600000E00D000000000205A100920000d0s
- path 이중화 확인
[root@SA-OVS1:~:#] luxadm disp /dev/rdsk/c0t600000E00D000000000205A100940000d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c0t600000E00D000000000205A100940000d0s2
Vendor: FUJITSU
Product ID: ETERNUS_DXL
Revision: 0000
Serial Num: 0205A1
Unformatted capacity: 7450.000 MBytes
Write Cache: Enabled
Read Cache: Enabled
Minimum prefetch: 0x0
Maximum prefetch: 0x0
Device Type: Disk device
Path(s):
/dev/rdsk/c0t600000E00D000000000205A100940000d0s2
/devices/scsi_vhci/ssd@g600000e00d000000000205a100940000:c,raw
Controller /devices/pci@8100/pci@4/pci@0/pci@0/SUNW,qlc@0/fp@0,0
Device Address 500000e0d085a106,94
Host controller port WWN 210034800d784390
Class secondary
State ONLINE
Controller /devices/pci@8100/pci@4/pci@0/pci@8/SUNW,qlc@0/fp@0,0
Device Address 500000e0d085a186,94
Host controller port WWN 210034800d784440
Class primary
State ONLINE
2. Solaris mpxio 해제
- 전체(fp|lsc|mpt|mpt_sas|pmcs|lmrc) 해제
[root@SA-OCM3:~:#] stmsboot -d
WARNING: stmsboot operates on each supported multipath-capable controller
detected in a host. In your system, these controllers are
If you do NOT wish to operate on these controllers, please quit stmsboot
and re-invoke with -D { fp | lsc | mpt | mpt_sas | pmcs | lmrc} to specify which controllers you wish
to modify your multipathing configuration for.
Do you wish to continue? [y/n] (default: y)
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y)
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y)
- fp driver만 해제
[root@SA-OCM3:~:#] stmsboot -D fp -d
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y)
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y)
3. fp 포트 중 일부만 활성화
: Hitach(HDLM), EMC(Powerpath) 등 스토리지 소프트웨어로 Multipath를 구성하는 경우 해당포트만 mpxio 구성해제 할 수 있다
- fp.conf 위치 확인
: fp.conf가 /kernel/drv 에 있는경우 해당 파일을 수정하고, /etc/driver/drv에도 있는경우 후순위 적용되므로 /etc/driver/drv 의 fp.conf를 수정한다
[root@SA-OCM3:~:#] find / -name fp.conf -exec ls {} \;
/etc/driver/drv/fp.conf
/kernel/drv/fp.conf
- fp 포트 경로 확인
[root@SA-OVS1:~:#] luxadm -e port
/devices/pci@8100/pci@4/pci@0/pci@0/SUNW,qlc@0/fp@0,0:devctl CONNECTED
/devices/pci@8100/pci@4/pci@0/pci@0/SUNW,qlc@0,1/fp@0,0:devctl NOT CONNECTED #<== mpxio 해제
/devices/pci@8100/pci@4/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl CONNECTED
/devices/pci@8100/pci@4/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl NOT CONNECTED #<== mpxio 해제
- fp.conf 수정
[root@SA-OCM3:~:#] vi /etc/driver/drv/fp.conf
# name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";
name="fp" parent="/pci@8100/pci@4/pci@0/pci@0/SUNW,qlc@0,1" port=0 mpxio-disable="yes"; #<== mpxio 해제
name="fp" parent="/pci@8100/pci@4/pci@0/pci@8/SUNW,qlc@0,1" port=0 mpxio-disable="yes"; #<== mpxio 해제
#
# NOTE: If you just want to enable or disable MPxIO on all fp ports, it is
# better to use stmsboot(1M) as it also updates /etc/vfstab.
#
mpxio-disable="no"; #<== mpxio 활성화
- 수정사항 업데이트(reboot)
[root@SA-OVS1:~:#] stmsboot -u
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y)
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y)
반응형
'OS > Solaris_관리' 카테고리의 다른 글
[Solaris_관리] ssh : login delay 현상 (DNS, resolv) (0) | 2021.01.08 |
---|---|
[Solaris_관리] ValueError: character $val is not in range [$val1;$val2] (0) | 2020.12.29 |
[Solaris_관리] SVM 환경에서 스토리지 교체절차(on solaris cluster, mpxio 제거) (0) | 2020.10.09 |
[Solaris_관리] Package 관리 : package repository 서비스 구성(http) (0) | 2020.07.03 |
[solaris] 지정한 영역의 disk 추출 (16진수 -> 10진수 변환 비교 스크립트) (0) | 2020.06.02 |