When a XenServer environment to get some time on the nasty bug that you can install any Linux distributions directly from the Web. This is expressed as follows:
Error: The bootloader for this VM returned an error – did the VM installation succeed? Error from bootloader: Return code:1 ; Log = INVALID_SOURCE. Unable to access a required file in the specified repository: http://….
This occurs when the XenServer is behind a proxy. Now you think you can even at the console with a proxy:
I recently over the Exporting a virtual machine written on the Xen console. Now there's a little guide how this machine exported to the console again import.
First, we will contact you via SSH as root on the right XenServer. * As our lies. XVa file on a Windows share, we combine this with the following command first:
[root@XENS001 /]# mount -t cifs “//fileservername/XenServer” -o username=domain/admin,password=123456 /backup
To test the connection, we can list the contents of this directory:
[root@XENS001 /]# ls –an /backup
Now we start the actual import of the machine:
[root@XENS001 /]# xe vm-import filename = / backup / DebianEtch.xva preserve = true
After a successful import is displayed on the console, the generated uuid and the machine can be seen in the XenServer Console. Now all settings such as e.g.. Network, CPU, Pool Server checked and if necessary. be corrected.
First, we need a network share where we can store our backups. For many this is a shared folder on a Windows host, the simplest solution may be, but it also works with NFS shares.
If we have created a share on a Windows server (Right note), we must release them yet mapped to the XenServer Console. For this purpose we connect with SSH to our XenServer (xsconsole or with the) and we create a new directory, The Windows release will represent on the XenServer.
[root@xenserver /]# mkdir /backup
Then we mount our Windows share using the command:
In the current version of XenServer 5.5 SP2 is still against it, unfortunately, not when deleting snapshots of the required disk space is freed.
This way of doing hurt, of course, respect, as a virtual machine with a hard disk of such. 50 GB with a snapshot (the barely consumes only a few MB) additional 50GB of storage to be reserved. Deleting these remains, however, receive. That would still not solve the problem if you would see this in the Overview of Storage. Unfortunately, this is not the case.
Now, Citrix XenServer already in SP1 5.5 a small program built from exactly these hard drives from deleted snapshots. This is the Console application:
The following steps are necessary:
- Backup of Virtual Machine (protects against data loss)
- In XenCenter for virtual machine affected under the menu item "General" seek out the UUID
- auf der Console (Xenserver) Make the following command: coalesce-leaf –u <uuid or VM>
The affected machine is stopped for the process to be able to perform the operations.