On Fri, 14 Oct 2016 16:59:52 +0200
Andreas Steinel <a.stei...@gmail.com> wrote:

> On Fri, Oct 14, 2016 at 4:45 PM, Michael Rasmussen <m...@datanom.net> wrote:
> > On Fri, 14 Oct 2016 16:09:48 +0200
> > Andreas Steinel <a.stei...@gmail.com> wrote:
> >  
> > >
> > > How do you guys solve this problem in big environments? Is there a  
> > simpler  
> > > way I don't see right now?
> > >  
> > You could use DHCP assigned IP and a DNS server which automatically
> > adds or removes IP from domain. If some VM's needs static IP this can
> > be handled by DHCP as well.
> >  
> You mean a "self registering dns name"?
See here for an example:
The magic words in DHCP is ddns-updates and ddns-updates on and
ddns-update-style interim

> I'm currently using a solution based on LDAP-backed DNS and DHCP (including
> PXE options). The problem I have is how to "join" the information based on
> IDs in Proxmox VE with the hostname. I can join based on MAC if all
> machines are registered, but not otherwise.
> There was a discussion about getting IP addresses via qemu-agent and
> display it in the Proxmox VE GUI, but that only helps for VMs running with
> the agent. It would be simpler to add - SQL-technically speaking - a
> hostname column to the KVM VMs. I need something to join and the VM name
> can be ambiguous.
> In the end I want to see on the overview page of a VM what the hostname
> and/or IP is for logging in. Currently I did it in the comment.
In the proxmox gui you can assign a MAC yourself which will be the VM's
layer 2 address. The DHCP server can be configured to hand-out specific
IP to specific MAC; a bunch of other options is available like
automatic PXE setup

Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
mir <at> datanom <dot> net
mir <at> miras <dot> org
/usr/games/fortune -es says:
Logic is a systematic method of coming to the wrong conclusion with

Attachment: pgpwSv7MWjcyi.pgp
Description: OpenPGP digital signature

pve-devel mailing list

Reply via email to