Rate This Document
Findability
Accuracy
Completeness
Readability

Installing the Management Tool

This section describes how to install the management tool on all nodes to manage and monitor microservices.

Perform this operation on all nodes.

  1. Obtain the binary file and configuration file from the compilation server.
    mkdir -p /var/log/3fs 
    mkdir -p /opt/3fs/{bin,etc} 
    rsync -avz meta:/home/3fs/build/bin/admin_cli /opt/3fs/bin 
    rsync -avz meta:/home/3fs/configs/admin_cli.toml /opt/3fs/etc 
    rsync -avz meta:/etc/foundationdb/fdb.cluster /opt/3fs/etc
    rsync -avz meta:/usr/lib64/libfdb_c.so /usr/lib64/
  2. Update the admin_cli.toml configuration file.
    1. Open /opt/3fs/etc/admin_cli.toml.
      vim /opt/3fs/etc/admin_cli.toml
    2. Press i to enter the insert mode and update the file as follows:
      ... 
      cluster_id = "stage" 
      ... 
      [fdb] 
      clusterFile = '/opt/3fs/etc/fdb.cluster'  
      [mgmtd_client] 
      mgmtd_server_addresses = ["RDMA://192.168.65.10:8000"] 
      ...
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  3. Check whether the management tool is successfully installed.
    /opt/3fs/bin/admin_cli -cfg /opt/3fs/etc/admin_cli.toml help