pansoti

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).

Procedure

  1. 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
  2. Complete Installing Debian 12 on an LXC container with the default hardware.
  3. 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:
    1. Shut down the container.
    2. Run:
      virsh edit pansoti
    3. Locate the mountpoint and correct it.
    4. Restart the container.
    5. Propogate/repeat the change on the other virtualisation server.
    6. Log in to the container and run:
      rmdir /srv/home
  4. Complete Configuring JupyerHub (revision 1).
  5. Complete Finalising a Linux installation.

See also