welcome: please sign in

The following 200 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
action   actually   add   Add   added   Adding   addsite   Administration   Afs   afs   afsdb3   alias   all   Always   an   An   and   April   are   as   Attach   backing   basic   be   between   bin   Bos   bos   Bring   but   by   Category   cell   Cell   class   clone   cluster   collector   common   Config   config   configuration   Configure   Contents   create   creating   current   daemons   directory   discoverable   do   Dom   done   each   Edit   elect   ensuring   etc   example   existing   file   files   firewall   five   Follow   For   for   hcoop   host   html   https   idea   If   in   include   independent   info   install   Installation   ip   is   it   its   know   last   leader   let   lists   logs   managed   Managing   manually   minutes   most   must   necessary   needs   net   New   new   newly   newserver   not   note   Of   of   old   on   Online   Only   Open   openafs   order   org   our   outpost   packages   pipermail   possible   Prepare   Procedure   ptserver   Puppet   raid   Read   readonly   really   records   Records   release   remain   Removing   replaced   Replicate   replicated   required   resides   restart   restarted   root   rough   rules   Run   running   safe   seconds   See   Serv   server   Server   servers   service   set   Setup   should   simply   So   status   still   storage   store   System   Table   that   The   the   This   this   to   To   Tool   touch   udebug   Unfortunately   uninterrupted   up   update   updated   use   used   Verify   verify   via   vicepa   vlserver   vol   volume   Volumes   volumes   vos   waiting   want   We   whatever   widely   wiki   will   with   within   you  

Clear message
Edit

DaemonAdmin / AndrewFileSystem

Administration of OpenAFS

Managing AFS

TODO

Adding An AFS Server

Follow the InstallationProcedure and create a new Puppet managed host.

Prepare /vicepa

The AFS server will store its files in /vicepa. So, you should create that directory, ensuring it resides on whatever storage (raid, etc) you want to use for AFS backing. If it is not an independent volume, you must let AFS know that it is safe to use it by creating the AlwaysAttach file (touch /vicepa/AlwaysAttach).

Configure Server

To create the basic server config, simply include Puppet class hcoop::service::openafs::server. This will install the required Debian packages, set up firewall rules, install the BosConfig, and update CellServDB on all servers.

CellServDB still needs to be manually updated in Puppet, but will be replaced with a collector

Bring Server Online

To add the server to the cluster, all existing afs servers must be restarted. Run for each server in order, waiting 30 seconds between servers, with the newly added server last:

bos restart $server vlserver ptserver

Unfortunately this really is necessary.

The cluster will elect a new leader within five minutes, service should remain uninterrupted. Verify all daemons are running with bos status $server, and verify UBIK status with udebug $server 7002 and udebug $server 7003.

Replicate Read Only Volumes

We want most of our readonly volumes to be replicated as widely as possible. The current set to clone is:

for vol in common.bin common.logs old root.afs root.cell; do
    vos addsite $newserver /vicepa $vol
    vos release $vol
done

Add DNS Records

For the new afs server to actually be used, it needs to be discoverable via DNS. Edit the hcoop.net DomTool configuration and use the afsDBServer action to add the required DNS alias and SRV records, for example: afsDBServer "afsdb3" outpost_ip;.

Removing An AFS server

TODO (See SetupNewAfsServer for rough idea).


CategorySystemAdministration

DaemonAdmin/AndrewFileSystem (last edited 2018-04-16 05:23:54 by ClintonEbadi)