Appendix B. Commands 177
Synopsis
globus-domainname [-help] [-version]
globus-domainname tries to return the system domainname
Setting the environment variable GLOBUS_HOSTNAME will cause
globus-domainname to return a valule based on this variable.
This is useful for specifying the use of certain network interfaces when
communicating etc.
Example
Example B-24 provides an example of this command.
Example: B-24 globus-domainname command
[ibmgrid@y1 ibmgrid]$ globus-domainname
itsolab-yanomani.com
globus-hostname
The globus-hostname command returns the system’s host name.
Synopsis
globus-hostname [-help] [-version]
globus-hostname returns the system hostname and makes some
additional checks to ensure a fully qualified hostname.
Setting the environment variable GLOBUS_HOSTNAME will cause
globus-hostname to return a valule based on this variable.
This is useful for specifying the use of certain network interfaces when
communicating etc.
Example
Example B-25 provides an example of this command.
Example: B-25 globus-hostname command
[ibmgrid@y1 ibmgrid]$ globus-hostname
y1.itsolab-yanomani.com
globus-url-copy
The globus-url-copy command provides a command line interface for using
GridFTP.
178 IBM Grid Toolbox
Synopsis
globus-url-copy [options] sourceURL destURL
OPTIONS
-help | -usage
Print help
-version
Print the version of this program
-versions
Print the versions of all modules that this program uses
-a | -ascii
convert the file to/from netASCII format to/from local file
format
-vb | -verbose
during the transfer, display the number of bytes transferred
and the transfer rate per second
-dbg |-debugftp
Debug ftp connections. Prints control channel communication
to stderr
-b | -binary
Do not apply any conversion to the files. *default*
-s <subject> | -subject <subject>
Use this subject to match with both the source and dest servers
-ss <subject> | -source-subject <subject>
Use this subject to match with the source server
-ds <subject> | -dest-subject <subject>
Use this subject to match with the destionation server
-tcp-bs <size> | -tcp-buffer-size <size>
specify the size (in bytes) of the buffer to be used by the
underlying ftp data channels
-bs <block size> | -block-size <block size>
specify the size (in bytes) of the buffer to be used by the
underlying transfer methods
-p <parallelism> | -parallel <parallelism>
specify the number of streams to be used in the ftp transfer
-notpt | -no-third-party-transfers
turn third-party transfers off (on by default)
-nodcau | -no-data-channel-authentication
turn off data channel authentication for ftp transfers
Example
Example B-26 provides an example of this command when transferring a file
from the local file system to a GridFTP server on a second host.
Example: B-26 globus-url-copy command
[ibmgrid@y1 ibmgrid]$ globus-url-copy file:///home/ibmgrid/transfertest
gsiftp://y2.itsolab-yanomani.com/tmp/transfertest

Get Grid Computing with the IBM Grid Toolbox now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.