Professional Documents
Culture Documents
TableofContents
RedHatNetworkOverview DeployingandManagingOpenSourceSolutions PartI:SettingUpYourEnvironment KickstartwithRHN PartIII:ManagingYourSystems Appendixes: 1.GettingmorefromRHNTheAPIAccessLayer 2.RunningRHNinHighlySecureEnvironments 3.KeyGlossaryTerms 22 23 24 2 5 5 12 13
PartII:RegisteringandTaskingYourSystems 11
Copyright 2005 Red Hat, Inc. Red Hat, Red Hat Linux, the Red Hat Shadowman logo, and the products listed are trademarks or registered trademarks of Red Hat, Inc. in the US and other countries. Linux is a registered trademark of Linus Torvalds. WHP0008US 7/05
RedHatNetworkOverview
Customerstodaydemandmuchmorefromtheirtechnologythan justbitstheyneedfullITsolutionsthatincludedeployment, patch,monitoring,andconfigurationtosolvetheircustomers' problems,reducecostsandcomplexity,increaseproductivity, andenhancesecurity.Thesetoolsneedtobetightlyintegrated withcontent,basedonindustrystandards,andeasytointegrate withtheexistingenvironment. TheRedHatNetworksolutionallowscustomerstochoosethe levelofservicesandarchitecturalmodelsrequireddependingon ITneeds.RHNisintegratedwithRedHatEnterpriseLinuxand otherRedHatofferingstoensurecustomersareabletomanage systemseffectivelyandwithminimumcomplexity.
ServiceEntitlements Thefirstquestioncustomersmustansweriswhatkindofservice entitlementstheywanttheirsystemstohave.RedHatNetwork currentlyconsistsoffourservicemodules:Update,Management, Provisioning,andMonitoring1.Customerspurchaseentitlements totheseservicesonanannualpersystemsubscriptionbasis. UpdateModuleIncludedwitheveryRedHatEnterpriseLinux subscription.UpdateModuleistheentrylevelofferingforRHN.It allowsyoutoeasilymaintainsinglesystemsandincludes functionalitysuchasagraphicaluserinterface,priority notification,erratainformation,RPMdependencychecking,and autoupdate. ManagementModuleManagementModuleallowsyouto manageyourentireRedHatEnterpriseLinuxorSun Solaris infrastructure.Designedforenterprisescalability,the ManagementModulefeaturessystemsgrouping,rolebased administrationforpoliciesandpermissions,scheduledactions, andhigherendfunctionalitywithSatelliteServersuchasthird partychannels,customchannels,localpackagecaching,andoff networkcapability.
1 Foracomparisonofthedifferentserviceentitlements,visitwww.redhat.com/software/rhn/.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork 2
ProvisioningModuleTheProvisioningModuleenablesyouto managethecompletelifecycleofyourLinuxinfrastructure.The ProvisioningModuleincludesfeaturessuchasOSprovisioning (frombaremetalboxesorpreviouslydeployedboxes), configurationmanagement,multistaterollback,scheduled remoteactions,Kickstartconfigurationtools,andRPMbased applicationprovisioning. MonitoringModuleTheMonitoringModuleallowsyouto maintaintheavailabilityofyourapplicationsonRedHat EnterpriseLinuxwithperformancemonitoring.Themodule includesmonitoringprobes,probesuites,notifications,and reporting. RHNserviceentitlementsarepricedonapersystem(orper node)basis.Thisbestpracticesoverviewassumesthepurchase ofallentitlementsforallexamplesprovided.
Figure1.HostedArchitecturalModel
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
Figure2.SatelliteArchitecturalModel
TheHostedmodelisthedefaultoptionwhencustomerspurchase anRHNentitlement.ASatelliteServer,whichiscapableof servingthousandsofsystems,mustbepurchasedseparately. Contactyourlocalsalesrepresentativeformoreinformation regardingscalabilitywithaSatelliteServer. RedHatalsooffersanotheroption:ProxyServer.TheProxy ServercanberunineitheraHostedorSatellitearchitectureand functionsasanintelligentcachingboxonthecustomer'slocal network.TheProxyServerconnectsdirectlytoRHNserversina HostedenvironmentanddirectlytotheSatelliteServerina Satelliteenvironment. ThispaperassumesthepurchaseoftheSatelliteServer(andthe useofProxyServerswhereappropriate)forallexamples.2 2 Forspecificpricinginformation,visitwww.redhat.com/software/rhn/purchase/orcontactaRedHatsales representativetollfree(USonly)at18662733428x45606.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork 4
DeployingandManagingOpenSourceSolutions
Thiswhitepaperwalksthroughatypicalscenariomostsystem administratorsmightfindwhendeployingandmanagingtheir Linuxsystems.Muchofthefunctionalitydescribedcanbeused inalternateways. Theusecaseassumesthatallsystemsareracked,powered,and networked.Italsoassumesthatthesystemadministratoris responsibleforadynamicenvironment,includingenvironments where:
PartI:SettingUpYourEnvironment
InstallSatellite ThefirststeptoconfiguringyourRHNenvironmentistosetup yourSatelliteServer.ThissystemconnectsbacktoRedHat Network(unlessyourundisconnected)andserveasthecentral repositoryandhubofconnectionforallofyourclientsystems. Tooptimizeyourinstallation,RedHatrecommendspurchasinga oneweekProfessionalServicesconsultingpackage.ARedHat professionalwillcometoyoursitetoandtrainyourstaffon troubleshooting,impendingchanges,andenhancedfunctionality availableforyourSatelliteServer. IfyouchoosetoinstalltheSatelliteServeronyourown,youstill receive24x7x365installationandproductionsupport.Foralist oftechnicalandhardwarerequirementsneededtoinstall SatelliteServer,visit www.redhat.com/software/rhn/requirements/.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
RedHatEnterpriseLinuxbasechannelsAbasechannel providescontentforRedHatEnterpriseLinux.Basechannels includeRedHatEnterpriseLinuxAS,ES,WS,andDesktop, RedHatApplicationServer,etc. RedHatEnterpriseLinuxcorebuild(s)Manycustomers choosetodevelopacoreLinuxbuildfortheirenvironment. Formoreinformationregardingcorebuilds,speakwithyour localsalesperson. CustomcontentAnycustomcontent(applicationsor otherwise)thatyouwouldliketodistribute,install,and manageonyoursystemsviaRHN. ThirdpartyapplicationsorcontentThirdpartyapplications youwishtomanagewithRHN. SolariscontentSolarispackages,patches,andpatchsets canbedistributed. ConfigurationfilesAlltextbasedconfigurationfilescanbe storedandmanagedusingRHN.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
Figure3.SystemandChannelPermissionsperUser
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
RedHatbasechannelThischannelthatreceivesnew packagesfromRedHat.Thischannelregularlyreceivesnew contentandisupdatedatanintervalsetbythecustomer, typicallyonanhourlyordailybasis. DevelopmentThischannelreceivesselectedpackagesfrom thebasechannel,butonlythosepackagesthatthe organizationwantstoapplytotheirsystems.Developerscan thentestandconfigurepackagesinthechannel. TestingandQAOncethedevelopersarefinisheddeveloping packages,theyarepushedtothetestingandQAchannels. TheQAorganizationwilltheninstallthesepackagesontest machinessubscribedtotheTesting&QAchannelastheir parentchannel.Aftertestingthesepackages,theQA departmentwillpushthepackagesthatpassedQAtothe productionstage.PackagesthatfailedQAwilleitherstayin QAforfurthertestingorbesentbacktodevelopment. ProductionOncetheproductionstagereceivespackages, theycanbeinstalledonproductionsystems.Thesesystems areregisteredtotheproductionchannelastheirparent channel.Bybreakingthechannelsintoastagedenvironment, RHNmakesiteasierforcompaniestomanagetheflowand testingoftheircontenttoproductionsystems.
Afewfeaturesareusedtosuccessfullyimplementthisprocess:
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
Figure4.ChannelCreation
CloneandmanageerrataThisprovidestheabilitytoclone erratabetweenthechannels.Thisisusedwhenyouwould liketomoveanerratabetweenthetwochannelsbutdonot wishtoclonetheentirechannel(s).RHNallowsyoutoclone andreplicateerrataindividuallyoringroups. AutoupdateSomecustomerschoosetoautoupdatetheir systems,especiallywhenusingstagedenvironmentswhere anynewcontentwillberigorouslytestedbeforemakingitto theproductionchannel.Whenusingautoupdate,theuser canconfiguretheclienttoreceiveupdatesonaregulartime interval(establishedbytheuser),andtheninstallallchanges thathavebeenaddedtothesystem'sparentand/orchild channels.
DefineGroupsRHNunderstandsthatyouhavedifferent
9
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
Figure5.SystemsGrouping
PartII:RegisteringandTaskingYourSystems
1. SystemalreadyrunningRedHatEnterpriseLinux.Ifyour systemalreadyhasRedHatEnterpriseLinuxinstalled, registerthesystemwithRHNbyrunningtheregister command.Whenyouregister,youcanalsogivethesystem anactivationkeytoautomaticallyassignittheproper permissions,group(s),andchannels(contentand configurations).Ifyouareregisteringmultiplesystems,you canwriteasimplescripttoimplementtheactiononall systems. 2. SystemnotrunningRedHatEnterpriseLinuxDVDInstall. InstallRedHatEnterpriseLinuxviatheinstallationDVDor otherformofmedia.Theprocessisthenthesameasabove. 3. SystemnotrunningRedHatEnterpriseLinuxPXEBoot Install.SetupaDHCPandPXEserverthatusesaKickstart scripthostedonRHNtoprovideimagesfortheOS.Duringthis process,theKickstartscriptcanalsoassignthenecessary activationkeyandcompletetheyoursystem'sregistration. Oncethesystem(s)hasbeenregisteredwithRHN,youareready totaskthem.Youcantasktheminthefollowingways: 1. Matchinganothersystem.Pointyournewlyregisteredsystem atanexistingsystemandaskRHNtoreplicatethedesired characteristicsonthenewsystem.Thenrunup2dateonthe newsystem,andRHNwillcompletelyupdateyourboxsothat itmirrorstheoriginalone. 2. Matchingastoredprofile.Liketheprocessabove,thisisdone usingasystemimageratherthanalivesystem.Some companiesprefertobringalloftheirsystemstoaknown genericormasterstateatregistration,whichallowsthema
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork 11
KickstartwithRHN
KickstartisawaytoautomateinstallationofRedHatEnterprise Linuxonyoursystems.Thisisaccomplishedbycreatingafile (ks.cfg)thatcontainsresponsestoallthequestionsaskedbythe installationprogramduringinteractiveinstallation.Oncethefileis created,itcanbecopiedontoanormalRedHatEnterpriseLinux bootdiskorsavedinRedHatNetwork.Whenthisdiskordisk imageisusedtobootacomputer,thebootingsequencefindsthe Kickstartfileandautomaticallyinstallsbasedonthevaluesinthe file. Thistypeofinstallationisusefulforseveralreasons.Firstand foremost,itismuchfasterandeasierthanmanuallyenteringall theinformation.Second,theKickstartfilemakesiteasierto executeidenticalinstallations.Third,installationcanbedone overanetwork,meaningthatseveralnodescanbeinstalled simultaneously.Finally,the%postsectioncanautomatemany configurationdetailsthatwouldnormallyhavetobeexecutedby handaftertheinstallationiscomplete. RedHatNetworkaddsvaluetotheprocessbyprovidingyouwith theabilityto:
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
12
RemotelyadministerKickstartfilestosystems.RHNprovides remoteadministrationtosystems,includingtheabilityto reprovisionsystems,savingyouthehassleofhavingtousea bootdiskateachindividualsystem. CombineyourKickstartactionswithotherRHNactionsfora completeautomateddeployment.Youcaninsertcommands intothe%postsectionoftheKickstartscriptorschedule actionstooccuraftertheKickstartscriptruns.Throughthe efficientuseofKickstartwithRHNandotherRHNcommands, youcancontrolyourenvironmentinacompletelyremoteand efficientmanner.
PartIII:ManagingYourSystems
Nowthatyouhavedeployedandtaskedallofyoursystems,you canbeginusingandmanagingthem.Thissectionoutlineshow simplepatching,managing,(re)deploying,andmonitoringyour systemscanbewithRHN.
ObtainNotificationRHNnotifiesyouofnewerrataforyour systems.Forindividualusers,theappletonyourGUIwill flashwhenupdatesareavailable.Forusersmanaging multiplesystemsthroughthewebinterface,checkingthe channels,systems,orgroupsinRHNdisplaysthosethathave receivedupdatederrata.Administratorsalsoreceiveemail withinformationaboutanynewerrata. UnderstandErrataInformationErratainformationisincluded inemailsenttousersandispresentedonthewebinterface. RHNprovidesthisinformationsothatusersgetacomplete understandingofwhatthepatchisandwhyitisbeingapplied. Alsoincludedarenotesaboutconfigurationspecificationsor otherinformationthatITprofessionalsmayfinduseful.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
13
EvaluatethepatchesthroughthestagedenvironmentsAtthis point,yourSatelliteServerwillhavealreadysyncedwith updatedcontentonRHNunlessyouarerunningina disconnectedmode.Thetimingandintervalofthis synchronizationprocessisestablishedbytheSatelliteOrg Admin.AsdiscussedintheStageContentsectionabove,you cannowusetheerratacloningandmanagementfunctionality tomoveerratathroughthedifferentstagedenvironmentsin yourinfrastructure. CustomizeerrataasnecessaryErratamanagementcanalso beusedtomakecustomizedchangestoanerrataasitmoves fromstagetostage.Forexample,youmightwanttoapplyan erratatotwodifferentgroupsoneinTokyo,theotherin Atlanta.Iftheseerratacontaindifferentconfiguration instructions,youcaneasilyspecifythoseinstructionsinthe errataandmakesurethateachgroupreceivesacustom errataspecificfortheirenvironment.
Figure6.CustomizingyourErrata
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
Figure7.SystemSearch
Figure8.SystemSetManager
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
Figure9.ProvisionyourSystems
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
16
Figure10.ProvisioningConfigurationFiles
RollbackandRecovery TofullyappreciatehowRHNprovidesrollbackandrecovery,itis necessarytogiveanoverviewofhowRHNrecordssnapshotsof yoursystems.WhenasystemisgivenaProvisioningentitlement, RHNimmediatelybeginsstoringsnapshotprofilesofthatsystem wheneveranychangeismade.Thosechangescaninclude updatedpackages,changedpermissions,addedorsubtracted channels,newconfigurationfiles,oradditionstonewgroups. Eachchangeisrecorded,timestamped,andstoredinthecentral database. BystoringthesesnapshotprofilesasshowninFigure11,auser cancomparetwosuchprofilesagainsteachotheranddirectthe machinetotakeonadesiredstate.Intheeventofarollback,the
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
17
Figure11.SystemSnapshots
RedHatNetworkchosetofollowthismethodofperforming rollbackfortworeasons.First,incaseswheremultiplestateshad toberolledback,thesnapshotmethod(ormultistate)isfar moreeffectivethanrollingbackmanyiterativestatesthrough RPM.Rollingbackthroughmanystatesrisksmismanaging configurationsorothererrorsrepeatedly.Second,thismethod allowsuserstoeasilyrecovertheirsystemsintheeventthat thereisaclientfailure.Sincethesnapshotisstoredcentrallyin thedatabase,itisasimplematterofbringingasystembackup andthenpointingittotheimageofthelatestknowngoodstate. Itshouldbenotedthatwhenasystemisrolledback(orpointed toanotherimagetoclone),itisnotjustpackagechangesthat occur.Thesechangesincludepermissions,grouporchannel changes,configurationfiles,andotheractionsthatmayhave beenmadeagainstthesystem.Theremaybecaseswhenitis cleanertoreinstalltheOScompletely.Inthesecases,RHNuses logictodiscernifreprovisioningthesystemisabetterprocess thanmakingalltheindividualchanges.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
18
ReprovisionyourSystems RedHatNetworkcanbeanimportanttoolforenablingaflexible infrastructure.Manytimes,systemsaredeployedforaparticular function,suchasanapplicationserverorwebserver.Business needs,suchaschangingprojectsorcustomerdemand,may requirethatthesystemberepurposedforadifferentuse.Rather thanmanuallyadjustingthepackages,applications,and configurationsonthesystem,RedHatNetworkallowsyouto chooseaprofileandactivationkeyforthetypeofsystemneeded andRHNwillquicklyhandlereprovisioningthesystemtomeet thenewrequirement. Forsomecustomers,itmaymakesensetowipesystemsclean andreinstalltheimagetomakesurethatnootherfilesor changeshavebeenappliedoutsidetheRHNapplication.Inthis event,RHNstoresthestateofyoursystem,andthenre provisionsthesystemaccordingly.Settingsarethenrestored, packagesandconfigurationfilesreapplied,anddatareloaded. Notethatreprovisioningisonlyforserversthatdonotserveas datastoragerepositories.Ifyourserverisusedasastorage device,thedatamusteitherbebackeduptootherserversand/or putintoRPMformatandloadedintoanRHNchannel.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
19
Figure12.CreateandConfigureProbes
ConfigureprobesEachprobecanbeconfiguredforwarning andcriticalperformancethresholds.Whenthesethresholds arereached,emailorpagernotificationscanbesentto peopleidentifiedintheprobe. DefineanddeployprobesuitesYouwilloftendeploythe sameprobesacrossyoursystems,particularlyacross systemsofasimilartype.WithRedHatNetwork,youcan creategroups,orsuites,offullyconfiguredprobes.These suitesarethendeployedtoagivensystem,orgroupof systems,allatonceratherthanaddingthemoneatatime. Oncedeployed,youcangloballyadjusttheprobe configurationsforallsystemsthatreceivedthesuite.Youcan alsodecoupledeployedprobesfromaprobesuiteifsystem leveltweaksareneeded.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
20
Figure13.ProbeSuites
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
21
APPENDIX1: GettingMorefromRHNTheAPIAccessLayer
RedHatknowsthatcustomersvaluechoice,andwealsoknow thateverycustomer'ssystemsmanagementneedswillbealittle differentdependingontheexactsolutionthatisbeingdesigned. Toaccommodatethis,RedHatNetworkisbuiltwithflexibilityin mindandfeaturesafullsetofAPIstoensureeasyintegration withyourenvironment.Somepotentialadditionalfunctionality availableinconjunctionwithRedHatNetworkAPIsare: AutomationCreatescriptsthatletyouperformactionsmore quicklythannavigatingtheRHNGUI. ThirdpartyintegrationIntegrateactionsfromRHNwithother thirdpartytoolstoprovideamorerobustsolution. CustomapplicationintegrationUseRHNasacomplimentto yourexistingprocessesandsolutions.RHNdoesnotrequirethat youreplaceyourexistingenvironmentorthatyouuseonlyour productsinyoursolution. FormoreinformationregardingtheAPIscurrentlyavailable,goto https://rhn.redhat.com/rpc/api/. Lastly,RedHattakesrecommendationsonnewcallstotheAPI layerwitheachrelease.Ifyouareinterestedinlearningmore aboutthisfunctionalityand/orhavearecommendationforRed HatNetwork,consultyoursalespersonorsalesengineer.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
22
APPENDIX2: RunningRHNinHighlySecureEnvironments
KeepingyourSatelliteServerconnectedtothecentralRHN serversviatheInternetprovidesyourcompanywithan immediateandautomatedstreamofRedHatcontent.For increasedsecurity,however,somecustomersopttorunina disconnectedorcompletelyoffnetworkmode.Typically,RedHat seestwokindsofdeployments: 1.DisconnectedInthedisconnectedmode,customerssynctheir SatelliteServerstotheInternetonlyforpredefinedtimeperiods andonlylongenoughtopulldownthenecessarycontent changesfromthecentralRHNservers.Essentially,thisprocess isthesameasbeingalwaysconnectedexceptthatyouwillonly receiveupdatesatpredeterminedtimes. 2.OffNetworkSatelliteServeroffersthecapabilitytotakean infrastructurecompletelyoffthenetwork.Customerscanpull downISOsandpackagesinoneoftwoways: Havephysicalmediashippedtothem. Pulldownpackages/ISOstoaconnectedsystem,andapply thesepackagestophysicalmedia.Packagescanthenbe installedfromthephysicalmediaontotheSatelliteServer directly. TounderstandmoreabouthowyoucanuseRedHatNetworkin highlysecureenvironments,talkwithyoursalespersonorsales engineer.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
23
APPENDIX3: KeyGlossaryTerms
DefinitionsoffeaturesandfunctionalityavailableinRedHat Networkandreferencedinthiswhitepaper
ActivationKeysAuniqueRHNgeneratedkeythatcanbeusedbyan administratortoregisterasystemtoRHN,entitlethesystem,subscribe thesystemtoselectedchannels,andthenassignthesystemto predeterminedgroupsandpermissions.Thisprocesssavestimeand allowsnewsystemstobedeployedintoproductionimmediately. APIAccessLayerApplicationProgramInterface.RHNprovidesanAPI layerthatallowsuserstoeasilyinteractandintegratewithRHNtoallow RHNtofitintotheirexistingenvironmentsaswellasaugmentthe functionalityofRHN. ArbitraryActionsActionsthatcanbeexecutedagainstspecificsystems inconjunctionwithotheractionsexecutedbyRHN.Forexample,an administratormaywishtoexecuteareboot(orother)commandona specificsystemafterupdatingthatsystem.Arbitraryactionsallowsthe administratortoschedulethatcommandtotakeplaceaftertheupdate occurs. AutoUpdateTheabilitytohaveasystemautomaticallyupdateitselfof anynewpackagesthathavebeenaddedtothechannelstowhichthat systemissubscribed. BareMetalProvisioning(w/PXE)Theabilitytoprovisionasystem withoutapreinstalledoperatingsystembyusingPXEBootin conjunctionwithRHNSatelliteServer.Thisfunctionalityallowsforrapid deploymentofnewserversintoyourproductionenvironment. BaseChannelAbasechannelisatypeofchannelthatconsistsofalist ofpackagesbasedonaspecificarchitectureandRedHatrelease.For example,allthepackagesinRedHatEnterpriseLinuxAS3forthex86 architecturemakeabasechannel. ChannelAchannelisalistofpackages.Channelsareusedtochoose packagestobeinstalledfromclientsystems.Everyclientsystemmust besubscribedtoonebasechannelandcanbesubscribedtooneor morechildchannel(s). ChannelCloningandManagementTheabilitytocloneachanneland managethedeploymentofchannelsintoyourenvironment.Channel cloningandmanagementisusedtoduplicatechannelsortosetup stagedenvironments.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork 24
ChannelPermissionsTheabilitywithinRHNtoassignpermissionsto differentusersforaccesstodifferentchannels.Thisfeatureensuresthat onlyuserswhohavebeengrantedaccesscanmanagedefined channels. ConfigurationChannelsChannelsthatfunctionasrepositoriesfor configurationfiles. ConfigurationManagementTheabilityforRHNtomakeremote changestoconfigurationfilesthroughtheRHNinterface.RHNcan maketheseconfigurationchangestoanytextbasedfileinthemanaged system'sfilespace. CustomChannelsChannelsthatfunctionasrepositoriesforcustom content.AslongascontentisproperlypackagedintheRPMformat, administratorscanuseRHNtomanagecustomcontentthroughouttheir environment. DeltabasedActionsThefunctionalityisusedbyRHNwhenperforming systemcloningand/orrollback.RHNlooksatthedifferences(ordeltas) betweenthecurrentanddesiredstateofthesystemandthenexecutes thenecessaryactionstoprovisionyoursystemtothedesiredstate. DependencyCheckingTheprocessundertakenbyRHNthroughRPM toensurethatwhenanupdateisappliedtoasystem,thesystemhasall thenecessarydependencypackagesneededtomaketheupdate.Ifthe systemdoesnothaveallofthenecessarydependentpackages(orif theyareofearlierversionsnotyetupdated),RHNwillincludethose (updated)packagesintheupdate. DisconnectedSatelliteSeeOffNetworkCapability EmailNotificationAnalertsentbyRHNviaemailaboutnewerrata, failedactions,orotherrequestssetbytheuserregardingthestateof theirsystem(s). ErrataInformationpublishedbyRedHatdescribingsecurityfixes,bug fixes,andpackageenhancementsforRedHatEnterpriseLinux.The informationincludesthetopicsoftheerrata,BugzillabugIDs,relevant releases/architectures,solutionsincludingrequiredRPMs,andMD5 checksumsforverification. ErrataCloningandManagementTheabilitytocloneandmanage (createandmakechangesto)thedeploymentoferrataintoyour environment.Erratacloningandmanagementisusedtocreatecustom errataortopasserratathroughstagedenvironments.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
25
KickstartKickstartisamethodofautomatingtheinstallationofRedHat EnterpriseLinuxontoacomputer.Thisisaccomplishedbycreatingafile (ks.cfg)thatcontainsresponsestoallthequestionsthatwouldbeasked bytheinstallationprogramduringinteractiveinstallation.RHNuses Kickstarttoprovisionsystems. LocalPackageCachingTheprocessofstoringorcachingcontent locallyonaProxyorSatelliteServerforfasterdownloadsandeasier distribution. OffNetworkCapabilityTheabilityforRHNSatelliteServertorunina completelydisconnectedoroffnetworkenvironment,therebyensuring thehighestlevelofsecurity.TosynctheSatelliteServer,itisnecessary tophysicallyprovidemediatotheSatelliteServer.Thismediacaneither bedownloadedandcreatedbyasystemthatdoeshaveaccesstothe InternetorbymediasenttothecustomerfromRedHat. OrgAdminOrganizationAdministratorsaresetsofusersthathavethe highestlevelofcontroloveranorganization'sRedHatNetworkaccount. Membersofthisgroupcanaddusers,systems,andsystemgroupsto theorganizationaswellasremovethem.AnOrganizationAdministrator canalsogiveusersadministrativeprivilegestosystemgroups.AnRHN organizationmusthaveatleastonememberoftheOrganization Administratorgroup. PackageAllsoftwareinRedHatEnterpriseLinuxisdividedinto softwarepackages.SoftwareupdatesarereleasedintheformofRPM packagesthatcanbeinstalledonaRedHatEnterpriseLinuxsystem. PackageProfileComparisonTheabilityforRHNtocomparesetsof packagesbetweentwosystemsorbetweenasystemandanexisting image.Thisallowstheusertoauditthepackagesofasystemor compareagainstanothersystem.ThisfunctionalityisalsousedbyRHN todeterminenecessarychangestoasystemwhenprovisioningthat system. ProvisioningTheactofprovidingasystemwithallofthenecessary componentstoeffectivelydeploythatserver.RHNusesKickstart functionalityandactivationkeystoprovisionasystemwithallnecessary components:permissions,channelsubscriptions,groups,operating system,additionalpackages,configurationchanges,andanyarbitrary actionsdefinedbytheuser. RPM(RedHatPackageManager)Asoftwarepackagemanagerthat wasdevelopedbyRedHat.Itcanbeusedtobuild,install,query,verify, update,anduninstallsoftwarepackages.Allsoftwareupdatesfrom RHNaredeliveredinRPMformat.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
26
RPMbasedApplicationProvisioningTheabilityforRHNtoprovision applicationsthatarepackagedintheproperRPMformat.Thisisdone byputtingtheapplicationpackagesinacustomcontentchanneland thenusingRHNtodistributetothedifferentsystems. ScheduledActionsTheabilitytoscheduleanactiontooccurwithina predefinedinterval.Scheduledactionscanbeusedtoaffectchangesin adeterminedsequenceofeventsortoselectadistincttimeperiodfor anactiontooccur. StateImageSnapshotRHNrecordssnapshotsofyoursystem wheneverthereisachangeinthestate.Thesesnapshotsarethen storedtocreateaprofileofyoursystemthatcanbeusedtorollback yoursystemorintheeventofdisasterrecovery. SystemCloningTheabilitytocloneasystemthroughtheuseofRHN provisioningfunctionality. SystemGroupingTheabilityforRHNtogroupmultipleindividual systemstogethersothattheycanbemanagedasasingleentity.This allowsadministratorstoeffectivelymanageanentiregroupofsystems aseasilyastheycouldmanageasinglesystem. SystemProfileHardwareandsoftwareinformationabouttheclient system.Itiscreatedduringtheregistrationprocessandregularly updatedbyRHN.ThesoftwareinformationisalistofRPMpackages andtheirversionsinstalledontheclientsystem.TheSystemProfileis usedtodetermineeveryerratarelevanttoeachclientsystem. SystemPermissionsTheabilitywithinRHNtoassignpermissionsto differentusersforaccesstodifferentsystems.Thisfeatureensuresthat onlyuserswhohavebeengrantedaccesscanmanagedefined systems. SystemSearchTheabilitytosearchthroughmanagedsystems.RHN allowsyoutosearchbypackages,hardwarecharacteristics,DMI information,networkinformation,definedassettags,andmore. SystemSetInterfacethatallowsuserstocreatetemporarygroupsand performactionsonmultiplesystems.ActionsincludeapplyingErrata Updates,upgradingpackages,andadding/removingsystemsto/from systemgroups.
BestPracticesforDeployingandManagingLinuxwithRedHatNetwork
27