72 lines
1.4 KiB
Markdown

<primary-label ref="document"></primary-label>
# Proxmox
Open Source network routing software that handles all the network traffic. It includes a firewall,
reverse-proxy server (nginx) and DHCP (Kea).
## ___________________
### Hosts
**Cluster**: KleinMox
- **Host 1**: kleinmox1 (192.168.1.3)
### VMs
KleinNas (150) TrueNAS Scale
KleinServer (200) Ubuntu
Klein8s (250) Ubuntu Kubernetes
KleinHole1 (103) Pihole
### Source
Website (https://www.proxmox.com/)
### Access through
Internal URL (http://192.168.1.3:8006/)
### Proxmox rename host
Rename pve -> kleinmox1
```
$ nano /etc/hosts
```
Rename pve -> kleinmox1
```
$ nano /etc/hostname
```
Rename pve -> kleinmox1
```
$ nano /user/share/postfix/main.cf
```
Set old hostname to new hostname
```
hostnamectl -set-hostname kleinmox1
```
Start proxy server
```
$ systemctl restart pveproxy
```
Start deamon
```
$ systemctl restart pvedeamon
```
Backup old host information
```
$ cp -R /etc/pve/nodes/pve/ /root/oldconfig
```
Move all containers to the new node
```
$ mv /etc/pve/nodes/pve/lxc/* /etc/pve/nodes/kleinmox1/lxc
```
Move all qemu servers to the new node
```
$ mv /etc/pve/nodes/pve/qemu-server/* /etc/pve/nodes/kleinmox1/qemu-server
```
Change pve -> kleinmox1 in the storage config
```
$ nano /etc/pve/storage.cfg
```
Remove old node information
```
$ rm -r /etc/pve/nodes/pve
```
## ___________________
<a href="FrontPage.md" >Back to frontpage</a>