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

FusionStorage V100R006C20 Block Storage Service Software Installation Guide 07

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).
Installing an OS on Storage Nodes

Installing an OS on Storage Nodes

Installing the Red Hat Linux OS

Scenarios

Install operating systems (OSs) for servers in the FusionStorage Block system.

To install Red Hat Linux 7.1~7.5, see section Installing the CentOS Linux OS.

Prerequisites

Conditions

  • The local PC can communicate with the planned management plane and the server BMC plane. It is recommended that the local PC and the server to be installed are connected to the same switch, and their IP addresses belong to the same management plane network segment.
  • You have obtained the BMC IP address, username, and password for logging in to the BMC system of the server.
  • You have obtained the password for logging in to the server basic input/output system (BIOS) if the password has been configured.
  • The operating system disks of the server have been grouped as RAID 1.
  • The firewall on the local PC has been disabled.

Data

  • Server name
  • Password of user root for the server
  • Management plane IP address of the server

Software

OS image file of the server

Procedure

    Log in to the BMC system.

    • You need to select three, five, or seven servers to form the control cluster and create metadata partitions on these servers. The following operations use OS installation on a server in the control cluster as an example. When you install OSs for servers in other clusters, do not create metadata partitions.
    • The OS time on each server must be the same as the local time.
    • The following describes how to mount an image file to a Huawei V5 series rack server using the remote control function of the baseboard management controller (BMC) system.
    • The following operations use Red Hat Enterprise Linux 6.4 OS as an example to describe the OS installation process and can be used as reference for installing Oracle Linux or other Red Hat OSs.

    1. Open the browser on the local PC, enter the following address in the address box, and press Enter:

      http://BMC IP address of the server to be installed

    2. Log in to the server BMC system as instructed.

      The default username and password for logging in to the server BMC system is root and Huawei12#$, respectively.

    3. Click Remote Control.

      For some Huawei servers, you must choose Remote Virtual Console (shared mode) on the Remote Control page to open the remote control window.

    4. Click on the toolbar.
    5. Select Image File in the area for mounting an image and click Browse.

      A dialog box is displayed.

    6. Select the image file for the Red Hat Enterprise Linux 6.4 OS and click Open.
    7. Click Connect in the area for mounting an image.

      The image is mounted to the server if Connect changes to Disconnect.

    8. On the toolbar in the upper part of the window, click , select Restart, and click Yes in the dialog box that is displayed.

      The system starts to restart the server.

    9. During the restart, press F11 repeatedly until the screen for selecting a boot device is displayed. Then set the boot device to DVD-ROM VM 1.1.0. Figure 6-10 shows the page for selecting a boot device.

      The OS installation page is displayed.

      Figure 6-10  Boot Manager

    Install the OS.

    1. On the OS installation page, select Install or upgrade an existing system and enter Enter.

      The Disc Found page is displayed, as shown in Figure 6-11.

      Figure 6-11  Disc Found

    2. On the Disc Found page, use the tab key to move the cursor to Skip and press Enter.

      The system starts to install the OS without checking the media.

    3. Click Next.

      The page for selecting a desired language is displayed.

    4. Select English and click Next.

      The page for selecting a keyboard layout is displayed.

    5. Keep the default value U.S.English and click Next.

      The page for selecting a storage device is displayed, as shown in Figure 6-12.

      Figure 6-12  Selecting a storage device

    6. Keep the default value Basic Storage Devices and click Next.

      The Storage Device Warning page is displayed, as shown in Figure 6-13.

      Figure 6-13  Storage Device Warning

    7. Click Yes, discard any data.

      The page for naming the server is displayed.

    8. Enter the server name in Hostname and click Next.

      The host name of each node in one cluster cannot be the same.

    9. Select a region and a time zone as required, select System clock uses UTC, and click Next.

      The page for setting the password of user root is displayed.

    10. Enter the password of user root and the confirm password and click Next.

      The page for selecting an installation type is displayed, as shown in Figure 6-14.

      Figure 6-14  Selecting an installation type

    11. Select Create Custom Layout and click Next.

      The disk partition page is displayed. Table 6-8 lists the space requirements for system partitions. If your system disk space is sufficient, you are advised to properly expand the size of each partition based on the actual condition.

      Table 6-8  Server partitioning
      Mount Point

      Description

      Minimum Partition Size (MB) Recommended Partition Size (MB)
      / System root directory 20480 20480
      swap Swap partition 20480 20480
      /boot

      Kernel of the operating system and the file used in the boot process

      300 300
      /usr System program directory 5120 20480
      /opt Third-party software directory 5120 40960
      /tmp Directory for saving temporary files generated by users or during program running 5120 40960
      /var Directory for saving changed data during system running 5120 5120
      /var/log Log partition
      NOTICE:

      Do not save other files in this partition. Otherwise, log space will be occupied, resulting in failure to save new logs and affecting fault location.

      5120 61440

    12. Select sda (dev/sda) and click Delete.
    13. Click Delete in the displayed dialog box.

      The existing partitions on the sda disk are deleted.

    14. Click Create.

      The Create Storage page is displayed, as shown in Figure 6-15.

      Figure 6-15  Create Storage

    15. Select Standard Partition and click Create.

      The Add Partition page is displayed, as shown in Figure 6-16.

      Figure 6-16  Add Partition

    16. Keep the default values for other parameters based on Table 6-8 as prompted to create partitions.
    17. Click Next.

      The Writing storage configuration to disk page is displayed, as shown in Figure 6-17.

      Figure 6-17  Writing storage configuration to disk

    18. Click Write changes to disk on the Writing storage configuration to disk page.

      The page for selecting a boot loader is displayed, as shown in Figure 6-18.

      Figure 6-18  Selecting a boot loader

    19. Keep Install boot loader on Default device selected and click Next.

      The page for selecting the installation location is displayed, as shown in Figure 6-19.

      Figure 6-19  Selecting the installation location

    20. Select Basic Server and Customize now and click Next.

      The page for selecting system services is displayed.

    21. Select Base System and deselect Java Platform.

      Figure 6-20 shows the metadata partition mounting result.

      Figure 6-20  Base System

      NOTE:
      Configure other options in Basic Server as required.

    22. Click Next.

      The OS installation starts. The installation takes about 25 minutes. The server restarts during the installation. After the server successfully restarts, log in to it again and configure the OS as prompted.

    23. Install the OS for all other servers. For details, see 1 to 31.

    Configure the management IP addresses of the servers.

    NOTE:

    For details about the configuration of the storage plane network, see section Configuring the Storage Network.

    1. Open the browser on the local PC, enter the following address in the address box, and press Enter:

      http://BMC IP address of the server to be installed

      The BMC system login page is displayed.

    2. Log in to the server BMC system as instructed.

      The default username and password for logging in to the server BMC system is root and Huawei12#$, respectively.

      The server management page is displayed.

      NOTE:
      If a blade server is used, you cannot log in to the BMC system of a single blade. It is recommended that you log in to the management module (MM) of the subrack accommodating the blade and open the remote control window of the blade.

    3. Click Remote Control.

      For some Huawei servers, you must choose Remote Virtual Console (shared mode) on the Remote Control page to open the remote control window.

      The remote control window is displayed.

    4. Log in to the server as user root.
    5. Run the cd /etc/sysconfig/network-scripts command to switch to the directory containing the network port configuration file.
    6. Use the vi editor to open the network port configuration file and edit the file.

      If the network port configuration file does not exist in the current directory, you can run the vi Configuration file name command to edit the file and then save the configuration. Then a network port configuration file will be created.

      The configuration file names in Table 6-9 and Table 6-10 are used as examples. You can change them as required.

      NOTE:
      The following steps provide an example of configuring the network port configuration file using the vi editor:
      1. Run the vi Configuration file name command to open the network port configuration file using vi editor.

        For example, run the vi ifcfg-eth0 command.

      2. Press i to enter editing mode.
      3. Edit the configuration file.
      4. Press Esc and enter :wq to save the modification and exit the vi editor.

      Table 6-9  Network port configuration file information (using the bonded port)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data1

      SLAVE=yes

      USERCTL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data0

      SLAVE=yes

      USERCTL=no

      ifcfg-fsb_data0

      DEVICE=fsb_data0

      IPADDR=IP address

      NETMASK=subnet mask

      ONBOOT=yes

      BOOTPROTO=none

      USERCTL=no

      TYPE=Bonding

      MTU=1500

      BONDING_OPTS='mode=1 miimon=100'

      Table 6-10  Network port configuration file information (using VLAN)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      ifcfg-fsb_bond

      DEVICE=fsb_bond

      IPADDR=IP address

      NETMASK=subnet mask

      ONBOOT=yes

      BOOTPROTO=none

      USERCTL=no

      TYPE=Bonding

      MTU=1500

      BONDING_OPTS='mode=1 miimon=100'

      ifcfg-vlanXXX

      DEVICE=vlanID /*Its value is consistent with the configuration file name, for example, vlan101.*/

      IPADDR=IP address

      NETMASK=subnet mask

      BOOTPROTO=none

      PHYSDEV=fsb_bond

      ONBOOT=yes

      USERCTL=no

      VLAN=yes

      VLAN_ID=ID /*For example, 101*/

    7. Press Esc and enter :wq to save the modification and exit the vi editor.
    8. Run one of the following commands based on the in-use OS to edit the configuration file and configure the default gateway:

      • If the Red Hat 7.x is used, configure the default gateway in the network port configuration file. For example, run the vi /etc/sysconfig/network-scripts/ifcfg-fsb_bond command.
      • If the Red Hat 6.x is used, run the vi /etc/sysconfig/network command.

    9. Add the management plane default gateway to the configuration file.

      For example:GATEWAY=192.168.40.1

    10. Press Esc and enter :wq to save the modification and exit the vi editor.
    11. Run the following command to restart the network service:

      service network restart

    12. Configure the management IP addresses and default gateways of all servers. For details, see 33 to 43.

    Installing drivers and tools

    Install drivers and tools by referring to section Installing Drivers and Tools.

