The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.
To synchronize a software channel, use the softwarechannel_syncrepos command, for example:
spacecmd {SSM:0}> softwarechannel_syncrepos oraclelinux7-x86_64-ksplice
The command returns immediately and does not show the status of
the synchronization. You can use the tail -f
command to view the log file
/var/logs/rhn/reposync/
.
channel_label
.log
To set up a schedule for channel synchronization, use the softwarechannel_setsyncschedule command, for example:
spacecmd {SSM:0}> softwarechannel_setsyncschedule oraclelinux7-x86_64-ksplice 0 30 2 ? * *
The example configures the
oraclelinux7-x86_64-ksplice
channel to be
resynchronized once every day at 10:30am. Specify the schedule
in Quartz format. See
http://www.quartz-scheduler.org/overview/ for
more information.
To list the scheduled channel synchronizations, use the softwarechannel_listsyncschedule command, for example:
spacecmd {SSM:0}> softwarechannel_listsyncschedule
key Channel Name Update Schedule
----- --------------------- ---------------
114 oraclelinux7-x86_64 0 0 1 ? * *
115 oraclelinux7-x86_64-addons
177 oraclelinux7-x86_64-ksplice 0 30 2 ? * *
120 oraclelinux7-x86_64-optional
127 oraclelinux7-x86_64-patch 0 0 3 ? * *
123 oraclelinux7-x86_64-spacewalk24-client 0 0 4 ? * *
124 oraclelinux7-x86_64-spacewalk24-server 0 30 4 ? * *
125 oraclelinux7-x86_64-uek-r3 0 0 1 ? * *
126 oraclelinux7-x86_64-uek-r4 0 30 0 ? * *
To remove a scheduled channel synchronization, use the softwarechannel_removesyncschedule command, for example:
spacecmd {SSM:0}> softwarechannel_removesyncschedule oraclelinux7-x86_64-uek-r3