Hi all.
I am comming back to the virtualization...
Days ago I installed Centos 5.5 and I want to tray xen Full
virtualization.. so I create and installed my Full virtual machine. I use
virt-manager... the VM run pretty well...
But... If I connect remotly using ssh to domain0 and then use "xm console
ID" I get nothing.... and I have to ctrl + ].... (this happen too if I am
locally in the host machine)
I dont use ssh directly to guest because it use dhcp..so in any moment the
IP can change and maybe I can not login...
Or is there any way to know the address of any guest(with dhcp) without
access to console ?
Above is the Vm conf file and guest grub.conf....
I search in common problems, edit the grub.conf on the guest with
console=tty , but I can not access to the console....I have 2 days reading
and searching but nothing work.. and I am no really sure if the console is
available using FULL virtualization...
title CentOS (2.6.18-194.3.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.3.1.el5 ro root=/dev/VolGroup00/LogVol00
console=tty0 console=ttys0
initrd /initrd-2.6.18-194.3.1.el5.img
My VM conf file is:
===========================================
name = "now"
uuid = "a6f8a3fb-6386-c1c5-9dd2-f33f9298b86b"
maxmem = 1024
memory = 507
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
localtime = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
disk = [ "file:/var/lib/xen/images/now.img,hda,w",
",hdc:cdrom,r" ]
vif = [ "mac=00:16:36:45:0b:92,bridge=xenbr0,script=vif-bridge" ]
parallel = "none"
serial = "pty"
>
> ==========================================
--
--Michael Mendoza--
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Jul-13 01:36 UTC
Re: [Xen-users] Xm console unable centos 5.5 Full virt
On Tue, Jul 13, 2010 at 5:06 AM, Michael Mendoza <michaelux@gmail.com> wrote:> Hi all. > I am comming back to the virtualization... > Days ago I installed Centos 5.5 and I want to tray xen Full > virtualization.. so I create and installed my Full virtual machine. I use > virt-manager... the VM run pretty well... > But... If I connect remotly using ssh to domain0 and then use "xm console > ID" I get nothing.... and I have to ctrl + ].... (this happen too if I am > locally in the host machine)Short answer: since you use full virtualization, the domU (guest) was not setup by default to use the serial console.> I dont use ssh directly to guest because it use dhcp..so in any moment the > IP can change and maybe I can not login... > Or is there any way to know the address of any guest(with dhcp) without > access to console ?There are some ways (not Xen-specific), using dynamic dns being the easiest one.> Above is the Vm conf file and guest grub.conf.... > > > I search in common problems, edit the grub.conf on the guest with > console=tty , but I can not access to the console....I have 2 days reading > and searching but nothing work.. and I am no really sure if the console is > available using FULL virtualization...you need to edit /etc/inittab and /etc/securetty to use ttyS0 as well> title CentOS (2.6.18-194.3.1.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-194.3.1.el5 ro root=/dev/VolGroup00/LogVol00 > console=tty0 console=ttys0it should be ttyS0, not ttys0 -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Possibly Parallel Threads
- Problems after update to 5.5
- readlines() truncates text file with Codepage 437 encoding
- readlines() truncates text file with Codepage 437 encoding
- Centos 5.5 on a Toshiba Satellite L1500D - Wireless networking - Realtek 8172
- dahdi modules installed wrong location