Small linux command list update proxmox
This commit is contained in:
parent
d6343fc6ee
commit
bfd2f1f1e6
@ -9,10 +9,12 @@
|
||||
<toc-element topic="FrontPage.md"/>
|
||||
<toc-element topic="KleinOps_frontpage.md">
|
||||
<toc-element topic="OS_frontpage.md">
|
||||
<toc-element topic="Windows.md"/>
|
||||
<toc-element topic="Linux.md">
|
||||
<toc-element topic="SSH-keys.md"/>
|
||||
</toc-element>
|
||||
<toc-element topic="Windows.md"/>
|
||||
</toc-element>
|
||||
<toc-element topic="Proxmox.md"/>
|
||||
</toc-element>
|
||||
<toc-element topic="Apps_frontpage.md">
|
||||
<toc-element topic="Cockpit.md"/>
|
||||
@ -24,7 +26,6 @@
|
||||
</toc-element>
|
||||
<toc-element topic="Portainer.md"/>
|
||||
<toc-element topic="TrueNAS_Scale.md"/>
|
||||
<toc-element topic="Proxmox.md"/>
|
||||
<toc-element topic="OPNsense.md"/>
|
||||
<toc-element topic="Netdata.md"/>
|
||||
<toc-element topic="Immich.md"/>
|
||||
@ -66,7 +67,6 @@
|
||||
<toc-element topic="Dev-test.md"/>
|
||||
<toc-element topic="ToDo.md"/>
|
||||
</toc-element>
|
||||
</toc-element>
|
||||
<toc-element topic="KleinArchives.md">
|
||||
<toc-element topic="Media.md">
|
||||
<toc-element topic="Klein-Familiearchief.md"/>
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
<primary-label ref="document"/>
|
||||
|
||||
# Proxmox (pve, KleinPVE)
|
||||
Open Source network routing software that handles all the network traffic. It includes a firewall,
|
||||
reverse-proxy server (nginx) and DHCP (Kea).
|
||||
## ___________________
|
||||
|
||||
### Source
|
||||
[](https://www.proxmox.com/)
|
||||
### Access through
|
||||
[](http://192.168.1.3:8006/)
|
||||
|
||||
<a href="FrontPage.md#shorts" >Shortcut to pages overview</a>
|
||||
66
topics/KleinOps/operating_systems/proxmox/Proxmox.md
Normal file
66
topics/KleinOps/operating_systems/proxmox/Proxmox.md
Normal file
@ -0,0 +1,66 @@
|
||||
<primary-label ref="document"/>
|
||||
|
||||
# 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)
|
||||
- **Host 2**: kleinmox2 (192.168.1.4)
|
||||
|
||||
### Source
|
||||
[](https://www.proxmox.com/)
|
||||
### Access through
|
||||
[](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#shorts" >Shortcut to pages overview</a>
|
||||
Loading…
x
Reference in New Issue
Block a user