diff options
author | Pjotr Prins | 2023-02-22 07:53:59 -0600 |
---|---|---|
committer | Pjotr Prins | 2023-02-22 07:53:59 -0600 |
commit | 9a0198e9b23a1995ca5e23be6c06039b580c7123 (patch) | |
tree | a8e94cfe3ca7e9e0598e1ef93652aaecb7a5cd5b /topics | |
parent | 0cd30159d70a3b0bd886cd6f04af7e78236df6c7 (diff) | |
download | gn-gemtext-9a0198e9b23a1995ca5e23be6c06039b580c7123.tar.gz |
Update documentation
Diffstat (limited to 'topics')
-rw-r--r-- | topics/octopus/lizardfs/README.gmi | 7 | ||||
-rw-r--r-- | topics/systems/shepherd.gmi | 15 |
2 files changed, 18 insertions, 4 deletions
diff --git a/topics/octopus/lizardfs/README.gmi b/topics/octopus/lizardfs/README.gmi index ef8d1aa..078a628 100644 --- a/topics/octopus/lizardfs/README.gmi +++ b/topics/octopus/lizardfs/README.gmi @@ -1,6 +1,6 @@ # Information about lizardfs, and some usage suggestions -On the octopus cluster the lizardfs head node is on octopus01, with disks being added mainly from the other nodes. SSDs are added to the lizardfs-chunkserver.service systemd service and HDDs added to the lizardfs-chunkserver-hdd.service. The storage pool is available on all nodes at /lizardfs, with the default storage option of "slow", which corresponds to two copies of the data, both on HDDs. +On the octopus cluster the lizardfs head node is on octopus01, with disks being added mainly from the other nodes. SSDs are added to the lizardfs-chunkserver.service systemd service and SDDs added to the lizardfs-chunkserver-hdd.service. The storage pool is available on all nodes at /lizardfs, with the default storage option of "slow", which corresponds to two copies of the data, both on SDDs. ## Interacting with lizardfs @@ -71,11 +71,12 @@ Chunks deletion state: slow 68 15 2081 27598 201022 20 - - - - - fast 12603 720 1880 5377 23902 - - - - - - 2ssd 7984 - - - - - - - - - - - ``` To query how the individual disks are filling up and if there are any errors: +List all disks + ``` lizardfs-admin list-disks octopus01 9421 | less ``` @@ -103,7 +104,7 @@ It should be noted that any goal using erasure_coding is incredibly slow to writ ``` # CHUNKS_SOFT_DEL_LIMIT = 100 # CHUNKS_HARD_DEL_LIMIT = 250 -# CHUNKS_WRITE_REP_LIMIT = 20 +# CHUNKS_WRITE_REP_LIMIT = 20 # CHUNKS_READ_REP_LIMIT = 100 ``` diff --git a/topics/systems/shepherd.gmi b/topics/systems/shepherd.gmi index d67d9d6..9cf1ed4 100644 --- a/topics/systems/shepherd.gmi +++ b/topics/systems/shepherd.gmi @@ -8,6 +8,14 @@ * status: wip * priority: unclear +## Quick overview + +Shepherd runs in systemd as a shepherd user + +``` +systemctl status user-shepherd.service +``` + ## Description On Debian based systems we run shepherd as a shepherd user. The service gets started up through systemd. @@ -17,9 +25,11 @@ repository. The process for deploying the services: +``` symlink shepherd-services/shepherd to $HOME/.config/shepherd symlink shepherd-services/cron to $home/.config/cron symlink shepherd-services/*sh to $HOME +``` When shepherd starts up it should start all the services. So currently that's bnw, gitea, ipfs, power, rn6app, singlecell and the mcron @@ -28,7 +38,10 @@ services, gitea-dump and pubmed. To use shepherd's herd command the command is 'sudo -u shepherd /home/shepherd/.guix-profile/bin/herd status'. -: /home/shepherd/.guix-profile/bin/herd status +``` +su shepherd +/home/shepherd/.guix-profile/bin/herd status +``` Adding a bash alias, such as "alias herd-herd='sudo -u shepherd /home/shepherd/.guix-profile/bin/herd'", will make it easier to |