Installing Cloud-init on Linux and AIX - Coursera
文章推薦指數: 80 %
此課程. 視頻腳本. IBM PowerVC, an Infrastructure as a Service (IaaS) enabling software, provides a self-service cloud console for managing IBM Power Systems ...
ListInstallingCloud-initonLinuxandAIXLoading...PrivateCloudManagementonIBMPowerSystemsIBMFilledStarFilledStarFilledStarFilledStarFilledStar4.9(39個評分) | 1.3K名學生已註冊課程3(共3門,LinuxandPrivateCloudAdministrationonIBMPowerSystems專項課程)免費註冊此課程視頻腳本IBMPowerVC,anInfrastructureasaService(IaaS)enablingsoftware,providesaself-servicecloudconsoleformanagingIBMPowerSystems.ItisbuiltonOpenStack.OpenStackisacollectionofopen-sourcesoftwareprojectsthatenterprisescanusetoruntheirownprivatecloudinfrastructure.
Thiscourseexplainsmostcloudmanagementfeatures,startingwithsettingupaprivatecloudenvironmentfromthegroundup.Itthencoversplanning,sizingandotheradvancedadministrativetasksyoucanperformtobecomeanefficientsystemadministrator.查看授課大綱您將學習的技能IBMPowerVC,infrastructureasaservice,Openstack,CloudComputing,IBMCloud審閱FilledStarFilledStarFilledStarFilledStarFilledStar4.9(39個評分)5stars89.74%4stars7.69%3stars2.56%從本節課中ImagesandvirtualmachinesIntroductiontocloudimages8:23Cloud-initconcepts5:45InstallingCloud-initonLinuxandAIX11:43Creatinganimage9:29教學方BillMillerITManagementConsultantUpendraRajanITManagementConsultant以免費的價格試聽課程Inthislesson,I'llcovertheinstallationofcloud-initonbothLinuxandAIX.Nowbearwithmeasthisvideoisalittlelongerthanusual,butIwantedtokeeptheinstallationconceptsinthesamevideogiventhattherearecommontaskstoperform.Youmightaswellseeitallhereinoneplaceatonetime.Let'sgetcloud-initinstalledsowecancaptureanimage.Let'shavealookatwhat'snecessarytoinstallcloud-initonLinuxfirst.Thisgraphicillustratesthehigh-levelprocessforinstallingcloud-initontoavirtualmachinebeforecapturing.Installthedependencies,andthenthecloud-initcode,andthenyoumodifytheCloudconfigfile.I'vementionedthatearlierandI'mgoingtoprovidemoredetailsonthatinlatervideos,possiblyinthisvideo,Ithink.We'llsee.Thereareacriticalentriesthatmustbemadeforcloud-inittofunctionproperlysothattheCloudconfigfileupdateisreallyimportant.We'llalsodiscussoperatingsystemspecificsettingsthathavetobemadeinordertoallowforcloud-inittodowhatitdoes.Letmestartwiththedependencies.AsImentioned,cloud-inithassomesoftwaredependencies.DependingonthedistributionandtheversionofLinux,differentstepsmustbetaken.ForRHEL,IrecommendusingyumorsomeotherpackagemanagerlikeDNFmaybe.ForRHEL7,asofthisrecording,youaddtheepelyumrepositoryasshowninthegraphictogetthemostrecentlevelofthedependentRPMsandthenyouinstallthose.NowforSLEsandUbuntudependencies,youseeinthegraphic,SLEshasspecificlocationswhereyougetthedependencysimilartowhatIjustsaidwithrespecttotheepelrepositoryforyum.ThenforUbuntu,I'llbehonest,wayIhandlethislittledifferent.Iinstallthedistributionversionofcloud-initfirst.That'snottheoneIwanttouse,butwhatthatdoesisitinstallsalltheprerequisites.SoIcheatalittlebit,andthenIuninstallthatversionandIinstallthePowerVCversion.Thatmaynotworkallthetimebutthathasworkedformeinthepast.Nowspeakingofgettingtherightversionofcloud-init,IjustsaidIuninstallandreinstallthecustomversion.Well,it'simportanttounderstandthatyouneedthecustomizedversionofcloud-init.Butjustsayingwhy,wouldIneedsomethingspecial?Well,becauseIBMhasmadesomechangesthatallowthedeployedVMtofunctioncorrectlyinaPowerVMenvironment.Becausecloud-initwasoriginallywrittenforLinuxdeploysandforKVMordeploymentsnottoPowerVM.Hereyougo.Makesureyou'reloggedinthePowerVCserver,navigatetothedirectorythat'snotedinthegraphic,andthendowntothesubdirectoryforthedesiredoperatingsystemandyou'regoingtofindthedistributionspecificversionofcloud-init.RedHat'sdirectoryhaspackagesforRHEL6andRHEL7.ThosearetheversionsthatPowerVCcanbeinstalledonandSLEshasdifferentpackagesforbigandlittleendianbecauseofthedifferentversionsofSLEsandtheirendianness.SoyoucopythecorrectpackagetotheVMtobecaptured,manipulatedthereonthePowerVCserver,yougetitfromthere.SoSCPitover.Thenextstepisinstallingcloud-init.Youwoulduseanoperatingsystemspecificcommandtoinstallthepackage.Thisisjustinstallinganotherpackage.It'snotgoingtotakelongfortheinstallationtorun.Oncethecodeisinstalled,it'stimetoconfigureitandthere'sreallynotmuchtothateither.You'regoingtoupdateafewfieldsinthecloud.configfileandyou'rereadytogo.WhatyouseeinthegraphiciswhatyouwanttomodifyintheCloudconfigfileonaRHELoronUbuntusystem.Makenoteofthesemodifications.Therearekeytothesuccessfulfunctionofcloud-initinthedeployment.TheconfigDrivedatasource,I'vementionedthismultipletimes,it'sextremelyimportant.Youwanttosetthedisablerootdirectiveasshownunlessyouknowexactlywhatyou'redoing.Why?Well,ifyousetthattoone,youwon'tbeabletologintothedeployedVMasroot.Inotherwords,youbetterhaveanotheradministrativeuserdefinedinthatVMthatyou'recapturingsothatyoucanusethatinthedeployment.Thenfinally,youenableandstartthecloud-initrelatedservicesbyrunningthecommandsthatyouseeinthisgraphic.NowthisgraphicdescribestheadditionalsettingsthatmustbedoneonaRHELsystem.Insummary,SELinuxgetsettopermissiveordisabledifyoucangetawaywiththat,ensurethatthenetworkmanagerisinstalledandenabledandthatnet-toolisinstalled.Thenfinally,youturnoffnetworkmanagementcontroloftheinterfacesbyupdatingtheNM_CONTROLLEDvariabletonointheifcfg-eth*filesthatareintheetcsysconfigdirectory.Youseeitallonthescreenthere,butthat'stheprocess.Now,movingon,whatyouseeismodificationrecommendationsforcloudconfigonSLEs.Makenoteofthesemodifications.Theyarekeytotheproperfunctioningcloud-initinPowerVC.Again,configDrivedatasourceisextremelyimportant.Anotherkeystepinconfiguringcloud-initonLinuxonPowerVirtualMachineistoremovetheMACaddress,themediaaccesscontroladdress,fromcertainconfigurationfiles.Youmustremovethenetworkpersistencerulesintheimagebecausetheycausethenetworkinterfaceintheinstancetocomeupasaninterfaceotherthaneth0.ThisisbecauseyourimagehasarecordoftheMACaddressofthenetworkinterfacecardwhenitwasfirstinstalledandthisMACaddressisdifferenteachtimetheinstanceboots.Notethatifyoudeletethenetworkpersistentrulesfiles,youmightgetakernelwarning,youdevkernelwarningatboottime.Therefore,youshouldclearthecontentsorreplacedthemwithemptyfiles.Now,formoredetailsabouthowtoremovetheMACaddressinformation,youcangotothenohard-codedMACaddressinformationsectionintheOpenStackVirtualMachineImageGuideatdocs.openstack.org.Now,Cloud-inithandlestheIPaddressassignment.ButwhataboutthehostnamedRMSEandthebootlist?Thisisreallyanimportantpointhere.Cloud-inithandlestheIPaddressassignment.ThisisthewaythatthisnewlydeployedVMtakesonanetworkidentitythat'sdifferentthantheidentitythatwasinthecapturedVM.That'sreallyimportantbecauseyoudon'twantduplicateIPaddresses.Thenthere'stheissueofhostname.There'stheissueofensuringthatRMCisreadytogoandalsothebootlistissetupright.Let'sstartwiththehostname.Itcanbemanagedafterdeploymentifyouwant,manuallyorbyusingsomeothermechanismlikesay,Ansible.ButCloud-inithasoptionsactually.IthastheoptiontosetthehostnametotheVMnamegiveninPowerVC,ortotheresolutionoftheIPaddress,theprimaryIPaddressisassigned.Now,theDNSresolutionsettingisagoodoption,andI'veuseditalotoftimes,butyouwanttokeeponethinginmind.ThismostlikelywillresultinthehostnameandtheVMnamebeingdifferentandthatmightnotbewhatyouwant.TheRMCsetting,RMCiscriticaltothepropermanagementofaVMinPowerVM.We'vebeenoverthatanumberoftimesinanumberofdifferentvideos.It'shighlyrecommended.BackI'dsayit'snearlymandatorythatyouenableresetRMC.Finally,updatingbootlistisagoodideasothatthetemporaryVirtualopticaldevicethatCloud-initconfigdriveprocessingisbasedonisremovedfromthebootlist.We'llcloseupherewiththis.TheCloud-initlogscontainmanygooddebuglogentriesfromtheCloud-initprocessing,andtheyalsocontainsomePythonstacksifCloud-initfails.NowtheCloud-initfileloglocationsaredifferentdependinguponthedistributionbeingused.ForrelevantUbuntu,itmightbenecessarytoedittheloggingconfigurationfoundnotedinthegraphicandchangethelevelfromwarningtodebugtogetlogentrieswrittentovar/log/messages.LikeIsaidearlier,I'mgoingtokeepgoing.Socatchyourbreath,it'stimetoswitchgearsnowanddiscussCloud-initinstallationandconfigurationonAIX.First,it'skeytosayCloud-initisfullysupportedonAIX,andunderstanditsgenesiswasonLinux.Thatmakessense.It'sbeenportedandfullysupportedonAIX.WiththeAIX7No.1,TLS3P5,andAX6TL9SP5,soolderversions.There'sanewdeviceattributeorthere'sadeviceattributeonSYS0calledCloudDev.Nowifyou'reanAIXguy,youunderstandthisstuff.Ifyou'renot,youmightrollwithmeandmaybereferencebacktothislaterifyougetintoquestionsaboutCloudDevandgostep,theroleofCloudDevistoreplacetheGhostDevattribute,whichwasusedinthepasttoresetODMcustomizationswhenaVirtualMachinewasbootedonanotherhostorwithadifferentLPRID.Inotherwords,youwe'recloning.WhenanewversionofAIXthatsupportsCloudDev,whichismostlikelygoingtobewhatyou'reworkingon.Whenyou'reusingoneofthose,therecommendationthat'ssetCloudDevtooneandGhostDevtozero.TheCloudDevattributeisautomaticallyresettozerobyCloud-inittoensurethattheODMisnotresetonsubsequentboots.Sokeepallofthatinmind.Maybereferencebacktothatlater.TheCloud-initinstallationonAIX,now,it'salittlebitmorecomplexthanwhatwesawonLinux.Itrequiresthegatheringandinstallationofprerequisites.Inthisgraphic,youseethattoenablePythonandAIX,remember,wesaidCloud-initiswritteninPython.Youneedtoinstalltheseprerequisites.Makenoteofthislist,pausethescreen,makenotesomeway,doascreencaptureorwhatever,andthenaccessthosepackagesplacingtheminadirectorythat'saccessibletotheVMtobecaptured.ThenyouinstallthePythonpackagesyouseeinthegraphic.Ifyouhavetoinstallthosepythonprerequisitesaheadoftimeordrawfromthem.Nowthere'sreallynogoodwaytopresentthisotherthantojustshowyouthepackages.Havealook.Thosearethethingsyouneed.Now,thisgraphtoillustratethehighlevelprocessforinstallingCloud-initontoanAIXVirtualMachinebeforecapturing.NoticethatyouwillhavetogetaninstallYUM.Youdon'thaveto,butthat'sthewaytodothis.GettinginstallYUMonAIXifyoudon'talreadyhaveitthere.YoucaninstallYUMfromtheAIXtoolbox.Thismakestheinstallationreallystraightforward.SimplyrunYUMinstallCloud-init.It'sverymuchlikeLinux.ThenextstepistoconfiguretheCloudconfigfile.ThisgraphicshowsthemodificationsonanAIXoperatingsystem.Nowthesearevery,verysimilartowhatwecoveredintheLinuxsection.BacktothesethostnamefromDNSmodulethatallowsyoutogetyourVirtualMachineshostnamebyusingthehosthostnamevaluethatyou'veconfiguredinyourDNSserver.Ifit'snotused,thehostnamethendefaultstothenamespecifiedinPowerVC.LikeImentionedwithLinux,resetRMC,it'sautomaticallysetsothatRMCisgoingtobehandledright.ThatwrapsupthelessononinstallingCloudconfig,andthatwasalottotakein.Soyoumightwanttotakeaquickbreakhere,andthenwe'llcontinueonwiththelessononcapturinganimagefromaVM.探索我們的目錄免費加入並獲得個性化推薦、更新和優惠。
開始
CourseraFooter開拓職業生涯或促進職業發展Google數據分析師Google項目管理GoogleUX設計GoogleIT支持IBM數據科學IBM數據分析師使用Excel和R的IBM數據分析IBMCybersecurityAnalystIBM數據工程IBM全棧雲開發人員Facebook社交媒體營銷Facebook市場營銷分析Salesforce銷售發展代表Salesforce銷售運營直覺簿記備考GoogleCloud認證:雲架構師備考GoogleCloud認證:雲數據工程師開啟您的職業生涯準備證書開拓職業生涯瀏覽熱門主題免費課程學習語言pythonJava網頁設計SQLCursosGratisMicrosoftExcel項目管理網絡安全人力資源數據科學免費課程說英語內容寫作全棧網絡開發人工智能C語言程序設計溝通技能區塊鏈查看全部課程熱門課程和文章適用於數據科學團隊的技能數據驅動的決策軟件工程技能工程團隊所需的軟技能管理技能營銷技能銷售團隊所需的技能產品經理技能財務技能英國的熱門數據科學課程BeliebteTechnologiekurseinDeutschland熱門網絡安全證書熱門IT證書熱門SQL證書營銷經理職業指南項目經理職業指南Python程序設計技能Web開發者職業指南數據分析師技能用戶體驗設計師方面的技能在線獲得學位或證書MasterTrack®證書專業證書大學證書MBA和商學學位DataScienceDegreesComputerScienceDegrees數據分析師學位公共衛生學位社會科學學位管理學位歐洲頂級大學學位碩士學位學士學位具有成績錄取途徑的學位學士學位課程什麼是學士學位?取得碩士學位需要多長時間?在線獲取MBA有什麼價值?報名研究生院的7種付費方式查看所有證書Coursera關於我們提供的內容管理團隊工作機會目錄CourseraPlus專業證書MasterTrack®證書學位企業版政府版面向校園成為合作夥伴新冠疫情響應社區學生合作夥伴開發者Beta測試人員專業譯員博客技術博客教學中心更多媒體投資者條款隱私幫助內容訪問聯繫我們文章目錄附屬公司ModernSlaveryStatement隨時隨地學習©2022CourseraInc.保留所有權利。
延伸文章資訊
- 1翰竺学院-IBM課程中心 - 翰竺學院
課程資訊 · 培訓路徑 · 最新消息 · Badge計劃 · 聯絡/建議. 請輸入關鍵字或課程代碼. 1; 2; 3; 4. IBM課程中心. 首頁>IBM課程中心>課程信息. AIX 快速入門...
- 2(PS102)AIX System Administration - 教育訓練 - 中菲電腦股份 ...
課程內容. – AIX 系統管理基礎– LVM介紹– AIX網路設定– 系統日常管理– Job Scheduling – Print 設定. 課程目標. 1. 具備AIX及RS/6000日常管理...
- 3藍新資訊111年教育訓練計畫時程及課程
時間, 課程項目. 111/05/19-111/05/20, AIX系統管理初階教育訓練. 111/07/14-111/07/15, VMware教育訓練. 111/10/13-111/10/1...
- 4IBM Power Systems 伺服器: 為企業的敏捷性提供前進動力
這一系列由台灣IBM 主辦的年度課程,融合「技術實作」和「應用場景」,分享科技 ... 針對Power 伺服器上執行AIX 或Linux 的虛擬化環境而言,最佳化的安全與合規性解決 ...
- 5AIX大數據分析-公開課程 - 亞太教育訓練網
因此本課程提供IBM POWER 實機為教學環境,分別介紹三大分析自動化語言:(1) Python (2) R (3) Apache 分析(Java) 等數據分析技巧與設計方法,聚焦於:(1) ...