9.2.2.2 ahfctl setupdate
Use the ahfctl setupdate
command to set update
parameters.
Note:
You need AHF install user privileges to run theahfctl setupdate
command.
Syntax
ahfctl setupdate
[-h]
[-all]
[-swstage SWSTAGE]
[-autoupdate AUTOUPDATE]
[-servicename SERVICENAME]
[-fstype FSTYPE]
[-frequency FREQUENCY]
Parameters
Table 9-7 ahfctl setupdate Command Parameters
Parameter | Description |
---|---|
|
Specify to configure all parameters. |
|
Specify the software stage
location, for example,
|
|
Specify to enable or disable autoupdate.
Default: |
|
Specify the name of the REST download service.
Default: |
|
Specify the stage location file system type,
for example,
|
|
Specify the autoupdate frequency in days in the range (1,30), for example, 15. |
|
Specify the |
Example 9-9 Set update configuration
ahfctl setupdate -swstage /opt/oracle.ahf -autoupdate on
Example 9-10 Set all update parameters
ahfctl setupdate -all
Enter autoupdate flag <on/off> : on
Enter software stage location : /scratch/ahf_stage
Enter auto update frequency : 30
AHF autoupdate parameters successfully updated
Successfully synced AHF configuration
Example 9-11 Disable autoupdate
ahfctl setupdate -autoupdate off
AHF autoupdate parameters successfully updated
Successfully synced AHF configuration