Q: I can connect and list files with HSI, but file transfers fail.  Why?


A: This problem is usually caused by one of two things:


1. The wrong host interface is being used.

By default, HSI uses the network interface associated with the hostname command.

There are two ways to override this:


  A. Set the HPSS_HOSTNAME environment variable, in the HSI wrapper script,

      to the network interface name or IP address that HSI should send to the movers

      for inbound data connections.

 

  For example,

         export HPSS_HOSTNAME=clienthost32-e.mgleicher.us

  or

         export HPSS_HOSTNAME=132.255.12.25


  B. Create a "PFTP Client Interfaces" stanza in the HPSS.conf file.

      The HPSS.conf file is found in the directory whose path is obtained from the

       HPSS_CFG_FILE_PATH environment setting. 

       Links: HPSS.conf file settings [To be added]


2. A firewall is blocking inbound connections from the HPSS movers.

If this is the case, there are two options:

a. Open a port range to allow HPSS movers to connect, and set the HPSS_PORT_RANGE

environment variable to the range of ports:


export HPSS_PORT_RANGE=start-end


(Note: previous versions of HPSS and HSI also supported the HPSS_PFTPC_PORT_RANGE

environment variable for the same purpose, e.g.

    export HPSS_PFTPC_PORT_RANGE=ncacn_ip_tcp[start-end]

This usage is deprecated, and will be removed at some point)


For example, if a port range from 25000-25999 has been opened,

export HPSS_PORT_RANGE=25000-25999


b. If a port range cannot be opened, use the HSI "firewall" command to force store-and-forward

transfers, using a private data socket that is opened on the HSI Gateway Server and connected to

by the HSI client.   Note that firewall mode is not currently available for HTAR.

      

See the Restricted TCP Ports section for more information