Rate This Document
Findability
Accuracy
Completeness
Readability

Uploading a Large File

If the file to be uploaded is larger than the upper limit or the file size after decompression is larger than half of the remaining drive space, you need to free up some drive space or manually upload the file to the server and use WebUI to perform subsequent operations.

Uploading Files to the Server

  1. Obtain the file to be uploaded.
  2. Save the file to be uploaded in a subdirectory of the created user's directory. (Table 1 lists the possible directories.) The following describes how to use the devadmin user to upload the source file.
    1. Use an SSH tool to remotely log in to the tool installation node as the DevKit installation user.
    2. Upload the component packages to be migrated to the corresponding feature directories.
      Table 1 Directories to which files are manually uploaded

      Feature

      Directory

      Batch importing source components

      /opt/DevKit/workspace/devadmin/porting/sysmig/no_source_package/

      Image

      /opt/DevKit/workspace/devadmin/porting/sysmig/images/

      Mounted volume

      /opt/DevKit/workspace/devadmin/porting/sysmig/volumes/

      Container layer

      /opt/DevKit/workspace/devadmin/porting/sysmig/containers/

      Redis data

      /opt/DevKit/workspace/devadmin/porting/sysmig/data/

      Source component package (application)

      /opt/DevKit/workspace/devadmin/porting/sysmig/src/Application

      Source component package (middleware)

      /opt/DevKit/workspace/devadmin/porting/sysmig/src/${Component_name}

      Target component package

      /opt/DevKit/workspace/devadmin/porting/sysmig/target/${Component_name}

      Note 1: Determine the paths to the source and target component packages as prompted.

      If a corresponding feature directory does not exist, manually create it. As an example, the following describes how to batch import source components.

      1
      2
      3
      mkdir -p /opt/DevKit/workspace/devadmin/porting/sysmig/no_source_package/
      chown -R username:username /opt/DevKit/workspace/devadmin/porting/
      chmod -R 700 /opt/DevKit/workspace/devadmin/porting/
      
      • /opt is the default installation directory. Replace it with the actual directory.
      • username indicates the DevKit installation user. Replace it with the actual user.