ヘッダーをスキップ
Oracle VM Managerユーザーズ・ガイド
リリース2.2
B57074-01
  目次
目次
索引
索引

戻る
戻る
 
次へ
次へ
 

B Oracle VM Managerのバックアップおよびリストア

次の操作の前にOracle VM Managerをバックアップします。

この付録の内容は、次のとおりです。

B.1 Oracle VM Managerのバックアップ

バックアップする前に、すべてのOracle VM Serverのステータスが「実行中」であることを確認してください。

Oracle VM Managerをバックアップするには、次の手順を実行します。

  1. rootユーザーとしてOracle VM Serverにログインします。

  2. 次のディレクトリに格納されているOracle VM Managerリソースをバックアップします。

    • 仮想マシン・イメージ用の/OVS/running_pool

    • 仮想マシン・テンプレート用の/OVS/seed_pool

    • ISOファイル用の/OVS/iso_pool

    ストレージ・バックアップ・メカニズムを有効にしている場合は、この手順をスキップします。

  3. 次のコマンドを使用して、既存の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がバックアップされます。

B.2 Oracle VM Managerのリストア

Oracle VM Managerをリストアするには、次の手順を実行します。

  1. rootユーザーとしてOracle VM Serverにログインします。

  2. Oracle VM Managerリソースを次の各ディレクトリに保存またはコピーします。

    • 仮想マシン・イメージ用の/OVS/running_pool

    • 仮想マシン・テンプレート用の/OVS/seed_pool

    • ISOファイル用の/OVS/iso_pool

  3. Oracle VM Managerを停止します。

    # service oc4j stop
    
  4. 次のコマンドを使用して、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
    
  5. Oracle VM Managerを起動します。

    # service oc4j start
    

Oracle VM Managerがリストアされます。