• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Overview

Overview

If you want to use a private BMS image, you can use an external image file to create one. This document describes the private image creation procedure (including creating a VM and installing the OS, software, and drivers on the VM) and uses multiple OSs as examples to provide instructions for you to create a private image. You can also install software as needed to customize your private image.

After you have created a private image, you need to register it on the cloud platform. For details, see section Registering a Private Image in Bare Metal Server User Guide. After successful registration, you can select this private image when applying for a BMS.

Image Creation Process

Figure 1 shows the image creation process.

Figure 1 Process of image creation

The description of each step in Table 1 is as follows.

Table 1 Creation process description

Task

Description

Preparing for the image creation

Before creating an image, you need to prepare:

  • Obtain a Linux physical server or VM used for creating the image.
  • Related packages, such as OS ISO file, SDI card driver software package, and bms-network-config network configuration software package.
  • Related tools, such as file transfer tool and VNC tool.

Creating a VM

Use virt-manager to create a VM.

Installing an OS on the VM

Install an appropriate OS for the VM.

Configuring the VM environment

Configure the network environment for the VM so that it can connect to the Internet and installation packages can be uploaded to it.

Configuring the VM

For Linux OS, you need to configure:

  • Install and configure cloud-init
  • Modify the hardware device driver that boot the OS
  • Install the bms-network-config software package
  • Install the SDI card driver
  • Install the IB NIC driver, the V5 server driver and the RAID card driver
  • (Optional) Install the UltraPath
  • Perform security configurations
  • Configure remote login to a BMS
  • Configure the root partition to automatically expand disk capacity

For Windows OS, you need to configure:

  • Install the chipset driver
  • (Optional) Install the V5 server driver
  • (Optional) Install the 3408 RAID card driver
  • Install cloudbase-init
  • Install the bms-network-config software package
  • Install the SDI card driver
  • Set time zone calibration
  • Set virtual memory
  • (Optional) Enable automatic windows update
  • Configure the SID

Stopping the VM and obtaining the image

Stop the VM and obtain the image file. If the created image file is too large, it can be compressed.

Converting the image format

Currently, only ZVHD2 images are supported. After obtaining an image file, you need to convert its format to ZVHD2.

OS List

The BMS image supports the following OSs:

Table 2 OS list

OS Type

OS Version

Kernel Version

RedHat

Red Hat Linux Enterprise 6.5 64-bit

2.6.32-431.el6.x86_64

Red Hat Linux Enterprise 6.7 64-bit

2.6.32-573.el6.x86_64

Red Hat Linux Enterprise 6.8 64-bit

2.6.32-642.el6.x86_64

Red Hat Linux Enterprise 6.9 64-bit

2.6.32-696.e16.x86_64

Red Hat Linux Enterprise 7.2 64-bit

3.10.0-327.e17.x86_64

Red Hat Linux Enterprise 7.3 64-bit

3.10.0-514.el7.x86_64

Red Hat Linux Enterprise 7.4 64-bit

3.10.0-693.e17.x86_64

Red Hat Linux Enterprise 7.5 64-bit

3.10.0-862.el7.x86_64

SUSE

SUSE Linux Enterprise Server 11 SP4 64-bit

3.0.101-63-default

SUSE Linux Enterprise Server 12 SP1 64-bit

3.12.49-11-default

SUSE Linux Enterprise Server 12 SP2 64-bit

4.4.21-69-default

SUSE Linux Enterprise Server 12 SP3 64-bit

4.4.73-5-default

Oracle Linux

Oracle Linux Server release 6.8 64-bit

4.1.12-37.4.1.e16uek.x86_64

Oracle Linux Server release 6.9 64-bit

4.1.12-61.1.28.e16uek.x86_64

Oracle Linux Server release 7.2 64-bit

3.10.0-327.e17.x86_64

Oracle Linux Server release 7.3 64-bit

3.10.0-327.el7.x86_64 or 4.1.12-61.1.18.e17uek.x86_64

Oracle Linux Server release 7.4 64-bit

4.1.12-94.3.9.e17uek.x86_64

EulerOS

EulerOS 2.2 64-bit

3.10.0-327.44.58.35.x86_64

EulerOS 2.3 64-bit

3.10.0-514.44.5.10.h142.x86_64

CentOS

CentOS 6.8 64-bit

2.6.32-642.e16.x86_64

CentOS 6.9 64-bit

2.6.32-696.e16.x86_64

CentOS 7.2 64-bit

3.10.0-327.e17.x86_64

CentOS 7.3 64-bit

3.10.0-514.el7.x86_64

CentOS 7.4 64-bit

3.10.0-693.e17.x86_64

CentOS 7.4 for ARM

4.11.0-22.el7a.aarch64

Ubuntu

Ubuntu 16.04 LTS 64-bit

4.4.0-21-generic x86_64

Ubuntu 16.04.3 Server-ARM 64-bit

4.10.0-35-generic

NOTE:
  • The SDI driver is not supported.
  • The BIOS version of the Taishan 2280 server must be 1.29 or later.

Ubuntu 14.04 LTS 64-bit

3.13.0-24-generic

XenServer

XenServer 7.1 64-bit

4.4.x86_64

Debian

Debian 8.6 64-bit

3.16.0-4-amd64

Windows

NOTE:

Currently, only standard versions are supported.

Windows Server 2012 R2 64-bit

N/A

Windows Server 1709 64-bit

N/A

Windows Server 2016 R2 64-bit

N/A

NOTE:

The SDI driver only supports the preceding kernel versions (for Ubuntu 16.04.3 Server-ARM 64bit, the SDI driver is not supported). When downloading the SDI card driver, ensure that the driver matches the kernel version.

You can run the uname -r command to query the OS kernel version.