| Synopsis |
- To create the AutoUpdateScheduler, run the command.
racadm autoupdatescheduler create -u <user> -p <password> -l <location> -f <filename> -time <time> -dom <DayOfMonth> -wom <WeekOfMonth> -dow <DayofWeek> -rp <repeat> -a <applyreboot> -ph <proxyHost> -pu <proxyUser> -pp <proxyPassword> -po <proxyPort> -pt <proxyType>
- To view AutoUpdateScheduler parameter, run the command.
racadm autoupdatescheduler view
- To clear and display AutoUpdateScheduler parameter,
run the command.
racadm autoupdatescheduler clear NOTE:After the parameters
are cleared, the AutoUpdateScheduler is disabled. To schedule the
update again, enable the AutoUpdateScheduler.
|
| Input |
Valid options:
- -u — Specifies the user name of
the remote share that stores the catalog file.
NOTE: For CIFS, enter the
domain name as domain or username.
- -p — Specifies the password of
the remote share that stores the catalog file.
- -l — Specifies the network share
(NFS, CIFS, FTP, TFTP,HTTP, or HTTPS) location of the catalog file. IPv4
and IPv6 addresses are supported.
- -f — Specifies the catalog location
and the filename. If the filename is not specified, then the default
file used is catalog.xml.
NOTE: If the file is in
a subfolder within the share location, then enter the network share
location in the –l option and enter the subfolder
location and the filename in the –f option.
- -ph — Specifies the FTP/HTTP proxy
host name.
- -pu — Specifies the FTP/HTTP proxy
user name.
- -pp — Specifies the FTP/HTTP proxy
password.
- -po — Specifies the FTP/HTTP proxy
port.
- -pt — Specifies the FTP/HTTP proxy
type.
- -time — Specifies the time to schedule
an autoupdate in the HH:MM format. This option must be specified.
- -dom — Specifies the day of month
to schedule an autoupdate. Valid values are 1–28, L (Last day) or
'*' (default — any day).
- -wom — Specifies the week of month
to schedule an autoupdate. Valid values are 1–4, L (Last week) or
'*' (default — any week).
- -dow — Specifies the day of week
to schedule an autoupdate. Valid values are sun, mon, tue, wed, thu,
fri, sat, or '*' (default — any day).
NOTE:The -dom, -wom, or -dow option
must be included in the command for the autoupdate schedule. The *
value for the options must be included within ' ' (single quotation
mark).
- If the -dom option is specified,
then the -wom and -dow options are
not required.
- If the-wom option is specified,
then the-dow is required and -dom is not required.
- If the-dom option is non-'*', then
the schedule repeats by month.
- If the-wom option is non-'*', then
the schedule repeats by month.
- If the-dom and -wom options are '*' and the -dow option is non-'*',
then the schedule repeats by week.
- If all the three -dom, -wom and -dow options are '*', then the schedule repeats
by day.
- -rp — Specifies the repeat parameter.
This parameter must be specified.
- If the-dom option is specified,
then the valid values for -rp are 1–12.
- If the-wom option is specified,
then the valid values for -rp are 1–52.
- If the-dow option is specified,
then the valid values for -rp are 1–366.
- -a — Applies reboot (1 — Yes, 0 —
No). This option must be specified.
|
| Example |
Usage examples:
- To configure autoupdate feature settings.
- For CIFS, run the command:
racadm autoupdatescheduler create -u domain/admin -p xxx -l //1.2.3.4/share -f cat.xml -time 14:30 -wom 1 -dow sun -rp 1 -a 1
- For NFS, run the command:
racadm autoupdatescheduler create -u nfsadmin -p nfspwd -l 1.2.3.4:/share -f cat.xml -time 14:30 -dom 1 -rp 5 -a 1
- For FTP, run the command:
racadm autoupdatescheduler create -u ftpuser -p ftppwd -l ftp.test.com -f cat.xml.gz -ph 10.20.30.40 -pu padmin -pp ppwd -po 8080 -pt http -time 14:30 -dom 1 -rp 5 -a 1
- For HTTP, run the command:
racadm autoupdatescheduler create -u httpuser -p httppwd -l http://test.com -f cat.xml -ph 10.20.30.40 -pu padmin -pp ppwd -po 8080 -pt http -time 14:30 -dom 1 -rp 5 -a 1
- For TFTP, run the command:
racadm autoupdatescheduler create -l tftp://1.2.3.4 -f cat.xml.gz -time 14:30 -dom 1
-rp 5 -a 1
- To view AutoUpdateScheduler parameter:
racadm autoupdatescheduler view
hostname = 192.168.0
sharename = nfs
sharetype = nfs
catalogname = Catlog.xml
time = 14:30dayofmonth =1
repeat = 5
applyreboot = 1
idracuser = racuser
- To clear and display AutoUpdateScheduler parameter:
racadm autoupdatescheduler clear
RAC1047: Successfully cleared the Automatic Update (autoupdate) feature settings
|