ESC アクティブ/アクティブ高可用性のアップグレード
Cisco Elastic Service Controller のアクティブ/アクティブ HA は、ローカルアクティブ/アクティブからアクティブ/アクティブへの簡易アップグレードをサポートしています。
ローカルアクティブ/アクティブからアクティブ/アクティブへの簡易アップグレード
手順
ステップ 1 |
データベースをバックアップします。詳細については、データベースのバックアップのセクションを参照してください。 |
ステップ 2 |
古い VM を削除します。詳細については、「 古い VM の削除 古い VM の削除」の項を参照してください。 |
ステップ 3 |
新しい ESC アクティブ/アクティブ VM をインストールします。詳細については、新しい ESC アクティブ/アクティブ VM のインストールのセクションを参照してください。 |
ステップ 4 |
ESC データベースを復元します。詳細については、ESC データベースの復元のセクションを参照してください。 |
データベースのバックアップ
アップグレードの前に、次の手順に従ってデータベースのバックアップを取得します。
手順
ステップ 1 |
次のコマンドを実行して、ESC リーダ VM をメンテナンスモードにします。
|
ステップ 2 |
すべての ESC VM がトランザクション処理を停止するまで待機します。確認するには、次のコマンドを実行します。
|
ステップ 3 |
次のコマンドを実行して、ESC リーダーにデータベースのバックアップを作成します。
|
ステップ 4 |
次のコマンドを実行して、すべての ESC VM からログを収集します。
|
古い VM の削除
手順
ステップ 1 |
次のコマンドを実行して、すべての ESC フォロワー VM と ESC リーダー VM をシャットダウンします。
|
ステップ 2 |
次のコマンドを実行して、古い ESC アクティブ/アクティブ VM を OpenStack から削除します。
|
新しい ESC アクティブ/アクティブ VM のインストール
手順
ステップ 1 |
OpenStack では、次のコマンドを実行して新しいイメージを登録します。
|
ステップ 2 |
次のコマンドを実行して、新しい ESC アクティブ/アクティブ VM をインストールします。 |
ステップ 3 |
次のコマンドを実行して、すべての ESC VM の正常性を確認し、フォロワー VM で escadm サービスを停止します。
|
ステップ 4 |
すべてのフォロワー VM で escadm サービスが停止したら、次のコマンドを実行して、リーダー VM の escadm サービスを停止します。
|
ESC データベースの復元
手順
ステップ 1 |
次のコマンドを実行して、バックアップファイルを新しいリーダーにコピーします。
|
ステップ 2 |
次のコマンドを実行して、ESC リーダーのデータベースを復元します。
復元後、復元プロセスはリーダー VM で escadm サービスを開始します。ただし、すべてのフォロワー VM で escadm サービスは停止されたままです。 |
ステップ 3 |
ESC リーダー VM が中断されずにすべてのサービスを実行していることを確認します。 |
ステップ 4 |
次のコマンドを実行して、ESC リーダー VM を動作モードにします。
|
ステップ 5 |
次のコマンドを実行して、フォロワー VM で ESC サービスを開始します。
|