OK to use DHCP address for PBS?

aweber1nj

New Member
Dec 20, 2023
7
0
1
I have my VE server running a few months now and really like it. Setting up a PBS server over the holiday break, so it's "new to me".

Is it OK if I setup the PBS with a DHCP address as long as the name is resolved consistently on my LAN?

If so, is there an easy way to do this during installation or initial configuration?

Thanks in advance. Looking forward to getting it running!
 
You should never assign a DHCP address to a server, always a static one. If your DHCP server fails and your leases expire, your network is completely down.
 
You should never assign a DHCP address to a server, always a static one. If your DHCP server fails and your leases expire, your network is completely down.
OK, I'm not really skilled with Proxmox VE or PBS, but I've worked my way around networks for a very long time. No offense, but this is a broad generalization and not actually true. Your network will not be "down". Thank you though.

Is there some reason the VE server needs to contact the PBS via static IP address, or will it use Debian-based name resolution?
 
but I've worked my way around networks for a very long time
But then you should also know that DHCP is not used in the data center for productive systems. To jump into your experience, I also have over 10 years of experience in the data center sector and also operate my own infrastructure in the data center. For me, the principle "no DHCP for servers" is the rule and is implemented that way.

Since you also have sufficient experience, you have to know the advantages and disadvantages as well as any problems yourself.

Is there some reason the VE server needs to contact the PBS via static IP address, or will it use Debian-based name resolution?
If you have worked in the network area, then you should also know how DNS works and that servers can also communicate wonderfully with it. I can't immediately think of any use case in which I would necessarily need an IP address because otherwise something wouldn't work. I exclude cases such as iSCSI or CEPH (or simply called SAN), where you simply don't do anything with DNS names.

Ultimately, the only important thing is that there is a DNS server that is used by everyone and that all records are known there. Of course it should also be stable and available.

Yes, and please excuse me for harping on your experience - but if you advertise it so aggressively, then I'll have to jump on it ;-)
 
Maybe I should have included additional details to begin with.

This is a SOHO deployment, not a full-blown datacenter with sizable resources, run books, and staff. Using DHCP with a standby server/service in my case simplifies deployment and flexibility. Typically, and probably in this case, I would reserve the DHCP address to the MAC and straddle that middle ground between flexibility and consistency.

It is obvious you've been around the block as we older kids say, as you readily reference a protocol and storage solution that DO require more static IP address configuration. If the VE refers to PBS "targets" (probably not the correct term) via hostname/FQDN, that's really all I was asking.

Thanks again for the quick replies, and Happy Holidays.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!