Specifications

2
Performing an update using rfw-update
21
Step 5: Create a configuration file (conf.rfw)
Therfwupdateutilityusesaconfigurationtextfiletospecifywhichmodulesshouldbe
updatedandwhethertheywillbeupdatedinparallelwithothermodulestosavetime.The
textfilecanbeanyname,butitisnamedconf.rfwinthisdocument.
Theconf.rfwfilecontainsalistofbundleswithURLpathsandalistofupdatetargetswith
Telnetconnectstrings.TheupdatetargetconnectstringcontainstheIPaddressand,if
needed,logininformationtoallowaconnectionfromthehosttotheupdatetarg et.All
updatetargetsmustbeaccessiblefromthehostrunningrfwupdate.
Theconf.rfwconfigurationfilealsoidentifiesthelocationsoftheupdatebundles.Thebundles
intheconf.rfwfile mustcontainvalidURLpathsfromeachtargettoupdatebundles
somewhereonthesystem(notnecessarilyonthehost).
Thebundlesdonotneedtobeinthesamelocationwhererfwupdateisrunwithconf.rfw,
butthebundlesmustbeaccessiblefromtheupdatetargetusingthespecifiedURL.TheIP
connectionsareshowninthefollowingdiagram:
WARNING!DonotincludeaCPMthatisactingastheLinuxhostforrfwupdateintheconf.rfw
configurationfile.Includingthehostasanupdatetargetwouldinterrupttheupdateprocessfor
theCPMandpotentiallyforothermodulesintheshelf.Instead,updatetheCPMmanuallyusing
rsysupdateeitherbeforeorafterupdatingallothershelfcomponents.SeeChapter3,Using
rsysupdateforsingle
productupdates,onpage 31.
Theconf.rfwfilecanbesetuptoruntheupdateprocessonmodulessequentiallyorin
parallel.Whenmodulesareupdatedinparallel,theyareinthesamephasegroup.
See
Setup
phasegroupsonpage 22
.
Runmanrfwupdateforcompleteinformation.
Create conf.rfw from example.rfw
Youcangenerateconf.rfwfromtheexample.rfwtextfilethatisavailablein/usr/share/rfw
update/aftertherfwupdateinstallation.Thefileiscorrectlyformattedandcontainsmostof
thek eys,soedititasneededandsavethefileasconf.rfw.
Target
module
Host running rfw-update
tftp/ftp/www server
containing update bundle
IP address
(example: 10.10.10.1)
IP address
(example:
10.10.10.2)