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 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. 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).
show ccdb general

show ccdb general

Function

The show ccdb general is used to query the CCDB information.

Format

show ccdb general obj_type=? [ controller=? ]

Parameters

Parameter

Description

Value

obj_type=?

Operation object type.

The value can be:

  • backup_files: queries backup file information.
  • ccdb_status: queries CCDB running status.
  • ccdb_db_status: queries CCDB database health status.
  • ccdb_raid_status: queries CCDB RAID group status.

The query of other objects is not supported currently.

controller=?

Controller ID.

The value is in the format of "XA" or "XB" or "XC" or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".

Views

Developer view

Usage Guidelines

You can run the "show ccdb general" command to query the CCDB information. By default, the command is directly delivered to the current controller to query the CCDB information. If parameter "controller" is specified, the CCDB information about the specified controller is queried. The query result is displayed on the current controller.

Example

  • Querying the CCDB backup file list.
    developer:/>show ccdb general obj_type=backup_files 
    Backup File List : fileId:0, fileName:backup-2015-04-27-11-33-02.tar 
    fileId:1, fileName:backup-2015-04-27-11-47-48.tar 
    fileId:2, fileName:backup-2015-04-27-11-48-56.tar
  • Querying the running status of CCDB.
    developer:/>show ccdb general obj_type=ccdb_status 
    CCDB Status : Normal
  • Querying the health status of the CCDB database.
    developer:/>show ccdb general obj_type=ccdb_db_status 
    CCDB DB Status : Normal
  • Querying the status of the CCDB RAID groups.
    developer:/>show ccdb general obj_type=ccdb_raid_status 
    CCDB RAID Status : Normal

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Backup File List

Backup file list.

CCDB Status

CCDB running status.

CCDB DB Status

CCDB database health status.

CCDB RAID Status

CCDB RAID group status.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 756309

Downloads: 38

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