How to check if metaspace recovery has completed or not from as-admin.

How to check if metaspace recovery has completed or not from as-admin.

book

Article ID: KB0093805

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Resolution:
1). Connect metaspace from the as-admin command line.


2). Run the qldump command while spaces are loading from shared nothing files.


Sample output before recovery start.

====================================
as-admin> qldump

Dump:
__________________________________________________________________________________________________________________________________


     Space                |State   |Recovery policy|Seed |Quorum|Persist|Loaded|DataLost|LoadOK|Loadable|View|Seeders|Quorum|
     ---------------------------------------------------------------------------------------------------------------------
     SPACE1             |recover |without_data   |true |false |true   |false |true    |false |true    |   0|      2|    -1|
     SPACE2             |recover |without_data   |true |false |true   |false |true    |false |true    |   0|      2|    -1|
     SPACE3             |recover |without_data   |true |false |true   |false |true    |false |true    |   0|      2|    -1|
     SPACE4             |recover |without_data   |true |false |true   |false |true    |false |true    |   0|      2|    -1|


Dump: Finished
__________________________________________________________________________________________________________________________________
=====================================



Sample output after recovery has finished.


as-admin> qldump

Dump:
__________________________________________________________________________________________________________________________________


     Space               |State   |Recovery policy|Seed |Quorum|Persist|Loaded|DataLost|LoadOK|Loadable|View|Seeders|Quorum|
     ---------------------------------------------------------------------------------------------------------------------
    SPACE1             |ready   |no_data_loss   |true |true  |true   |true  |false   |true  |false   |   4|      2|    -1|
    SPACE2             |ready   |no_data_loss   |true |true  |true   |true  |false   |true  |false   |   4|      2|    -1|
    SPACE3             |ready   |no_data_loss   |true |true  |true   |true  |false   |true  |false   |   4|      2|    -1|
    SPACE4             |ready   |no_data_loss   |true |true  |true   |true  |false   |true  |false   |   4|      2|    -1|


Dump: Finished
__________________________________________________________________________________________________________________________________


3). If all the spaces are in ready status means the metaspace recovery is finished.



Issue/Introduction

How to check if metaspace recovery has completed or not from as-admin.

Additional Information