Cluster I/O Protocols (CIP) Configuration and Management Manual (H06.16+, J06.05+)
NOTE: This SFTP syntax can be used for J06.06/H06.17 and later RVUs only.
Use sftp -S $zssp0 user@ip-address:trace-dir/trace-file target-file
> == Move the file from the CLIM to the host
>
> sftp -S $zssp0 user@192.0.2.1:/home/mylog/lnet-data-to-10 tcpd10
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
Connecting to 192.0.2.1...
Fetching /home/mylog/telnet-data-to-10 to tcpd10
----------------- -------- --- ------ ------
Filename BytesNow % Bytes/s Remaining
----------------- -------- --- ------ ------
/home/mylog/telnet-data-to-10 0 0% 0.0KB --:--
----------------- -------- --- ------ ------
Filename BytesNow % Bytes/s TimeSpent
----------------- -------- --- ------ ------
/home/mylog/telnet-data-to-10 192KB 106% 0.0KB 00:00
>
> fileinfo tcpd10
$MYSYS.MYSUB
CODE EOF LAST MODIFIED OWNER RWEP PExt SExt
TCPD10 0 196608 29JAN2009 0:21 255,255 NUNU 14 112
>
For J06.10/H06.21 and later RVUs only, you can use the CLSFTP script. The syntax is:
CLSFTP {clim-name |clim-ip-address} [sftp commands]
For example:
> CLSFTP n1002532 get file2
In interactive mode:
TACL> CLSFTP n1002532
CLSFTP - T0834 - version 1.2, 29-SEP-2009
Run sftp in interactive mode.
using $ZSSP0...
comForte SFTP client version T9999H06_18Dec2009_comF ...
Connecting to 16.107.199.242 via SSH2 process $ZSSP0 ...
sftp> get file1
sftp> exit
5. Delete the trace file.
Use climcmd clim-name rm /trace-dir/trace-file
Then use climcmd clim-name rmdir /trace-dir
> == Delete the file on the CLIM
>
> climcmd N1002582 rm /home/mylog/telnet-data-to-10
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
Termination Info: 0
> climcmd N1002582 ls -lrt /home/mylog
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
total 0
Termination Info: 0
> == Delete the directory used for tcpdump
>
> climcmd N1002582 rmdir /home/mylog
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
Temination Info: 0
Mapping CLIM Name
Log files are collected to the location specified when performing the action “Set Location for CLIM
Log Collection” on the CLIMs object in the OSM Service Connection. The default location is
$system.zservice. The clim-name is mapped to a two character ID as shown:
128 CIP Configuration and Management










