Admin CLI questions.

Admin CLI questions.

book

Article ID: KB0093298

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Description:
Q1). Commands that can be used through the as-admin in order to manage the entries for a member (tuples flush or an entries dump in order to recover only for a specific member and not for the whole space).

From AS-admin, is it possible to:


1- Join space.
2- Execute on a member and there apply commands that affect only that member. 

Q2). In case Q1 is not possible, how to free memory from a member and then recover it?

Issue/Introduction

Admin CLI questions.

Resolution

From as-admin you can instruct the member to leave the space. This in effect would be a tuples flush as all of the data that the member seeds for the space will be redistributed to the other remaining members of the space. From as-admin you can execute the following command after connecting to the metaspace:

    execute on member <member_name_string> leave space <space_name_string>

You can also use the following as-admin command to tell a member to leave all spaces and disconnect from the metaspace:

    execute on member <member_name_string> disconnect

Recovery only occurs when all seeders of a space go down. There is not a notion of recovery of a single member. A single member going down would cause that member’s seeded data to be redistributed as explained above.

Note: If the members are as-agents, when the as-agent leaves a space it will automatically try to rejoin any space it is not a member of when a metaspace membership event occurs. If other clients are connecting and disconnecting, the as-agent will rejoin any space you have just told it to leave.

Additional Information

Admin CLI Guide