andrewfilesystem:server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
andrewfilesystem:server [2014/10/09 01:39] – Things complain about weak permissions on the state directory BenKadukandrewfilesystem:server [2020/11/23 01:21] (current) – Remove 1 broken link. SashaVigole
Line 1: Line 1:
 ====== AFS: Andrew File System, server side ====== ====== AFS: Andrew File System, server side ======
  
-Based upon Tracy's [[http://www.public.iastate.edu/~kula/talks/afs-bpw-2005/afs-bpw-2005-iowa.html|talk]] at the AFS Workshop, 2005.+Based upon Tracy's talk at the AFS Workshop, 2005.
 Heavily modified for %%OpenAFS%% coverage by [[/BenKaduk|BenKaduk]] in 2011. Heavily modified for %%OpenAFS%% coverage by [[/BenKaduk|BenKaduk]] in 2011.
  
Line 25: Line 25:
 </code> </code>
  
-It is also most convenient to have a afs client running on the initial server. Check out the installation instructions on the [[/afs|afs page]].+It is also most convenient to have a afs client running on the initial server. Check out the installation instructions on the [[/AndrewFileSystem|afs page]].
  
 ===== Partitions ===== ===== Partitions =====
Line 79: Line 79:
 #>mkdir /var/openafs #>mkdir /var/openafs
 #>chmod 700 /var/openafs #>chmod 700 /var/openafs
 +#>touch /usr/local/etc/openafs/server/KeyFile
 +#>chmod 600 /usr/local/etc/openafs/server/KeyFile
 #>bosserver #>bosserver
-#>bos setcellname server.meiland.nl meiland.nl -localauth 
 #>bos create server.meiland.nl ptserver simple /usr/local/libexec/openafs/ptserver -localauth #>bos create server.meiland.nl ptserver simple /usr/local/libexec/openafs/ptserver -localauth
 #>bos create server.meiland.nl vlserver simple /usr/local/libexec/openafs/vlserver -localauth #>bos create server.meiland.nl vlserver simple /usr/local/libexec/openafs/vlserver -localauth
Line 100: Line 101:
 <code> <code>
 #> bos shutdown server.meiland.nl #> bos shutdown server.meiland.nl
-#> killall bosserver +#> pkill bosserver 
-#> bosserver+#> service afsserver start
 #> kinit hugo/afs #> kinit hugo/afs
 #> aklog meiland.nl #> aklog meiland.nl
 #> tokens #> tokens
 #> bos status -server server.meiland.nl #> bos status -server server.meiland.nl
-Instance buserver, currently running normally. 
 Instance ptserver, currently running normally. Instance ptserver, currently running normally.
 Instance vlserver, currently running normally. Instance vlserver, currently running normally.
Line 114: Line 114:
  
 <code> <code>
-#> bos create server.meiland.nl fs fs /usr/local/libexec/openafs/dafileserver /usr/local/libexec/openafs/davolserver /usr/local/libexec/openafs/dasalvager -cell meiland.nl -localauth+#> bos create server.meiland.nl dafs dafs /usr/local/libexec/openafs/dafileserver /usr/local/libexec/openafs/davolserver /usr/local/libexec/openafs/salvageserver /usr/local/libexec/openafs/dasalvager -cell meiland.nl -localauth
 #> vos create server.meiland.nl /vicepa root.afs -localauth #> vos create server.meiland.nl /vicepa root.afs -localauth
 #> vos create server.meiland.nl /vicepa root.cell -localauth #> vos create server.meiland.nl /vicepa root.cell -localauth
-#> fs setacl /afs system:administrators rlidwka 
-#> fs setacl /afs system:anyuser rl 
-#> fs mkmount /afs/meiland.nl root.cell 
 #> fs setacl /afs/meiland.nl system:administrators rlidwka #> fs setacl /afs/meiland.nl system:administrators rlidwka
 #> fs setacl /afs/meiland.nl system:anyuser rl #> fs setacl /afs/meiland.nl system:anyuser rl
-#> fs mkmount /afs/.meiland.nl root.cell -rw +#> cd /afs/meiland.nl 
-#> fs setacl /afs/.meiland.nl system:administrators rlidwka +#> fs mkmount root.afs root.afs 
-#> fs setacl /afs/.meiland.nl system:anyuser rl+#> cd root.afs 
 +#> fs setacl . system:administrators all 
 +#> fs setacl . system:anyuser rl 
 +#> fs mkmount meiland.nl root.cell 
 +#> fs mkmount .meiland.nl root.cell -rw
  
 mount external cells: mount external cells:
-#> fs mkmount -dir /afs/athena.mit.edu -cell athena.mit.edu -vol root.cell+#> fs mkmount -dir athena.mit.edu -cell athena.mit.edu -vol root.cell 
 + 
 +remove temporary mountpoint: 
 +#> cd .. 
 +#> fs rmmount root.afs
  
 </code> </code>
  • andrewfilesystem/server.1412818740.txt.gz
  • Last modified: 2014/10/09 01:39
  • by BenKaduk