Client Command (hln)
The hln commands creates links for the files and directories on the remote server and hcpd server.These commands are not supported on Windows OS.
#
Basic FormatThe basic format is as follows.
Usage: hln [OPTION]... [USER@]HOST[:PORT]:TARGET :LINK_NAME or: hln [OPTION]... [USER@]HOST[:PORT]:TARGET [:TARGET]... :DIRECTORY or: hln [OPTION]... --host=HOST [--port=PORT] [--user=USER] TARGET LINK_NAME or: hln [OPTION]... --host=HOST [--port=PORT] [--user=USER] TARGET... DIRECTORY
#
Option ListThe options for the hln commands are below.
Link Creating
Description | Short Name | Option Name |
---|---|---|
Force overwriting in the destination | f | force |
Interactive overwriting in the destination | i | interactive |
Disable the dereference of the directory for the symbolic link | N | no-dereference |
Create symboloc link | s | symbolic |
Use the target path as a logic name (symbolic link is resolved) | L | logical |
Use the target path as a logic name (symbolic link isn’t resolved) | P | physical |
Set the remote host | host | |
Set the remote port | port |
Selectable Communication Method Function
Description | Short Name | Option Name |
---|---|---|
The HpFP protocol | hpfp | |
The port-separation UDP(HpFP) protocol(deprecated) | udp |
Congestion Control
Description | Short Name | Option Name |
---|---|---|
Congestion control modes in the HpFP protocol | hpfp-cong |
Data Flow Control, Message Data Size Control
Description | Short Name | Option Name |
---|---|---|
MSS(Maximum Segment Size) in the HpFP protocol | hpfp-mss |
Data Flow Control, Data Buffer Setting
Description | Short Name | Option Name |
---|---|---|
Set the sending buffer size for the HpFP protocol | hpfp-sndbuf | |
Set the receiving buffer size for the HpFP protocol | hpfp-rcvbuf |
Authentication
Description | Short Name | Option Name |
---|---|---|
Specify a username first and link creating | user | |
Specify a password first and link creating | password |
Various Monitorings
Description | Short Name | Option Name |
---|---|---|
Investigation mode starts (deprecated) | investigation |
Log Management
Description | Short Name | Option Name |
---|---|---|
Specify an application log output destination | log-file | |
Specify various statistics log output destinations | stat-log-file | |
Specify an execution record output destination | hcp-out | |
Start in the multiple-run mode | multi-run |
Software Information Update
Description | Short Name | Option Name |
---|---|---|
Check the application version | V | version |
Check the configuration and input parameters | config-test | |
Display the command help | h | help |
System Operating Environment Settings
Description | Short Name | Option Name |
---|---|---|
Setting form a path of the configuration file | config-file | |
Make configuration from command line | config-option |
Please refer to the hcpd command section on the following option.
--investigation
Please refer to the hcp command section on the following option.
--hpfp, --user, --password, --config-file, --config-option, --log-file, --stat-log-file, --udp, --hpfp-cong, --hpfp-mss, --hpfp-sndbuf, --hpfp-rcvbuf, --multi-run
#
Link Creating#
f, force=========================================================================Supported OS : Linux / WindowsFormat : -f | --force=========================================================================
When the same link exists in the destination, it is supposed to be overwritten without confirmation.
--Example:[user@localhost ~]$ hln -f ...--
#
i, interactive=========================================================================Supported OS : Linux / WindowsFormat : -i | --interactive=========================================================================
When the same link name exists in the destination, whether the link which has already existed in the destination is deleted is confirmed before overwriting.
--Example:[user@localhost ~]$ hln -i ...--
#
N, no-dereference=========================================================================Supported OS : Linux / WindowsFormat : -N | --no-dereference=========================================================================
With this option, in the case that the path specified as the link is a symbolic link to a directory, this link is processed without dereferencing. On the other hand, when this option is not specified, the link is created with the target file name in the directory. This option changes this behavior.
--Example:[user@localhost ~]$ hln -N ...--
#
s, symbolic=========================================================================Supported OS : Linux / WindowsFormat : -s | --symbolic=========================================================================
Symbolic links will be created instead of hard links.
--Example:[user@localhost ~]$ hln -s ...--
#
L, logical=========================================================================Supported OS : Linux / WindowsFormat : -L | --logical=========================================================================
In the case of the hard link, the path for the target is regarded as the logical name. When the path is a symbolic link, resolved path is used.
--Example:[user@localhost ~]$ hln -L ...--
#
P, physical=========================================================================Supported OS : Linux / WindowsFormat : -P | --physical=========================================================================
In the case of the hard link, the path for the target is regarded as the physical name. When the path is a symbolic link, it is proceeded without being resolved.
--Example:[user@localhost ~]$ hln -P ...--
#
host=========================================================================Supported OS : Linux / WindowsFormat : --host=<remote-host>-------------------------------------------------------------------------remote-hostDefault : noneRange of Values : IP address or host name=========================================================================
The remote host in the destination is specified. It is used in the path specifies the link target, link name, or the directory. With this parameter, the host name for this path can be omitted.
--Example:[user@localhost ~]$ hln --host=192.168.100.100 ...--
#
port=========================================================================Supported OS : Linux / WindowsFormat : --port=<remote-port>-------------------------------------------------------------------------remote-portDefault : noneRange of Values : port number=========================================================================
The service port number for the remote host in the destination is specified. It is used in the path specifies the link target, link name, or the directory.
--Example:[user@localhost ~]$ hln --port=1874 ...--
#
Log Management#
hcp-out=========================================================================Supported OS : Linux / WindowsFormat : --hcp-out=<output-path>-------------------------------------------------------------------------output-pathDefault : noneRange of Values : path string of file system=========================================================================
The file to output the execution record of creating links is set.
--Example:[user@localhost ~]$ hln --hcp-out=- ...TARGET0 127.0.0.1:1874:/home/user/Desktop/hcp_hln01.txtTARGET1 127.0.0.1:1874:/home/user/Desktop/hcp_hln02.txtLINK_NAME/DIR 127.0.0.1:1874:/home/user/Desktop/hcp_hln_dirOK 0000 FL 00000001 /home/user/Desktop/hcp_hln01.txtOK 0000 FL 00000002 /home/user/Desktop/hcp_hln02.txtEXIT 0 REASON 0000[user@localhost ~]$ --
--Example:[user@localhost ~]$ hln --hcp-out=- ...--
#
Software Information Update#
V, version=========================================================================Supported OS : Linux / WindowsFormat : -V | --version=========================================================================
The hln command version is shown.
--Example:[user@localhost ~]$ hln -Vhln client (hln) 1.2.11_7 / Linux (HpFP2 2.0.0.91_21)--
#
config-test=========================================================================Supported OS : Linux / WindowsFormat : --config-test=========================================================================
The parameters and the configuration information for the hln command are output.
--Example:[user@localhost ~]$ hln --config-test...
Number of Logical Processors : 2Number of Physical Processors : 2
Command parameters force : disable interactive : disable no-dereference : disable symbolic : disable logical : disable physical : enable host : disable port : disable symlink-target-expand-relative : disable symlink-target-accept-expand-relative : disable hpfp : disable (TCP used) version : disable config-test : enable help : disable user : disable password : disable config-file : disable log-file : disable stat-log-file : disable hcp-out : - [.hcp.out] multi-run : disable no-earlier-serv-compat : disable
Target source:
Target destination:
Configuration parameters PubkeyAuthentication : yes WinLogonUserAuthentication : yes PAMAuthentication : yes LocalPasswordAuthentication : yes RequireServerCertificateSecurity : yes RejectFallbackServerCertificateSecurity : yes IgnoreCertificateCNInvalid : yes IgnoreCertificateDateInvalid : no IgnoreUnknownCA : no IgnoreRevocation : no CompressLevel : -1 HeaderCompress : yes ContentCompress : yes OCSPRevocationEnabled : yes StrictHostKeyChecking : ask ApplicationStatLog : yes Rotation[size=no:0:0, pattern=no:] TransportStatLog : no Rotation[size=no:0:0, pattern=no:] PrivateKeySearchDir : - [/etc/hcp/keys] PrivateKeyFile : - [~/.hcp/id_rsa] CACertificateFile : - [/etc/hcp/cacert.pem] CACertificatePath : - CARevocationFile : - [/etc/hcp/crl.pem] CARevocationPath : - ProtocolVersion : 2 MaxConcurrentThread : 0 UDPTransportExtensionBufferSize : 2147483648 MaxRequestFileEntryAtOnce : 50 MaxReceiveFileSize : unlimited MaxSendFileSize : unlimited MaxBufferSize : 1073741824 MaxReceiveRate : 10000000000 MaxSendRate : 10000000000 InitHeaderBlockSize : 51200 InitContentBlockSize : 51200 MaxHeaderBlockSize : 51200 MaxContentBlockSize : 51200 TransportTimeout : 180 FileLock : no FileLockTrials : 0 FileLockTrialInterval : 3 AcceptableCryptMethod : AES256/GCM AES256/CTR/VMAC AES256/CBC AES128/CBC [Intel:AES-NI=yes] AcceptableDigestMethod : XXH3 SHA256 SHA160 DisableDataIntegrityChecking : no AcceptDataIntegrityCheckingOnRejection : yes TransportCharEncoding : UTF8 HostEncoding : UTF8 ApplicationLog : INFO no Rotation[size=no:0:0, pattern=no:] PubkeyAuthenticationPrior : yes ApplicationStatLogSecurityEx : yes--
#
h, help=========================================================================Supported OS : Linux / WindowsFormat : -h | --help=========================================================================
The hln command help is shown.
--Example:[user@localhost ~]$ hln -h--