Specifications
2
Performing an update using rfw-update
18
Step 3: Prepare the Linux host
Prerequisites
Thehostsystemthatrunsrfw‐updatemustbeaLinuxhostwithLANaccesstothemodules
installedintheshelf.ThehostsystemmustberunningPerlversion5.8.5,andspecificLinux,
Radisys,andPerlRPMsmustalsobeinstalled.SeeGettingrequiredpackagesforthelistof
requiredRPMs.
Allupdatetargetsmustbeaccessiblefromthehostrunningrfw‐update.AnATCA‐4500CPM
intheshelftobeupgradedcanbeusedforthispurpose.
Radisyshasvalidatedrfw‐updateonaDell™PowerEdge™1UserverrunningRedHat®
EnterpriseLinux4.Therfw‐updateutilityisalsosupportedonWindRiverPlatformfor
NetworkEquipment,LinuxEdition,version1.4,andonMontaVista®Linux,Carrier Grade
Edition5.
Getting required packages
PreparingthehostrequiresinstallingLinuxRPMpackagesfromthePromentumimage.You
canfindtheRPMsbydecompressingtheCPMfileendingin<version>.tgz.TheRPMsforeach
supportedOSarelocatedunderthepackagesdirectory.SeePreparingthehostsystemon
page 18fordetailsondecompressingthe<version>.tgzfile.
ThisRadisysRPMisrequiredforuseoftherfw‐updateutility:
•rfw‐update‐<version>.noarch.rpm
ThesePerlRPMsarealsoneededbyrfw‐update:
•perl‐YAML
•perl‐Expect
•perl‐IO‐Tty
•perl‐Net‐Telnet
•perl‐Inline
Preparing the host system
1. VerifythatPerlisinstalled onthehostsystembyentering:
perl‐v
Notes:
•IfPerlisnotinstalledonyoursystem,installitaccordingtoyourvendorinstructions.
•IftheversionofPerlyouareusingisnot5.8.5,enterthefollowingcommand:
exportPERL5LIB=/usr/lib/perl5/5.8.0/:$PERL5LIB
Theexportcommandassignsthepath/usr/lib/perl5/5.8.0tothePERL5LIB
environmentvariable.Therfw‐updateutilityplacesPerlmodulesinthe
/usr/lib/perl5/5.8.0/directory,soconfiguringPERL5LIBhelpsrfw‐updatefindthe
modules.