40 lines · 2.1 KB · Text
RawDownload
temporary state files /usr/grid/killscript.$name on storage made by namefossil+spawnroot, invoked from cpu side boom service/usr/grid/stononce on storage server for unique names for scores. used by storagesvc save/usr/grid/spawncount on storage server for limiting number of spawned roots, storagesvc/usr/grid/spawnmax on storage server maximum allowed value of spawncount/usr/grid/nextport on storage server for next port number to serve on, storagesvc/usr/grid/nextport on cpu server for next port number to serve on, cpusvc/usr/grid/nextdisk on sto server for next disk file to use/usr/grid/disk# on sto server file locations mapped to disk file numbers/usr/grid/diskmax cap for disk slots/usr/grid/username subdir with active environment names srvs /srv/gridsvc on storage, main control hubfs, storagesvc on sto and cpusvc on cpu attach to it, client mounts it at /n/g for gridorc to talk to/srv/rootname, /srv/rootnamefossil, /srv/rootnamefscons  on storage, spawmed for each root/zrv/rootname control hub for fetching a root, create by cpusvc and the interior rc is rfork V and newns in the new /srv/boot/srv/boot etc in private /srv ns - spawned on cpu by fetchroot, this ns is cpud in by clients services aux/listen1 -v tcp!*!16999 /bin/tlssrv -a /bin/userreq #storage server command/id validation service server% aux/listen1 -tv tcp!*!17034 tlssrv -A /bin/aux/trampoline /net.alt/tcp!127.1!17034 #storage server auth'd venti serviceclient% aux/listen1 -tv tcp!127.1!27034 /bin/tlsclient -a tcp!eusto1!17034 #how a client makes a local port for remote auth'd venti - the above setup may be repeated bidirectionally, so both servers can dump blocks to each other 6 permanent state files 9fat/scorenames - rootscores available across the replicated ventis9fat/sto1.info sto2.info etc - info files for ventiprog tracking block duplication progress. seeded with an initial line setting venti env var to target. logs /usr/grid/stolog.$pid on storage/usr/grid/fossilogs output of namefossil commands/usr/grid/username.reqlog log of commands from user/tmp/cpusvclog on cpu