-
LINUX HBA FC Adapter(Emulex) 성능 분석 테스트 방법System of Infra/Linux System 2022. 8. 4. 00:04728x90반응형
LINUX HBA FC Adapter(Emulex) 성능 분석 테스트 방법
[root@LINUX ~]# lspci | grep -i emulex 01:00.0 PCI bridge: Emulex Corporation x1 PCIe Gen2 Bridge[Pilot4] 5b:00.0 Fibre Channel: Emulex Corporation LPe31000/LPe32000 Series 16Gb/32Gb Fibre Channel Adapter (rev 01) ae:00.0 Fibre Channel: Emulex Corporation LPe31000/LPe32000 Series 16Gb/32Gb Fibre Channel Adapter (rev 01)
▶ 해당 리눅스 서버의 FC(HBA) 카드의 Type이 emulex 또는 qlogic 중 해당되는 것을 찾아서 확인을 합니다. 이전 시간에 qlogic에 대한 광량 체크와 성능 분석을 위한 포스팅은 아래에 참고하시면 되겠습니다.
[root@LINUX ~]# ls -ltr | grep -i elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1.tgz -rw-r--r-- 1 root root 10056062 Jul 26 14:59 elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1.tgz
▶ emulex HBA 카드의 성능 및 광량 체크를 위해 elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1.tgz 파일을 준비 후 해당 서버에 업로드 하도록 합니다.
[root@LINUX ~]# tar zxvf elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1.tgz elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/ elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/uninstall.sh elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/install.sh elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/elx_hbacmd.sh.in elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/install_shared_ocm.sh elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/ elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-7/ elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-7/hbaapiwrapper-14.0.505.26-1.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-7/hbaapiwrapper-32bit-14.0.505.26-1.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-7/elxocmcore-14.0.505.26-1.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-7/elxocmcorelibs-14.0.505.26-1.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-9/ elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-9/elxocmcorekit-14.0.505.26-1.rhel9.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-8/ elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-8/hbaapiwrapper-14.0.505.26-1.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-8/elxocmcore-14.0.505.26-1.x86_64.rpm elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1/x86_64/rhel-8/elxocmcorelibs-14.0.505.26-1.x86_64.rpm
▶ elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1.tgz 파일의 압축을 풀어줍니다.
[root@LINUX ~]# cd elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1 [root@LINUX elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1]# ls -ltr drwxr-xr-x 5 root root 48 Jul 7 19:03 x86_64 -rwxr--r-- 1 root root 9514 Jul 7 19:03 uninstall.sh -rwxr--r-- 1 root root 12049 Jul 7 19:03 install_shared_ocm.sh -rwxr--r-- 1 root root 46312 Jul 7 19:03 install.sh -rw-r--r-- 1 root root 11333 Jul 7 19:03 elx_hbacmd.sh.in
▶ 해당 파일의 압축을 풀게되면 install.sh 파일이 있는 것을 확인할 수 있습니다. 설치 후 제거를 위한 uninstall.sh 파일도 있기 때문에 사용 후 삭제가 필요한 경우는 해당 스크립트를 활용하시면 됩니다.
[root@LINUX elxocmcore-rhel7-rhel8-rhel9-14.0.505.26-1]# ./install.sh Beginning Emulex HBA Manager Core Kit Installation... Installing ./x86_64/rhel-7/elxocmcorelibs-14.0.505.26-1.x86_64.rpm Installing ./x86_64/rhel-7/hbaapiwrapper-32bit-14.0.505.26-1.x86_64.rpm Installing ./x86_64/rhel-7/hbaapiwrapper-14.0.505.26-1.x86_64.rpm Installing ./x86_64/rhel-7/elxocmcore-14.0.505.26-1.x86_64.rpm warning: elxocmcorelibs-14.0.505.26-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 64e2b306: NOKEY Stopping Emulex HBA Manager daemons ... Do you want to enable Secure Management feature for Emulex HBA Manager? (s/u) The secure management feature requires Emulex HBA Manager groups be configured on the LDAP network or the local host machine to provide for Emulex HBA Manager operation. Enter 's' to select secure management. (LDAP/NIS EHM group configuration required) Enter 'u' to run without secure management (default). Enter the letter 's' or 'u': u --> u [입력] You selected: Secure Management Disabled Select desired mode of operation for Emulex HBA Manager 1 Strictly Local Management : Only manage the adapters on this host. Management of adapters on this host from other hosts is not allowed. (Default) 2 Local Management Plus : Only manage the adapters on this host. Management of adapters on this host from other hosts is allowed. 3 Full Management : Manage the adapters on this host and other hosts that allow it. Management of the adapters on this host from another host is allowed. 4 Management Host : Manage the adapters on this host and other hosts that allow it. Management of the adapters on this host from another host is not allowed. 5 Strictly Local Management : Only manage the adapters on this host. with Daemons Disabled Management of adapters on this host from other hosts is not allowed. Emulex HBA Manager daemons are disabled, which limits some application features. Enter the number 1 (default, recommended), 2, 3, 4, or 5: --> 1[입력] You selected: 'Strictly Local Management' Do you want to allow user to change management mode using the set_operating_mode script located in /usr/sbin/ocmanager ? Enter the letter 'y' if yes (default), or 'n' if no: y You selected: Yes --> y[입력] Emulex HBA Manager Core Kit install completed successfully. Type: /usr/sbin/ocmanager/hbacmd to run the Emulex HBA Manager CLI utility.
▶ install.sh 스크립트를 기동하여 설치를 시작합니다. 해당 절차마다 묻는 질문에 입력을 해주시면 됩니다.
[root@LINUX /]# cat /sys/class/fc_host/host15/port_name 0x100000109b9cef02 [root@LINUX /]# cat /sys/class/fc_host/host16/port_name 0x100000109b9ceed2
▶해당 리눅스 시스템의 HBA 카드의 WWPN을 사전에 확인합니다. /sys/class/fc_host/host(N)/port_name을 통해서 카드 이중화의 경우 두장의 카드를 확인하고 포트 이중화의 경우는 한 장의 카드의 WWPN을 확인하시면 됩니다.
[root@LINUX fc_host]# hbacmd GetXcvrData 10:00:00:10:9b:9c:ee:d2 VendorName: EMULEX VendorOui: 00-17-6a VendorPN: AFBR-57F5MZ-ELX VendorRev: VendorSN: AD1943J03UG DateCode: 191025 Identifier: 3h ExtIdentifier: 4h Connector: 7h Wavelength: 850 nm Speed: 4 8 16 Gbit/sec Temperature: 44.53 C Vcc: 3.29 V TxBiasCurrent: 7.38 mA TxPower: 0.53 mW RxPower: 0.57 mW
▶ hbacmd GetXcvrDat 명령어를 통해서 1번 카드의 WWPN인 10:00:00:10:9b:9c:ee:d2 입력해주면 TxPower 및 RxPower 추가적으로 전압, 온도, 스피드에 대한 카드 성능 지표를 확인할 수 있습니다.
[root@LINUX fc_host]# hbacmd GetXcvrData 10:00:00:10:9b:9c:ef:02 VendorName: EMULEX VendorOui: 00-17-6a VendorPN: AFBR-57F5MZ-ELX VendorRev: VendorSN: AD1944J0139 DateCode: 191103 Identifier: 3h ExtIdentifier: 4h Connector: 7h Wavelength: 850 nm Speed: 4 8 16 Gbit/sec Temperature: 48.34 C Vcc: 3.31 V TxBiasCurrent: 7.38 mA TxPower: 0.54 mW RxPower: 0.52 mW
▶ hbacmd GetXcvrDat 명령어를 통해서 2번 카드의 WWPN인 10:00:00:10:9b:9c:ef:02 입력해주면 TxPower 및 RxPower 추가적으로 전압, 온도, 스피드에 대한 카드 성능 지표를 확인할 수 있습니다.
반응형2022.07.26 - [System of Infra/LINUX] - LINUX HBA FC Adapter(QLogic) 성능 분석 테스트 방법
2021.01.19 - [System of Infra/UNIX] - IBM FC adapter 성능 분석 테스트 방법
PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.
포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요.
728x90반응형'System of Infra > Linux System' 카테고리의 다른 글
LINUX Hostname 변경하는 방법 (6) 2022.08.09 LINUX DNS Primary IP -> Secondary IP 변경하는 방법 (4) 2022.08.04 LINUX HBA FC Adapter(QLogic) 성능 분석 테스트 방법 (10) 2022.07.26 LINUX Swap(Paging)영역 늘리는 방법 (14) 2022.07.25 LINUX Megaraid 설치를 통한 DISK 관리하기 (8) 2022.07.24