Updating FoundationDB Configurations
This section describes how to update FoundationDB configurations on the Meta node.
- Modify the foundationdb.conf file.
- Open /etc/foundationdb/foundationdb.conf.
vim /etc/foundationdb/foundationdb.conf
- 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.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open /etc/foundationdb/foundationdb.conf.
- Modify the fdb.cluster file.
- Open /etc/foundationdb/fdb.cluster.
vim /etc/foundationdb/fdb.cluster
- 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.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open /etc/foundationdb/fdb.cluster.
- Restart the FoundationDB service.
systemctl restart foundationdb.service
- 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:* # ...
Parent topic: Installing Components and Deploying the Meta Node