Skip to main content
Version: FCP 25.11

Get Detailed Node Information

Terms

  • Core node: The core service node that provides platform services, including API, data, and compute services.

Target

  • A node provided by the user

Information Collected

info
├── cpu_info.txt
├── disk_info.txt
├── gpu_info.txt
├── memory_info.txt
├── package_version_info.txt
├── process_info.txt
└── release_info.txt
log
└── syslog

How to Collect the Information

Log in to the Core node

Check whether support-tool is installed

cd fastone-{VERSION}/ymir-specs/tools/
./support-tool -v

If it is not installed, you can download s3://fastone-artifects/support-tool/{TAGS}/support-tool, where TAGS is the software version, upload it to the Core node, and place it in the ymir-specs/tools/ directory.

aws s3 cp s3://fastone-artifects/support-tool/{TAGS}/support-tool .
chmod +x support-tool
mkdir fastone-{VERSION}/ymir-specs/tools/
mv support-tool fastone-{VERSION}/ymir-specs/tools/

Usage

Go to the ymir-specs/tools/ directory and run ./support-tool -h to view the help information.

cd fastone-{VERSION}/ymir-specs/tools/
./support-tool -h

support-tool supports two modes:

  1. Command-line mode (single-node mode): Collect detailed information for a single node. See ./support-tool -h for details. Examples:

    • Key-based login: -i <private-key-path> -p <port> <user>@<ip> ./support-tool -i test.pem -p 22 root@123.1.4.9
    • Password-based login: -passwd <actual-node-password> -p <port> <user>@<ip> ./support-tool -passwd <SSH_PASSWORD> -p 22 root@123.1.4.9 For password retrieval, see the Password Retrieval Guide
  2. Configuration file mode: Collect detailed information for multiple nodes. The configuration file format is as follows:

    Fill in a file containing node SSH connection information.

    Edit nodes.yaml with content like:

    -
    hosts: # Node hostnames or IP addresses
    - example_host1
    - example_host2
    port: 22 # Node SSH port, default 22
    user: example_user1 # Node login username
    password: <SSH_PASSWORD> # Node login password, choose either this or private_key
    private_key: # Private-key login, text content; choose either this or password

    -
    hosts:
    - example_host3
    - example_host4
    port: 22
    user: example_user2
    password:
    private_key: |
    -----example_private_key2-----
    ./support-tool -f nodes.yaml

Script Output

The program takes some time to run, and logs are printed to the screen. If it succeeds, the result is saved in the current directory as scan-HOSTNAME-DATE.tar.gz, where HOSTNAME is the node hostname and DATE is the current date.

After extracting the file, you will see the info and log directories, which store detailed node information and logs respectively. See Information Collected for the directory structure.