Installing the SUSE Linux OS

Scenarios

Install the SUSE Linux operating system (OS) on a server. The following operations are for your reference only. You can perform a custom OS installation based on your actual requirements. And when installing the OS, ensure that both the requirements listed in this document and required by the OS vendor are met.

Prerequisites

Conditions

  • The operating system disks of the server have been grouped as RAID 1.
  • You have logged in to the remote control page of the baseboard management controller (BMC) system of the server for which the OS is to be installed.
  • The firewall on the local PC is disabled.

Data

  • Server name
  • Password of user root for logging in to the server
  • Management plane IP address of the server

Software

You have obtained the OS image.

Procedure

    Install the OS.

    1. Mount the OS image to the server, enter the OS installation page, select SLES for SAP Applications - Installation, and press Enter. Figure 6-21 shows the OS installation page.

      Figure 6-21  Selecting an installation type

    2. On the Welcome screen, set the system language to English, select the agreement, and click Next.
    3. On the Media Check screen, click Next.
    4. On the Installation Mode screen, select New Installation and click Next. Figure 6-22 shows the installation screen.

      Figure 6-22  Selecting an installation mode

    5. On the Clock and Time Zone screen, set the local time and click Next.
    6. On the Server Scenario screen, select Physical Machine (also for Fully Virtualized Guests) and click Next.
    7. On the Installation Settings screen, click Change and then select Partitioning.

      The Preparing Hard Disk screen is displayed.

    8. Select Custom Partitioning (for experts).

      The Expert Partitioner screen is displayed.

    9. Select sda and click Add. Figure 6-23 shows the screen for adding a partitioning.

      Figure 6-23  Adding a partition to the system disk

    10. Click Next.
    11. Select Primary Partition and click Next.

      The Add Partition on /dev/sda screen is displayed.

    12. Select Custom Size, set it to 20 GB, and click Next.
    13. Configure partition attributes. Figure 6-24 shows the configuration screen.

      • File System: Ext3
      • Mount Point: /
      Figure 6-24  Allocating the root partition

    14. Click Finish.
    15. Allocate other partitions. For details, see 9 to 14.

      Table 6-11 lists the space requirements for system partitions. If your system disk space is sufficient, you are advised to properly expand the size of each partition based on the actual condition.

      Other partitions except of the root partition are logical partitions. Therefore, create extended partitions before creating other partitions.

      Table 6-11  System partitions
      Partition

      Description

      Minimum Partition Size (GB) Recommended Partition Size (GB)
      / System root directory 20 20
      swap Swap partition 20 20
      /boot

      Kernel of the operating system and the file used in the boot process

      0.3 0.3
      /usr System program directory 5 20
      /opt Third-party software directory 5 40
      /tmp Directory for saving temporary files generated by users or during program running 5 40
      /var Directory for saving changed data during system running 5 5
      /var/log Log partition
      NOTICE:

      Do not save other files in this partition. Otherwise, log space will be occupied, resulting in failure to save new logs and affecting fault location.

      5 60

    16. After system partitions are configured, click Accept on the Expert Partitioner screen.
    17. On the Installation Settings screen, click Install.

      The YaST2 dialog box is displayed.

    18. Select I Agree and then select Install.

      The system installation starts, and the whole process takes about 20 minutes.

    19. After system installation is complete, set the following information as instructed on the displayed system configuration screen:

      • root Password: Set it to the password of user root.
      • Hostname: Set it to the host name of each node. The host name of each node in one cluster cannot be the same.
      • Network: Select Skip Configuration.
      • Online Update: Select No, Skip This Test.
      • Service: Select Skip Configuration.
      • Users: Select Local(/etc/passwd) and set a local login account.
      • Hardware Configuration: Select Skip Configuration.

    20. After the configuration is complete, click Finish.

      NOTE:
      If the OS version is SUSE Linux Enterprise Server 11 SP1, log in to the OS after the installation is complete and configure the traceroute function. The operations are as follows:
      1. Run the vi /etc/apparmor.d/usr.sbin.traceroute command to open the configuration file using the vi editor.
      2. Press i to enter the editing mode.
      3. Add network inet raw, to the configuration file under capability net_raw,.
        An example is provided as follows:
        capability net_raw,
        network inet raw,
      4. Press Esc and enter :wq to save the modification and exit the vi editor.
      5. Run the /etc/init.d/boot.apparmor reload command to reload the configuration file.

    Configure the management IP addresses of the servers.

    NOTE:

    For details about the configuration of the storage plane network, see section Configuring the Storage Network.

    1. Open the browser on the local PC, enter the following address in the address box, and press Enter:

      http://BMC IP address of the server to be installed

      The BMC system login page is displayed.

    2. Log in to the server BMC system as instructed.

      The default username and password for logging in to the server BMC system is root and Huawei12#$, respectively.

      The server management page is displayed.

      NOTE:
      If a blade server is used, you cannot log in to the BMC system of a single blade. It is recommended that you log in to the management module (MM) of the subrack accommodating the blade and open the remote control window of the blade.

    3. Click Remote Control.

      For some Huawei servers, you must choose Remote Virtual Console (shared mode) on the Remote Control page to open the remote control window.

      The remote control window is displayed.

    4. Log in to the server as user root.
    5. Run the cd /etc/sysconfig/network command to switch to the directory containing the network port configuration file.
    6. Use the vi editor to open the network port configuration file and edit the file.

      If the network port configuration file does not exist in the current directory, you can run the vi Configuration file name command to edit the file and then save the configuration. Then a network port configuration file will be created.

      The configuration file names in Table 6-12 and Table 6-13 are used as examples. You can change them as required.

      NOTE:
      The following steps provide an example of configuring the network port configuration file using the vi editor:
      1. Run the vi Configuration file name command to open the network port configuration file using vi editor.

        For example, run the vi ifcfg-eth0 command.

      2. Press i to enter editing mode.
      3. Edit the configuration file.
      4. Press Esc and enter :wq to save the modification and exit the vi editor.

      Table 6-12  Network port configuration file information (using the bonded port)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=no

      ifcfg-fsb_data0

      DEVICE=fsb_data0

      IPADDR=IP address

      NETMASK=subnet mask

      BOOTPROTO=static

      STARTMODE=onboot

      IPV6_DAD_WAIT=0

      BONDING_MASTER=yes

      BONDING_MODULE_OPTS='mode=1 miimon=100'

      BONDING_SLAVE0=eth0

      BONDING_SLAVE1=eth1

      Table 6-13  Network port configuration file information (using VLAN)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=no

      ifcfg-fsb_bond

      DEVICE=fsb_bond

      IPADDR=IP address

      NETMASK=subnet mask

      BOOTPROTO=static

      STARTMODE=onboot

      IPV6_DAD_WAIT=0

      BONDING_MASTER=yes

      BONDING_MODULE_OPTS='mode=1 miimon=100'

      BONDING_SLAVE0=eth0

      BONDING_SLAVE1=eth1

      ifcfg-vlanXXX

      DEVICE=vlanID /*Its value is consistent with the configuration file name, for example, vlan101.*/

      IPADDR=IP address

      NETMASK=subnet mask

      BOOTPROTO=static

      ETHERDEVICE=fsb_bond

      STARTMODE=onboot

      IPV6_DAD_WAIT=0

      USERCONTROL=no

      VLAN=yes

      VLAN_ID=ID /*For example, 101*/

    7. Press Esc and enter :wq to save the modification and exit the vi editor.
    8. Run the vim /etc/sysconfig/network/routes command to edit the configuration file and configure the default gateway.
    9. Add the management plane default gateway to the configuration file.

      For example:

      default 192.168.40.1

    10. Press Esc and enter :wq to save the modification and exit the vi editor.
    11. Run the following command to restart the network service:

      service network restart

    12. Configure the management IP addresses and default gateways of all servers. For details, see 21 to 31.

    Installing drivers and tools

    Install drivers and tools by referring to section Installing Drivers and Tools.

