スタンドアロン ESC インスタンスのアップグレード
スタンドアロン ESC インスタンスをアップグレードするには、次のタスクを実行します。
-
ESC データベースをバックアップします。詳細については、「ESC スタンドアロンインスタンスのデータベースのバックアップ」を参照してください。
(注)
展開で使用されるカスタムスクリプトをバックアップし、データベース復元の前にそれらを復元するには、バックアップにもスクリプトを再インストールする必要があります。
-
ESC インスタンスを再展開します。詳細については、以下の「アップグレードを目的とした ESC の展開」のセクションを参照してください。
-
新しい ESC インスタンスで ESC データベースを復元します。詳細については、以下の「ESC データベースの復元」の項を参照してください。
アップグレードを目的とした ESC の展開
- OpenStack の場合、新しいイメージ名で Glance コマンドを使用して新しい ESC qcow2 イメージを登録した後、新しい bootvm.py スクリプトと新しいイメージ名を使用して ESC VM をインストールする必要があります。
(注)
OpenStack で、古い ESC VM がフローティング IP で割り当てられていた場合は、インストール後に新しい ESC VM を同じフローティング IP に関連付ける必要があります。
- VMWare の場合、新しい ESC OVA ファイルを使用して ESC VM をインストールする必要があります。他のすべての設定とプロパティ値は、古い VM と同じである必要があります。
ESC データベースの復元
次の手順を使用して、新しい ESC インスタンスで ESC データベースを復元します。
手順
ステップ 1 |
SSH を使用して新しい ESC インスタンスに接続します。
|
ステップ 2 |
ESC サービスを停止します。
|
ステップ 3 |
ESC サービスのステータスをチェックして、すべてのサービスが停止していることを確認します。
|
ステップ 4 |
データベースファイルを復元します。
|
ステップ 5 |
ESC サービスを開始します。
ESC サービスが開始されると、スタンドアロン ESC のアップグレードが完了します。新しい ESC VM で |
ステップ 6 |
Openstack で、データベースを正常に復元した後、古い ESC インスタンスを削除します。
|