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

Huawei SAP HANA Appliance HA and DR Scheme Configuration Guide 02

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).
Configuration on the CLI (for Redhat)

Configuration on the CLI (for Redhat)

NOTE:

This section uses port bond0 (physical ports eth2 and eth3) as an example.

  1. In the /etc/modprobe.d/ directory, create a file named bonding.conf.

    [root@hw00003 modprobe.d ]# vi bonding.conf

  2. Add the following commands to bonding.conf:

    alias  bond0 bonding
    options bond0 mode=2 miimon=100

  3. Save and close the bonding.conf file, and run the following command to make the configuration take effect:

    modprobe bonding

  4. In the /etc/sysconfig/network-scripts/ directory, create a file named ifcfg-eth2.

    [root@hw00003 home]# vi /etc/sysconfig/network-scripts/ifcfg-eth2

  5. Add the following commands to ifcfg-eth2:

    DEVICE=eth2
    ONBOOT=yes
    BOOTPROTO=none
    TYPE=Ethernet
    MASTER=bond0
    SLAVE=yes
    USERCTL=no
    STARTMODE=hotplug

  6. Save and close the ifcfg-eth2 file. Then, create a file named ifcfg-eth3.

    [root@hw00003 home]# vi /etc/sysconfig/network-scripts/ifcfg-eth3

  7. Add the following commands to ifcfg-eth3:

    DEVICE=eth3
    ONBOOT=yes
    BOOTPROTO=none
    TYPE=Ethernet
    MASTER=bond0
    SLAVE=yes
    USERCTL=no
    STARTMODE=hotplug

  8. Save and close the ifcfg-eth3 file.
  9. In the /etc/sysconfig/network-scripts/ directory, create a file named ifcfg-bond0.

    [root@ hw00003 home]# vi /etc/sysconfig/network-scripts/ifcfg-bond0 

  10. Add the following commands to ifcfg-bond0:

    DEVICE=bond0
    BONDING_MASTER=yes
    BONDING_MODULE_OPTS=mode=2 miimon=100
    BOOTPROTO=static
    IPADDR=10.5.1.12
    NETMASK=255.255.240.0
    MTU=1500
    NAME='Emulex OneConnect 10Gb NIC eth2-eth3'
    STARTMODE=auto
    USERCONTROL=no
    BONDING_SLAVE0=eth2
    BONDING_SLAVE1=eth3

  11. Save and close the ifcfg-bond0 file.
Translation
Download
Updated: 2019-03-30

Document ID: EDOC1100073265

Views: 1249

Downloads: 7

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