Remote KVM Switching machine:
Ipmitool-h IP address-i lan-u KVM user-P KVM password power off #关机
Ipmitool-h IP address-i lan-u KVM user-P KVM password power on #开机
Ipmitool-h IP address-i lan-u KVM user-P KVM password Power reset #重启
Ipmitool-h IP address-i lan-u KVM user-P KVM password MC reset #重启BMC
To create an IPMI account and add permissions:
Ipmitool-h IP address-u KVM user-P KVM password user set name 4 Johnny #创建/modify User ID 3, username Johnny
Ipmitool-h IP address-u KVM user-P KVM password user set password 4 123456 #修改用户ID 3 with password 123456
Ipmitool-h IP address-u KVM user-P KVM password User priv 4 4 1 #设置ID 3, Channel 1, Administrator permissions
Ipmitool-h IP address-u KVM user-P KVM password channel setaccess 1 4 callin=on link=on ipmi=on privilege=4 #设置用户ID 3 for Adminis Trator permissions and open Callin, link, IPMI permissions.
Ipmitool-h IP address-u KVM user-P KVM password user enable 4 #启用用户ID 3
Ipmitool-h IP address-u KVM user-P KVM password channel #查看用户权限level, General 4 for administrator permissions
Ipmitool-h IP address-u KVM user-P KVM password user list 1 #查看通道1的用户
Ipmitool-h IP address-u KVM user-P KVM Password user disable 3 #关闭用户ID3
Ipmitool common commands for operating KVM