No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
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

cleardb

Function

The cleardb command is used to clear the database data on all controllers.

Format

cleardb

Parameters

None

Modes

Minisystem mode

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

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 635043

Downloads: 254

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next