《os-migration-solution-on-cloud-xu-ni-hui-zhe-ji-jianlin-lv-ebay-1.pdf》由会员分享,可在线阅读,更多相关《os-migration-solution-on-cloud-xu-ni-hui-zhe-ji-jianlin-lv-ebay-1.pdf(14页珍藏版)》请在三个皮匠报告上搜索。
1、OS Migration Solution on CloudJianlin Lv,eBayAgendaWhy Migration and ChallengeeBay Cloud PlatformMigration Solution IntroductionIdentify and Solve Production IssuesUpstream ContributionWhy Migration and ChallengeLicensing models,TCOLinux Distributions EOLLack of official supportCompatibility issuesS
2、oftware security vulnerabilitiesChallengeData securityTransparent to customersQuickly upgrade nodes in limited time windowBalance upgrade coverage and normal business operationeBay Cloud PlatformNodes 130K+Pods 2M+OSUbuntu 22.04Ubuntu 20.04Monthly release/rollout202120222024Immutable OSOSTreeSystem
3、update for Linux-based OSDeploy new OS Atomic Upgrade/Rollbacks OSTree commit create deployment at/sysroot/ostree/deploy/deploy/etc,3-way merge,the changing will be propagated Install kernel data at/boot/ostreeSystem layoutImmutable OSBooting and Running Parse ostree=kernel command line argument ost
4、ree-prepare-root.service Deployment is mount as RW rootfs/usr:immutable,RO bind-mount/var:runtime data,shared across upgrade TessOS MaintainOS release workflowOSTree BuilderGitHub:deb-ostree-builderPR:Support Ubuntu OSTree buildTessOS MigrationPre hookMove user data(/var)to new deployment for Centos
5、Update grub file if needMigrate hookMigrate config file(/etc)for applicationPost hookSetup for new OSMonthly Patching 90%Nodes/Monthlypre hookostreedeploymigrate hookrebootpost hookCentOS/UbuntuUbuntuIdentify and Solve Production IssuesIdentify Problems collection and standardization HW and OS metri
6、cs data observability real-time data analysisDig into the Details diagnostic tools(cpu,network,storage,bpf,etc.)LnP testing environment kernel debugging OSDevelop SolutionsUpstream ContributionSupport Ubuntu OSTree buildsFixed memory leak i