Basic commands and functionality of the OpenBMC tool
The OpenBMC tool provides support for working with system event logs, updating system firmware, identifying the system, powering off the system, and other service-related functions.
Before you begin
OpenBMC tool top-level options
Learn more about the top-level options for the OpenBMC tool commands.
About this task
- -H: Host name or IP address of the BMC.
- -U: User name to log in with.
- -A: Provides a prompt to ask for the password.
- -P: Password for the user name.
- -j: Change output format to JSON.
- -t: Location of the policy table to use.
- -T: Provides time statistics for logging in, running the command, and logging out.
- -V: Displays current version of the OpenBMC tool.
System event log commands
Learn more about system event log commands for the OpenBMC tool.
Procedure
System firmware update command
Learn more about the system firmware update command.
Procedure
System identify commands
Learn more about the system identify commands.
Procedure
System power on and power off commands
Learn more about the system power on and power off commands.
Procedure
System sensor commands
Learn more about the system sensor commands.
Procedure
openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> sensors print
or
openbmctool -U <username> -P <password> -H <BMC IP address or BMC host name> sensors list
System FRU commands
Learn more about the system FRU commands.
Procedure
System BMC reset commands
Learn more about the system BMC reset commands.
Procedure
System dump commands
Learn more about the system dump commands.
Procedure
Enabling and disabling local BMC user accounts
Learn more about the local_userscommands.
About this task
Procedure
Remote logging by using rsyslog
Learn more about the remote logging commands.
About this task
The BMC can stream out local logs (that go to the systemd journal) by using RSYSLOG. The BMC sends everything in the logs. Any kind of filtering and appropriate storage has to be managed on the rsyslog server.
Procedure
Certificate management
Learn more about the certificate management commands.
About this task
You can replace the existing certificate and private key file with another (possibly CA signed) certificate and private key file. You can install server, client, and root certificates.
Procedure
LDAP configuration
Learn more about the LDAP configuration commands.
About this task
In the BMC, LDAP is used for remote authentication. The BMC does not support remote user-management functionality. The BMC supports both secure and non-secure LDAP configuration.
Procedure
Network configuration
Learn more about the network configuration commands.