Selasa, 23 April 2013

AFS (Andrew File System)



Ada persamaan dan perbedaan antara AFS dan NFS.

Persamaan:
AFS sama seperti NFS menyediakan akses menuju shared files secara transaparant. Akses menuju ke file AFS adalah melalui normal unix file primitives (tanpa modifikasi atau rekompilasi). AFS kompatibel dengan NFS.

Perbedaan:
Secara desain dan implementasi, AFS berbeda dengan NFS, perbedaan utama, NFS didesain untuk dapat menangani active users dengan jumlah yang lebih banyak daripada distributed file systems yang lain. Kunci AFS untuk menangani jumlah active users yang besar terletak pada kemampuan caching seluruh files pada
client node.

Karakter AFS
AFS mempunyai dua karakter desain yang unik :

Whole file serving
Seluruh konten dari direktori dan file dikirim kepada komputer client oleh AFS servers (di AFS3, file yang ukurannya lebih dari 64kbytes ditransfer dalam 64kbyte chunks).


Whole file caching

Copy dari sebuah file chunk yang telah ditransfer di komputer client disimpan dalam cache pada local disk.Cache disini mengandung ratusan file yang sering dipakai di dalam sebuah komputer.

5.3 Access Control

•  Dalam sistem file UNIX
– hak akses diperiksa berdasarkan mode akses (read,write,execute) ketika membuka file
– identitas user diperiksa ketika login

•  Dalam sistem file terdistribusi
– hak akses harus diperiksa pada server
– RPC unprotected
– dimungkinkan melakukan pemalsuan identitas, tapi ini merupakan resiko keamanan
– user ID biasanya dikirim dengan setiap request
– stateless

5.4 Layanan Direktori

Tugas utama dari layanan direktori adalah memetakan nama teks ke UFIDs
Operasi pada layanan direktori:

Lookup(Dir, Name) -> FileId
— throw NotFound
• Locates the text name in the directory and returns the relevant UFID. If Name is not in the directory, throws an exception

AddName(Dir, Name, File)
— throw NameDuplicate
• If Name is not in the directory, adds (Name, File) to the directory and updates the file’s attribute record.
• If Name is already in the directory: throws an exception.


UnName(Dir, Name)
— throw NotFound

• If Name is in the directory: the entry containing Name is removed from the directory.
• If Name is not in the directory: throws an exception.

GetNames(Dir, Pattern) -> NameSeq
• Returns all the text names in the directory that match the regular expression Pattern.


Referensi:

1. Implementasi Sistem File, http://lecturer.eepis-its.edu/~arna/Diktat_SO/10.Implementasi%20Sistem%20File.pdf
2. File Sistem, http://bebas.vlsm.org/v06/Kuliah/SistemOperasi/BUKU/bahan/bahan-bab6.pdf
3. Adang Suhendra, Sistem File Terdistribusi, http://staffsite.gunadarma.ac.id/adang/index.php?stateid=download&id=4855&part=files
4. Ayu Anggriani dkk., Tugas Kuliah Pengantar Sistem Terdistribusi, 2008.
5. http://naeli.staff.gunadarma.ac.id/Downloads/files/8590/File+Service.pdf


Tidak ada komentar:

Posting Komentar