Help Center/ Server Migration Service/ FAQs/ Product Consultation/ How Do I Display the OS Name of a Target Server on the ECS Console?
Updated on 2024-08-22 GMT+08:00

How Do I Display the OS Name of a Target Server on the ECS Console?

Symptom

On the ECS console, you found that the OS name of your target server was different from the actual OS name of the server.

This is a normal event resulting from a limitation of the ECS console.

Possible Causes

The ECS console displays the image name of an ECS, not the OS name. The two names may be different. When you configure the target server:

  • If you choose to automatically create an ECS as the target server, an SMS-defined image name will be displayed for the new ECS on the ECS console, such as LinuxServer or WindowsServer.
  • If you choose to use an existing ECS as the target server, the image name of the existing ECS is displayed on the ECS console.

Solution

To display the actual OS name of your target server on the ECS console, perform the following steps:

  1. Obtain an image file based on the source server OS.
  2. Upload the image file to an OBS bucket.
  3. Use the image file to create a private image.

    1. Log in to the management console and click Image Management Service under Compute.
    2. On the Image Management Service page, click Create Image.
    3. Set Type to Import Image and Image Type to System disk image.
    4. Select the image file uploaded to your OBS bucket.

    5. Select ECS system disk image for Function and x86 for Architecture. Set Boot Mode to the actual boot mode of the source server.

      You can see the boot mode of the source server on the SMS console. For more information, see Checking the Firmware Type of a Source Server.

    6. Set OS to the source server OS. If the source server OS is not an available option, select Other from the drop-down list.
    7. Set System Disk based on the system disk of the source server. If the source system disk is smaller than 40 GB, set System Disk to 40 GB.
    8. Set Name to the source server OS. The name you specified here will be displayed on the ECS console.
    9. Select an enterprise project for the target server. If no other enterprise projects are available, select Default.

  4. Confirm the configuration details, select I have read and agree to the Statement of Commitment to Image Creation and Image Disclaimer, and click Next. On the Resource Details page that is displayed, click Submit. Wait for the image creation to complete.
  5. If you have an ECS suitable as a target server, use this image to change the OS of the ECS. If you have no suitable ECS available, use this image to create one.
  6. When configuring the target server on the SMS console, select the one you prepared above. For more details, see Configuring the Target Server.

Checking the Firmware Type of a Source Server

After the Agent is installed and started on the source server, click the source server name on the Servers page of the SMS console. On the displayed page, you can view the firmware type of the source server.