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).
Configuring a Management IP Address

Configuring a Management IP Address

Scenarios

This section describes how to configure a management IP address for the FusionStorage Block server.

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.
  • The firewall on the local PC is disabled.

Data

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

Procedure

    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 one of the following commands based on the OS in use to switch to the directory containing the network port configuration file:

      • If the Red Hat, Oracle, CentOS or EulerOS is used, run the cd /etc/sysconfig/network-scripts command.
      • If the SUSE is used, run the cd /etc/sysconfig/network command.

    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-12 and Table 8-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 8-12  Network port configuration file information (using the bonded port)

      Configuration File Name

      Configuration File Content (Red Hat, Oracle, CentOS or EulerOS)

      Configuration File Content (SUSE)

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data1

      SLAVE=yes

      USERCTL=no

      DEVICE=eth0

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_data0

      SLAVE=yes

      USERCTL=no

      DEVICE=eth1

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=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'

      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-13  Network port configuration file information (using VLAN)

      Configuration File Name

      Configuration File Content (Red Hat, Oracle, CentOS or EulerOS)

      Configuration File Content (SUSE)

      ifcfg-eth0

      DEVICE=eth0

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      DEVICE=eth0

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=no

      ifcfg-eth1

      DEVICE=eth1

      BOOTPROTO=none

      ONBOOT=yes

      MASTER=fsb_bond

      SLAVE=yes

      USERCTL=no

      DEVICE=eth1

      BOOTPROTO=static

      STARTMODE=onboot

      USERCONTROL=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'

      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=none

      PHYSDEV=fsb_bond

      ONBOOT=yes

      USERCTL=no

      VLAN=yes

      • EulerOS:

        VID=ID /*For example, 101*/

      • Red Hat, Oracle, or CentOS:

        VLAN_ID=ID /*For example, 101*/

      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 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 or EulerOS 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, Oracle or CentOS is used, run the vi /etc/sysconfig/network command.
      • If the SUSE is used, run the vim /etc/sysconfig/network/routes command.

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

      For example:

      • RedHat, Oracle, CentOS or EulerOS:GATEWAY=192.168.40.1
      • SUSE: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 1 to 11.
Translation
Download
Updated: 2019-06-29

Document ID: EDOC1100016637

Views: 27117

Downloads: 18

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