ゼロ ダウンタイム アップグレードの管理
Zero downtime upgrade (ZDU) allows you to upgrade your JIRA Data Center with no downtime for your users. Your instance will remain available throughout the upgrade process.
ゼロ ダウンタイムについて
Zero downtime upgrade (ZDU) is a special method available for JIRA Data Center. It introduces the upgrade mode that allows your nodes to work on different JIRA versions while you upgrade them one by one. During the upgrade, JIRA remains fully functional and open to your users.
ZDU is available for both JIRA Software Data Center and JIRA Service Desk Data Center. JIRA Software 7.3 or JIRA Service Desk 3.6 are the minimum versions you need to be able to use this upgrade process. If you're running a JIRA installation with both JIRA Software and JIRA Service Desk, don't worry, we got you covered!
ゼロ ダウンタイム アップグレード プロセスには長い時間がかかる場合があるため (ノード数に応じて異なります)、必要な操作をすべて完了したかどうかを確認できる、便利なチェックリストも用意しています。このページのすべてのステップを 1 つずつ実行することをおすすめします。チェックリストは、何をどこまで実行したかを追跡するためのツールです。
技術的な概要
アップグレードに関連してクラスタで発生する内容の詳細については、「ZDU 技術概要」を参照してください。
FAQ
ご質問がある場合、「ゼロ ダウンタイム アップグレードの FAQ」をご確認ください。
はじめる前に
ゼロ ダウンタイム アップグレードを開始する前に、いくつかすべきことがあります。
目的のバージョンのインストーラーがあることを確認します。 | |
対象のバージョンについて熟知していることを確認します。 | |
サポートされるプラットフォームを使用していることを確認します。 | |
アドオンをチェックします。 | |
データベースをバックアップします。 | |
サポート ヘルス チェック、インスタンス ヘルス、およびサポートされるツール プラグインが有効化さえr、最新バージョンであることを確認します。 |
新しいバージョンのプレステージングとテスト
アップグレードは、本番環境を最も反映するテスト環境で最初に実行することを強くお勧めします。テスト環境のアップグレードに成功し、正常な機能を確認するまでは、本番環境インスタンスをアップグレードしないでください。これには、アドオンとカスタマイズのチェックも含まれます。テスト環境におけるアップグレードで解決できない問題がある場合、弊社サポート サイトで課題を作成してサポートを依頼してください。
1. Jira をアップグレード モードにする
Putting JIRA into upgrade mode allows the nodes in your cluster to run on different versions of JIRA Software until you finalize or cancel your upgrade. To put JIRA into upgrade mode, all your nodes need to be running on the same versions.
- Navigate to > Applications > JIRA upgrades.
- Jira をアップグレード モードにするをクリックします。これは、ノードがすべて同じバージョンの場合のみ使用可能です。
Jira を初めてアップグレード モードにしたときに、アップグレードをキャンセルできます (このオプションを使うと Jira のアップグレードが終了します)。これは、ノードのアップグレードを開始するまで利用可能です。ノードを同じバージョンにアップグレードしたら、アップグレードを終了できます。アップグレードをキャンセルするには、各ノードを元のバージョンに戻す必要があります。
2. ノードをアップグレードする
Once your JIRA instance is in upgrade mode, you can upgrade each node individually. Upgrading a node will involve stopping JIRA, upgrading the installation, and then starting JIRA. Stopping JIRA will remove the node from your cluster, making it unavailable, and any users logged in to that node will lose their current session, before being routed to another node. As the administrator, it's up to you to decide which nodes to upgrade and in which order. You always need to have at least one node online and connected to your cluster to achieve zero downtime. There's some useful information on monitoring a JIRA Data Center node here, and depending on your setup, you may be able to 'drain' your nodes to minimise impact.
The JIRA Software installer automatically performs most of the upgrade tasks for you. However, if you have made customizations to your JIRA installation, you will need to migrate the customized files manually to the upgraded installation. This step takes place during the upgrade of your node.
You're now ready to upgrade your nodes. Make sure you can access the installer before you start, and select the node you need to upgrade:
最初のノードをアップグレードしたら、クラスターで利用可能であり、ユーザーがそのノードにログインしてノードを使用できることを確認します。完了したら、各ノードでプロセスを繰り返します。
Once you've upgraded all your nodes to the latest version, you can finalize your upgrade on the JIRA upgrades page (
> Applications > JIRA upgrades). If you haven't upgraded all the nodes, the Finalize upgrade button won't be available, and you'll need to check which node/s still require upgrading. You can finalize your update when all nodes are upgraded.3. アップグレードを完了する
Finalizing an upgrade will allow any required upgrade tasks to run on your instance, and take JIRA out of upgrade mode. Once the required tasks have completed, you're installation is upgraded.
- Navigate to > Applications > JIRA upgrades.
- アップグレードを完了するをクリックします。これは、ノードがすべて同じバージョン (新しいバージョン) の場合のみ使用可能です。
おめでとうございます! インスタンスをアップグレードし、ゼロ ダウンタイムを達成しました!