[TriLUG] Xen: Identifying Host from Guest

Ken Mink ken.mink at gmail.com
Wed May 9 11:04:38 EDT 2007


I don't think that's going to work. The guest's (DomU's) have eth0
with it's own MAC address. On the Dom0, there are vifX's and vethX's
for each of the DomU's. They use MAC addresses of ff:ff:ff:ff and
00:00:00:00 respectively. There doesn't seem to any way to correlate
them that way.

I appreciate it, though.
Ken

On 5/8/07, Marty Ferguson <martyferg at nc.rr.com> wrote:
> or maybe I am making it to simplistic.
> Are you asking for a network tree equivalent to
> the gnuish ps  (1) family tree option `ps -lwaxf' ???
>
> Oops. Just call.
>
> Marc wrote:
>
> > I can't find anything either.  I wonder if anyone has a script that
> > could go
> > on the guest that would traverse the network and gather uname-a and
> > related
> > information?   I  could write something extremely simple, but I am not
> > sure
> > how to  make it  gather data from other hosts.
> >
> >
> >
> > Marc
> >
> >
> >
> > On 5/2/07, Ken Mink <ken.mink at gmail.com> wrote:
> >
> >>
> >> Hi Folks,
> >>
> >>   We've got a number of machines using Xen to host other 'machines'.
> >> The guests sometimes get moved from one host to another. Is there a
> >> way to identify the host from inside one of the guests? I've poked
> >> around in proc and can't seem to find anything.
> >>
> >> TIA,
> >> Ken
> >>
> >> --
> >> ---------------------------------------------
> >> "They that can give up essential liberty to obtain a little temporary
> >> safety deserve neither liberty nor safety."--Benjamin Franklin
> >> " 'Necessity' is the plea for every infringement of human liberty; it
> >> is the argument of tyrants; it is the creed of slaves."--William Pitt
> >> --
> >> TriLUG mailing list        :
> >> http://www.trilug.org/mailman/listinfo/trilug
> >> TriLUG Organizational FAQ  : http://trilug.org/faq/
> >> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >>
>
> --
>         The global oil production peak
>         is not a cult theory, it's a fact.
>         The earth does not have a creamy
>         nougat center of petroleum.  -- James Howard Kunstler
>
> Triangle EV of Chapel Hill
> An Exclusive Hybrid Electric Bike Dealer,
> Representing Currie Technologies IZIP LEV's
> (Light-Electric Vehicles)
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>


-- 
---------------------------------------------
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."--Benjamin Franklin
" 'Necessity' is the plea for every infringement of human liberty; it
is the argument of tyrants; it is the creed of slaves."--William Pitt



More information about the TriLUG mailing list