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

Guide for Interworking Between HUAWEI CloudFabric Solution and Redhat OpenStack

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 the Operating System

Configuring the Operating System

Log in to the VM using the BMC.

The login user name is root, and the password is the password (Huawei@123) set in the previous section.

Disabling the Firewall

  1. Check the firewall status.

  2. Disable the firewall and check the firewall status.

  3. Disable automatic startup of the firewall upon power-on.

Configuring the Access Network for Undercloud

The Undercloud is deployed in physical mode and uses the enp2s0f1 NIC to access the network. For details about the plan, see the LLD. In this section, the management plane network is to be configured. After you configure the Undercloud access network in the following way and restart the network, the configuration takes effect and you can log in to the server in SSH mode through software such as the HyperTerminal.

  1. Configure the enp2s0f0 NIC information as the PXE network.

  2. Configure the enp2s0f1 NIC information to connect to the BMC network.

  3. Restart the network.

  4. Run the ifconfig command to check whether the NIC configurations take effect and verify that their IP addresses can be pinged.

  5. On the switch, configure a route to the BMC.

  6. Add the route to the BMC and write the route to the /etc/rc.local file.

  7. Verify that the communication with the BMC of other nodes is normal.

Setting System Parameters

  1. Change the host name of the Undercloud node. The host name can be customized. Change the host name to undercloud.

  2. Add the mapping between the PXE IP address and host name of the director in the last line of the /etc/hosts file. For the PXE IP address of the Undercloud, see the LLD.

Updating the Yum Source Configuration File

  1. Use the software similar to HyperTerminal to log in to the server and upload the software package to the opt directory as the yum source.

  2. Run the command shown in the following figure and add the following body content to the repo file of the yum source.

    [rhel-7-server-cert-rpms]
    #metadata_expire = 86400
    #baseurl = http://172.24.50.1/os/cert
    baseurl = file:///opt/os_2/cert
    name = Red Hat Certification (for RHEL 7 Server)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-extras-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/extras
    baseurl = file:///opt/os_2/extras
    name = Red Hat Enterprise Linux 7 Server - Extras (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-mrg-messaging-3-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/mrg-m/3
    baseurl = file:///opt/os_2/mrg-m/3
    name = Red Hat Enterprise MRG Messaging 3 for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-optional-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/optional
    baseurl = file:///opt/os_2/optional
    name = Red Hat Enterprise Linux 7 Server - Optional (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-rh-common-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/rh-common
    baseurl = file:///opt/os_2/rh-common
    name = Red Hat Enterprise Linux 7 Server - RH Common (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-rhn-tools-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/rhn-tools
    baseurl = file:///opt/os_2/rhn-tools
    name = RHN Tools for Red Hat Enterprise Linux 7 Server (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/basic
    baseurl = file:///opt/os_2/basic
    name = Red Hat Enterprise Linux 7 Server (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-supplementary-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/supp
    baseurl = file:///opt/os_2/supp
    name = Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-v2vwin-1-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/v2vwin
    baseurl = file:///opt/os_2/v2vwin
    name = Red Hat Virt V2V Tool for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-ha-for-rhel-7-server-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/ha
    baseurl = file:///opt/os_2/ha
    name = Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-server-rhscl-7-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/os/rhscl
    baseurl = file:///opt/os_2/rhscl
    name = Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0

  3. Add the following body content to another repo file.

    [rhel-7-server-openstack-10-devtools-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/rhosp/10/devtools
    baseurl = file:///opt/rhosp_zyp/10/devtools
    name = Red Hat OpenStack Platform 10 Developer Tools for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-openstack-10-optools-rpms]
    [rhel-7-server-openstack-10-optools-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/rhosp/10/optools
    baseurl = file:///opt/rhosp_zyp/10/optools
    name = Red Hat OpenStack Platform 10 Operational Tools for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-openstack-10-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/rhosp/10/basic
    baseurl = file:///opt/rhosp_zyp/10/basic
    name = Red Hat OpenStack Platform 10 for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-openstack-10-tools-rpms]
    #metadata_expire = 86400
    #baseurl = http:// 172.24.50.1/rhosp/10/tools
    baseurl = file:///opt/rhosp_zyp/10/tools
    name = Red Hat OpenStack Platform 10 Tools for RHEL 7 Server (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0

  4. Query the yum installation source file.

  5. Update the yum source.

    The error shown in the following figure may occur.

    In this case, you need to delete the file.

    Reload the file.

    #yum –y install nss-tools-3.28.2-1.6.el7_3.x86_64.rpm

    # reboot

Configuring the Time Server

Install the NTP service on the Undercloud node, which functions as the time server of the Overcloud nodes.

  1. Install the NTP service.

  2. Start the NTP service.

  3. Modify the NTP configuration file /etc/ntp.conf and configure the NTP server address.

    1. Comment out the following lines:
      #server 0.rhel.pool.ntp.org iburst
      #server 1.rhel.pool.ntp.org iburst
      #server 2.rhel.pool.ntp.org iburst
      #server 3.rhel.pool.ntp.org iburst
    2. Add the local host as the NTP server.
      server 127.127.1.0 iburst //127.127.1.0 is a local IP address.
      fudge 127.127.1.0 stratum 10 //Level of the time server. The value 0 indicates the top level.

  4. Run the systemctl restart ntpd command to restart the NTP service.

  5. Check the running status of the NTP service.

  6. Configure the ntpd service to automatically start upon power-on.

Download
Updated: 2019-03-25

Document ID: EDOC1100072313

Views: 2457

Downloads: 17

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