Introduction
This page describes the installation of pansoti, which is my JupyterHub server.
Hardware
These are a combination of my partitioning standard (revision 1) and special hardware requirements as described at Configuring JupyerHub (revision 1).
- LXC container with UID/GID offsets according to my UID/GID offset standard
- 1 x 10GB disk for OS
- 1 x 20GB disk for /home
- 2 x CPUs
- 4 GB RAM
- to be partitioned according to my partitioning standard (revision 1)
- 1 NIC on public network (192.168.1.0/24)
Procedure
- Make note of the following volume creation commands:
create-perfect-drbd-vol -v --remote=ziti --name=pansoti --size=10G \ --name1=pici --ip1=192.168.3.10 --name2=ziti --ip2=192.168.3.13 create-perfect-drbd-vol -v --remote=ziti --name=pansoti_home --size=20G \ --name1=pici --ip1=192.168.3.10 --name2=ziti --ip2=192.168.3.13
and the following container recreation commands:
create-basic-lxc-cnt -v --remote=ziti --name=pansoti \ --offset=500000 \ --cpus=2 \ --mem=4G \ --disk=block:/dev/drbd_pansoti \ --disk=block:/dev/drbd_pansoti_home \ --nic=bridge:br0 \ --release=bookworm
- Complete Installing Debian 12 on an LXC container with the default hardware.
- Due to current limitations in
create-basic-lxc-cnt
, the pansoti_home DRBD device was mounted on /srv/home. To fix this do the following:- Shut down the container.
- Run:
virsh edit pansoti
- Locate the mountpoint and correct it.
- Restart the container.
- Propogate/repeat the change on the other virtualisation server.
- Log in to the container and run:
rmdir /srv/home
- Complete Configuring JupyerHub (revision 1).
- Complete Finalising a Linux installation.