Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-615

xe pool-restore-database do not restore the system properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • 7.0
    • other
    • None
    • XS 7.0 with XS7E004 patch embedded
      installed patches:
      XS7E002, XS7E003, XS7E005, XS7E008, XS7E010

    Description

      xe pool-restore-database do not restore the server state compeletely

      After installing Xenserver with one VM, creating snapshot for VM, setup autostart for server and VM to "enabled" and setup network configurations and bonding I run

      xe pool-dump-database file-name=pool.dump
      service xapi stop
      BackUpXenPath "/etc/xensource"
      BackUpXenPath "/var/lib/xcp"
      

      After restoring the configuration by

      rm -rf /var/xapi/networkd.db
      RestoreXenPath "/etc/xensource"
      RestoreXenPath "/var/lib/xcp"
      xe-reset-networking --master=$IP --device=$NIC --mode=static --ip=$IP \
         --netmask=$NETMASK --gateway=$GW --dns=$DNS
      
      -- the host reboots --
      
      xe pool-restore-database file-name=pool.dump --force
      

      BackupXenPath and RestoreXenPath is shell functions to save/restore files from the folder

      I found some problem:

      1. VM lost all its disks though the disks are still on the storage. I have to restore VM from snapshot to make it working and remove orphan disk images.
      2. Sometimes network bonding do not restore or existing bonds remove
      3. Autostart for the host and for VM becomes 'disabled' and I have to enable it by hands.

      I use the same save/restore sequence in XenServer 6.5 without any problem

      Attachments

        Activity

          People

            stephentu Stephen Turner
            and Andrey Perminov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: