7.7.12.16 LIST KEY

Purpose

The LIST KEY command displays key values for clients determined by the specified attributes and filters.

Syntax

LIST KEY [name | filters] [attribute_list] [DETAIL]

LIST KEY [FOR {ASMCLUSTER | CELL | LOCAL CELL | REMOTE CELL}] [DETAIL]

Usage Notes

  • The key value assigned to a client must match the keys in the cellkey.ora files on cells, and the Oracle ASM and database host computers.

  • The output of the command might show a type attribute, which was introduced in Oracle Exadata System Software release 12.2.1.1.0. Values for this attribute include ASMCLUSTER, LOCAL-CELL, REMOTE-CELL, and CELL. See the examples below.

  • The FOR [LOCAL | REMOTE] CELL and FOR ASMCLUSTER clauses were also introduced in Oracle Exadata System Software release 12.2.1.1.0. These clauses indicate that the command is to display only the keys with the specified type.

  • name specifies the key to display.

Examples

The following example shows the LIST command with the KEY object, and the corresponding output.

Example 7-181 Listing KEY Attributes

CellCLI>  LIST KEY db1 DETAIL
         name:                   db1
         key:                    b67d5587fe728118af47c57ab8da650a


CellCLI>  LIST KEY
         db1     b67d5587fe728118af47c57ab8da650a
         db456   118af47c57ab8da650ab67d5587fe728
         asm1    118af47c57ab8da650ab67d5587fe728   ASMCLUSTER


CellCLI>  LIST KEY asm1 DETAIL
         name:         asm1
         key:          b67d5587fe728118af47c57ab8da650a
         type:         ASMCLUSTER


CellCLI>  LIST KEY FOR CELL DETAIL
         key: fa292e11b31b210c4b7a24c5f1bb4d32
         type: CELL

Related Topics