All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Brady <mike.brady@devnull.net.nz>
To: xen-devel@lists.sourceforge.net
Cc: Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Subject: Re: Dom1 always does DHCP requests and vmid increasing
Date: Wed, 28 Jul 2004 06:58:10 +1200	[thread overview]
Message-ID: <200407280658.10094.mike.brady@devnull.net.nz> (raw)
In-Reply-To: <E1BpP1Z-0001Z8-00@mta1.cl.cam.ac.uk>

On Tue, 27 Jul 2004 22:17, Ian Pratt wrote:
> > I've been lurking on the list for a while, but I haven't tried Xen out
> > until a few days ago.  I have things working in general, but can't figure
> > out a couple of things.
> >
> > Firstly, domains other than domain 0 always do a DHCP request, no mater
> > what is configured.  If I have a static address configured in the OS rc
> > scripts the DHCP address is assigned as the primary and the static
> > address is the secondary.
>
> There's nothing in your config file below to cause the kernel to
> do a DHCP. Are you sure that your rc scripts aren't doing it?
>

THe DHCP request that I am seeing requests ip adddress 1.2.3.4.  The only 
place that I can find that address mentioned is in the domain configuration, 
so I don't believe that it is the rc scripts, but I will have another look 
later in the day.  Syslog entries also indicate that it is a kernel DHCP 
request as opposed to a dhcpcd request.

> > Secondly the vmid always +1 what ever the last vmid was no matter what
> > the vmid is set to for the xm create command.
>
> Ah -- this is a common confusion: 'vmid' != 'domid'.
>
> The xmdefaults example configuration script is a slightly complex
> example that takes a parameter ('vmid') and hence enables you to
> use the same config file to start multiple domains, assuming
> you're assigning them consecutively numbered ip addresses and
> partitions.
>
> When a domain starts, it's given a 'domid' which is a handle that
> xend uses to refer to the domain when talking to Xen (It's kind
> of like a PID in Unix). The very latest version of the tools
> hides domid's from users to avoid this confusion. (A VM's domid
> will change when it reboots or migrates, so it's a bad handle for
> users to use when talking about a domain).
>
> The way most people user the tools is to write a separate config
> file for each domain they want to start, hence removing the part
> at the top of the script that expects a parameter to be set.
>

I think I understand that.  I will have a look it again tonight.

Thanks for the help.

> Ian
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

  reply	other threads:[~2004-07-27 18:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-27  9:50 Dom1 always does DHCP requests and vmid increasing Mike Brady
2004-07-27 10:17 ` Ian Pratt
2004-07-27 18:58   ` Mike Brady [this message]
2004-07-27 20:00     ` Ian Pratt
2004-07-28  8:27       ` Xen in a "new" distribution suggestion Rune Johan Andresen
2004-07-28  9:17       ` Dom1 always does DHCP requests and vmid increasing Mike Brady
2004-07-30  8:14         ` Mike Wray
2004-07-29  9:12       ` Mike Brady
2004-07-29 10:17         ` Ian Pratt
2004-07-27 11:14 ` Mark Williamson
2004-07-27 19:21 ` Barry Rountree

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407280658.10094.mike.brady@devnull.net.nz \
    --to=mike.brady@devnull.net.nz \
    --cc=Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.