[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: problems with xen installation


  • To: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
  • From: Anand <xen.mails@xxxxxxxxx>
  • Date: Thu, 29 Dec 2005 22:38:48 +0530
  • Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 29 Dec 2005 17:13:10 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=FHzZUwKLE0K54oO18D7hZ+AQHsXjbGj0aoyvVvQOjIj/Vtgh0cQLPXTYTTD9o657ZrJ+GxyRVzFab796z7fY6TmPiFxmam1pAlmGw2XZdl3pYleC3gvMaP6rcaVYmU6wqX040tOWO/MKD4lACyxzl6sP6lhsquSAIgL4Vf0da9E=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Dear Fernando,

Thanks for the reply.

The reason why i am interested in those directives because we want to deploy several domains in an automated fashion. Everytime doing network config inside each domain will be time consuming hence i thought these directives could be used to do the configuration part.

Any other ideas on how this can be automated ?

On 12/29/05, Fernando Maior <fernando.souto.maior@xxxxxxxxx > wrote:
On 12/29/05, Anand <xen.mails@xxxxxxxxx > wrote:
> Ok i finally got domain1 working with the centos image. It was a stupid
> typo.
>
> Now i modified the cfg file so i can supply the ip, netmask, gateway and
> hostname to the image. Here is the modified cfg file:
>
> kernel = "/boot/vmlinuz- 2.6-xen"
> memory = 128
> name = "centos.4-2"
> nics = 1
> ip="192.168.1.230"
> netmask=" 255.255.255.0"
> gateway=" 192.168.1.1"
> hostname="xentest1"
> extra="selinux=0"
> #dhcp = "dhcp"
> disk = ['file:/root/xen/centos.4-2.img,sda1,w',
> 'file:/root/xen/centos.swap,sda2,w']
> root = "/dev/sda1 ro"

Hi Anand,

Just do not use the directives "ip", "netmask", "gateway" and "hostname"
at all. Try configuring network inside your domain. It runs. It is logically
correct. It is easy. Remember, the domain do not know how to configure
every network interface, if you do not tell him.

I have not proof on that, but I believe those directives are for the network
interface OUT of the domain, not IN the domain. So, the domain remains
without any configuration for an interface.

Last but not least, try understand Xen as a real network with real hosts,
configure your host as they were real ones.

--
Bye,
Fernando Maior
LPIC/1(31908)
LinuxCounter(391325)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.