Adding Bare Metal Server to Inventory

The Administrative user must follow these steps to add a bare metal server to Inventory from the Contrail Command user interface (UI):

Procedure

  1. Click Infrastructure> Servers.

    A list of servers is displayed.

  2. Click Create to create a server.

    The Create Server page is displayed.

  3. Select Detailed button from the Choose Mode options.
  4. Select Baremetal button from the Select workload type this server will be used for options.
  5. Enter a name for the host in the Hostname field.
  6. Enter appropriate credentials for host in the Credentials field.
  7. Select required kernel from the Deploy Kernel list.
  8. Select required ram size from Deploy Ramdisk list.
  9. Add the following values in the Network Interfaces fields:

    Field

    Action

    Name

    Assign a name to the Port.

    MAC address

    Enter the MAC address of the Port.

    Device/ TOR- Interface

    Select the Leaf/ TOR- Interface to which the Port is connected.

    Enable PXE

    Select this checkbox to enable PXE booting for only one Port.

  10. Add the following values in the Port Groups field:

    Field

    Action

    Name

    Assign a name to the Port Group.

    Member Interfaces

    Add the ports that form the Port Group.

  11. Add the following values in the IPMI Info fields:

    Field

    Action

    IPMI Driver

    Enter valid IPMI Driver name. The driver value for Openstack SKU: queens and ocata ispxe_ipmitool. The driver value for Openstack SKU: rocky is ipmi . For more information, you can refer to Openstack document: Enabling drivers and hardware types.

    IPMI Address

    Enter the IPMI Address of the BMS Server.

    IPMI Port

    Enter port number on which IPMI is deployed. The default value is 623 , as shown in the Contrail Command UI. You can update this to different IPMI port, according to your requirement.

    IPMI Username

    Enter IPMI Username.

    IPMI Password

    Enter IPMI Password.

  12. Add the following values in the Baremetal Properties field based on the capacity of the server:

    Field

    Action

    Memory mb

    Enter RAM size of BMS Server in megabytes (Mb).

    CPU’s

    Enter CPU count of BMS Server.

    CPU Arch

    Enter CPU Architecture of BMS Server. The default value is x86_64.

    Local gb

    Enter Disk Size of BMS Server in gigabytes (Gb).

    Capabilities

    This is the sets the capability of BMS Server. The default value is “boot_option:local”.

  13. Click Create. The Servers page is displayed with the list of servers created by the Administrative user.