PuTTY pscp (or scp) 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.
Before you begin
To use the pscp application, you must have the appropriate
permissions on the source and destination directories on your respective
hosts.
About this task
The pscp or scp 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. For
Linux users, the scp is installed with the openssh packages.
Complete these steps to use the pscp application. The
scp process is similar from step 6.
Procedure
- Start a PuTTY session.
- Configure your PuTTY session to access your Storwize® V3500 clustered system (system).
- Save your PuTTY configuration session. For example, you
can name your saved session SVCPUTTY.
- Open a command prompt.
- Issue this command to set the path environment variable
to include the PuTTY directory:
set path=C:\Program Files\putty;%path%
where C:\Program
Files\putty is the directory where PuTTY is installed.
- Issue this 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
username@cluster_ip_address:/home/admin/update
where saved_putty_configuration is
the name of the PuTTY configuration session,
directory_software_upgrade_files is
the location of the
machine code update files,
software_upgrade_file_name is
the name of the
machine code update file,
username is
the name that you want to use on the
Storwize V3500, and
cluster_ip_address is
an IP address of your
clustered system.
Note: Saving the PuTTY configuration session in step 3 and then loading the PuTTY
configuration session in step 6 is optional. To copy without loading a PuTTY configuration session,
use the following
syntax:
pscp directory_software_upgrade_files/software_upgrade_file_name
username@cluster_ip_address:/home/admin/update
If there is insufficient space to store the machine code update file
on the system, the copy process fails. In this case, complete the
following steps:
- Use pscp to copy data that you want to preserve from the /home/admin/update directory.
- Use the following command to delete dump files in the /home/admin/update directory:
cleardumps -prefix /home/admin/update
- Repeat step 6.