import_swlib_cache_files

Imports Software Library entity files from a compressed file to a cache node.

Format

emcli import_swlib_cache_files
      -source_directory_path="source_directory_path"
      -zip_file_name="zip_file_name"
      -source_host_name="source_host_name"
      -cache_node_name="cache_node_name"
      -cache_node_name="cache_node_name"
      -source_host_tmp_directory="source_host_tmp_directory"

Parameters

  • source_directory_path

    Location on the host where the compressed file for import is available.

  • zip_file_name

    Name of the compressed file for import. Make sure the compressed file is readable by the credentials saved with the cache node.

  • source_host_name

    Name of the host target on which the compressed file is created.

  • source_host_tmp_directory

    Directory on the source host in which temporary files are created during import. Make sure this directory is writable by the credentials saved with the cache node.

Example

The following example imports the compressed file /u01/import_loc/exportedfile.zip from the host import.us.acme.com, to cache node west_cache_node on the same host. After import, the files are cached on this cache node and staging of these files to targets in the west_cache_node group can be faster.

emcli import_swlib_cache_files
      -source_directory_path="/u01/import_loc"
      -zip_file_name="exportedfile.zip"
      -source_host_name="import.us.acme.com"
      -cache_node_name="west_cache_node"
      -source_host_tmp_directory="/tmp"