How to check the progress of space redistribution on sudden seeder drop/kill conditions.

How to check the progress of space redistribution on sudden seeder drop/kill conditions.

book

Article ID: KB0093804

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Resolution:
If any as-agents join / disconnect the cluster gracefully we can view the space redistribution progress from as-admin using the show space "space name" command. It is not possible to view space redistribution progress if sudden seeder drop / kill conditions. Using "verify gmp" you can achieve that.


1). Connect metaspace from as-admin command line.


2). Run the "verify gmp" command.


Sample output while no redistribution happening

==================================================

as-admin> verify gmp

verify gmp:
--------------------------------------------------------------------------------

    Async command sent: verify gmp
--------------------------------------------------------------------------------
Mas-admin> metaspace Layer
  - manager     1
  - member      2
Space Layer

:: seeder_state_none


  - SPACE1,seeder_state_none
    - seeder_state      2
  - SPACE2,seeder_state_none
    - seeder_state      2
  - SPACE3,seeder_state_none
    - seeder_state      2
  - SPACE4,seeder_state_none
    - seeder_state      2


In this case the total seeders are two and the seeder state in none means no redistribution is happening or completed. 

==================================================


Sample output while redistribution happening due to seeder drop.


==================================================

verify gmp:
------------------------------------------------------------

    Async command sent: verify gmp
------------------------------------------------------------


Mas-admin> metaspace Layer
  - manager     1
  - member      1
Space Layer
:: seeder_state_none

  - SPACE1,preparing,seeder_drop
    - seeder_state      1
    - seeder_to_drop_state      1
  - SPACE2,preparing,seeder_drop
    - seeder_state      1
    - seeder_to_drop_state      1
  - SPACE3,preparing,seeder_drop
    - seeder_state      1
    - seeder_to_drop_state      1

  - SPACE4,preparing,seeder_drop
    - seeder_state      1
    - seeder_to_drop_state      1


In this case the total seeders are 1 and the seeder state in drop means redistribution is in progress due to seeder drop.

==================================================


Sample output while redistribution happening due to seeder join.


==================================================


verify gmp:
--------------------------------------------------------------------------------

    Async command sent: verify gmp
--------------------------------------------------------------------------------


Mas-admin> metaspace Layer
  - manager     1
  - member      2
Space Layer
:: seeder_state_none
 
:: seeder_join
  - SPACE1,preparing,seeder_join
    - leech_to_seeder_state     1
    - seeder_state      1
  - SPACE2,preparing,seeder_join
    - leech_to_seeder_state     1
    - seeder_state      1

  - SPACE3,preparing,seeder_join
    - leech_to_seeder_state     1
    - seeder_state      1
  - SPACE4,preparing,seeder_join
    - leech_to_seeder_state     1
    - seeder_state      1


In this case total seeders are 2 and the seeder state in join means redistribution is in progress due to a seeder join.

==================================================

Issue/Introduction

How to check the progress of space redistribution on sudden seeder drop/kill conditions.