diff options
author | Pjotr Prins | 2023-12-17 09:18:21 -0600 |
---|---|---|
committer | Pjotr Prins | 2023-12-17 09:18:21 -0600 |
commit | 2f28e004e6db1b754108506eccdd17dbc19a8d8c (patch) | |
tree | d57ae5084ba066f2eedcca2807714b3a86abe1da /tasks | |
parent | 8956139bbc8bd6d64b345bfb272c15f73d5b7137 (diff) | |
download | gn-gemtext-2f28e004e6db1b754108506eccdd17dbc19a8d8c.tar.gz |
PBS on Octopus
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/octopus.gmi | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tasks/octopus.gmi b/tasks/octopus.gmi new file mode 100644 index 0000000..27232ec --- /dev/null +++ b/tasks/octopus.gmi @@ -0,0 +1,47 @@ +# Octopus HPC + +In this file we track tasks that need to be done. + +# Tasks + +* [X] get lizardfs and NFS going on tuxes tux06-09 +* [X] disable guix daemon on tuxes because we mount octopus01 +* [X] add PBS + +Later + +* [ ] tighten NFS allowed IPs +* [ ] tighten lizard allowed IPs +* [ ] sheepdog and fstrim +* [ ] remote backups of configuration + +# Commands + +``` +export NODE=tux07 +./run-node.sh $NODE 'addgroup --gid 1004 guarracino' +./run-node.sh $NODE 'adduser -uid 1004 --gid 1004 guarracino' +./run-node.sh $NODE 'mkdir /home/guarracino/.ssh' +scp -r /home/guarracino/.ssh/authorized_keys $NODE:/home/guarracino/.ssh/authorized_keys +./run-node.sh $NODE 'chown guarracino:guarracino /home/guarracino/.ssh -R' +ssh -i /home/guarracino/.ssh/id_ecdsa guarracino@$NODE +./run-node.sh $NODE 'usermod -a -G sudo guarracino' +``` + +``` +apt-get install parted lvm2 mdadm +parted -a optimal /dev/sdb + +(parted) mklabel gpt +(parted) mkpart fat23 0% 1GB +(parted) set 1 esp on +(parted) align-check optimal 1 +(parted) mkpart bulk 1GB -1 + +mkfs.xfs /dev/sdb2 +``` + +``` +apt-get install nfs-common +add to fstab: octopus01:/export /export nfs defaults 0 0 +``` |