PuTTY scp (pscp) provides a file transfer application for
secure shell (SSH) to copy files either between two directories on
the configuration node or between the configuration node and another
host.
To use the pscp application, you must have the appropriate
permissions on the source and destination directories on your respective
hosts.
The pscp application is available when you
install an SSH client on your host system. You can access the pscp
application through a Microsoft® Windows® command prompt.
Perform
the following steps to use the pscp application:
- Start a PuTTY session.
- Configure your PuTTY session to access your SAN Volume Controller cluster.
- Save your PuTTY configuration session. For example, you
can name your saved session SVCPUTTY.
- Open a command prompt.
- Issue the following command to set the path environment
variable to include the PuTTY directory:
set path=C:\Program Files\putty;%path%
where Program
Files is the directory where PuTTY is installed.
- Issue the following command to copy the package
onto the node where the CLI runs:
pscp -load saved_putty_configuration
directory_software_upgrade_files/software_upgrade_file_name
admin@cluster_ip_address:/home/admin/upgrade
where saved_putty_configuration is
the name of the PuTTY configuration session, directory_software_upgrade_files
is the location of the software upgrade files, software_upgrade_file_name is
the name of the software upgrade file, and cluster_ip_address is
an IP address of your cluster.
If there is insufficient
space to store the software upgrade file on the cluster, the copy
process fails. Perform the following steps:
- Use pscp to copy data that you want to preserve from
the /dumps directory. For example, issue the following
command to copy all error logs from the cluster to the IBM® System Storage® Productivity
Center or
the master
console:
pscp -unsafe -load saved_putty_configuration
admin@cluster_ip_address:/dumps/elogs/*
your_preferred_directory
where saved_putty_configuration is
the name of the PuTTY configuration session, cluster_ip_address is
the IP address of your cluster, and your_preferred_directory is
the directory where you want to transfer the error logs.
- Issue the svctask cleardumps command
to free space on the cluster:
svctask cleardumps -prefix /dumps
- Then repeat step 6.