NFSRODS
May 15, 2019
Renaissance Computing Institute
UNC-Chapel Hill
Terrell Russell, Ph.D.
@terrellrussell
Chief Technologist, iRODS Consortium
NFSRODS
NFSRODS - Overview
NFSRODS - Security Model
NFSRODS - Demo Configuration / Setup
NFSRODS - Demo Configuration / Setup
ubuntu$ cat /home/ubuntu/irods_client_nfsrods/mynfsrodsconfig/server.json { "nfs_server": { "port": 2049, "irods_mount_point": "/tempZone", "user_information_refresh_time_in_minutes": 60, "file_information_refresh_time_in_seconds": 2 }, "irods_server": { "zone": "tempZone", "host": "aws-ec2-internal-ip", "port": 1247, "default_resource": "demoResc" }, "irods_proxy_admin_account": { "username": "rods", "password": "rods" } }
1. NFSRODS Configuration:
NFSRODS - Demo Configuration / Setup
ubuntu$ docker run -d --name nfsrods \ -p 3000:2049 \ -v /home/ubuntu/irods_client_nfsrods/mynfsrodsconfig:/nfsrods_ext:ro \ -v /etc/passwd:/etc/passwd:ro \ -v /etc/shadow:/etc/shadow:ro \ nfsrods:latest
ubuntu$ sudo mkdir -p /mnt/the_nfsrods_mountpoint ubuntu$ sudo mount -o sec=sys,port=3000 `hostname`:/ /mnt/the_nfsrods_mountpoint
3. Create the mount point:
2. Launch the NFSRODS Docker container:
bobby$ cd /mnt/the_nfsrods_mountpoint/home/bobby
bobby$ echo "science" > science.txt
bobby$ ls -l science.txt
-rw------- 1 bobby bobby 8 May 15 17:29 science.txt
bobby$ cat science.txt
science
4. Use the mount point:
Questions?