Use the supportupload command to upload files to a node or
system.
Syntax
satask supportupload [ -pmr pmr_number ] [ -filename filename ] [ -help ] [ -abort ] [ panel_name ]
Parameters
- -pmrpmr_number
- (Optional) Specifies the PMR (software service request) number that is related to a service
report or request. If you do not specify this parameter, the system uses the machine type (MTM) and
serial number during the upload. The PMR value that is specified must be a 13-character alphanumeric
string in the format ppppp,bbb,ccc, where:
- p indicates PMR.
- b indicates branch.
- c indicates country.
- -filenamefilename
- (Optional) Specifies the file name to be uploaded. If you do not specify this parameter, the
system uses the most recent snap file that is available in the /dumps directory
to upload. The value that is specified must be a 256-character alphanumeric string.
- -help
- (Optional) Specifies that usage information is displayed.
- -abort
- (Optional) Specifies upload cancellation.
- panel_name
- (Optional) Specifies the node that is being serviced. The value must be an alphanumeric
string.
Note: If not specified, this variable applies to the node on which the command is running.
Description
This command starts or stops node or system file uploads.
Note: If you do not specify a PMR number,
files are uploaded to the server (MTSM specific location) under machine type and serial number attributes. Any user can specify this CLI command.
If you specify an incorrect, invalid, or unknown PMR, the files
are uploaded to the system with the prefix unknown_pmr_pmrnumber_filename.
Remember: Before you specify this command:
- Make sure that you have internet access for all nodes.
- Configure service IP addresses on all nodes in your system.
- Request your network administration to let the firewall allow connections to the following
Internet Protocol (IP) addresses on port 443:
- 129.42.56.189
- 129.42.54.189
- 129.42.60.189
- Configure a DNS server by specifying mkdnsserver to define a Domain Name
System (DNS) server and lsdnsserver to display its values.
If you specify this command on a remote node, the upload completes by using the service IP
address and port of that remote node.
Note: Only one file upload at one time is supported per
node.
Do not specify the supportupload and snap commands
simultaneously to upload files, or a message that indicates an upload is in progress is displayed.
One upload can be completed at one time per node by using
supportupload/snap/svc_snap.
Remember: Specify
lscmdstatus to display detailed results.
For example, specify
sainfo lscmdstatus:
last_command satask supportupload -pmr 79556,019,866
last_command_status CMMVC8044E Command completed successfully.
T3_status
T3_status_data
cpfiles_status
cpfiles_status_data
snap_status
snap_filename
installcanistersoftware_status
supportupload_status Active
supportupload_status_data Uploading
supportupload_progress_percent 56
supportupload_throughput_KBps 99939
supportupload_filename /dumps/snap.single.7830619-1.161219.161359.tgz
downloadsoftware_status
downloadsoftware_status_data
downloadsoftware_progress_percent 0
downloadsoftware_throughput_KBps 0
downloadsoftware_size
An invocation example
satask supportupload -abort
The resulting output:
No feedback (use lscmdstatus to display support upload information)
An invocation example
satask supportupload -pmr 79556,019,866 -filename /dumps/snap.single.7830619-1.161219.161359.tgz
The resulting output:
No feedback (use lscmdstatus to display support upload information)