Sun Cluster ソフトウェアのインストール (Solaris OS 版)

Procedurex86: 部分的に完了したデュアルパーティションアップグレードから回復する

デュアルパーティションアップグレードが失敗して、クラスタの状態が次のすべての基準を満たす場合、この手順を実行してください。

1 番目のパーティションでアップグレードが成功したが、アップグレードを取り消したい場合もこの手順を実行できます。


注 –

2 番目のパーティションでアップグレード プロセスが始まったあとに、この手順を実行しないでください。代わりに、「失敗したデュアルパーティションアップグレードからの回復」を実行してください。


始める前に

開始する前に二次パーティションノードがすべて停止されていることを確認します。一次パーティションノードは、停止するか、または非クラスタモードで実行できます。

すべての手順をスーパーユーザーとして実行します。

  1. 次の手順を完了して、二次パーティションの各ノードを非クラスタモードで起動します。

  2. GRUB メニューで矢印キーを使用して該当する Solaris エントリを選択し、e と入力してコマンドを編集します。

    GRUB メニューは、次のように表示されます。


    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris 10 /sol_10_x86                                                  |
    | Solaris failsafe                                                        |
    |                                                                         |
    +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.

    GRUB ベースの起動の詳細は、『Solaris のシステム管理 (基本編)』の第 11 章「GRUB ベースのブート (手順)」を参照してください。

  3. ブートパラメータ画面で矢印キーを使用して kernel エントリを選択し、e と入力してエントリを編集します。

    次のような GRUB ブートパラメータ画面が表示されます。


    GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
    +----------------------------------------------------------------------+
    | root (hd0,0,a)                                                       |
    | kernel /platform/i86pc/multiboot                                     |
    | module /platform/i86pc/boot_archive                                  |
    +----------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press 'b' to boot, 'e' to edit the selected command in the
    boot sequence, 'c' for a command-line, 'o' to open a new line
    after ('O' for before) the selected line, 'd' to remove the
    selected line, or escape to go back to the main menu.
  4. コマンドに -x オプションを追加して、システムが非クラスタモードで起動するように指定します。


    Minimal BASH-like line editing is supported.
    For the first word, TAB lists possible command completions.
    Anywhere else TAB lists the possible completions of a device/filename.
    ESC at any time exits.

    # grub edit> kernel /platform/i86pc/multiboot -x
    
  5. Enter キーを押して変更を承諾し、ブートパラメータ画面に戻ります。

    画面には、編集されたコマンドが表示されます。


    GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
    +----------------------------------------------------------------------+
    | root (hd0,0,a)                                                       |
    | kernel /platform/i86pc/multiboot -x                                  |
    | module /platform/i86pc/boot_archive                                  |
    +----------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press 'b' to boot, 'e' to edit the selected command in the
    boot sequence, 'c' for a command-line, 'o' to open a new line
    after ('O' for before) the selected line, 'd' to remove the
    selected line, or escape to go back to the main menu.-
  6. b と入力して、ノードを非クラスタモードで起動します。


    注 –

    カーネルのブートパラメータへのこの変更は、システムの起動後には保持されません。次にノードを再起動する際には、ノードはクラスタモードで起動します。非クラスタモードで起動するには、上記の手順を実行してもう一度カーネルのブートパラメータに -x オプションを追加してください。


  7. 二次パーティションの各ノードで、scinstall -u recover コマンドを実行します。


    # /usr/cluster/bin/scinstall -u recover
    

    このコマンドで元の CCR 情報が復元され、元の /etc/vfstab ファイルが復元され、起動時の変更がなくなります。

  8. 2 番目のパーティションの各ノードをクラスタモードで起動します。


    # shutdown -g0 -y -i6
    

    二次パーティションのノードが起動すると、二次パーティションは古いソフトウェアを元の構成で実行しながら、クラスタデータサービスのサポートを再開します。

  9. 元のソフトウェアと構成データをバックアップメディアから一次パーティションのノードに戻します。

  10. 1 番目のパーティションの各ノードをクラスタモードで起動します。


    # shutdown -g0 -y -i6
    

    ノードはもう一度クラスタに参加します。