9.2.5.1 ahfctl upload
Use the ahfctl upload
command to configure upload
parameters.
You can run the upload
command as
root
or a non-root user.
Syntax
ahfctl upload
[-h]
[-debug]
[-name NAME]
[-id ID]
[-file FILE]
[-header HEADER]
[-tls TLS]
[-ciphers CIPHERS]
[-insecure <True/False>]
Parameters
Table 9-18 ahfctl upload Command Parameters
Parameter | Description |
---|---|
|
Specify the name of the debug script file. |
|
Specify the name of your configuration. For example, sftpconf to upload a file using SFTP. |
|
Specify the identifier number, for example, SR number. |
|
Specify the name of the file to upload, for
example,
|
|
Stores the
For example, to set the
header: |
|
Specify the version of TLS for curl OSS upload. |
ciphers |
Specify ciphers for curl OSS upload. |
|
Enables or disables security. |
Example 9-28 Upload to MOS using ahfctl upload:
ahfctl upload -name mos -id 3-23104325631 -file
/opt/oracle.ahf/data/repository/auto_srdc_ORA-00600_20200706T18:58:09_myserver
1.zip
Example 9-29 Upload to MOS using ahfctl diagcollect:
ahfctl diagcollect -upload mos -srdc ORA-00600 -id 3-23104325631
or
ahfctl diagcollect -srdc ORA-00600 -sr 3-23104325631
Ensure that the MOS configuration name is "mos
". For
more information, see ahfctl setupload.
Parent topic: Running AHFCTL Upload Commands to Upload Diagnostics