Copying the Lenovo Storage V7000softwareupdate files using PuTTY pscp or openssh scp

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.

To use the pscp application, you must have the appropriate permissions on the source and destination directories on your respective hosts.

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 MicrosoftWindows 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.

  1. Start a PuTTY session.
  2. Configure your PuTTY session to access your Lenovo Storage V7000 clustered system (system).
  3. Save your PuTTY configuration session. For example, you can name your saved session SVCPUTTY.
  4. Open a command prompt.
  5. 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.

  6. Issue this command to copy the package onto the node where the CLI runs:
    pscp -load saved_putty_configurationdirectory_software_upgrade_files/software_upgrade_file_nameusername@cluster_ip_address:/home/admin/upgrade
    wheresaved_putty_configuration is the name of the PuTTY configuration session, directory_software_upgrade_files is the location of the softwareupdate files, software_upgrade_file_name is the name of the softwareupdate file, username is the name that you want to use on the Lenovo Storage V7000 , 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_nameusername@cluster_ip_address:/home/admin/upgrade

    If there is insufficient space to store the softwareupdate file on the system, the copy process fails. In this case, complete the following steps:

    1. Use pscp to copy data that you want to preserve from the /home/admin/update directory.
    2. Use the following command to delete dump files in the /home/admin/update directory:
       cleardumps -prefix /home/admin/upgrade
    3. Repeat step 6.