1. 관리자 권한으로 PowerShell 실행

2. Oneview Powershell Library 설치
PS> Install-Module HPOneView.500

3. Load the module
PS> Import-Module HPOneView.500

3. Connect to your appliance(Composer/Oneview)
PS> Connect-HPOVMgmt -Hostname -UserName -Password

4. Connection List 열람
PS> Get-HPOVServerProfileConnectionList

cf) 대략 아래 형태로 출력됨
serverProfile cid portId functionType Network mac wwpn boot arrayTarget lun Appliance
------------- --- ------ ------------ ------- --- ---- ---- ----------- --- ---------
TEST_SS 1 Mezz 3:1-a Ethernet Production Mac_Address - OneView_Hostname
TEST_SS 2 Mezz 3:2-a Ethernet Production Mac_Address - OneView_Hostname

5. 출력된 MAC 주소를 바탕으로, 필요에 따른 사용

참고:
https://hpe-docs.gitbook.io/posh-hponeview/cmdlets/v5.00/servers/get-hpovserverprofileconnectionlist

Posted by 스쳐가는인연

댓글을 달아 주세요