39 lines
No EOL
2.9 KiB
Markdown
39 lines
No EOL
2.9 KiB
Markdown
My notes on setting up a shitty 3-machines cluster to mess around with Proxmox clusters and HA.
|
|
|
|
## Router issues
|
|
|
|
Connecting three extra devices to the home network through wired connections is gonna get complicated because I'm running out of slots in my home router. From what I've read, I should buy a switch. There are "managed" switches (which offer config possibilities) and "unmanaged" or dumb switches that just... connect stuff. From what I've seen, I think I'm only gonna buy a dumb switch for now.
|
|
|
|
Today I tried to connect XQ1 to my network, but something is odd. When I tried to look for it's IP in the DHCP server of my router, I couldn't find it listed there. I have noticed that the config page of the DHCP server mentions that the IP range goes from `192.168.1.128` to `192.168.1.254`. I also remember vaguely that there was some config thingie about IPs when configuring proxmox during the install. I didn't paid any kind of attention when setting that up and just went ahead in full 'meh, whatever' style. So I probably fucked it up.
|
|
|
|
I'm gonna reconfigure Proxmox again and pay attention this time. I probably need to set those network details right in proxmox so that the device is discoverable by the network.
|
|
|
|
Okay, here's what I did:
|
|
- For DNS server and Default Gateway fields: the right values can be found in the DHCP server of the router config webpage.
|
|
- As for the IP: I set an IP within the DHCP server. I saw in a video that this might become a problem because if the DHCP server assigns another IP to that address a conflict can appear, but yeah, whatevah.
|
|
- Once everything is set up, the device is reachable at the IP that was configured in Proxmox EVEN THOUGH it doesn't appear in the device list of the DHCP devices. From the little I understand, the Proxmox box sets it's own IP and does not rely on the router providing an IP for it, so that's the reason it doesn't appear there.
|
|
|
|
|
|
To make the proxmox box reachable by name instead of IP, I had to:
|
|
- Create an entry in the DNS Server of the router
|
|
- Follow these instructions to add the router DNS server so that Oli's Ubuntu would pick it up and use it: https://askubuntu.com/questions/1280277/how-to-change-dns-server-permanently-on-ubuntu-20-04
|
|
|
|
|
|
Today I decided I wanna change the IP of xq1 to put it outside of my router's DHCP server range. My planned set up would be the following:
|
|
|
|
- xq1: 192.168.1.11
|
|
- xq2: 192.168.1.12
|
|
- xq3: 192.168.1.13
|
|
|
|
|
|
## Node name issues
|
|
|
|
Okay, another fuck up: all my nodes have the same hostname and apparently changing the hostname of an existing node is a complete and utter mess.
|
|
|
|
I'm gonna reinstall proxmox once again on each node and add a proper hostname on each.
|
|
|
|
## Links
|
|
|
|
Links:
|
|
- Full Proxmox Course: https://www.youtube.com/watch?v=5j0Zb6x_hOk&list=PLT98CRl2KxKHnlbYhtABg6cF50bYa8Ulo&index=1&pp=iAQB
|
|
- Add DNS server in Ubuntu permanently: https://askubuntu.com/questions/1280277/how-to-change-dns-server-permanently-on-ubuntu-20-04 |