kamal kishi
2014-Jan-30 04:13 UTC
Using XEN 4.1 to run Windows 7 DOMU on SERVER1, replicated the HVM to SERVER2 using DRBD. Win7 DOMU doesn't boot in SERVER2 after replication
Hi All,
I'm new to XEN and using XEN 4.1 on UBUNTU to run Win7 guest.
I've 2 Servers(both UBUNTU 12), where Server1 is configured with full Win7
guest installation on a partition(It works fine).
Now as i use DRBD to replicate this partition into Server2 system and try
to boot the Win7 DOMU from harddisk, I get below mentioned error -
Windows failed to start. A recent hardware or software change might be the
cause. to fix the problem:
1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."
Status : 0xc000000e
Info: The boot selection failed because a required device is inaccessible.
Find the below the XEN and DRBD configuration file
As the partitions created in both servers are by gparted and the start and
end address of the same are different. But the over all size of the
partitions for guest are same ie, 30 GB
Can anyone help me with booting the Win7 in Server2?
Thanks in advance
DRBD config file :
global { usage-count no; }
common { syncer { rate 50M; } }
resource r0 {
protocol C;
startup {
become-primary-on both;
wfc-timeout 15;
degr-wfc-timeout 60;
}
net {
allow-two-primaries;
cram-hmac-alg sha1;
shared-secret "kalki";
}
on server1 {
device /dev/drbd0;
disk /dev/sda4;
address 192.168.0.92:7788;
meta-disk /dev/sda7[0];
}
on server2 {
device /dev/drbd0;
disk /dev/sda7;
address 192.168.0.93:7788;
meta-disk /dev/sda8[0];
}
}
Win7.cgf file :
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "xenwin7"
#vif = [ 'type=ioemu, bridge=xenbr0' ]
vif = [ 'bridge=xenbr0' ]
acpi = 1
apic = 1
disk = [ 'phy:/dev/sda7,hda,w',
'file:/home/vmiso/windows764bitnew.iso,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="c"
sdl=0
vnc=1
vncdisplay=10
vncunused=0
vncconsole=1
vncpasswd=''
serial='pty'
usbdevice='tablet'
Regards,
Kamal Kishore B V
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
