Skip to Content
Web容量规划之美
book

Web容量规划之美

by Arun Kejariwal, John Allspaw
August 2019
Beginner to intermediate
232 pages
3h 50m
Chinese
China Electric Power Press Ltd.
Content preview from Web容量规划之美
159
部署
网络资源丰富地区(如
APT
YUM
)复制程序包文件。对于基于镜像的系统,
操作系统的镜像通常通过
rsync
或其他类似程序直接串珠到本地磁盘。
一旦操作系统安装完成,
PXE
服务器就会标注已安装的主机。通常,这是通过将
主机的引导文件替换为指定主机从本地磁盘引导的指定指令来完成的。机器重新
启动并正常启动。大部分的自动部署系统需要一些手工配置,这需要创建
DGCP
服务器配置并让主机名映射到各个分机上。然而库存管理系统应该包括引导一台
服务器所需的全部信息:
MAC
地址、任务、
IP
地址和主机名。使用一些灵活的脚
本,就可以从资产库中自动获取所需的配置。
配置设置好之后,提供新的服务器就像向库存管理中输入详情、安置信息并且启
动系统一样简单。重新格式化一台服务器就像给它分配一个新的数据库任务并重
新引导它一样简单(一般情况下,只有在磁盘布局变化时才需要重装,在其他情
况下,服务器可以仅重新配置)部署的难关就攻克了。
自动化部署
现在服务器已经安装部署在网络上了,是时候配置系统使它们发挥作用了。配置
管理系统通过下面方式来完成此任务:
该系统帮助你把配置文件组成有用的子系统,你可以采取不同的方式通过这些
子系统而建立生产系统。
该系统把你当前运行系统的所有信息存储在一个地方,这样可以更方便地进行
备份或复制到另一个站点。
该系统从你的系统管理员的大脑中提取有用的知识信息,然后以一种文档化和
可重复利用的形式存储。
一个典型的配置管理系统由两部分组成:一个是存储配置的服务器;另一个是客
户端程序,该程序在各自的主机上运行并从服务器请求配置信息。在一个有自动
化部署的基础架构中,客户端作为初始安装的一部分运行或者在初始状态之后马
上导入新的操作系统。在初始配置之后,客户端主机上的计划任务定期轮询服务
器以查看是否有任何新配置可用 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

GPT-3

GPT-3

Sandra Kublik, Shubham Saboo

Publisher Resources

ISBN: 9787519831073