2019. 11. 12. 08:35 나의일 관련/클러스터관리툴
ipmitool 명령어 모음
IPMI(Intelligent Platform Management Interface)는 Intel의 주도로 1998년 개발 되었고,
Intel, IBM, Dell, HPE 등 200개 이상의 컴퓨터 시스템 공급업체에서 지원합니다.
※ 출처 : https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface
소개 명령들은 서버 관리에 자주 사용되는 ipmitool 명령들을 안내 합니다.
Commands: raw Send a RAW IPMI request and print response i2c Send an I2C Master Write-Read command and print response spd Print SPD info from remote I2C device lan Configure LAN Channels chassis Get chassis status and set power state power Shortcut to chassis power commands event Send pre-defined events to MC mc Management Controller status and global enables sdr Print Sensor Data Repository entries and readings sensor Print detailed sensor information fru Print built-in FRU and scan SDR for FRU locators gendev Read/Write Device associated with Generic Device locators sdr sel Print System Event Log (SEL) pef Configure Platform Event Filtering (PEF) sol Configure and connect IPMIv2.0 Serial-over-LAN tsol Configure and connect with Tyan IPMIv1.5 Serial-over-LAN isol Configure IPMIv1.5 Serial-over-LAN user Configure Management Controller users channel Configure Management Controller channels session Print session information dcmi Data Center Management Interface nm Node Manager Interface sunoem OEM Commands for Sun servers kontronoem OEM Commands for Kontron devices picmg Run a PICMG/ATCA extended cmd fwum Update IPMC using Kontron OEM Firmware Update Manager firewall Configure Firmware Firewall delloem OEM Commands for Dell systems shell Launch interactive IPMI shell exec Run list of commands from file set Set runtime variable for shell and exec hpm Update HPM components using PICMG HPM.1 file ekanalyzer run FRU-Ekeying analyzer using FRU files ime Update Intel Manageability Engine Firmware vita Run a VITA 46.11 extended cmd lan6 Configure IPv6 LAN Channels |
IPMI LAN 명령은 아래 내용들을 조회(print) 하거나 설정(set)할 수 있다.
# ipmitool lan LAN Commands: print [<channel number>] set <channel number> <command> <parameter> alert print <channel number> <alert destination> alert set <channel number> <alert destination> <command> <parameter> stats get [<channel number>] stats clear [<channel number>] |
LAN 정보 확인
# ipmitool lan print 1 Set in Progress : Set Complete Auth Type Support : MD2 MD5 PASSWORD OEM Auth Type Enable : Callback : MD2 MD5 PASSWORD OEM : User : MD2 MD5 PASSWORD OEM : Operator : MD2 MD5 PASSWORD OEM : Admin : MD2 MD5 PASSWORD OEM : OEM : MD2 MD5 PASSWORD OEM IP Address Source : DHCP Address IP Address : 0.0.0.0 Subnet Mask : 0.0.0.0 MAC Address : {생략} SNMP Community String : AMI IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled Gratituous ARP Intrvl : 0.0 seconds Default Gateway IP : 0.0.0.0 Default Gateway MAC : 00:00:00:00:00:00 Backup Gateway IP : 0.0.0.0 Backup Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled 802.1q VLAN Priority : 0 RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12,15,16,17 Cipher Suite Priv Max : XaaaXXaaaXXaaXX : X=Cipher Suite Unused : c=CALLBACK : u=USER : o=OPERATOR : a=ADMIN : O=OEM Bad Password Threshold : 0 Invalid password disable: no Attempt Count Reset Int.: 0 User Lockout Interval : 0 |
LAN 설정
# ipmitool lan set 1 ipsrc static # IP 고정값 사용 # ipmitool lan set 1 ipaddr 192.168.15.2 # IP 부여 Setting LAN IP Address to 192.168.15.2 # IP 설정 결과 출력 # ipmitool lan set 1 netmask 255.255.255.0 # netmask 설정 Setting LAN Subnet Mask to 255.255.255.0 # netmask 설정 결과 출력 |
시간 확인
# ipmitool sel time get |
시간설정
# ipmitool sel time set now |
BMC 재 부팅
# ipmitool mc reset cold |
'나의일 관련 > 클러스터관리툴' 카테고리의 다른 글
PBS Pro 사용 방법 정리(작성중) (0) | 2020.01.28 |
---|---|
오류 내용 : ld: cannot find -lfl (0) | 2018.01.08 |
linux 유용한 스크립트 기록 (0) | 2017.11.16 |
PBS Pro stack size 조정 기록 (0) | 2017.11.13 |
SLURM 공부 기록 (0) | 2017.11.08 |