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 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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: EDOC1000181575

Views: 669617

Downloads: 30

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