ディスクグループ内のすべての物理ディスクで、同期をとって操作します。
必要な前後処理は、リストアの操作を行う前後にディスクグループ単位で実施し、各物理ディスクを操作する際は、前後処理が動作しないようにします。
[リストアの例]
(業務ボリューム/バックアップボリュームに対する前処理を行う) # /opt/FJSVswsts/bin/swstrestore /dev/vx/dmp/sdg /dev/vx/dmp/sdg swstrestore completed # /opt/FJSVswsts/bin/swstrestore /dev/vx/dmp/sdh /dev/vx/dmp/sdh swstrestore completed # (業務ボリューム/バックアップボリュームに対する後処理を行う) |
リストアの前後で実施する前後処理は、以下のとおりです。
ボリューム種別 | 前処理 | 後処理 |
---|---|---|
業務ボリューム |
| 後処理は不要です。 |
リストア先ボリューム |
|
|
ディスクグループの再構成
ディスクグループを再構成する手順は、以下のとおりです。
リストアのプリコミット分析
# /etc/vx/bin/vxconfigrestore -p srcdg Diskgroup srcdg configuration restoration started ...... Installing volume manager disk header for sdg ... Installing volume manager disk header for sdh ... - srcdg's diskgroup configuration is restored (in precommit state). Diskgroup can be accessed in read only and can be examined using vxprint in this state. Run: vxconfigrestore -c srcdg ==> to commit the restoration. vxconfigrestore -d srcdg ==> to abort the restoration. # |
コピー先のディスクグループ構成のリストアに必要な変更をコミット
# /etc/vx/bin/vxconfigrestore -c srcdg Committing configuration restoration for diskgroup srcdg .... srcdg's diskgroup configuration restoration is committed. # |
注意
ディスクグループをクラスタシステムのリソースとして登録している場合は、ディスクグループのimport/deport処理の代わりに、ディスクグループリソースのonline/offline処理を行ってください。
マウントポイントをクラスタシステムのリソースとして登録している場合は、ファイルシステムのmount/umount処理の代わりに、マウントリソースのonline/offline処理を行ってください。
システムでディスク交換などが行われている場合、1つのディスクグループについて競合する構成情報バックアップが複数存在することがあります。
その際は、ディスクグループの代わりに、上記コマンド実行後に表示されるディスクグループIDを指定して実行してください。
この操作のあと、ディスクグループ内のボリュームがバックグラウンドで同期されるため、ボリュームの構成によっては同期処理に時間がかかる場合があります。なお、その場合でもボリュームを使用できます。