次の操作の前にOracle VM Managerをバックアップします。
Oracle VM Managerのアンインストール
特定のコンピュータから別のコンピュータへのOracle VM Serverの移動
Oracle VM Managerでの大幅な変更
この付録の内容は、次のとおりです。
バックアップする前に、すべてのOracle VM Serverのステータスが「実行中」であることを確認してください。
Oracle VM Managerをバックアップするには、次の手順を実行します。
rootユーザーとしてOracle VM Serverにログインします。
次のディレクトリに格納されているOracle VM Managerリソースをバックアップします。
仮想マシン・イメージ用の/OVS/running_pool
仮想マシン・テンプレート用の/OVS/seed_pool
ISOファイル用の/OVS/iso_pool
ストレージ・バックアップ・メカニズムを有効にしている場合は、この手順をスキップします。
次のコマンドを使用して、既存のOracle VM Managerデータをバックアップします。
# sh /opt/ovs-manager-2.2/bin/backup.sh
1
を入力して、データをバックアップします。
Please enter the choice: [1|2] 1. Back up Oracle VM Manager, 2. Restore Oracle VM Manager
データベース情報およびダンプ・ファイルとログ・ファイルのパスを入力します。
Back up data now ... Please enter the password for database account 'OVS': Please specify the path for dump file? Please specify the path for log file?
Oracle VM Managerがバックアップされます。
Oracle VM Managerをリストアするには、次の手順を実行します。
rootユーザーとしてOracle VM Serverにログインします。
Oracle VM Managerリソースを次の各ディレクトリに保存またはコピーします。
仮想マシン・イメージ用の/OVS/running_pool
仮想マシン・テンプレート用の/OVS/seed_pool
ISOファイル用の/OVS/iso_pool
Oracle VM Managerを停止します。
# service oc4j stop
次のコマンドを使用して、Oracle VM Managerのバックアップ・データをリストアします。
# sh /opt/ovs-manager-2.2/bin/backup.sh
2
を入力して、データをリストアします。
Please enter the choice: [1|2] 1. Back up Oracle VM Manager, 2. Restore Oracle VM Manager
データベース情報およびダンプ・ファイルとログ・ファイルのパスを入力します。
Please enter the password for database account 'SYS':Please enter the password for database account 'OVS':Please specify the path for dump file?Please specify the path for log file?
たとえば、次のコマンドを入力します。
Please enter the password for database account 'SYS': Please enter the password for database account 'OVS': Please specify the path for dump file?/dump Please specify the path for log file?/log
Oracle VM Managerを起動します。
# service oc4j start
Oracle VM Managerがリストアされます。