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: http://askubuntu.com/questions/162265/how-to-setup-dhcp-server-and-dynamic-dns-with-bind 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 (https://debian-administration.org/article/478/Setting_up_a_server_for_PXE_network_booting) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: Logic is a systematic method of coming to the wrong conclusion with confidence.
Description: OpenPGP digital signature
_______________________________________________ pve-devel mailing list email@example.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel