IBM Support

How to configure the BMC on HMC 7063-CR2

How To


Summary

Covers the importance of configuring the BMC on the 7063-CR2 and explains the interfaces available to do so, among other BMC concepts.

Objective

Explain what is the purpose of the BMC on the 7063-CR2 HMC, and how to configure its networking such that it can be accessed for service and for self-monitoring of platform events.

Environment

7063-CR2 Power Hardware Management Console

Steps

The Baseboard Management Controller (BMC) on the 7063-CR2 is based on the OpenBMC standard.

The BMC is a part of the appliance and it is required to configure its networking so it can be accessed for service purposes.
In addition, the HMC operating system communicates with its own BMC to monitor any platform events reported for problem diagnosis.
The BMC provides many management functions, for example, controlling the power state of the HMC remotely, event logging, remote console access through KVM, serial over LAN, updating firmware, and many others.
To configure the BMC on the network, it is necessary to first understand the available network interfaces and how they map to the physical ports on the HMC.
  • The 7062-CR2 BMC provides two network interfaces to configure.
  • Each interface maps to a different physical port on the system.
  • Different management tools name the interfaces differently.
The following table shows the relationship between the two network interfaces on the BMC and how they map to the physical ports. In addition, it shows how each interface is known to the management tools available to configure them:

BMC ports and interface names

It is important to note that the BMC's eth0 and eth1 interfaces are not to be confused with the eth0 or eth1 interfaces as seen from the HMC OS. Each entity, BMC, and HMC, sees a different set of logical interfaces, but physically they can share port eth0.

The BMC can be accessed on either one of its network interfaces, or both.

When planning for which interface to use, consider the following:
  • Given that the HMC and the BMC can share the port labeled eth0, this presents an opportunity to configure the BMC and the HMC's public interface on the same subnet. This way they can both share the cable. Each interface has its own IP and MAC address, but traffic can flow over the same wire.
  • Typically users configure the HMC's service network on eth0 (although this is not a hard requirement), in that case, if configuring the service network on another port is not wanted, then the dedicated port of the BMC can be used and the shared interface can be left unconfigured. This allows for the cable on eth0 to be used for the service network which is usually defined as a private network.

BMC ports mapping and interfacesThere are three methods to configure the network settings of the BMC:

  1. Using ipmitool from the Petitboot shell
  2. Using the Change BMC/IPMI Network Settings task on the HMC UI
  3. Via the OpenBMC Web UI
The following three sections cover how to configure the BMC from each one of these management tools.
NOTE: The selected physical port must have an active network link at the time of configuration, for the configuration changes to be recorded.
Configuring the BMC network interface(s) using ipmitool from the Petitboot shell
This method allows for the configuration of the BMC network interface before the HMC OS is even started. Once the network settings are configured, the user can connect to the BMC using a browser, and continue further configuration of BMC settings.
  1. Power On the HMC
  2. When the Petitboot bootloader is displayed, use the keyboard arrows to select Exit to shell and press Enter
  3. If configuring the shared Ethernet interface (eth0), use lan #1 as the interface for the next set of steps. If configuring the dedicated interface (port M), use lan #2 instead.
    1. Configure the interface to either static or dhcp (default is dhcp)
      ipmitool lan set <lan #> ipsrc <static | dhcp>
      where:
            <lan #> is either 1 or 2

      Example for the case where the shared interface (eth0 or lan 1) is set to static
      ipmitool lan set 1 ipsrc static
    2. Configure the IP address
      ipmitool lan set <lan #> ipaddr <ip_address>
      where:
            <ip_address> is the ip wanted

      Example:
      ipmitool lan set 1 ipaddr 192.168.10.2
    3. Configure the netmask
      ipmitool lan set <lan #> netmask <netmask>
      where:
            <netmask> is the netmask wanted

      Example:
      ipmitool lan set 1 netmask 255.255.255.0
    4. Configure the gateway
      ipmitool lan set <lan #> defgw ipaddr <gateway_server>
      where:
            <gateway_server> is the ip of the gateway

      Example:
      ipmitool lan set 1 defgw ipaddr 192.168.10.1
    5. To display an interface's configuration settings use:
      ipmitool lan print <lan #>
      Example:
      ipmitool lan print 1
