Skip to topic | Skip to bottom
Home
You are here: TWiki > AFSLore Web > JavaAdminAPI r25 - 20 Feb 2005 - 06:28 - McWeigel?


Start of topic | Skip to actions
In large AFS environments, local tools are usually written to manage AFS more effectly. Today these tools are usually written in scripts. These scripts typically issue AFS commands and parse the command output. This is not a good practice as command output are not well defined. Their format or even contents can change. An AFS Admin API is needed. Today some internal C libraries exist and are used by the AFS command suite as well as the Windows Admin GUI. But they are not clearly defined for external use and not easy to use.

Here a set of Java API is proposed. The goal is to make the API suitable not only for administrators to write custom AFS automation tools but also for developers to write general and powerful tools for easy and efficient AFS management. -- LeoShyhWeiLuan? - 13 Feb 2002

All of the base class API documents have been updated to the most recent revision (v1.4). Additionally, the newly introduced AFS ACL, Token, and File classes, as well as the associated file stream classes, have been posted as well.

In addition to enhancing the overall documentation, this latest revision incorporates a number of modifications and new features, several of which were either suggested or inspired by the valued feedback we have received from some of you. -- ManuelPereira? - 02 Jul 2002

Note: below is only the documentation for the API. The actual API source is included with the OpenAFS source distribution and is viewable on the web at http://www.openafs.org/cgi-bin/cvsweb.cgi/openafs/src/JAVA/ -- DanielClark - 08 Jan 2003

The Java AFS API (JAFS) has been updated, employing several fixes and improvements, with patches for OpenAFS 1.2.9 source and the current source (CVS/daily snapshots). The most recent API documents (v2) are posted below along with the recent source patches. -- ManuelPereira? - 09 Jun 2003

The Java AFS API (JAFS) has been updated, including additional testing programs, with patches for OpenAFS 1.2.10a source. The most recent API documents (v2) are posted below along with the recent source patches.

Quick Steps

  1. Download http://www.openafs.org/dl/openafs/1.2.10a/openafs-1.2.10a-src.tar.gz
  2. Download https://grand.central.org/twiki/pub/AFSLore/JavaAPI/jafs-1.2.10a-diff.tar.gz
  3. tar –xzf openafs-1.2.10a.tar.gz
  4. tar –xzf jafs-1.2.10a-diff.tar.gz
  5. cd openafs-1.2.10a
  6. patch –p1 < ../jafs-1.2.10a.diff
  7. ./configure --with-afs-sysname=i386_linux24 --enable-transarc-paths –-java-home=/usr/java/jdk
  8. make
  9. make jafs

-- ManuelPereira? - 11 Nov 2003


  • README: JAFS v2 README file (read for patch instructions)

I Attachment Action Size Date Who Comment
jafs-1.2.10a-diff.tar.gzgz jafs-1.2.10a-diff.tar.gz manage 217.7 K 07 Jan 2004 - 20:38 ManuelPereira? Patch for OpenAFS 1.2.10a release source
Token.htmlhtml Token.html manage 41.0 K 09 Jun 2003 - 23:35 ManuelPereira? JAFS v2
jafs-1.2.9-diff.tar.gzgz jafs-1.2.9-diff.tar.gz manage 180.9 K 11 Nov 2003 - 08:16 ManuelPereira? Patch for OpenAFS 1.2.9 release source
FileInputStream.htmlhtml FileInputStream.html manage 20.2 K 09 Jun 2003 - 23:34 ManuelPereira? JAFS v2
Volume.htmlhtml Volume.html manage 124.7 K 09 Jun 2003 - 23:30 ManuelPereira? JAFS v2
Key.htmlhtml Key.html manage 42.3 K 09 Jun 2003 - 23:28 ManuelPereira? JAFS v2
Partition.htmlhtml Partition.html manage 83.2 K 09 Jun 2003 - 23:28 ManuelPereira? JAFS v2
FileOutputStream.htmlhtml FileOutputStream.html manage 22.3 K 09 Jun 2003 - 23:35 ManuelPereira? JAFS v2
User.htmlhtml User.html manage 162.9 K 09 Jun 2003 - 23:33 ManuelPereira? JAFS v2
File.htmlhtml File.html manage 73.1 K 09 Jun 2003 - 23:34 ManuelPereira? JAFS v2
Group.htmlhtml Group.html manage 106.5 K 09 Jun 2003 - 23:28 ManuelPereira? JAFS v2
jafs-diff.tar.gzgz jafs-diff.tar.gz manage 64.8 K 19 Jun 2003 - 04:31 ManuelPereira? Patch for current source (CVS/daily snapshots)
VersionInfo.htmlhtml VersionInfo.html manage 17.7 K 11 Nov 2003 - 22:34 ManuelPereira? Provided for JNI library version info (JAFS v2)
Cell.htmlhtml Cell.html manage 132.2 K 09 Jun 2003 - 23:27 ManuelPereira? JAFS v2
AdminTest.javajava AdminTest.java manage 33.2 K 11 Nov 2003 - 22:29 ManuelPereira? Class that exercises all major JAFS methods.
READMEEXT README manage 11.7 K 11 Nov 2003 - 22:23 ManuelPereira? JAFS v2 README file (read for patch instructions)
K5User.htmlhtml K5User.html manage 58.6 K 11 Apr 2002 - 00:58 ManuelPereira? Preliminary K5 user class API proposal
ACL.htmlhtml ACL.html manage 43.2 K 09 Jun 2003 - 23:33 ManuelPereira? JAFS v2
Server.htmlhtml Server.html manage 160.1 K 09 Jun 2003 - 23:30 ManuelPereira? JAFS v2
Process.htmlhtml Process.html manage 81.6 K 09 Jun 2003 - 23:29 ManuelPereira? JAFS v2
openafs-jafs-API-v2.2.tar.gzgz openafs-jafs-API-v2.2.tar.gz manage 198.6 K 11 Nov 2003 - 22:22 ManuelPereira? API docs for Java AFS v2.2 (userspace and admin)
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r25 < r24 < r23 < r22 < r21 | More topic actions
AFSLore.JavaAdminAPI moved from AFSLore.JavaAPI on 11 Jul 2004 - 20:57 by TWikiGuest - put it back
This site is powered by the TWiki collaboration platformCopyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback