upgrade_clearflag.sh
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
-c | Clears all the upgrade flag files. | - |
-h | Views the help information about upgrade_clearflag.sh command. | - |
-e | Examines the redundancy of front-end links. | - |
Usage Guidelines
- In the process of system upgrade, for some unknown reason, the upgrade process cannot exit. Use this script to forcibly exit the upgrade state. The method is:
1.After entering the minisystem mode on each controller, input and perform the upgrade_clearflag.sh -c command.
2.Power off and power on the cluster.
3.After the cluster is powered on again, the upgrade state will be cleared.
- Use this script to examine the redundancy of front-end links. The method is:
After entering the minisystem mode on each controller, input and perform the upgrade_clearflag.sh -e command.
Example
-
View the help information about upgrade_clearflag.sh command.
Storage : minisystem> upgrade_clearflag.sh -h upgrade_clearflag.sh [-e] | [-c] | [-h] : Delete all the upgrade files that were generated by upgrade action. -h, --help show help info. -c, --Clear Clear all the upgrade files that cannot be restored. -e, --Examine Examine the redundancy of front-end links.
-
Clear all the upgrade flag files.
Storage: minisystem> upgrade_clearflag.sh -c Delete all upgrade files successfully.
-
Examine the redundancy of front-end links.
Storage: minisystem> upgrade_clearflag.sh -e Front-end links is redundant.
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Delete all upgrade files successfully. | Succeeded in deleting all upgrade status files. |
Front-end links is not redundant. | The front-end link is not redundant. |
Front-end links is redundant. | The front-end link is redundant. |