Post on 31-Dec-2015
What is the IU Research File System?
/user1 /user2
/collaboration
User 1, on campus
User 2, somewhere else
BACKUP
Works with all major operating systems:
Mac, Windows and Linux/Unix
RFS Access
From an off-campus location, IU VPN is required for:
– Samba– AFS client
However, VPN is not needed for:– Web access (https://)– SFTP
IU VPN introduction: http://kb.iu.edu/data/ajrq.html
Right and wrong ways to use RFS
Good Uses:
• relatively small files (up to ca. 1 GB in size)• files that are updated frequently
– remember that files can be edited directly in RFS, using Samba or the AFS client
• frequently accessed files• files that need to be shared, i.e. group project work
In short, treat RFS like a local hard drive, or a shared drive
Right and wrong ways to use RFS
Poor Uses:
• backups– RFS is intended as workspace, use SDA for backups
and archiving• files updated by multiple users at once
– for example, Access and other databases– files that many users edit simultaneously
SDA introduction: http://kb.iu.edu/data/aiyi.html
Policies
• storage quota for individual users is 100 GB; • additional space may be available upon request
• RFS is available to faculty, staff and graduate students;
undergraduates can be sponsored by faculty or staff
• data are backed up nightly, backups kept for 2 months
• you can request restoration of accidentally lost data
• changes from the previous day:
– kept in the 1day-backup directory
– you can restore data from 1day-backup yourself
• RFS storage system is HIPAA aligned
Collaborative work You can request project space, distinct from your own
user space Initial quota for project spaces is 100 GB You can define your own groups of RFS users
no shared accounts are required
Exercises
What we will do next:
• We will set up and try out every method of RFS access• We will move files around• We will open and edit files in RFS• We will recover files from the one-day backup• We will share files by using a project space• We will regulate access to project files
Exercises - Samba
Windows:
Right-click My Computer → Map Network Drive... .
\\rfs.iu.edu\username
Macintosh:
In the Finder, Go menu → Connect to Server... .
smb://rfs.iu.edu/username
http://kb.iu.edu/data/arxp.html
Exercises - SFTPWindows:
Install WinSCP from http://iuware.iu.edu
Connect to rfs.iu.edu with your username …
Macintosh:
Install AnyClient from http://iuware.iu.edu
Connect to rfs.iu.edu with your username …
For the brave: open the Terminal window instead, type:
sftp username@rfs.iu.edu
and look here for sftp commands: http://kb.iu.edu/data/akqg.html
http://kb.iu.edu/data/asay.html
Exercises - Web
http://kb.iu.edu/data/arxi.html
Open the browser of your choice, go to
https://rfs.iu.edu/
Log in with your username …
http://kb.iu.edu/data/arxq.htmlhttp://kb.iu.edu/data/arxr.html
Exercises – OpenAFS ClientInstall the Kerberos client
Windows:
http://web.mit.edu/kerberos/dist/index.html
Download and run the installer: kfw-<version>.exe
Choose to install KFW Client and KFW Documentation …
For configuration files, enter: http://storage.iu.edu
Macintosh:
Your Mac should have the Kerberos client already installed.
Exercises – OpenAFS ClientObtain OpenAFS here: http://www.openafs.org/release/latest.html
Windows:
Download and run either one of these installers:
OpenAFSforWindows-<latest-version>.exe
openafs-en_US-<latest version>.msi
Choose to install OpenAFS client …
http://kb.iu.edu/data/arxq.htmlhttp://kb.iu.edu/data/arxr.html
Macintosh:
Download and run the appropriate version of installer:
OpenAFS-1.6.1-<large feline>.dmg
Click appropriate icon to install OpenAFS client …
Exercises – Projects
\\afs\iu.edu\home\projects\UITS\RTSTOR\rfsclass
group rfsclass_admin
user rfsclass
group rfsclass_user
all of us
r, l, d, i, w, k, a r, l, d, i, w, k
r - readl - look upd - delete i - insert w - write k - lock a - administer
Exercises – Projects
Please form teams of 3-5 people; each team should have at least one Windows user – nominate him/her as the project administrator.
Create a team folder in the rfsclass project space.
Check the folder’s Access Control List (ACL)
Try changing the settings.
Exercises – Projects
Administrator:
Delete your credentials, then log back in as user rfsclass;
Remove the permissions of the group rfsclass_user;
Add r, l, d, i, w, k for every team member.
Delete your administrative credentials, then log back in as yourself.
All team members:
Move some files in and out of your team’s folder; open each other’s files, modify them, delete them.
Try opening the files in another team’s folder!