Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ZHGDL.4-march-liu-slatstack
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Zoom.Quiet
August 12, 2013
Technology
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ZHGDL.4-march-liu-slatstack
[8.11]珠海GDG第四次GDL沙龙!
http://www.chinagdg.com/thread-2783-1-1.html
Zoom.Quiet
August 12, 2013
More Decks by Zoom.Quiet
See All by Zoom.Quiet
PyCon2014China-Zhuhai-high performance
zoomquiet
0
190
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
170
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
150
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
140
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
140
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
160
PyCon2014China-Zhuhai-jeff
zoomquiet
0
140
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
170
DevFest2014-Zhuhai-Polymer
zoomquiet
0
480
Other Decks in Technology
See All in Technology
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
3
1.9k
Disciplined Vibes: Scaling AI-Assisted Engineering
sheharyar
0
110
2026TECHFRESH畢業分享會 - 葬送的通靈師:化系統與用戶雜訊成行動訊號
line_developers_tw
PRO
0
580
小さくはじめるSLI/SLO ~育てながら組織に定着させる実践知~ / Starting Small with SLI/SLOs: Building Adoption Through Continuous Growth
nari_ex
2
1.1k
Reliability in the Age of AI: Engineering for AI Velocity
rrreeeyyy
0
120
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
「速く作る」から「正しく作る」へ ─ 生成AI時代の開発フロー改革の ロードマップと実行 ─
starfish719
0
9.5k
OCI Oracle AI Database Services新機能アップデート(2026/03-2026/05)
oracle4engineer
PRO
0
330
作って終わりにしない タイミーのセマンティックレイヤー育成の現在地
chanyou0311
3
2k
2026.06.13_AI時代に事業会社が「SIer出身エンジニア」を求める理由 / Why Businesses Seek Engineers with a System Integrator Background in the AI Era
jumtech
0
1k
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
2026 TECHFRESH 畢業分享會 - 開發日常大解密!從領域驅動到企業級上線
line_developers_tw
PRO
0
580
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
Un-Boring Meetings
codingconduct
0
310
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
550
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Automating Front-end Workflow
addyosmani
1370
210k
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
220
Building an army of robots
kneath
306
46k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Transcript
Saltstack 实践 开发管理,试错、学习和探索 13年8⽉月10⽇日 星期六
故事背景 • ⼩小团队 • 创业 • 年轻 未来将面临⼀一个快速上 升的时期。 ⼈人⼒力问题比资⾦金更突
出,更紧缺。 开发队伍缺少经验,⼯工 作习惯完全没有。 13年8⽉月10⽇日 星期六
⼯工具和平台选择 • Saltstack • Git • Github • Debian 13年8⽉月10⽇日
星期六
Debian • Debian + XEN+XEN-TOOLS • APT+APT Cacher 13年8⽉月10⽇日 星期六
Git+Github • VCS • Pull Request • Code Review+issues 强制引⼊入细粒度版本管
理。 通过版本管理和协作平 台强制引⼊入pull request。 强制代码审核。 13年8⽉月10⽇日 星期六
Saltstack • 开发即运维 • 强制隔离各节点 • 强制性⾃自动发布 • Develop+Alpha+Beta+Release 13年8⽉月10⽇日
星期六
Alpha环境 • 内⺴⽹网服务器 • apt+apt cacher • git pull from
github • all in salt-master:/srv • highstate to cluster 13年8⽉月10⽇日 星期六
部署节点 • /srv/ • /srv/salt/top.sls • /srv/salt/xxxNode • /srv/salt/xxxNode/init.sls /srv
目录即代码仓库。 在 salt的组件目录中直 接管理代码。 13年8⽉月10⽇日 星期六
APT First • salt.states.pkg.installed • salt.states.pip.installed • salt.states.git-remote • salt.states.file
13年8⽉月10⽇日 星期六
代码部署 • salt.states.user • salt.states.file.recurse • salt.states.file.symlink 13年8⽉月10⽇日 星期六
服务 • debian daemon • debian postgresql cluster • supervisor
• unicorn 13年8⽉月10⽇日 星期六
Devlop/Alpha ⼀一致化 • /srv/pillar • /srv/pillar/top.sls • /srv/pillar/intranet/init.sls • /srv/pillar/workshop/init.sls
13年8⽉月10⽇日 星期六
配置⽂文件⼀一致化 • 直接由模板⽣生成 • 由pillar管理内容和路径 13年8⽉月10⽇日 星期六
Service ⼀一致化 • salt 管理服务安装 • debian service 控制 •
/etc/xxx/conf.d/ 13年8⽉月10⽇日 星期六
数据库⼀一致化 • salt.states.postgres_user • salt.states.postgres_database 13年8⽉月10⽇日 星期六
开发与⼯工作环境 • Mars’ Workshop • salt.states.git • pillar(ssh or https)
13年8⽉月10⽇日 星期六
问题与应对 • gitfs 稳定性问题 • zmq 阻塞问题 • Ruby Gems
访问问题 • 架构与运维冲突问题 解决⼀一切争议的第⼀一原 则是运维最简化。可复 现,确定性压倒⼀一切。 13年8⽉月10⽇日 星期六
问答时间 13年8⽉月10⽇日 星期六
谢谢⼤大家,再⻅见! 13年8⽉月10⽇日 星期六