sysadmin:procedures:proxmox:newvm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sysadmin:procedures:proxmox:newvm [2024/03/27 14:31] – kjohns23 | sysadmin:procedures:proxmox:newvm [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Creating a Proxmox VM without a Template ====== | ||
- | |||
- | disk | ||
- | disk default 32 gb, discard on, < | ||
- | |||
- | cpu | ||
- | default 4 CPU for SoCS, 2 for Student, or another number | ||
- | choose host | ||
- | |||
- | mem | ||
- | balooning on | ||
- | |||
- | net | ||
- | bridging with firewall on | ||
- | vmbr0 for all VMs | ||
- | vmbr1 for VMs with SoCS server backend network | ||
- | if migrating, reuse the mac addr of the existing machine. Note that mac's must be distinct on a lan, so you won't be able to have both running at once if you do this. | ||
- | |||
- | ====== Creating a Proxmox VM with a Template ====== | ||
- | |||
- | ====== Migrating from KVM ====== | ||
- | |||
- | copy / | ||
- | |||
- | to import the disk run: qm importdisk < | ||
- | |||
- | THERE BE DRAGONS: | ||
- | * | ||
- | * run **zfs list** to get the name of the existing disk for the new vm | ||
- | * run **zfs destroy < | ||
- | * run **zfs rename <disk 2 name> <disk 1 name>** | ||
- | * open // | ||
- | |||
- | You can now start the new target vm and confirm that the services still function | ||
- | |||
- | final steps: | ||
- | |||
- | * Update the disk device(s) in fstab to use sd* | ||
- | * Update the nagios disk check in /// | ||
- | |||
sysadmin/procedures/proxmox/newvm.1711549908.txt.gz · Last modified: 2024/03/27 14:31 by kjohns23