Get Node Version Information
Terms
- Core node: The core service node that provides platform services, including API, data, and compute services.
- Static nodes: Nodes of types
manager,basic, andstatic.
Target Information
- Docker image versions on the Core node
- Component module versions on registered static nodes, based on their operating system
Component List
valislurmfastone-wappersfschedloki
You can add other components to this list as needed. If required, contact the development team.
Steps
Log in to the Core node
Switch to the script directory
cd fastone-{VERSION}/ymir-specs/scripts
Run the script
bash get_node_module_version.sh
If the environment includes a Monitor node and you also need its component versions, enter the access information for the Monitor node, for example:
There is a monitor node in the environment monitor_server_ip: 10.106.0.149
Please enter the ssh login information for the monitor node (e.g., user@monitor_server_ip), or press Enter to exit:
# Enter the SSH login information for the monitor node in the format user@server_ip
ubuntu@10.106.0.149
Please enter the path to the ssh key file for the monitor node (press Enter if using password login):
# Enter the SSH private key file path for the monitor node. If password login is used, just press Enter.
# After this prompt, enter the actual current SSH password of the target node
ubuntu@10.106.0.149's password:
# Wait for the output
In password-login scenarios, enter the current SSH password of the target node.
Script Output
The script retrieves the latest Docker image version on the Core node and the component module versions on static nodes. This takes some time, and the result is printed to the terminal. Please wait patiently.
Log Output
The script writes logs while it runs. The log file is node_module_version_{DATE}.log in the same directory. You can use it to troubleshoot issues or review previous script output.