Difference between revisions of "Machine/bender"
Line 48: | Line 48: | ||
Guests simply need to be configured to accept IPv6 routing advertisements. The DNS must be assigned manually. | Guests simply need to be configured to accept IPv6 routing advertisements. The DNS must be assigned manually. | ||
+ | |||
+ | == Virtualization == | ||
+ | |||
+ | Virtual machines are KVM guests managed with libvirt. | ||
+ | |||
+ | === Storage pool === | ||
+ | |||
+ | All virtual disks come from a pool backed by the main LVM VG: | ||
+ | |||
+ | virsh # pool-define-as nvme-pool logical --source-name nvme-pool | ||
+ | Pool nvme-pool defined | ||
+ | |||
+ | virsh # pool-start nvme-pool | ||
+ | Pool nvme-pool started | ||
+ | |||
+ | virsh # pool-autostart nvme-pool | ||
+ | Pool nvme-pool marked as autostarted | ||
+ | |||
+ | virsh # pool-info nvme-pool | ||
+ | Name: nvme-pool | ||
+ | UUID: 5812819f-b8bf-484e-98fb-2e100fe83df2 | ||
+ | State: running | ||
+ | Persistent: yes | ||
+ | Autostart: yes | ||
+ | Capacity: 1.64 TiB | ||
+ | Allocation: 250.00 GiB | ||
+ | Available: 1.40 TiB |
Revision as of 17:00, 28 November 2021
Hostnames
- bender.sugarlabs.org
Hardware
- HPE ProLiant DL360 Gen10 1RU server
- Dual socket, current configuration has one CPU
- Xeon Gold 5218R
- 20 cores/40 threads
- 2.1GHz base frequency, 4.0GHz max turbo frequency
- 27.5MB of cache
- 64GB RAM
- 2TB NVMe SSD
- Ubuntu 20.04.2 LTS
Info
Owned by Sugar Labs, Inc. Hosted by Sonic in Santa Rosa, CA
Bender and Papert are two twin KVM hosts bought by Sugar Labs in 2021.
Admins
- Alex Perez, MrBIOS on #sugar Libera.chat IRC network
- Bernie Innocenti, bernie on #sugar Libera.chat IRC network
Network configuration
Network configuration is managed via netplan. To modify, do:
vi /etc/netplan/bender.yaml netplan generate netplan apply
IPv4
Bender is globally accessible through a public, static IPv4 address.
Sonic assigned a /28 network to Sugar Labs. IP assignments are managed in our DNS configuration. Search for "Sonico IP pool" in masters/sugarlabs.org.zone
.
IPv6
IPv6 configuration is being discussed with Sonic net admins.
Bridges
The br0 bridge is created at startup and shared with the virtual machines hosted on Bender. It gives the VMs unfiltered access to the external network. There's no DHCP, all machines must define a static IP configuration, taking care not to stomp onto each other.
There is also a virbr0 bridge created by libvirt on startup from /etc/libvirt/qemu/networks/default.xml
. This is a NAT interface and is not meant for VMs directly serving on the Internet.
Guests simply need to be configured to accept IPv6 routing advertisements. The DNS must be assigned manually.
Virtualization
Virtual machines are KVM guests managed with libvirt.
Storage pool
All virtual disks come from a pool backed by the main LVM VG:
virsh # pool-define-as nvme-pool logical --source-name nvme-pool Pool nvme-pool defined virsh # pool-start nvme-pool Pool nvme-pool started virsh # pool-autostart nvme-pool Pool nvme-pool marked as autostarted virsh # pool-info nvme-pool Name: nvme-pool UUID: 5812819f-b8bf-484e-98fb-2e100fe83df2 State: running Persistent: yes Autostart: yes Capacity: 1.64 TiB Allocation: 250.00 GiB Available: 1.40 TiB