Installing the CentOS Linux OS

Scenarios

This section describes how to install the CentOS Linux OS. The following operations are for your reference only. You can perform a customized OS installation based on your actual requirements. Ensure that both the requirements listed in this document and made by the OS vendor are met.

To install an Linux operating system earlier than CentOS Linux 7.0, see section Installing the Red Hat Linux OS.

Prerequisites

Conditions

  • The local PC can communicate with the planned management plane and the server BMC plane. It is recommended that the local PC and the server to be installed are connected to the same switch, and their IP addresses belong to the same management plane network segment.
  • You have obtained the BMC IP address, username, and password for logging in to the BMC system of the server.
  • You have obtained the password for logging in to the server basic input/output system (BIOS) if the password has been configured.
  • You have configured hard disks as RAID 1 for installing the host OS to improve storage reliability.
  • The firewall on the local PC has been disabled.

Data

  • Server name
  • Password of user root for the server
  • Management plane IP address of the server

Software

OS image file of the server

Procedure

    Installing the OS

    1. Mount the OS image to the server, go to the OS installation page, select Install CentOS 7, and press Enter. Figure 6-25 shows the OS installation page.

      Figure 6-25  Selecting Install CentOS 7

    2. On the Welcome screen, set the system language to English and click Continue.
    1. On the INSTALLATION SUMMARY screen as shown in Figure 6-26, click INSTALLATION DESTINATION.

      Figure 6-26  Clicking INSTALLATION DESTINATION

    2. On the INSTALLATION DESTINATION screen as shown in Figure 6-27, select a system disk for the installation. In the Other Storage Options area, select I will configure partitioning. You can configure the system disk's partitions. Otherwise, the system automatically configures partitions.

      Figure 6-27  Configuring the system disk's partitions (1)

    3. On the MANUAL PARTITIONING screen as shown in Figure 6-28, click Click here to create them automatically to create some partitions automatically. Keep the default configurations for other options.

      Figure 6-28  Configuring the system disk's partitions (2)

      Alternatively, you can click the plus sign (+) in the lower left corner, add a partition in the dialog box as shown in Figure 6-29, and click Add mount point to save the setting. Repeat the operations to add other partitions one by one.

      Figure 6-29  Manually adding a partition

    4. Click the row where a partition resides and modify partition information in the right area. Table 6-14 lists the space requirements for system partitions.

      Table 6-14 lists the space requirements for system partitions. If your system disk space is sufficient, you are advised to properly expand the size of each partition based on the actual condition.

      Other partitions except of the root partition are logical partitions. Therefore, create extended partitions before creating other partitions.

      Table 6-14  System partitions
      Partition

      Description

      Minimum Partition Size (GB) Recommended Partition Size (GB)
      / System root directory 20 20
      swap Swap partition 20 20
      /boot

      Kernel of the operating system and the file used in the boot process

      0.3 0.3
      /usr System program directory 5 20
      /opt Third-party software directory 5 40
      /tmp Directory for saving temporary files generated by users or during program running 5 40
      /var Directory for saving changed data during system running 5 5
      /var/log Log partition
      NOTICE:

      Do not save other files in this partition. Otherwise, log space will be occupied, resulting in failure to save new logs and affecting fault location.

      5 60

    5. On the INSTALLATION SUMMARY screen as shown in Figure 6-30, click Begin Installation to go to the installation page.

      Figure 6-30  Starting installation

    6. During the installation, you can set the root password and create other user accounts. See Figure 6-31.

      Figure 6-31  Setting the password (1)

    7. Click ROOT PASSWORD. On the password setting screen that is displayed, set a password and click Done. See Figure 6-32.

      Figure 6-32  Setting the password (2)

    8. Click User Creation to create a user account and click Done to save the settings. Then, click Finish Configuration.
    9. Wait until the installation is completed (about 20 minutes). After the OS installation and configuration are completed, click Reboot.
    10. Repeat the preceding operations to install operating systems on other servers.

    Configure the management IP addresses of the servers.

    NOTE:

    For details about the configuration of the storage plane network, see section Configuring the Storage Network.

    1. Open the browser on the local PC, enter the following address in the address box, and press Enter:

      http://BMC IP address of the server to be installed

      The BMC system login page is displayed.

    2. Log in to the server BMC system as instructed.

      The default username and password for logging in to the server BMC system is root and Huawei12#$, respectively.

      The server management page is displayed.

      NOTE:
      If a blade server is used, you cannot log in to the BMC system of a single blade. It is recommended that you log in to the management module (MM) of the subrack accommodating the blade and open the remote control window of the blade.

    3. Click Remote Control.

      For some Huawei servers, you must choose Remote Virtual Console (shared mode) on the Remote Control page to open the remote control window.

      The remote control window is displayed.

    4. Log in to the server as user root.
    5. Run the cd /etc/sysconfig/network-scripts command to switch to the directory containing the network port configuration file.
    6. Use the vi editor to open the network port configuration file and edit the file.

      If the network port configuration file does not exist in the current directory, you can run the vi Configuration file name command to edit the file and then save the configuration. Then a network port configuration file will be created.

      The configuration file names in Table 6-15 and Table 6-16 are used as examples. You can change them as required.

      NOTE:
      The following steps provide an example of configuring the network port configuration file using the vi editor:
      1. Run the vi Configuration file name command to open the network port configuration file using vi editor.

        For example, run the vi ifcfg-eth0 command.

      2. Press i to enter editing mode.
      3. Edit the configuration file.
      4. Press Esc and enter :wq to save the modification and exit the vi editor.

      Table 6-15  Network port configuration file information (using the bonded port)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data1

      SLAVE=yes

      USERCTL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data0

      SLAVE=yes

      USERCTL=no

      ifcfg-fsb_data0

      DEVICE=fsb_data0

      IPADDR=IP address

      NETMASK=subnet mask

      ONBOOT=yes

      BOOTPROTO=none

      USERCTL=no

      TYPE=Bonding

      MTU=1500

      BONDING_OPTS='mode=1 miimon=100'

      Table 6-16  Network port configuration file information (using VLAN)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      ifcfg-fsb_bond

      DEVICE=fsb_bond

      IPADDR=IP address

      NETMASK=subnet mask

      ONBOOT=yes

      BOOTPROTO=none

      USERCTL=no

      TYPE=Bonding

      MTU=1500

      BONDING_OPTS='mode=1 miimon=100'

      ifcfg-vlanXXX

      DEVICE=vlanID /*Its value is consistent with the configuration file name, for example, vlan101.*/

      IPADDR=IP address

      NETMASK=subnet mask

      BOOTPROTO=none

      PHYSDEV=fsb_bond

      ONBOOT=yes

      USERCTL=no

      VLAN=yes

      VLAN_ID=ID /*For example, 101*/

    7. Press Esc and enter :wq to save the modification and exit the vi editor.
    8. Run the vi /etc/sysconfig/network command to edit the configuration file and configure the default gateway.
    9. Add the management plane default gateway to the configuration file.

      For example:GATEWAY=192.168.40.1

    10. Press Esc and enter :wq to save the modification and exit the vi editor.
    11. Run the following command to restart the network service:

      service network restart

    12. Configure the management IP addresses and default gateways of all servers. For details, see 13 to 23.

    Setting the host name

    1. Run the following commands to set the host name.

      The host name of each node in one cluster cannot be the same.

      After you run the hostname command, the name of the logged in server cannot be changed. To show the changed host name, exit and log in to the server again.

      hostname Storage01

      echo "Storage01" > /etc/hostname

    Installing drivers and tools

    Install drivers and tools by referring to section Installing Drivers and Tools.

