본문 바로가기

Work/Solaris

Ldom Direct I/O FC 카드 할당


ldom1:/]ldm list-io -l
IO              PSEUDONYM       DOMAIN         
--              ---------       ------         
pci@400         pci_0           primary        
niu@480         niu_0           primary        

PCIE                       PSEUDONYM             STATUS  DOMAIN
----                       ---------             ------  ------
pci@400/pci@1/pci@0/pci@8  /SYS/MB/RISER0/PCIE0  OCC     primary
        SUNW,qlc@0/fp/disk
        SUNW,qlc@0/fp@0,0/ssd@w20360080e52d1eda,1f
        SUNW,qlc@0,1/fp/disk
        SUNW,qlc@0,1/fp@0,0
pci@400/pci@2/pci@0/pci@8  /SYS/MB/RISER1/PCIE1  OCC     primary
        SUNW,qlc@0/fp/disk
        SUNW,qlc@0/fp@0,0/ssd@w20370080e52d1eda,1f
        SUNW,qlc@0,1/fp/disk
        SUNW,qlc@0,1/fp@0,0
pci@400/pci@1/pci@0/pci@6  /SYS/MB/RISER2/PCIE2  OCC     primary
        network@0
        network@0,1
        network@0,2
        network@0,3
pci@400/pci@2/pci@0/pci@c  /SYS/MB/RISER0/PCIE3  OCC     guest01
        SUNW,assigned-device@0
        SUNW,assigned-device@0,1

...


서버에서 인식하는 /SYS/MB/RESIER0/PRCIE3 카드를 Guest domain 인 guest01 에 할당한걸 확인 할 수 있다.


==========================테스트 필요======================

1. 설정방법

#ldm rm -io /SYS/MB/RISER0/PCIE3 primary   

( Direct I/O 로 사용할 디바이스 Primary 에서 삭제 )



# reboot --r  


# ldm add-io /SYS/MB/RISER0/PCIE3 guest01


# ldm ls-io guest01


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