
We continue a series of articles about Huawei FusionSphere, the first articles can be found in our blog on
Habré . Today we will look at the technical description of a physical server without software.
In the OpenStack scenario, pure virtualization cannot fully meet user needs. Physical servers are used when high performance or the use of physical equipment or interfaces is required.
Physical servers without software implement a new mode of using physical servers, which allows you to:
- Use OpenStack VM interfaces to provide physical servers without software.
- Use OpenStack Nova interfaces to create a server image without software with certain specifications, as well as query, modify, start, stop and restart a physical server without software.
- Attach the created Cinder volume to the physical server without software using interfaces to attach the volume to the VM.
- Create a virtual port on a physical server without software for connecting Neutron VLAN or VXLAN networks to communicate with VM.
1. Overview of managing a physical server without software')
The management of a physical server without software includes the following functions:
- IPMI based out of band management
The Intelligent Platform Management Interface (IPMI) allows the system to efficiently monitor and manage a large number of servers using different operating systems (OS), embedded software or hardware platforms, and automatically report the current status of monitored servers.
The IPMI interfaces communicate with the servers using the BMC port IP addresses of the servers and are authenticated using the configured user name and password. IPMI interfaces can be used to enable, disable and hard restart a physical server without software, as well as to change the boot mode of a physical server without software.
The image conversion tool is used to deploy the management agent software required for a physical server without software to a VM image and upload the generated image of a physical server without software to the server of the Glance image. When initializing a physical server without software, the Ironic-conductor process downloads an image of a physical server without software from the server of the Glance image and automatically registers the image as an OS of a physical server without software.
The management function of a physical server without software also supports changing the option of loading a server without software to a remote boot environment (PXE). After turning on the server, the system loads the miniOS, and then executes installation scripts to load the necessary base operating system onto the server and unpack the OS in the disk partition on the server. After unpacking the OS, the system informs the Ironic-conductor process to change the option of loading a physical server without software to local loading. The new system loader takes effect after restarting the physical server without software.
To make several physical servers without software available for lifecycle management, you must register them in the Ironic database to form a pool of resources for a physical server without software. You can then use the Nova interfaces to create, delete, query, edit, start, or stop the server in the pool. The server image and specifications can be defined during the creation process, the Nova scheduler is responsible for planning and filtering the required servers.
- Automatic attachment of storage system
After starting a physical server without software, the management agent embedded in it can automatically attach or separate the volume from the server.
- Connect to a virtual network
The built-in management agent and OVS on the physical server without software can query, discover and configure virtual networks to which the server without software can connect and connect the server without software to the VLAN and VXLAN created by Neutron.
2. Overview of Huawei's solution for managing a physical server without softwareIn FusionSphere, the functions of a physical server without software do not depend on the functions of a VM, but the interface for creating a physical server without software is similar to that for creating a VM. When initializing physical servers without software, you must specify an availability zone (AZ) or a host group other than the VM you are using.
FusionSphere 5.1 provides the same virtual network and virtual memory functions for non-software physical servers as provided for VMs. Physical servers without software can have an attached volume or connect to a VXLAN network like a VM
2.1 Solution architectureThe figure shows the architecture of the Huawei solution for managing a physical server without software.

1. The importance of Ironic in OpenStack is similar to the Nova calculation driver. Ironic consists of the Nova computation driver (Ironic driver), Ironic-api, Ironic-conductor, and Ironic-agent processes.
2. When initializing physical servers without software, Nova sends requests to a supported Nova host via a specific AZ or host group.
3. The Nova Compute Driver (Ironic driver) performs the necessary operations, such as loading a server image without software, attaching a volume to the server and creating ports on it. The Nova computing driver (Ironic driver) starts the Ironic-api process to enable or disable a physical server without software or change the server boot mode.
4. After receiving a request for operation, Ironic-api contacts the Ironic-conductor interfaces to perform the required operation using IPMI, for example, turning the server on and off, restarting the server, changing the server boot mode and installing the OS for the server in PXE mode.
5. Ironic-conductor accesses CPS interfaces to install the OS on a physical server without software. After installing the OS, the built-in management agent and OVS are launched on the server to release and configure the storage and network parameters for the server.
2.2 Solution Functions1. The solution supports the provision of VMs and non-software physical servers using a single interface, but defining different AZ or a group of hosts for them.
2. Physical servers without software also use Nova interfaces to get automatically attached or detachable volumes created by Cinder.
3. Physical servers without software can also connect to a virtual network (flat, VLAN or VXLAN) and communicate with the VM.
3 Managing the configuration of a physical server without software3.1 Preparatory actionsBefore initializing the physical servers without software, the following actions are performed:
- Configure the IPMI network plane for the OpenStack management nodes to connect the management nodes to the BMC plane of the managed physical server without software and allow the management nodes to monitor the power status of the server and the boot mode using IPMI.
- Change the boot mode of all physical servers without software on PXE, and then turn on the servers to automatically detect them CPS. This process is similar to the normal server installation process.
3.2 Configuring a pool of physical resourcesWe will configure the resource pool of the physical server without software and register the servers in Ironic, since Ironic can control only registered physical servers without software.
- Open the web user interface (web UI) and request the list of hosts automatically detected by CPS. We search for servers that will be added as physical servers without software from the list of hosts in accordance with IPMI IP addresses, and install servers with the role “server without software”.
- On the local FusionManager web portal, we define servers that are configured as physical servers without software, and enter the IPMI username and password to register them as physical servers without software in Ironic.
3.3 Initialization of a physical server without softwareNo-software physical servers are initialized using the Nova interfaces. Initialization is only carried out in Ironic servers without software, initialized servers without software can not be initialized again.
The process of initializing physical servers without software is as follows:
- A qcow2 VM image is selected and converted into a physical server image without software using the appropriate tool in the Linux environment.
- We import the image of a physical server without software into Glance and register it as an image of a physical server without software.
- In the Service Center (SC), select the registered image of a physical server without software and use the specified type to create physical servers without software by calling the Nova interfaces. During the creation process, you can specify the network that is connected to the physical servers without software.
- The Ironic-conductor process loads an image of a physical server without software, registers it in the software repository, and also changes the mode of loading the server without software to PXE. After restarting the physical servers without the software, Ironic-conductor installs the PXE operating system defined in the image for the servers without the software.
- The Ironic-conductor process regularly requests the installation of the image. After installing the image, Ironic-conductor restarts the physical servers without software and changes the deployment status to Ironic, and then notifies Nova that the installation of the image is complete.
- After restarting the physical servers without software, their built-in management agents are launched to get the network configuration and create virtual network devices for the servers without software that are automatically connected to the VLAN or VXLAN.
4 Scenarios for using a physical server without softwarePhysical servers without software are used in the following scenarios:
- Application for databases requiring high performance
Physical servers without software can be tied to shared storage devices to meet the needs of cluster databases such as Oracle RAC.
- Initialization of dedicated hardware servers
Some hardware devices that cannot use VM-based functions may have access to hardware devices of a single physical server without software.