Downloading and Configuring HSI for Remote Access to HPSS
This document describes how to access HPSS files from any remote system. The methods described below use keytab as the authentication method.
General Instructions, All Platforms
- Download the HSI executable for your platform.
(Details for four platforms are listed below). - If you already have your keytab files on DataStar, skip to step 3. Otherwise, create your configuration files:
ds002 # /usr/local/bin/get_hpss_keytab
Note: You may remove or rename your current keytab file first if one already exists. If one already exists:
e.g., ds002 # rm /users/sdsc/your-username/.private/.ktb_your-username - Copy the keytab configuration files from DataStar to your local system using scp:
- Login into dslogin.sdsc.edu
- cd ~
- ls .hsirc
- ls .private (if you do not have these files on DataStar, please look at step 2).
- scp .hsirc your-username@local-machine-name:~/.
- scp -r .private your-username@local-machine-name:~/.
- chmod 600 $HOME/.hsirc
- chmod -R 700 $HOME/.private
- Run the HSI executable.
- Connect to HPSS using the following information:
HPSS DNS Name: ds005g.sdsc.edu ds005.sdsc.edu HPSS IP Address: 198.202.114.160 HPSS Port: 1217
Platform Specific Instructions
Note: All the examples in the document below are run by a user with username, "laytonc." Please replace your username in the place of "laytonc."
For Microsoft Windows XP Machine
- In order to use the "HSI" utility, you must install the cygwin package to your Windows XP system (or you can click on "Run setup.exe any time you want to update or install a cygwin package." from http://www.cygwin.com)
Cygwin is a Linux-like environment for Windows. It consists of two parts:- A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
- A collection of tools, which provide Linux look and feel.
- Download the "HSI" utility or use "wget" to download the "HSI" utility (download "wget" software).
- Rename the downloaded file from "hsi.exe.cygwin.kerberos" to "hsi.exe" and save "hsi.exe" to the same location as the "cygncurses6.dll" package (under /bin of the installed location of the cygwin software, e.g., C:\cygwin\bin).
- Use SSH Secure File Transfer (download Secure File Transfer freeware) to transfer your configuration files (.hsirc and .private) to the Windows system running Cygwin software.
- Extract the .hsirc file and the .private directory to your home directory of Cygwin (e.g. C:\cygwin\home\laytonc).
- Launch the "cygwin.bat" batch file in the Cygwin directory (e.g. C:\cygwin\cygwin.bat), change to the /bin directory after get in Cygwin (e.g. # cd /bin), and then run "hsi.exe".
- You are now in HPSS, which allows for file transfer, file retrieval, and scheduled backups to files and directories.
For SUN Solaris Machine with 64bits kernel
- Download the "HSI" utility for Solaris 64bits from the SDSC website, transfer the download file to your SUN system, and change the downloaded file to executable permission or use "wget" to download "HSI" utility from your SUN machine and change the download file to executable permission:
e.g., .:/users/u4/laytonc # wget http://www.sdsc.edu/us/resources/hpss/hsi/clients/2.12/hsi.solaris64
.:/users/u4/laytonc # chmod +x hsi.solaris64 - Using the "scp" command to transfer your configuration files to your home directory on the Solaris system:
# scp your-username@dslogin.sdsc.edu:~/.hsirc .
# scp -r your-username@dslogin.sdsc.edu:~/.private .
# chmod 600 $HOME/.hsirc
# chmod -R 700 $HOME/.private
- Run "HSI" and connect to HPSS:
- You are now in HPSS, which allows for file transfer, file retrieval, and scheduled backups to files and directories.
e.g. .:/users/u4/laytonc # ./hsi.solaris64 ************************************************************* * San Diego Supercomputer Center * HPSS System ************************************************************* NOTICE: The IP addresses for HPSS have changed. This means that firewalls will cause file transfer aborts. Change your setting on your firewall to allow ds005g.sdsc.edu and ds009g.sdsc.edu. ************************************************************* Username: laytonc UID: 456466 CC: 200 Copies: 1 [hsi.2.12 Wed Mar 2 15:19:32 PST 2005] ? ls -lX /users/u4/laytonc: drwxr-xr-x 2 root system 4096 Aug 4 15:03 doc drwxr-xr-x 2 root system 4096 Aug 4 15:01 hpss -rwx------ 1 laytonc sys200 4 200 DISK 197 Aug 11 15:31 lhsi Storage VV Stripe Level Count Width Bytes at Level -------------------------------------------------------------- 0 (disk) 0 1 197 1 (tape) 0 0 (no data at this level) 2 (tape) 0 0 (no data at this level) 3 (tape) 0 0 (no data at this level) 4 (tape) 0 0 (no data at this level) drwxr-xr-x 2 root system 4096 Jul 28 15:42 scripts
For Linux (Redhat/SuSE) Machine
- Download the "HSI" utility for Linux from the SDSC website, transfer to your Linux system, and change the downloaded file to executable permission or use "wget" to download "HSI" from your Linux machine and change the download file to executable permission:
# wget http://www.sdsc.edu/us/resources/hpss/hsi/clients/2.12/hsi.linux.rhel3.x86
# chmod +x hsi.linux.rhel3.x86 - Use the "scp" command to transfer the configuration files to your home directories on Linux system.
# scp your-username@dslogin.sdsc.edu:~/.hsirc .
# scp -r your-username@dslogin.sdsc.edu:~/.private .
# chmod 600 $HOME/.hsirc
# chmod -R 700 $HOME/.private - Run HSI and connect to HPSS:
- You are now in HPSS, which allows for file transfer, file retrieval, and scheduled backups to files and directories.
qe2.laytonc:/users/u4/laytonc # ./hsi.linux.rhel3.x86 ************************************************************* * San Diego Supercomputer Center * HPSS System ************************************************************* NOTICE: The IP addresses for HPSS have changed. This means that firewalls will cause file transfer aborts. Change your setting on your firewall to allow ds005g.sdsc.edu and ds009g.sdsc.edu. ************************************************************* Username: laytonc UID: 456466 CC: 200 Copies: 1 [hsi.2.12 Wed Mar 2 15:19:32 PST 2005] ? ls -lX /users/u4/laytonc: drwxr-xr-x 2 root system 4096 Aug 4 15:03 doc drwxr-xr-x 2 root system 4096 Aug 4 15:01 hpss -rwx------ 1 laytonc sys200 4 200 DISK 197 Aug 11 15:31 lhsi Storage VV Stripe Level Count Width Bytes at Level ------------------------------------------------------------- 0 (disk) 0 1 197 1 (tape) 0 0 (no data at this level) 2 (tape) 0 0 (no data at this level) 3 (tape) 0 0 (no data at this level) 4 (tape) 0 0 (no data at this level) drwxr-xr-x 2 root system 4096 Jul 28 15:42 scripts
For IBM AIX v5.2 Machine
- Download the "HSI" utility for AIX from the SDSC website to your AIX system and change the downloaded file to executable permission
or use "wget" to download from your AIX machine. In order to install the "wget" software, you must install the RPM Package Manager to your AIX machine first (download RPM software):
- sdsc221 /home/laytonc # installp -qacXgd rpm.rte rpm.rt
- Download the "wget" software and install to your AIX system:
sdsc221 /home/laytonc # rpm -i wget-1.9.1-1.aix5.1.ppc.rpm - Use "wget" to download "HSI" utility for AIX from SDSC website and change the download file to executable permission:
sdsc221 /home/laytonc # /usr/bin/wget http://www.sdsc.edu/us/resources/hpss/hsi/clients/2.12/hsi.aix52-nondce
sdsc221 /home/laytonc # chmod +x hsi.aix52-nondce
- Use the "scp" command to transfer configuration files to your home directory on the AIX system:
# scp your-username@dslogin.sdsc.edu:~/.hsirc .
# scp -r your-username@dslogin.sdsc.edu:~/.private .
# chmod 600 $HOME/.hsirc
# chmod -R 700 $HOME/.private - Run HSI and connect to HPSS:
- You are now in HPSS, which allows for file transfer, file retrieval, and scheduled backups to files and directories.
sdsc221 /home/laytonc # ./hsi.aix52-nondce **************************************************************** * San Diego Supercomputer Center * HPSS System **************************************************************** NOTICE: The IP addresses for HPSS have changed. This means that firewalls will cause file transfer aborts. Change your setting on your firewall to allow ds005g.sdsc.edu and ds009g.sdsc.edu. *************************************************************** Username: laytonc UID: 456466 CC: 200 Copies: 1 [hsi.2.12 Wed Mar 2 15:19:32 PST 2005] ? ls -lX /users/u4/laytonc: drwxr-xr-x 2 root system 4096 Aug 4 15:03 doc drwxr-xr-x 2 root system 4096 Aug 4 15:01 hpss -rwx------ 1 laytonc sys200 4 200 DISK 197 Aug 11 15:31 lhsi Storage VV Stripe Level Count Width Bytes at Level --------------------------------------------------------- 0 (disk) 0 1 197 1 (tape) 0 0 (no data at this level) 2 (tape) 0 0 (no data at this level) 3 (tape) 0 0 (no data at this level) 4 (tape) 0 0 (no data at this level) drwxr-xr-x 2 root system 4096 Jul 28 15:42 scripts
Need Help?
More information on HSI and HSI commands is available at http://www.sdsc.edu/us/resources/hpss/hsi.html or contact SDSC Consulting.