Installing the EulerOS Linux OS

Scenarios

This section describes how to install the CentOS Linux OS. The following operations are for your reference only. You can perform a customized OS installation based on your actual requirements. Ensure that both the requirements listed in this document and made by the OS vendor are met.

To install an Linux operating system earlier than CentOS Linux 7.0, see section Installing the Red Hat Linux OS.

Prerequisites

Conditions

  • The local PC can communicate with the planned management plane and the server BMC plane. It is recommended that the local PC and the server to be installed are connected to the same switch, and their IP addresses belong to the same management plane network segment.
  • You have obtained the BMC IP address, username, and password for logging in to the BMC system of the server.
  • You have obtained the password for logging in to the server basic input/output system (BIOS) if the password has been configured.
  • You have configured hard disks as RAID 1 for installing the host OS to improve storage reliability.
  • The firewall on the local PC has been disabled.

Data

  • Server name
  • Password of user root for the server
  • Management plane IP address of the server

Software

OS image file of the server

Procedure

    Installing the OS

    1. As is shown in Figure 6-33, mount the system image to the server, access the installation page, select Install EulerOS Version number, and press Enter.

      Figure 6-33  Selecting installation

    2. As is shown in Figure 6-34, set the system language to English and click Continue.

      Figure 6-34  Selecting a language

    3. As is shown in Figure 6-35, select DATE & TIME, configure the time and time zone based on the site requirements, and click Done.

      Figure 6-35  Setting the time zone

    4. As is shown in Figure 6-36, click INSTALLATION DESTINATION, select the disk for installing the OS as prompted, select I will configure partition, and click Done to go to the manual partitioning page.

      Figure 6-36  Selecting a disk

    5. Optional: If a partition already exists, as is shown in Figure 6-37, select the partition, click -, select the prompted information in the dialog box, and click Delete It. Repeat this step to delete all partitions.

      Figure 6-37  Deleting a partition

    6. As is shown in Figure 6-38, click Click here to create them automatically to generate part of the partitions automatically and set the partition capacity based on the table below. If the system disk has sufficient space, you are advised to expand the space for each partition based on the site requirements. Keep the default values of other parameters.

      Figure 6-38  Deleting a partition

      As is shown in Figure 6-39, you can also click the plus sign (+) in the lower left of the page and add partitions in sequence when the dialog box pops up. Click Add mount point to save the settings.

      Figure 6-39  Manually adding a partition
      NOTE:
      The /boot partition cannot be an LVM logical partition. Other partitions listed in the following table are recommended to be LVM logical partitions.
      Table 6-17  System partitions
      Partition

      Description

      Minimum Partition Size (GB) Recommended Partition Size (GB)
      / System root directory 20 20
      swap Swap partition 20 20
      /boot

      Kernel of the operating system and the file used in the boot process

      0.3 0.3
      /usr System program directory 5 20
      /opt Third-party software directory 5 40
      /tmp Directory for saving temporary files generated by users or during program running 5 40
      /var Directory for saving changed data during system running 5 5
      /var/log Log partition
      NOTICE:

      Do not save other files in this partition. Otherwise, log space will be occupied, resulting in failure to save new logs and affecting fault location.

      5S 60
      /boot/efi

      Partition required by a server using EFI BIOS

      0.2 0.2
      /opt/zk_disk Metadata partition. If you need to deploy metadata on a partition of the operating system disk, you need to create a metadata partition. Otherwise, you do not need to create it. 50 65
      /opt/drzk Metadata partition. If you need to store metadata of DR services on a partition of the operating system disk, you need to create a metadata partition. Otherwise, you do not need to create it. 27 43
      /opt/ccdb Metadata partition. If you need to store metadata of DR services on a partition of the operating system disk, you need to create a metadata partition. Otherwise, you do not need to create it. 11 27

    7. As is shown in Figure 6-40, click Done to complete the configuration and select Accept Changes to confirm the partition information.

      Figure 6-40  Confirming the partition information

    8. As is shown in Figure 6-41, select KDUMP on the installation overview page and select Enable kdump and Manual. Click Done to finish the configuration.

      Note: You are advised to reserve the memory to 512 MB for a physical machine and 256 MB for a virtual machine.

      Figure 6-41  Configuring KDUMP

    9. Keep the default values of other parameters. Click Begin Installation to install the operating system.
    10. As is shown in Figure 6-42, click ROOT PASSWORD, configure the password for user root, and click Done.

      Figure 6-42  Setting the password of user root

    11. When the installation is complete, click Reboot.

    Configure the management IP addresses of the servers.

    NOTE:

    For details about the configuration of the storage plane network, see section Configuring the Storage Network.

    1. Open the browser on the local PC, enter the following address in the address box, and press Enter:

      http://BMC IP address of the server to be installed

      The BMC system login page is displayed.

    2. Log in to the server BMC system as instructed.

      The default username and password for logging in to the server BMC system is root and Huawei12#$, respectively.

      The server management page is displayed.

      NOTE:
      If a blade server is used, you cannot log in to the BMC system of a single blade. It is recommended that you log in to the management module (MM) of the subrack accommodating the blade and open the remote control window of the blade.

    3. Click Remote Control.

      For some Huawei servers, you must choose Remote Virtual Console (shared mode) on the Remote Control page to open the remote control window.

      The remote control window is displayed.

    4. Log in to the server as user root.
    5. Run the cd /etc/sysconfig/network-scripts command to switch to the directory containing the network port configuration file:
    6. Use the vi editor to open the network port configuration file and edit the file.

      If the network port configuration file does not exist in the current directory, you can run the vi Configuration file name command to edit the file and then save the configuration. Then a network port configuration file will be created.

      The configuration file names in Table 6-18 and Table 6-19 are used as examples. You can change them as required.

      NOTE:
      The following steps provide an example of configuring the network port configuration file using the vi editor:
      1. Run the vi Configuration file name command to open the network port configuration file using vi editor.

        For example, run the vi ifcfg-eth0 command.

      2. Press i to enter editing mode.
      3. Edit the configuration file.
      4. Press Esc and enter :wq to save the modification and exit the vi editor.

      Table 6-18  Network port configuration file information (using the bonded port)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data1

      SLAVE=yes

      USERCTL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data0

      SLAVE=yes

      USERCTL=no

      ifcfg-fsb_data0

      DEVICE=fsb_data0

      IPADDR=IP address

      NETMASK=subnet mask

      ONBOOT=yes

      BOOTPROTO=none

      USERCTL=no

      TYPE=Bonding

      MTU=1500

      BONDING_OPTS='mode=1 miimon=100'

      Table 6-19  Network port configuration file information (using VLAN)

      Configuration File Name

      Configuration File Content

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      ifcfg-fsb_bond

      DEVICE=fsb_bond

      IPADDR=IP address

      NETMASK=subnet mask

      ONBOOT=yes

      BOOTPROTO=none

      USERCTL=no

      TYPE=Bonding

      MTU=1500

      BONDING_OPTS='mode=1 miimon=100'

      ifcfg-vlanXXX

      DEVICE=vlanID /*Its value is consistent with the configuration file name, for example, vlan101.*/

      IPADDR=IP address

      NETMASK=subnet mask

      BOOTPROTO=none

      PHYSDEV=fsb_bond

      ONBOOT=yes

      USERCTL=no

      VLAN=yes

      VID=ID /*For example, 101*/

    7. Press Esc and enter :wq to save the modification and exit the vi editor.
    8. Open the network port configuration file. For example, run the vi /etc/sysconfig/network-scripts/ifcfg-fsb_bond command.
    9. Add the management plane default gateway to the configuration file.

      For example:GATEWAY=192.168.40.1

    10. Press Esc and enter :wq to save the modification and exit the vi editor.
    11. Run the following command to restart the network service:

      service network restart

    12. Configure the management IP addresses and default gateways of all servers. For details, see 12 to 22.

    Disabling the SELinux Service

    1. Run the following command to disable the SELinux service:

      setenforce 0

      sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config

    Setting the Host Name

    1. Run the following commands to set the host name.

      The host name of each node in one cluster cannot be the same.

      After you run the hostname command, the name of the logged in server cannot be changed. To show the changed host name, exit and log in to the server again.

      hostname Storage01

      echo "Storage01" > /etc/hostname

    Installing the Patch for GE NIC Drivers

    1. Run the uname -a command to query the kernel version. If the kernel version is earlier than 3.10.0-514.44.5.10.h154, install the patch. For details, see Installing the Patch for GE NIC Drivers.

      The previous step corresponds to FusionStorage Block V100R006C30SPC200. Versions later than V100R006C30SPC200 can skip this step.

    Installing drivers and tools

    Install drivers and tools by referring to section Installing Drivers and Tools.

Translation
Download
Updated: 2019-06-29

Document ID: EDOC1100016637

Views: 28854

Downloads: 18

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