ページの先頭行へ戻る
Interstage Shunsaku Data Manager トラブルシューティング集

2.4.2 バックアップデータが不当

【現象】

shundrecoverコマンドによるリカバリ終了宣言時に、以下のメッセージが出力されエラーとなることがある。


[出力メッセージ]

shn30328u : There is an error with the backup data that has been restored. [shund1]

リストアされたディレクタデータファイルは不当です。


【原因】

リストアされたディレクタデータファイルのバックアップデータが誤っています。


ディレクタデータファイルのバックアップデータは以下の種類のファイル群から成り立っています。

これらは、shundbackupコマンドで採取したバックアップデータでなければなりません。一部のファイルが欠如していたり、または、他の時点で採取したバックアップデータと混在していた場合、shundrecoverコマンドのeオプションによるリカバリ終了宣言時にshn30328uのエラーメッセージが出力され、リカバリがエラーとなります。


【問題発生時の対処方法】

正しいバックアップデータをリストアした後、再度、shundrecoverコマンドのeオプションによるリカバリ終了宣言を実行してください。


  1. shundstateコマンドで表示される、directorの稼働状況が“ACTIVE”の場合、リカバリ開始宣言を行います。
    (directorの稼働状況が“RECOVER”の場合、不要です。)


    shundrecover -s shund1 -b
    shun: INFO: shn21001i: Starting process... [shund1] shun: INFO: shn30327i: Recovery start declaration processing has been completed. [shund1] shun: INFO: shn21002i: Processing has been completed. [shund1]

  2. 正しいバックアップデータをリストアします。


  3. shundrecoverコマンドでリカバリ終了宣言を実行します。

    以下は、最新状態までのリカバリを例としています。


    shundrecover -s shund1 -e
    shun: INFO: shn21001i: Starting process... [shund1] shun: INFO: shn30334i: Recovery end declaration processing is complete. [shund1] shun: INFO: shn21002i: Processing has been completed. [shund1]

  4. shundstateコマンドで表示される、directorの稼働状況が“ACTIVE”であることを確認します。


    shundstate -s shund1
    Shunsaku shundstate 2006/09/01 13:10:00 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 13:10:00 ACTIVE NORMAL 9.67MB 66 2006/08/31 22:00:00 NORMAL 20.8MB 10000 10000 0.829 9.78MB

  5. shundbackupコマンドでディレクタデータファイルをバックアップします。


  6. 運用を再開します。


【注意事項】

shundrecoverコマンドでリカバリを行うことができるのは、shundbackupコマンドで採取したディレクタデータファイルのバックアップデータのみです。
そのため、Shunsakuシステムを停止した状態でディレクタデータファイルをバックアップした場合は、以下の操作で復旧してください。

ただし、オペレーションログファイルを使用している場合でも、復旧できる時点は、バックアップした時点のみとなります。
復旧後、ディレクタデータファイルのバックアップを行う場合は、shundbackupコマンドによるバックアップを行うようにしてください。


Shunsakuシステムを停止した状態でバックアップを採取した場合の復旧方法を以下に示します。


  1. Shunsakuシステムを停止します。


    shunsysstop -n shunsaku (Shunsakuシステム名)
    shn30579i:Stopping Shunsaku system. [shunsaku]
    shn30582i:Stopping conductor. [shunsaku]
    shn30583i:Stopping sorter. [shunsaku]
    shn30584i:Stopping director. [shunsaku]
    shn30580i:Shunsaku system has been stopped. [shunsaku]

  2. Shunsakuシステムを停止した状態で採取したディレクタデータファイルのバックアップデータをリストアします。


  3. Shunsakuシステムを起動します。


    shunsystart -n shunsaku (Shunsakuシステム名)
    shn30567i:Activating Shunsaku system. [shunsaku]
    shn30573i:Activating director. [shunsaku]
    shn30572i:Activating sorter. [shunsaku]
    shn30571i:Activating conductor. [shunsaku]

  4. shundstateコマンドで表示される、directorの稼働状況が“ACTIVE”であることを確認します。


    shundstate -s shund1
    Shunsaku shundstate 2006/09/01 13:10:00 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 13:10:00 ACTIVE NORMAL 9.67MB 66 2006/08/31 22:00:00 NORMAL 20.8MB 10000 10000 0.829 9.78MB

  5. shundbackupコマンドでディレクタデータファイルをバックアップします。


  6. 運用を再開します。