SlideShare a Scribd company logo
1 of 23
ProxmoxVE
Open Source LXC and
KVM Managment
Sometimes you just want a nice UI
Linux Fest Northwest 2018
Richard Clark – Crafty Penguins
Who am I ?
● Richard Clark
● SRE Consultant with Crafty Penguins, a division of
KerkhoffTechnologies in Chilliwack, BC Canada
● Software Developer (C, Java, Python, etc.)
● System Administrator
● rick@seerickcode.com, richard@craftypenguins.net
● @seerickcode
PROXMOX
What is a Hypervisor
A Hypervisor is software, firmware, or hardware that creates and runs
multiple isolated virtual `guest` machines on a single `host` machine.
KVM - “Kernel-basedVirtual Machine”
● FullVirtualization for Linux/x86
– Built into linux kernel
– Emulated Hardware (Network,Video, Disk, etc.)
● Paravirtualized drivers
– Windows, Linux, *BSD, OS X, …..
● Manage with command line tools, “virsh”, or various overlay tools (virt-
manager)..
LXC – Linux Containers
● Operating-system-level virtualization
● Low level system that uses cgroups and isolated namespaces
● Linux based guests only
● Guests share the same kernel
● Manage with `lxc` command line
virtsh, or various 3rd
party overlays
● Make it better with :
– Docker! Docker! Docker!
– LXD
KVM or LXC - Different use case
● KVM
– Need to run a non-linux OS
– Need to use different or custom Linux kernel
– Need a virtual video card (Desktop GUI OS)
– Slower, but paravirtualized drivers help (network/storage)
● LXC
– Fast
– Isolation - Other than the kernel, all the underlying setup works almost like a separate
system. Separate repos, upgrades, network config, lower attack surface (install only
what you need)
– Only Linux, and only the same kernel
– No video card emulation *
KVM or LXC ?
KVM & LXC ?
● Different backing storage
● Different bootstrap methods
● Different networking configuration
● Different console access
● Different configuration for resources
● Different monitoring
● Different management (stop, start, resize, backup, move, rm)
● ..... different tools
Why am I giving this talk ?
ProxmoxVirtual Environment
● 10Years this year !
● Management system for KVM and LXC technologies
● Similar toVMWare’sVSphere, XenCenter, etc.
● Open Source (Enterprise _support_ subscription model)
● Rich UI available over HTTPS
● Manage KVM and LXC in same UI
● Virtual Console
● Clustering Solutions
Proxmox Feature Set #1
● Rich HTML based UI for KVM and LXC management
● No proprietary
management tools
needed
● Use LXC when
possible for fastest
isolation
● Use KVM with full
virtual emulation is
needed or non-Linux
Proxmox Feature Set #2
● Open Source
● Based off of Debian (currently 9.x)
– It’s Just Linux - (networking, monitoring, management, tools, etc.)
● Simple repository add and apt-get install
● It is not a ‘Light’ community edition
– Backups, Firewall, Lots of storage options, Clustering, Live Migration
● Great for Personal / HomeLab
– Run various operating systems for training/experimentation
● Starts free, as in beer, with all the features.
Proxmox Feature Set #3
● Lots of backing store file system support
– Network ( LVM Group (iSCSI), iSCSI target/direct, NFS, Ceph RDB, GlusterFS)
– Local
● LVM Group over any block device tech (FC, DRDB, etc.)
● Directory (storage on existing filesystem)
● ZFS
● Clustering for HA
– Multi-Master
– Live Migration to move your ‘important’VMs to other hardware.
● Snapshots
● CLI and RESTfull API
● … much, much, more, and growing every release
Installing Proxmox
● Download the installer ISO from
https://www.proxmox.com/en/downloads
● Install on top of already existing Debian Stretch
– All outlined at https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch
– Essentially :
● Add the Repository
echo "deb http://download.proxmox.com/debian/pve stretch pve­no­
subscription" > /etc/apt/sources.list.d/pve­install­repo.list
● Install the GPG Public Key
wget http://download.proxmox.com/debian/proxmox­ve­release­5.x.gpg ­O 
/etc/apt/trusted.gpg.d/proxmox­ve­release­5.x.gpg
Installing Proxmox.. part 2
● Setup the a bridged network
– apt­get install bridge­utils
– Set a fixed static IP on a bridge (/etc/network/interfaces)
auto vmbr0
iface vmbr0 inet static
        address 10.1.1.101/24
        bridge_ports none
        bridge_stp off
        bridge_fd 0
