How to add the new Active Space servers / Seeder to existing cluster when spaces are used Shared_Nothing.

How to add the new Active Space servers / Seeder to existing cluster when spaces are used Shared_Nothing.

book

Article ID: KB0093796

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Resolution:

Description

=======

Example Query: 


We have two ActiveSpaces Cluster Members / hosts in the Production Environment Host-01 and Host-02. We are planning to add two more members/ hosts Host-03 and Host-04 to the existing model in order to achieve high availability. Can you please suggest us the best design architecture how we need to setup the data sharing if we include two more new ActiveSpaces cluster members/hosts.


Amusing Space Replication Count : 1


Resolution

=======

Recommendations follow:


1). Add new AS-server port numbers to the discovery URL. 

Sample updated URL:  tcp://Host-01:50000;Host-01:50000;Host-03:50000;Host-04:50000

2). You have to update the discovery URL on all of the as-agents on Host-01 and Host-02/ BW / JAVA /ASMM /AS-ADMIN clients.

3.) You need to modify space definition attributes " <ReplicationCount>3</ReplicationCount>" so that in case any one host goes down, the metaspace will not lose any data.

 "<ReplicationCount>1</ReplicationCount>" good when only two hosts are running (assuming one seeders per host). This same setting will not work if you have 3 or 4 hosts with  Replication degree  1. A greater Replication degree will slowdown put activities.

4). After the above changes, shut down the entire AS-Cluster including clients .


  •  Make a back-up of the Shared _Nothing files from Host-01 and Host-02.
  • Start only two hosts (Host-01, Host-02). Do recovery of spaces. 
  • Once the recovery is finished, wait until the redistribution is finished (refer KB:45577 for "How to check the progress of space redistribution on sudden seeder drop/kill conditions",  KB:45578 for  "How to check metaspace recovery completed or not from as-admin" ).
  • Start as-agent on Host-03 and wait for redistribution to finish across all three hosts.
  • Start as-agent on Host-04 and wait for redistribution to finish across all the four hosts.
  •  Check the space entire count.
  • Stop all as-agents (Host-01,Host-02,Host-03,Host-04).
  • Make a back-up of the Shared _Nothing files from Host-01,Host-02,Host-03,Host-04.
  • Start four hosts (Host-01,Host-02,Host-03,Host-04). Do recovery of spaces. 
  • Check the space entire count.

You can check the space count and space status from as-admin: Show space "space_name" to see how the tuples are distributed to all nodes. You can also verify Shared _Nothing file size on the newly added hosts.



Note : We recommend that you run the sample cycles in DEV/ Pre Prod before you actually do it in production.



Issue/Introduction

How to add the new Active Space servers / Seeder to existing cluster when spaces are used Shared_Nothing.

Additional Information