Problem Symptom
In scenarios where management nodes and storage nodes are deployed together, the system is upgraded from FusionStorage 8.0.0.1 to SPH8, and LLDP is enabled. After upgrading the system to SPH12 and restart FSM nodes, ports on FSM nodes fail to be queried on the switch.
Problem Diagnosis
Run the crontab -l | grep lldp command to check scheduled tasks in the system. The command output shows that no LLDP task exists.
Causes
In 8.0.1.SPH12 and earlier versions, LLDP is not supported. Therefore, after FSM nodes are restarted, the LLDP scheduled task is cleared.
Solution
Upload the lldp_fix.zip package to any directory on the active FSM node and run the unzip lldp_fix.zip command to decompress the package.
In the current directory, run the cd lldp_fix command to go to the decompressed directory and run the vim replace_shell.sh command to edit the script. Change the values of ROOT_PASSWD, REMOTE_USER, and REMOTE_PASSWD to the passwords of user root, user name, and password of the user name, respectively. Then, save the settings and exit the editing mode.
Run the sh replace_shell.sh iplist_storage command to obtain the IP addresses of all storage nodes and export them to the compute.info file.
Run the vim compute.info command to edit the file to retain only the IP addresses of the FSM nodes. Then, save the settings and exit the editing mode.
Run the bash replace_shell.sh lldp_package command.
Run the sh replace_shell.sh lldp_storage command to enable LLDP.
Check After Recovery
LLDP is successfully enabled, and the ports of all FSM nodes are successfully queried.
Suggestion and Summary
N/A
Applicable Versions
FusionStorage 8.0.1.SPH12 and earlier versions