– Add the IP and hostname to /etc/hosts
10.1.1.101 proxmox1.example.com proxmox1 pvelocalhost
– Reboot to take effect
● Update repository and install
– apt­get update && apt­get dist­upgrade
apt­get install proxmox­ve postfix open­iscsi
Demo ?
Demo 1
● Setup Network
● Install Proxmox on Debian
● Reboot and cross fingers
● Log in / Explain layout
● Add cluster storage
● AddTemplate for LXC Container
● Deploy container
● Add ISO for KVM Container
● Deploy KVM
Demo 2
● DeployWindows KVM /VirtIO Drivers
● Backups
● Firewall ?
● CLI usage
● ?
ProxmoxVE
Richard Clark – Crafty Penguins
@seerickcode
richard@craftypenguins.net
Questions ?

More Related Content

What's hot

BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating SystemThomas Graf
 
Volume Encryption In CloudStack
Volume Encryption In CloudStackVolume Encryption In CloudStack
Volume Encryption In CloudStackShapeBlue
 
HA Deployment Architecture with HAProxy and Keepalived
HA Deployment Architecture with HAProxy and KeepalivedHA Deployment Architecture with HAProxy and Keepalived
HA Deployment Architecture with HAProxy and KeepalivedGanapathi Kandaswamy
 
KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)Stephen Gordon
 
A crash course in CRUSH
A crash course in CRUSHA crash course in CRUSH
A crash course in CRUSHSage Weil
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Seung-Hoon Baek
 
OpenShift Virtualization- Technical Overview.pdf
OpenShift Virtualization- Technical Overview.pdfOpenShift Virtualization- Technical Overview.pdf
OpenShift Virtualization- Technical Overview.pdfssuser1490e8
 
Developing Active-Active Geo-Distributed Apps with Redis
Developing Active-Active Geo-Distributed Apps with RedisDeveloping Active-Active Geo-Distributed Apps with Redis
Developing Active-Active Geo-Distributed Apps with RedisCihan Biyikoglu
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...xKinAnx
 
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...Vietnam Open Infrastructure User Group
 
Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)Wan Leung Wong
 
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개OpenStack Korea Community
 
Tutorial: Using GoBGP as an IXP connecting router
Tutorial: Using GoBGP as an IXP connecting routerTutorial: Using GoBGP as an IXP connecting router
Tutorial: Using GoBGP as an IXP connecting routerShu Sugimoto
 
OpenShift-Technical-Overview.pdf
OpenShift-Technical-Overview.pdfOpenShift-Technical-Overview.pdf
OpenShift-Technical-Overview.pdfJuanSalinas593459
 
Open shift 4 infra deep dive
Open shift 4    infra deep diveOpen shift 4    infra deep dive
Open shift 4 infra deep diveWinton Winton
 
Kubernetes networking: Introduction to overlay networks, communication models...
Kubernetes networking: Introduction to overlay networks, communication models...Kubernetes networking: Introduction to overlay networks, communication models...
Kubernetes networking: Introduction to overlay networks, communication models...Murat Mukhtarov
 
Delivering Docker & K3s worloads to IoT Edge devices
Delivering Docker & K3s worloads to IoT Edge devicesDelivering Docker & K3s worloads to IoT Edge devices
Delivering Docker & K3s worloads to IoT Edge devicesAjeet Singh Raina
 
Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)Laurent Bernaille
 
[KubeCon EU 2022] Running containerd and k3s on macOS
[KubeCon EU 2022] Running containerd and k3s on macOS[KubeCon EU 2022] Running containerd and k3s on macOS
[KubeCon EU 2022] Running containerd and k3s on macOSAkihiro Suda
 

What's hot (20)

BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
 
Volume Encryption In CloudStack
Volume Encryption In CloudStackVolume Encryption In CloudStack
Volume Encryption In CloudStack
 
HA Deployment Architecture with HAProxy and Keepalived
HA Deployment Architecture with HAProxy and KeepalivedHA Deployment Architecture with HAProxy and Keepalived
HA Deployment Architecture with HAProxy and Keepalived
 
KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)
 
A crash course in CRUSH
A crash course in CRUSHA crash course in CRUSH
A crash course in CRUSH
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조
 
OpenShift Virtualization- Technical Overview.pdf
OpenShift Virtualization- Technical Overview.pdfOpenShift Virtualization- Technical Overview.pdf
OpenShift Virtualization- Technical Overview.pdf
 
Developing Active-Active Geo-Distributed Apps with Redis
Developing Active-Active Geo-Distributed Apps with RedisDeveloping Active-Active Geo-Distributed Apps with Redis
Developing Active-Active Geo-Distributed Apps with Redis
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
 
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
 
Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)Virtualization - Kernel Virtual Machine (KVM)
Virtualization - Kernel Virtual Machine (KVM)
 
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
 
Tutorial: Using GoBGP as an IXP connecting router
Tutorial: Using GoBGP as an IXP connecting routerTutorial: Using GoBGP as an IXP connecting router
Tutorial: Using GoBGP as an IXP connecting router
 
CloudStack Networking
CloudStack NetworkingCloudStack Networking
CloudStack Networking
 
OpenShift-Technical-Overview.pdf
OpenShift-Technical-Overview.pdfOpenShift-Technical-Overview.pdf
OpenShift-Technical-Overview.pdf
 
Open shift 4 infra deep dive
Open shift 4    infra deep diveOpen shift 4    infra deep dive
Open shift 4 infra deep dive
 
Kubernetes networking: Introduction to overlay networks, communication models...
Kubernetes networking: Introduction to overlay networks, communication models...Kubernetes networking: Introduction to overlay networks, communication models...
Kubernetes networking: Introduction to overlay networks, communication models...
 
Delivering Docker & K3s worloads to IoT Edge devices
Delivering Docker & K3s worloads to IoT Edge devicesDelivering Docker & K3s worloads to IoT Edge devices
Delivering Docker & K3s worloads to IoT Edge devices
 
Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)
 
[KubeCon EU 2022] Running containerd and k3s on macOS
[KubeCon EU 2022] Running containerd and k3s on macOS[KubeCon EU 2022] Running containerd and k3s on macOS
[KubeCon EU 2022] Running containerd and k3s on macOS
 

Similar to Proxmox Talk - Linux Fest Northwest 2018

Linux container & docker
Linux container & dockerLinux container & docker
Linux container & dockerejlp12
 
Security of Linux containers in the cloud
Security of Linux containers in the cloudSecurity of Linux containers in the cloud
Security of Linux containers in the cloudDobrica Pavlinušić
 
Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0guest72e8c1
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebula Project
 
Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux VirtualizationOpenVZ
 
Linux virtualization
Linux virtualizationLinux virtualization
Linux virtualizationGoogle
 
Module 4 Embedded Linux
Module 4 Embedded LinuxModule 4 Embedded Linux
Module 4 Embedded LinuxTushar B Kute
 
OpenVZ Linux containers
OpenVZ Linux containersOpenVZ Linux containers
OpenVZ Linux containersOpenVZ
 
F19 slidedeck (OpenStack^H^H^H^Hhift, what the)
F19 slidedeck (OpenStack^H^H^H^Hhift, what the)F19 slidedeck (OpenStack^H^H^H^Hhift, what the)
F19 slidedeck (OpenStack^H^H^H^Hhift, what the)Gerard Braad
 
Lightweight Virtualization: LXC Best Practices
Lightweight Virtualization: LXC Best PracticesLightweight Virtualization: LXC Best Practices
Lightweight Virtualization: LXC Best PracticesWerner Fischer
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever buildingEdmond Yu
 
Develop with linux containers and docker
Develop with linux containers and dockerDevelop with linux containers and docker
Develop with linux containers and dockerFabio Fumarola
 
Proxmox ve-datasheet
Proxmox ve-datasheetProxmox ve-datasheet
Proxmox ve-datasheetMiguel Angel
 
Linux Containers & Docker
Linux Containers & DockerLinux Containers & Docker
Linux Containers & DockerJumping Bean
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and DockerFabio Fumarola
 

Similar to Proxmox Talk - Linux Fest Northwest 2018 (20)

Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
Security of Linux containers in the cloud
Security of Linux containers in the cloudSecurity of Linux containers in the cloud
Security of Linux containers in the cloud
 
OpenVZ Linux Containers
OpenVZ Linux ContainersOpenVZ Linux Containers
OpenVZ Linux Containers
 
RMLL / LSM 2009
RMLL / LSM 2009RMLL / LSM 2009
RMLL / LSM 2009
 
Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
 
Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux Virtualization
 
Linux virtualization
Linux virtualizationLinux virtualization
Linux virtualization
 
Module 4 Embedded Linux
Module 4 Embedded LinuxModule 4 Embedded Linux
Module 4 Embedded Linux
 
Open stack wtf_(1)
Open stack  wtf_(1)Open stack  wtf_(1)
Open stack wtf_(1)
 
OpenVZ Linux containers
OpenVZ Linux containersOpenVZ Linux containers
OpenVZ Linux containers
 
F19 slidedeck (OpenStack^H^H^H^Hhift, what the)
F19 slidedeck (OpenStack^H^H^H^Hhift, what the)F19 slidedeck (OpenStack^H^H^H^Hhift, what the)
F19 slidedeck (OpenStack^H^H^H^Hhift, what the)
 
Dockers zero to hero
Dockers zero to heroDockers zero to hero
Dockers zero to hero
 
Lightweight Virtualization: LXC Best Practices
Lightweight Virtualization: LXC Best PracticesLightweight Virtualization: LXC Best Practices
Lightweight Virtualization: LXC Best Practices
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever building
 
Develop with linux containers and docker
Develop with linux containers and dockerDevelop with linux containers and docker
Develop with linux containers and docker
 
Proxmox ve-datasheet
Proxmox ve-datasheetProxmox ve-datasheet
Proxmox ve-datasheet
 
Linux Containers & Docker
Linux Containers & DockerLinux Containers & Docker
Linux Containers & Docker
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and Docker
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

Proxmox Talk - Linux Fest Northwest 2018

  • 1. ProxmoxVE Open Source LXC and KVM Managment Sometimes you just want a nice UI Linux Fest Northwest 2018 Richard Clark – Crafty Penguins
  • 2. Who am I ? ● Richard Clark ● SRE Consultant with Crafty Penguins, a division of KerkhoffTechnologies in Chilliwack, BC Canada ● Software Developer (C, Java, Python, etc.) ● System Administrator ● rick@seerickcode.com, richard@craftypenguins.net ● @seerickcode
  • 4. What is a Hypervisor A Hypervisor is software, firmware, or hardware that creates and runs multiple isolated virtual `guest` machines on a single `host` machine.
  • 5. KVM - “Kernel-basedVirtual Machine” ● FullVirtualization for Linux/x86 – Built into linux kernel – Emulated Hardware (Network,Video, Disk, etc.) ● Paravirtualized drivers – Windows, Linux, *BSD, OS X, ….. ● Manage with command line tools, “virsh”, or various overlay tools (virt- manager)..
  • 6. LXC – Linux Containers ● Operating-system-level virtualization ● Low level system that uses cgroups and isolated namespaces ● Linux based guests only ● Guests share the same kernel ● Manage with `lxc` command line virtsh, or various 3rd party overlays ● Make it better with : – Docker! Docker! Docker! – LXD
  • 7. KVM or LXC - Different use case ● KVM – Need to run a non-linux OS – Need to use different or custom Linux kernel – Need a virtual video card (Desktop GUI OS) – Slower, but paravirtualized drivers help (network/storage) ● LXC – Fast – Isolation - Other than the kernel, all the underlying setup works almost like a separate system. Separate repos, upgrades, network config, lower attack surface (install only what you need) – Only Linux, and only the same kernel – No video card emulation *
  • 9. KVM & LXC ? ● Different backing storage ● Different bootstrap methods ● Different networking configuration ● Different console access ● Different configuration for resources ● Different monitoring ● Different management (stop, start, resize, backup, move, rm) ● ..... different tools
  • 10.
  • 11.
  • 12. Why am I giving this talk ?
  • 13. ProxmoxVirtual Environment ● 10Years this year ! ● Management system for KVM and LXC technologies ● Similar toVMWare’sVSphere, XenCenter, etc. ● Open Source (Enterprise _support_ subscription model) ● Rich UI available over HTTPS ● Manage KVM and LXC in same UI ● Virtual Console ● Clustering Solutions
  • 14. Proxmox Feature Set #1 ● Rich HTML based UI for KVM and LXC management ● No proprietary management tools needed ● Use LXC when possible for fastest isolation ● Use KVM with full virtual emulation is needed or non-Linux
  • 15. Proxmox Feature Set #2 ● Open Source ● Based off of Debian (currently 9.x) – It’s Just Linux - (networking, monitoring, management, tools, etc.) ● Simple repository add and apt-get install ● It is not a ‘Light’ community edition – Backups, Firewall, Lots of storage options, Clustering, Live Migration ● Great for Personal / HomeLab – Run various operating systems for training/experimentation ● Starts free, as in beer, with all the features.
  • 16. Proxmox Feature Set #3 ● Lots of backing store file system support – Network ( LVM Group (iSCSI), iSCSI target/direct, NFS, Ceph RDB, GlusterFS) – Local ● LVM Group over any block device tech (FC, DRDB, etc.) ● Directory (storage on existing filesystem) ● ZFS ● Clustering for HA – Multi-Master – Live Migration to move your ‘important’VMs to other hardware. ● Snapshots ● CLI and RESTfull API ● … much, much, more, and growing every release
  • 17. Installing Proxmox ● Download the installer ISO from https://www.proxmox.com/en/downloads ● Install on top of already existing Debian Stretch – All outlined at https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch – Essentially : ● Add the Repository echo "deb http://download.proxmox.com/debian/pve stretch pve­no­ subscription" > /etc/apt/sources.list.d/pve­install­repo.list ● Install the GPG Public Key wget http://download.proxmox.com/debian/proxmox­ve­release­5.x.gpg ­O  /etc/apt/trusted.gpg.d/proxmox­ve­release­5.x.gpg
  • 18. Installing Proxmox.. part 2 ● Setup the a bridged network – apt­get install bridge­utils – Set a fixed static IP on a bridge (/etc/network/interfaces) auto vmbr0 iface vmbr0 inet static         address 10.1.1.101/24         bridge_ports none         bridge_stp off         bridge_fd 0 – Add the IP and hostname to /etc/hosts 10.1.1.101 proxmox1.example.com proxmox1 pvelocalhost – Reboot to take effect ● Update repository and install – apt­get update && apt­get dist­upgrade apt­get install proxmox­ve postfix open­iscsi
  • 19.
  • 21. Demo 1 ● Setup Network ● Install Proxmox on Debian ● Reboot and cross fingers ● Log in / Explain layout ● Add cluster storage ● AddTemplate for LXC Container ● Deploy container ● Add ISO for KVM Container ● Deploy KVM
  • 22. Demo 2 ● DeployWindows KVM /VirtIO Drivers ● Backups ● Firewall ? ● CLI usage ● ?
  • 23. ProxmoxVE Richard Clark – Crafty Penguins @seerickcode richard@craftypenguins.net Questions ?

Editor's Notes

  1. Turn off Slack Turn off Skype Turn off Stuff Switching laptops mid OK ? Seating
  2. Richard Clark SRE Consultant Crafty Penguins SRE -> Jack of all trades Software Developer Various Languages Systems Administrator Contact details there Dick nickname for Richard Dick and Jane Childrens books
  3. I am hear to talk about Proxmox Who has heard of proxmox ? Who has used proxmox ? Amazing Laundry Detergent Glad you took the time to attend my seminar Exciting Business Opportunity Own your own business Selling Proxmox Door to Door Coupons for the Free Knife set will be handed out at the end of the presentation All in one management system for all your VM needs SOME BACKGROUND
  4. Some Examples Virtualbox, VMWare Xen/KVM HyperV - Maximize the use of your hardware - Isolation for different needs Containerization Systems Under LInux Let you do kind of the same thing Less Isolated Light Talk about the components we care about for Proxmox
  5. The Hypervisor Proxmox uses Full Hardware virtualization Most OS systems you can throw at it Paravirtualized - Light Weight Emulation API instead of Device Driver on Pretend
  6. Next part of the background Containers - Light Weight Guest OS on to host Past the Kernel / Userspace / Sandbox On Linux, the “built in” container system is LXC Kernel must be the same - Linux Guests only Tools to manage - LXC, VirtSH, etc. Low Level - Docker LXD
  7. Non Linux OS - Why?
  8. Should we use KVM or LXC ? Why Not Both
  9. Speed up at the end Chaos, Building
  10. Earthquakes Volcanos The dead rising from the grave Human Sacrifice Dogs andCat’s living together Mass Hysteria For years of darknesss is upon us
  11. 7 Years, 1.9 Not affiliated with Proxmox Use at work ..Home lab bare metal Install right after debian Saltstack
  12. 7 Years, 1.9 Not affiliated with Proxmox Use at work ..Home lab bare metal Install right after debian Saltstack
  13. KVM and LXC in one management pane Probably main benefit NO Proprietary binary to install that is not supported on your workstation, just to manage your guests LXC for light weight and fast LInux KVM when full hardware emulation or a different OS is needed.
  14. Based off Debian: - Favorite version of Vim, to edit config files - Favorite version of Emacs - why bother - Probably have equivalent to Proxmox baked in somehow. Repo Add, Apt Get install Not a ‘lite’ community edition - Backups, Firewall, storage management, Clustering - Live Migrations - others do it, not for free Homelab: - Solaris, FreeBSD, Ubuntu 18.04, Windows Game server, the list goes on Starts at Free as in Beer, with all the features
  15. KVM and LXC machines need somewhere to be Network Based Local ZFS Couple TB of Ram Clustering Multi master Snapshot Handling baked in Filesytem support to Turn off, Image, Turn on. Backup System
  16. Talked about the main features Lets see this thing get installed and get some usage.
  17. Turn off Slack Turn off Skype Turn off Stuff Switching laptops mid OK ? Seating