📜 ⬆️ ⬇️

Technical description of a physical server without software



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:


1. Overview of managing a physical server without software
')
The management of a physical server without software includes the following functions:

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.

After starting a physical server without software, the management agent embedded in it can automatically attach or separate the volume from the server.

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 software

In 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 architecture

The 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 Functions

1. 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 software

3.1 Preparatory actions

Before initializing the physical servers without software, the following actions are performed:



3.2 Configuring a pool of physical resources

We 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.


3.3 Initialization of a physical server without software

No-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:



4 Scenarios for using a physical server without software

Physical servers without software are used in the following scenarios:

Physical servers without software can be tied to shared storage devices to meet the needs of cluster databases such as Oracle RAC.
Some hardware devices that cannot use VM-based functions may have access to hardware devices of a single physical server without software.

Source: https://habr.com/ru/post/282487/


All Articles