Configuring the BMC network interface(s) using the HMC UI
Changes introduced in the first PTF for v10r1.1010, enhanced the functions of the Change BMC/IPMI Network Settings task.
The two sections below cover the task as it was prior to that change, and steps for the modified version of the task.
HMC v9r2.950 and v10r1.1010 base
For CR2 HMCs installed with v9r2.950 and v10r1.1010 base, the Change BMC/IPMI Network Settings task modifies the BMC's dedicated interface's settings only. The dedicated interface is the one on physical port "M".
  1. Power On the HMC
  2. Login as hscroot
  3. Click Console Management
  4. Click Console Settings
  5. Click Change BMC/IPMI Network Settings
  6. Click the appropriate radio button to select DHCP or STATIC
    If static is selected, complete the IP address, Subnet mask, and Gateway
  7. Click OK
Following the completion of this task, the BMC Web UI can be accessed for further configuration via the Launch BMC/IPMI Login task.
HMC v10r1.1010 with PTF MF68970
For CR2 HMCs installed with v10r1.1010 with PTF MF68970, the Change BMC/IPMI Network Settings task can modify the settings for both the shared and dedicated interfaces.
  1. Power On the HMC
  2. Login as hscroot
  3. Click Console Management
  4. Click Console Settings
  5. Click Change BMC/IPMI Network Settings
  6. Select the desired BMC interface port type (Dedicated and/or Shared) by checking the corresponding box. Checking the box, enables the fields to enter the network settings. One or both interfaces can be selected and configured simultaneously.
  7. For each interface port type selected, specify if it is to be configured using DHCP or STATIC.
  8. If static is selected, complete the IP address, Subnet mask, and Gateway
  9. Click OK
Following the completion of this task, the BMC Web UI can be accessed for further configuration via the Launch BMC/IPMI Login task.
Configuring the BMC network interface(s) using the BMC Web UI
Although the BMC network settings can be configured from the BMC Web UI, in order to access the BMC Web UI, at least on of its interfaces must be configured first. For that reason, this method is not the preferred one for when first setting up the HMC.
  1. Open a browser to the BMC ip
    https://<bmc ip or hostname>
    Depending on browser settings, it may be necessary to accept security prompts.
  2. At the login, enter the username (default is 'root')
  3. Enter the password (default is '0penBmc', that is a zero instead of the letter O)
  4. If the default password was used, you will be prompted to change it
  5. From the left menu, click Server configuration
  6. Click Bmc network settings
  7. By default, the settings for eth0 are shown first. Use the drop-down menu under NETWORK INTERFACE to select the wanted interface. The eth0 interface maps to the physical eth0 port on the HMC and the eth1 interface, maps to the dedicated port (port M).
  8. On the IPV4 SETTINGS section, select OBTAIN AN IP ADDRESS AUTOMATICALLY USING DHCP or ASSIGN A STATIC IP ADDRESS depending on the wanted setting.
    If ASSIGN A STATIC IP ADDRESS is selected, click Add IPV4 address to enter the values.
    NOTE: A pre-existing IP in the range of 192.254.x.x will already be populated. This is a non-routable, link-local IP that is part of the OpenBMC standard. It can be ignored for the purposes of setting up BMC. If removed, a new IP will be reconfigured automatically. The recommendation is to leave it there and set up the wanted IPv4 IP alongside it.
  9. Under the DNS SETTINGS section, click Add DNS server to add the IP of a DNS server if applicable.
  10. Click Save settings at the bottom of the page

Additional Information

In addition to setting up the BMC, the 7063-CR2 HMC requires that Console Inband Communication Credentials be configured for the purpose of self-monitoring of problems on the HMC.  Click here for more information.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"HWQQQP_200","label":"Hardware Management Console (7063-CR2)"},"ARM Category":[],"ARM Case Number":[],"Platform":[{"code":"PF025","label":"Platform Independent"}]}]

Document Information

Modified date:
10 November 2021

UID

ibm16483593