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 the SUSE Linux OS

Installing the SUSE Linux OS

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 8-14 shows the OS installation page.

      Figure 8-14  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 8-15 shows the installation screen.

      Figure 8-15  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 8-16 shows the screen for adding a partitioning.

      Figure 8-16  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 8-17 shows the configuration screen.

      • File System: Ext3
      • Mount Point: /
      Figure 8-17  Allocating the root partition

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

      Table 8-7 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 8-7  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 8-8 and Table 8-9 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 8-8  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 8-9  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.

Translation
Download
Updated: 2019-06-29

Document ID: EDOC1100016637

Views: 23694

Downloads: 14

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