[Novalug] virsh cheat sheet?
Crawford Rainwater
crawford.rainwater@linux-etc.com
Thu Aug 15 14:27:02 EDT 2013
JF gets the idea. I did leave out the DHCP to DNS portion previous I do admit, so thanks there. ;-)
--- Crawford
----- Original Message -----
> From: "John Franklin" <franklin@elfie.org>
> Sent: Thursday, August 15, 2013 12:21:37 PM
> Subject: Re: [Novalug] virsh cheat sheet?
>
> If you run your own DHCP and DNS servers, you can have DHCP
> automatically update DNS.
>
> jf
>
> On Aug 15, 2013, at 13:57 , Crawford Rainwater wrote:
>
> > John:
> >
> > The VMs (including clones) have a unique MAC address, do they not?
> > ;-) The DHCP server lease/release based on said MAC addresses
> > accordingly. At the same time, use the MAC address for a look up
> > as well.
> >
> > As I hinted to, there are "layers" above the hypervisor that have
> > such functionality built into them accordingly. I believe (for
> > those "closed box" ones) and know (for the "FOSS based" ones) this
> > is a method used thanks to the MAC address per VM being unique.
> > For Greg and your purposes (and others trying the same), you are
> > doing the "by hand" method below this layer which is a good
> > learning experience. :-)
> >
> > HTH.
> >
> > --- Crawford
> >
> > The Linux ETC Company
> > 10121 Yates Court
> > Westminster, CO 80031 USA
> > voice: +1.303.604.2550
> > web: http://www.linux-etc.com
> >
> > Please do not print this email unless it is absolutely necessary.
> > Be friendly to the environment by saving paper.
> >
> > ----- Original Message -----
> >> From: "John Holland" <jholland@vin-dit.org>
> >> To: "Crawford Rainwater" <crawford.rainwater@linux-etc.com>
> >> Cc: novalug@calypso.tux.org
> >> Sent: Thursday, August 15, 2013 11:35:34 AM
> >> Subject: Re: [Novalug] virsh cheat sheet?
> >>
> >>
> >> Crawford,
> >>
> >> thanks for diving in. What you said about DHCP etc interested me
> >> but
> >> I
> >> still don't understand. The situation I find myself in is that:
> >>
> >> 1. I create VMs that use DHCP, which are often based on writable
> >> clones
> >> of a master disk image.
> >>
> >> 2. I give them names when I create them, but don't know what their
> >> IP
> >> will be.
> >>
> >> 3. Later, I might want to start one of them back up (virsh start
> >> machineName) but having done so, I don't know the IP. I guess in
> >> that
> >> case I can look for the DHCP information in the log.... But
> >> sometimes
> >> I've left one running for some days or more. At that point how can
> >> I
> >> get
> >> the IP?
> >>
> >> Maybe I'm approaching this wrong. Tell me how I can solve this.
> >>
> >> Thanks,
> >> John
> >>
> > _______________________________________________
> > Novalug mailing list
> > Novalug@calypso.tux.org
> > http://calypso.tux.org/mailman/listinfo/novalug
>
> --
> John Franklin
> franklin@elfie.org
> ICBM: 39º 01' 58.4"N 77º 24' 49.6"W Z+84m
>
>
More information about the Novalug
mailing list