How to reindex Jira Data Center without downtime

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

This article instructs how to perform a full re-index on JIRA Data Center such that users are not impacted by the downtime of one node (whilst the indexing operation is completed).

環境

All versions of Jira Software starting on 7.1 (as Jira 8.x, 9.x).

ソリューション

After the end of the Full re-index process, the index will be synchronized to the other running nodes in the cluster.

Whilst the Full re-index is in progress in a specific node, if other nodes make indexing changes (as new issues, comments, etc) they will be synchronized, so nothing is lost.

Manually taking nodes off the LB

  1. Ensure the node has a 'back-door' connector in it, as indicated in this article. This is an alternate HTTP connector that is not connected to the load-balancer / proxy - with details on Integrating JIRA with Apache in the Configure Tomcat section.
  2. Remove the node from the load-balancer configuration, so clients will not get redirected to it.
  3. Access the node using the 'back-door' connector (through IP and port), and perform a Full re-index (the foreground Full re-index) as per Search indexing
  4. When the index has complete, access the node and verify if everything is working as expected.
  5. If so, add the node back to the load-balancer configuration.

Automatic if load balancer's configured to monitor /status

Applicable if your LB is configured to use the /status endpoint for health-check.

  1. Connect to any node and run the Full re-index (the foreground Full re-index) as per Search indexing
  2. The node health-check status will be changes to '{"state":"MAINTENANCE"}' and node will be removed from LB. 


Attention

  • If you are running an older version of Jira (between Jira 7.6 and 8.3) please observe there is a bug regarding the Status Code 500/503 in status page
    JRASERVER-67138 - Getting issue details... STATUS
  • Due to JRA-59721 - Getting issue details... STATUS  please update to JIRA 6.4.13 or later before performing a no downtime re-index.


説明 This article instructs how to perform a full re-index on JIRA Data Center such that users are not impacted by the downtime of one node (whilst the indexing operation is completed).

最終更新日 2023 年 7 月 5 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.