|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] why my virtual server doesn't boot when I reboot Dom0?
Hi I 've been installed xen-3.0.4_1 on scientific linux. Its works: ----------------- [root@charon ~]# xm listName ID Mem VCPUs State Time(s) Domain-0 0 934 1 r----- 20.8 ----------------- I 've build one virtual server. ----------------- [root@charon ~]# xm create -c vmid=1 Using config file "/etc/xen/xmdefconfig". Started domain alkaid Bootdata ok (command line is root=/dev/sda1 ro ) Linux version 2.6.16.33-xen (root@xxxxxxxxxxxxxxxxxxxx ......... VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Xen virtual console successfully installed as tty1 Event-channel device installed. netfront: Initialising virtual ethernet driver. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx Registering block device major 8 blkfront: sda1: barriers enabled netfront: device eth0 has copying receive path. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 6, 262144 bytes) TCP established hash table entries: 131072 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE.EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem as ext2 VFS: Mounted root (ext2 filesystem) readonly. Warning: unable to open an initial console. Restarting system. [root@charon ~]# [root@charon ~]# xm listName ID Mem VCPUs State Time(s) Domain-0 0 484 1 r----- 26.4 alkaid 2 512 1 -b---- 12.1 [root@charon ~]# ----------------- I can log to the console. I can log with ssh.But when I reboot the system, Domain-0 works, but not the virtual server. I need to recreate the virtual server?
I 've created a xmdefconfig:
--------------------
def vmid_check(var, val):
val = int(val)
if val <= 0:
raise ValueError
return val
# Check othe defined variables have valid values..
xm_vars.var('vmid',
use="Virtual machine id. Integer greater than 0.",
check=vmid_check)
#Check the defined variables have valid values.. xm_vars.check()
xm_vars.check()
# General settings
if vmid == 1:
name = "alkaid"
# Kernel to use
kernel = "/boot/vmlinuz-2.6.16.33-xen"
# Memory in megabytes
memory = 512
# Root device
root = "/dev/sda1 ro"
# Don't forget to specify your bridge correctly here
#vif = [ 'mac=FE:FF:FF:FF:FF:FF, bridge=br-xen' ]
#vif = [ '' ]
vif = [ 'ip=xxx.xxx.xxx.xxx' ]
# Disk
disk = [ 'phy:vg_md1/lv1_md1 ,sda1,w' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
--------------------
I put the file xmdeconfig in the auto directory:
-------
[root@charon xen]# ln -s xmdefconfig /etc/xen/auto/
------
I don't understand why my virtual server doesn't boot when I reboot Dom0?
Thanks for your help
Patrice
--
passerelle antivirus du campus CNRS de Montpellier
--
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |