Running nested VMware ESXi 9.0 host under KVM hypervisor

Published on Author admin

Prerequisites: hardware support for VT-x enabled nested virtualization for KVM Use below command to create KVM virtual machine containing VMware ESXi: virt-install --virt-type=kvm --name=vmware-esxi9 \ --ram 8192 --vcpus=4 \ --virt-type=kvm --hvm \ --cdrom /home/pawel/ISO/VMware/VMware-VMvisor-Installer-9.0.0.0.24755229.x86_64.iso \ --network network:default,model=vmxnet3 \ --graphics vnc --video qxl \ --disk pool=default,size=32,sparse=true,bus=sata,format=qcow2 \ --boot cdrom,hd --noautoconsole --force \ --cpu host-passthrough --os-variant linux2020… Continue reading Running nested VMware ESXi 9.0 host under KVM hypervisor

Tune PostgreSQL and PHP settings for Nextcloud inside Docker container on RPi 5

Published on Author admin

Tune PostgreSQL and PHP settings for Nextcloud inside Docker container on RPi 5 PostgreSQL settings change variables inside PG_DATA/postgresql.conf config file shared_buffers = 256MB work_mem = 8MB restart PostgreSQL database: docker restart nextcloud-postgres verify: docker exec -it nextcloud-postgres psql -U nextcloud -d nextcloud -c "SHOW shared_buffers" docker exec -it nextcloud-postgres psql -U nextcloud -d nextcloud… Continue reading Tune PostgreSQL and PHP settings for Nextcloud inside Docker container on RPi 5

Generic HA Architecture - App servers + PostgreSQL Patroni cluster

Published on Author admin

Generic HA Architecture - App servers + PostgreSQL Patroni cluster Keepalived + HAproxy used as Load Balancers   Key components: HAproxy - TCP/HTTP Load Balancer Keepalived - Virtual IP for HAproxy Patroni - HA template for PostgreSQL database (cluster with streaming replication) etcd - Distributed Configuration Store for Patroni   Architecture diagram:

Nextcloud - Upgrading PostgreSQL database running as Docker container from 16 to 17

Published on Author admin

Stop and remove current Nextcloud docker services: docker stop nextcloud-app docker stop nextcloud-www docker stop nextcloud-postgres docker stop nextcloud-redis docker rm nextcloud-app docker rm nextcloud-www docker rm nextcloud-postgres docker rm nextcloud-redis Run only old PostgreSQL database container using "docker compose --build" docker compose -f /root/docker-compose-nextcloud.yml up --build nextcloud-postgres -d Dump old PostgreSQL database content to… Continue reading Nextcloud - Upgrading PostgreSQL database running as Docker container from 16 to 17