No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionAccess V100R006C20 on FusionCloud V100R006C10 Software Installation Guide 11 (Microsoft AD)

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Creating a Linux Infrastructure VM Image

Creating a Linux Infrastructure VM Image

Creating a Linux VM

Scenarios

This section describes how to create a bare VM on FusionCompute to prepare for subsequent VM configuration and image creation.

Prerequisites

You have obtained the IP address and username password for logging in to FusionCompute.

Procedure
  1. Log in to FusionCompute.

    In the address bar of the browser, enter https://IP address of FusionCompute and press Enter.

  2. Choose VM and Template > Create VM.
  3. Set the parameters described in Table 4-11.

    Table 4-11 Parameter description

    Type

    Description

    VM name

    Specifies the name of the VM to be created.

    Example: VDIMgr_Template

    Computing resources

    Specifies the location where the VM is to be created.

    Retain the default value, for example, ManagementCluster.

    OS

    OS type: Linux

    OS version: Novell SUSE Linux Enterprise Server 11 SP3 64-bit

    Hardware

    • CPUs: 2
    • Memory: 4 GB
    • Disk 1: 60 GB
    • NICs: 1

    Others

    Retain the default values for other parameters.

  4. Click Next. On the Confirm Info page, confirm the information and click Finish.
  5. Click OK.

    The prompt dialog box is closed.

Installing a Linux OS on a VM

Scenarios

This section describes how to install an OS on a bare VM.

Prerequisites
  • You have logged in to FusionCompute.
  • You have obtained the request access address of the IAM Global zone, ECS external access domain name, EVS external access domain name, and VPC external access domain name.
  • You have obtained the LB floating IP address of API Gateway in the POD zone, that is, AGW-PodLB-Float-IP.
  • You have obtained the FusionAccess_Linux_Installer_V100R006C20SPC102.iso file.
Procedure

Mounting a CD/DVD-ROM drive

  1. On FusionCompute, choose Home.
  2. In the navigation tree of the page that is displayed, click VM and Template.
  3. In the Name column, click the name of the newly created bare VM.
  4. Choose Hardware > CD/DVD-ROM drive > Mount Local CD/DVD-ROM Drive, and click OK.
  5. Mount ISO file FusionAccess_Linux_Installer_V100R006C20SPC102.iso to the VM. Select Restart the VM now to install the OS and click OK.
  6. In the dialog box that is displayed, click OK.

Installing an OS on the VM

  1. On FusionCompute, log in to the VM using VNC.
  2. After the VM is successfully restarted, the Welcome to UVP! page is displayed. Select Install within 30 seconds and press Enter.

    NOTE:

    If you do not select Install within 30 seconds, the system boots from the local hard disk by default.

    The system starts automatic loading. The loading takes about 3 minutes. After the loading succeeds, the Main Installation Window page is displayed, as shown in Figure 4-27.

    Figure 4-27 Main Installation Window
    NOTE:
    • Press Tab or and to move the cursor.
    • Press Enter to select an item or execute the selected item.
    • Press the space key to select the item selected by the cursor.
    • Use the digital keys in the upper part of the main keyboard area to enter digits.

  3. In the navigation tree on the left, select Network and press Enter. In Network, configure the type of the NICs to DHCP.
  4. In the navigation tree, select Timezone and press Enter. In the Time Zone Selection window, change the time zone and time and save the settings.
  5. In the navigation tree, select Password and press Enter. On the Root Password Configuration page, enter the password of user root as planned and save the settings.
  6. Press F12. In the confirmation dialog box, press Enter twice.

    The Package Installation page is displayed. Linux OS installation starts.

  7. After the OS is successfully installed, the VM automatically restarts.

    NOTE:
    • The installation takes about 10 minutes.
    • During the VM restart process, if Failed is displayed for certain items, ignore these items and continue with subsequent operations. These items do not affect the normal use of the VM.

  8. Uninstall the CD/DVD-ROM drive from the VM.

Installing the PV driver

  1. On the FusionCompute portal, locate the row of the VM to be operated, choose More > Mount Tools, and click OK twice.
  2. Log in to the VM on which an OS is installed using VNC as user root.

    NOTE:
    • If this is the first time for user root to log in to the VM, the FusionAccess screen is displayed.
    • Press and to move the cursor upwards and downwards.
    • Select Quit from the menu bar on the left and press Enter to exit the FusionAccess page.

  3. Move the cursor to Driver Tools in the navigation on the left, and press Enter.

  4. Install Driver Tools as prompted and press F8 to restart the VM.

Deleting the naming rule of network devices

  1. Log in to the VM using VNC as user root.
  2. Run the following command to delete the naming rule of network devices from the /etc/udev/rules.d file:

    rm -rf /etc/udev/rules.d/*-persistent-net.rules

    The naming rule of network devices is automatically generated during VM creation.

Stopping the VM

  1. Run the following command to stop the VM:

    halt

Registering a Linux VM Image

Scenarios

This section describes how to register a VM image.

Prerequisites

You have logged in to FusionCompute.

Procedure

Exporting the VM

  1. On FusionCompute, choose VM and Template and go to the VM page.
  2. In the Name column, click the name of the created infrastructure VM.
  3. On the Options tab page, click NIC Advanced Settings. In the right area, set NIC type to HW_V_NET, as shown in Figure 4-28.

    Figure 4-28 NIC Advanced Settings

  1. Choose VM and Template and go to the VM page. Locate the row of the infrastructure template and click More.
  2. Select Export VM from the prompted drop-down list.
  3. Set Select Export Source to Local PC and click Next.
  4. Set the following parameters and click Finish.

    NOTE:

    A Java plug-in is required if you want to export the VM to the local PC.

    • Name
    • Directory
    • Format (Retain default value ovf.)

    The export process takes about 10 minutes. Then, an .ovf file and a .vhd file are obtained.

Registering an image

  1. Select the image upload mode.

    • If the image file is smaller than 6 GB, select the HTTPS or NFS upload mode, or register the image on FusionSphere OpenStack.
    • If the image file is larger than and equal to 6 GB and smaller than and equal to 200 GB, select the NFS upload mode, or register the image on FusionSphere OpenStack.
    • If the image file is larger than 200 GB, register the image on FusionSphere OpenStack.

    Perform the operations according to the upload mode:

  2. Upload the image file to the NFS server (for example, NAS).

    The NFS server is prepared by customers and must meet the following requirements:

    • If you register a FusionCompute image, the IP address of the NFS server can communicate with the management plane of the CNA node.
    • If you register a KVM or Ironic image, the NFS server can communicate with the API network plane of the VM on FusionSphere OpenStack Management Console.

  3. Log in to the FusionSphere OpenStack management console, choose Resources > Computing > Images, and click Register.

    In the image registration dialog box that is displayed, set the parameters.

    The key parameters are as follows:
    • Provided As Service: Set it to Supported.
    • Type: Set it to FusionCompute.

    Set other parameters as required.

  4. Select the image file. Set the image parameters and click Register.

    • If Upload Mode is set to HTTPS, the image is uploaded and registered on the local PC.
    • If Upload Mode is set to NFS, the image is uploaded and registered on the NFS server.

    View the Status column to check whether the image is successfully registered.

  5. In the KVM and FusionCompute scenarios, if the image cannot be displayed in the image list on the ServiceCenter tenant portal, update the image attributes. For details, see Updating an Image.
Translation
Download
Updated: 2019-07-01

Document ID: EDOC1100021785

Views: 45701

Downloads: 100

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next