Compute Knoten

Compute Knoten

Konfigurieren Sie die Netzwerkschnittstellen

  1. Konfigurieren Sie die erste Schnittstelle zur Managementschnittstelle:

    IP Adresse: 10.0.0.31

    Netzwerk Maske: 255.255.255.0 (oder /24)

    Default Gateway: 10.0.0.1

    Bemerkung

    Zusätzliche Compute Knoten sollten 10.0.0.32, 10.0.0.33 und so weiter verwenden.

  2. Die Anbieterschnittstelle nutzt eine besondere Konfiguration ohne eine zugewiesene IP-Adresse. Konfigurieren Sie die zweite Schnittstelle als Anbieterschnittstelle:

    Ersetzen Sie INTERFACE_NAME durch den tatsächlichen Namen der Schnittstelle. Zum Beispiel eth1 oder ens224.

    • Bearbeiten Sie die Datei /etc/sysconfig/network/ifcfg-SCHNITTSTELLEN_NAME und fügen Sie Folgendes hinzu:

      STARTMODE='auto'
      BOOTPROTO='static'
      
  3. Starten Sie das System neu, um die Änderungen wirksam zu machen.

Konfigurieren Sie die Namensauflösung

  1. Setzen Sie den Hostnamen des Nodes auf compute1.

  2. Edit the /etc/hosts file to contain the following:

    # controller
    10.0.0.11       controller
    
    # compute1
    10.0.0.31       compute1
    
    # block1
    10.0.0.41       block1
    
    # object1
    10.0.0.51       object1
    
    # object2
    10.0.0.52       object2
    

    Warnung

    Some distributions add an extraneous entry in the /etc/hosts file that resolves the actual hostname to another loopback IP address such as 127.0.1.1. You must comment out or remove this entry to prevent name resolution problems. Do not remove the 127.0.0.1 entry.

    Bemerkung

    To reduce complexity of this guide, we add host entries for optional services regardless of whether you choose to deploy them.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.