Differences between revisions 4 and 5
Revision 4 as of 2009-08-18 15:20:39
Size: 1689
Comment: id, name
Revision 5 as of 2009-08-18 15:28:34
Size: 2076
Comment: archive osd
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:

= Setup for an archive vice partition =
 * {{{
  # bos create localhost rxosd simple /usr/afs/bin/rxosd -localauth; bos start localhost rxosd }}}
 * {{{
  # touch /vicepa/AlwaysAttach /vicepa/OnlyRxosd}}}
 * {{{
  # osd createosd -id 4 -name arch -ip 141.34.32.37 -lun 0 -minsize 0kb -maxsize 10g -wrprio 64 -rdprio 64 -archival }}}
 * {{{
  # bos restart localhost rxosd }}}

DB server installation

  • the osdserver process is installed with the dedicated openafs-osdserver RPM

  • for this RPM, there is a dedicated repository in SL/53/x86_64_extra/afs-osdserver

  • in vamos, this repository is selected by the CF_YUM_extrarepos_afsosddb variable

    • it was included in the afs-dbserver-mod

Enabling clients for OSD + Vicep-Access

  • handled by the afsosd-mod

    • install proper AFS client + module (afs1410osd-alma repository)

    • install SLZ_vicep_lustre_links RPM /!\ not in modifier yet

Original setup for a Lustre-based vice partition

  • once Lustre is available, setup the partition
    • create the appropriate link to lustre (must match the link distributed to clients via RPM)

      [zyklop20] ~ # ln -s /lustre/vpxl /vicepal 
    • do create the AlwaysAttach file (otherwise, non-partition /vicep directories are ignored)

      [zyklop20] ~ # touch /vicepal/AlwaysAttach 
    • protect the "vice partition" from fileserver usage:

      [zyklop20] ~ # touch /vicepal/OnlyRxosd 
  • launch the rxosd process

    [zyklop20] ~ # bos create localhost rxosd simple /usr/afs/bin/rxosd -localauth 
    • this has no immediate effect, vice partitions are touched once the osddb asks for them
  • add the appropriate OSDDB entry
    • <!> you have to use an id and name never used before

    • /vicepal => lun = 1 * 26 + 11 (where a corresponds to 1 and l to 11 (=12-1))

      osd createosd -id 2 -name zyklop20-al -ip 141.34.22.43 -lun 37 -minsize 1m -maxsize 2048g -wrprio 64 -rdprio 64 
    • /!\ this requires AFS admin privileges, of course (currently, osd createosd has no -localauth)

Setup for an archive vice partition

  •   # bos create localhost rxosd simple /usr/afs/bin/rxosd -localauth; bos start localhost rxosd 
  •   # touch /vicepa/AlwaysAttach /vicepa/OnlyRxosd
  •   # osd createosd -id 4 -name arch -ip 141.34.32.37 -lun 0 -minsize 0kb -maxsize 10g -wrprio 64 -rdprio 64 -archival 
  •   # bos restart localhost rxosd 

AfsOsd/Production (last edited 2009-08-18 15:28:34 by WaltrautNiepraschk)