How to perform reindexing on all nodes and how to copy index snapshot

Jyoti Kumari
Contributor
December 29, 2024

Hello Everyone,

 

How we can perform reindexing on all nodes, so that only one node will be in maintenance mode and other 2 node should be active.How we can copy index snapshot from one node to another node, once indexing completed on one node.Kindly share API to implement through groovy script.

Thanks and Regards,

Jyoti 

1 answer

0 votes
Salih Tuç
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2024

Hi @Jyoti Kumari ,


First of all, you need to connect from the desired node (Let's say node1). Make sure that you made node1 separate (via disabling reverse proxy or removing it from node balancer, etc.) so that no user can access to the node1.


Then, you can start the reindex from the node1; from System -> Indexing menu. Make sure you select the "Lock the system" option because otherwise the reindexing will take too much time. While the reindexing continues, there will be no access to node1 from other users. (You are removing node1 from load balancer because of that).

When the re-indexing finished, you can re-open the node1 for user access. After that, you need to copy the index from node1 to other nodes (you can add a Job to the system or you can do it manually).

For more context, you can check the related documentation from here.

David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2024

Or, alternatively, @Jyoti Kumari , you can just Google:

  1. jira data center re-index nodes
  2. jira data center copy index between nodes
  3. jira data center rest api start indexing

and then read Atlassian's existing documentation on these frequently asked questions yourself

David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2024

Hello @Salih Tuç 

After that, you need to copy the index from node1 to other nodes

You don't need to do that, as the active nodes automatically re-sync their indexes to the one that has had the full re-index done on it.

Copying indexes from one node to another is a special case, and only used in very specific circumstances.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.15
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events