9.2.4.2 ahfctl setupgrade
Use the ahfctl setupgrade
command to set upgrade
parameters.
Syntax
ahfctl setupgrade
[-h]
[-all]
[-swstage SWSTAGE]
[-autoupgrade AUTOUPGRADE]
[-upgradetime UPGRADETIME]
[-fstype FSTYPE]
[-tmp_loc TMP_LOC]
[-remove_installer REMOVE_INSTALLER]
[-servicename SERVICENAME]
[-frequency FREQUENCY]
[-debug]
[-autoupdate AUTOUPDATE]
Note:
If you are not using the default port (443), then you must configure a custom port using the ahfctl setupload command to upgrade AHF successfully.Parameters
Table 9-15 ahfctl setupgrade Command Parameters
Parameter | Description |
---|---|
|
Sets all the parameters. |
|
Specify the software stage location. For example:
|
|
Specify to turn on or off autoupgrade. For example: |
|
Specify the |
|
Specify the stage location filesystem type. For example: |
|
Specify the temporary location directory for AHF to extract the install archive. The specified directory must exist. Default
|
|
Specify this flag to remove AHF installer zip at stage location after auto upgrade. By default AHF does not remove the AHF installer zip. Valid values: |
|
Specify the name of REST download service. Default: |
|
Specify the autoupgrade frequency in the range (1,30) days. For example: 15 |
|
Specify the |
|
Specify to turn on or off to include or remove
Valid values: For example:
|
Example 9-20 Set upgrade configuration
ahfctl setupgrade -swstage /scratch/ahf_stage -autoupgrade on -frequency 21
AHF autoupgrade parameters successfully updated
Successfully synced AHF configuration
Example 9-21 Set all upgrade configuration
ahfctl setupgrade -all
Enter autoupgrade flag <on/off> : on
Enter software stage location : /scratch/ahf_stage
Enter auto upgrade frequency : 30
AHF autoupgrade parameters successfully updated
Successfully synced AHF configuration
Example 9-22 Turn off autoupgrade
ahfctl setupgrade -autoupgrade off
AHF autoupgrade parameters successfully updated
Successfully synced AHF configuration