[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

xen on centos node - ubuntu vm's network not reacheable

Asked by allwebnow in Linux Virtualization, CentOS, Red Hat Linux

I have xen 3.3.0 running on my main machine.  I've successfully gotten xen installed as well as a vps ubuntu installed and working.  I can only access it via vnc because the eth0 is giving some issues.  Let me know if anyone can figure out the correct configuration for this vm's setup.  Below is the .cfg file.  Neither of the vif's below worked correctly.  I'm so close to getting this vps up and this I think is the last step to getting it to work completely before I can install openqrm.

Thanks!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
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 = 512
name = "openqrm"
vcpus=1
acpi=1
apic=1
vif = [ 'type=ioemu, bridge=peth0' ]
#vif = [ 'type=ioemu, bridge=xenbr0' ]
 
 
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
 
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
 
#Comment this line after OS install
disk = [ 'file:/var/lib/xen/images/openqrm.img,hda,w' , 
'file:/root/ubuntu-9.04-server-amd64.iso,hdc:cdrom,r' ]
 
 
boot="c" #MAKE THIS c INSTEAD OF d AFTER OS LOAD
serial = "pty" #Uncommented AFTER OS LOAD
bootloader="/usr/bin/pygrub" #Uncommented AFTER OS LOAD
 
sdl=1
opengl=0
vnc=1
vnclisten="0.0.0.0"
vncdisplay=1
vncunused=1
vncpasswd='xxxxxx'
nographic=0
stdvga=0
[+][-]09/27/09 07:15 PM, ID: 25436413Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/09 07:25 AM, ID: 25750431Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 07:29 AM, ID: 25750481Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/09 07:30 AM, ID: 25750488Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625