AHV
To Reset IPMI via ipmitool (if not responding etc)
you can connect to an AHV Host and then
ipmitool mc reset cold
or you can do this for the whole cluster from CVM with:
hostssh "ipmitool mc reset cold"
This resets all IPMIs in the cluster.
To add an user you can check via
ipmitool user list 1
wich userspace is unused.
then
** User create on 3
ipmitool user set name 3 ILOUSER
** User set password for 3
ipmitool user set password 3 PASSWORD
** User set Admin privileges (4)
ipmitool channel setaccess 1 3 link=on ipmi=on callin=on privilege=4
**Enable User 3
ipmitool user enable 3
You can use all of these commands from CVM with hostssh in " "
to set this for the whole cluster.
Example hostssh "user set name 3 USER"
ESXi
On an ESXi Host you can use ./ipmicfg wich can do most in one command:
hostssh "./ipmicfg -user add <ID> <NAME> <PASSWORD> <PRIVILEGE>"
Example:
hostssh "./ipmicfg -user add 3 ADMIN P@ssw0rd 4"
To reset the BMC use:
./ipmicfg -r
Keine Kommentare:
Kommentar veröffentlichen