9.2.2.2 ahfctl setupdate

Use the ahfctl setupdate command to set update parameters.

Note:

You need AHF install user privileges to run the ahfctl 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

-all

Specify to configure all parameters.

-swstage SWSTAGE

Specify the software stage location, for example, /opt/oracle.ahf.

-autoupdate AUTOUPDATE

Specify to enable or disable autoupdate. Default: on. Valid values: on|off.

-servicename SERVICENAME

Specify the name of the REST download service. Default: ahf_update_loc.

-fstype FSTYPE

Specify the stage location file system type, for example, nfs/acfs/local.

-frequency FREQUENCY

Specify the autoupdate frequency in days in the range (1,30), for example, 15.

-debug

Specify the -debug option to enable debugging.

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