Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
cleardb
Usage Guidelines
- This command is only executed on the primary controller.
- In the minisystem mode, enter "showsysstatus" under any controller to view the node where the primary controller resides.
- After you successfully run the command, manually restart all controllers.
Example
Clear the database data on all controllers.
Storage: minisystem> cleardb DANGER: You are going to perform a danger command. Suggestion: Before you perform this operation, make sure the operation will not affect working of system. Have you read danger alert message carefully?(y/n) y Enter "I have read and understand the consequences associated with performing this operation." to confirm running this command. I have read and understand the consequences associated with performing this operation. DANGER: You are going to clear the configuration data of the storage system and the previous configuration data will be lost. Suggestion: Before you perform this operation, export the configuration data . Have you read danger alert message carefully?(y/n) y Clear db in all mediums begin...... admin:/diagnose>db clearall This is DB (cluster master) controller . Success !! admin:/diagnose>exit