Rate This Document
Findability
Accuracy
Completeness
Readability

Updating FoundationDB Configurations

This section describes how to update FoundationDB configurations on the Meta node.

  1. Modify the foundationdb.conf file.
    1. Open /etc/foundationdb/foundationdb.conf.
      vim /etc/foundationdb/foundationdb.conf 
    2. Press i to enter the insert mode, locate the public-address configuration item under [fdbserver], and change the value to Local IP address:$ID.

      For example, if the IP address of the Meta node is 192.168.65.10, set this item to 192.168.65.10:$ID.

    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  2. Modify the fdb.cluster file.
    1. Open /etc/foundationdb/fdb.cluster.
      vim /etc/foundationdb/fdb.cluster
    2. Press i to enter the insert mode. Change 127.0.0.1:4500 in the file to Local IP address:4500. For example, if the IP address of the Meta node is 192.168.65.10, change the original setting to 192.168.65.10:4500.
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  3. Restart the FoundationDB service.
    systemctl restart foundationdb.service
  4. Check the FoundationDB service port.
    ss -tuln 

    Command output:

    # Netid      State       Recv-Q      Send-Q            Local Address:Port           Peer Address:Port      Process 
    # ... 
    # tcp        LISTEN      0           4096             192.168.65.10:4500                 0.0.0.0:* 
    # ...