이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 2. Prerequisites


This chapter outlines how to configure all nodes to use iptables to provide firewall capabilities. It also explains how to install the database service and message broker used by all components in the Red Hat OpenStack Platform environment. The MariaDB database service provides the tools to create and access the databases required for each component. The RabbitMQ message broker allows internal communication between the components. Messages can be sent from and received by any component that is configured to use the message broker.

Note

Prior to deploying Red Hat OpenStack Platform, it is important to consider the characteristics of the available deployment methods. For more information, refer to the recommended best practices for installing Red Hat OpenStack Platform.

2.1. Configure the Firewall

Configure the server or servers hosting each component to use iptables. This involves disabling the Network Manager service, and configuring the server to use the firewall capabilities provided by iptables instead of those provided by firewalld. All further firewall configuration in this document uses iptables.

2.1.1. Disable Network Manager

OpenStack Networking does not work on systems that have the Network Manager service enabled. All steps in this procedure must be performed on each server in the environment that will handle network traffic, while logged in as the root user. This includes the server that will host OpenStack Networking, all network nodes, and all Compute nodes.

Procedure 2.1. Disabling the Network Manager Service

  1. Verify whether Network Manager is currently enabled:
    # systemctl status NetworkManager.service | grep Active:
    • The system displays an error if the Network Manager service is not currently installed. If this error is displayed, no further action is required to disable the Network Manager service.
    • The system displays Active: active (running) if Network Manager is running, or Active: inactive (dead) if it is not. If Network Manager is inactive, no further action is required.
  2. If Network Manager is running, stop it and then disable it:
    # systemctl stop NetworkManager.service
    # systemctl disable NetworkManager.service
  3. Open each interface configuration file on the system in a text editor. Interface configuration files are found in the /etc/sysconfig/network-scripts/ directory and have names in the format ifcfg-X, where X is replaced by the name of the interface. Valid interface names include eth0, p1p5, and em1.
    To ensure that the standard network service takes control of the interfaces and automatically activates them on boot, confirm that the following keys are set in each interface configuration file, or add them manually:
    NM_CONTROLLED=no
    ONBOOT=yes
  4. Start the standard network service:
    # systemctl start network.service
  5. Configure the network service to start at boot time:
    # systemctl enable network.service

2.1.2. Disable the firewalld Service

Disable the firewalld service for Compute and OpenStack Networking nodes, and enable the iptables service.

Procedure 2.2. Disabling the firewalld Service

  1. Install the iptables service:
    # yum install iptables-services
  2. Review the iptables rules defined in /etc/sysconfig/iptables:

    Note

    You can review your current firewalld configuration:
    # firewall-cmd --list-all
  3. When you are satisfied with the iptables rules, disable firewalld:
    # systemctl disable firewalld.service
  4. Stop the firewalld service and start the iptables services:
    # systemctl stop firewalld.service; systemctl start iptables.service; systemctl start ip6tables.service
  5. Configure the iptables services to start at boot time:
    # systemctl enable iptables.service
    # systemctl enable ip6tables.service
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.