Submit Search
Upload
Ceph中国社区9.19 Ceph集群运维及案例分享04-武宇亭
•
0 likes
•
660 views
Hang Geng
Follow
Ceph 中国社区首次北京站沙龙技术演讲活动PPT
Read less
Read more
Software
Report
Share
Report
Share
1 of 18
Download now
Download to read offline
Recommended
作業系統(Os)教我的道理 part1
作業系統(Os)教我的道理 part1
Chris Chang
Ceph中国社区9.19 Ceph中国发展历程01-耿航
Ceph中国社区9.19 Ceph中国发展历程01-耿航
Hang Geng
CenturyLink and Their Journey to Cloud Foundry
CenturyLink and Their Journey to Cloud Foundry
VMware Tanzu
Cloud Foundry Summit 2015: Rocking the Lattice: A New Path for Cloud Foundry ...
Cloud Foundry Summit 2015: Rocking the Lattice: A New Path for Cloud Foundry ...
VMware Tanzu
Ceph中国社区9.19 Some Ceph Story-朱荣泽03
Ceph中国社区9.19 Some Ceph Story-朱荣泽03
Hang Geng
Cloud Foundry: Inside the Machine
Cloud Foundry: Inside the Machine
Derek Collison
NATS - A new nervous system for distributed cloud platforms
NATS - A new nervous system for distributed cloud platforms
Derek Collison
Pivotal Big Data Roadshow
Pivotal Big Data Roadshow
VMware Tanzu
Recommended
作業系統(Os)教我的道理 part1
作業系統(Os)教我的道理 part1
Chris Chang
Ceph中国社区9.19 Ceph中国发展历程01-耿航
Ceph中国社区9.19 Ceph中国发展历程01-耿航
Hang Geng
CenturyLink and Their Journey to Cloud Foundry
CenturyLink and Their Journey to Cloud Foundry
VMware Tanzu
Cloud Foundry Summit 2015: Rocking the Lattice: A New Path for Cloud Foundry ...
Cloud Foundry Summit 2015: Rocking the Lattice: A New Path for Cloud Foundry ...
VMware Tanzu
Ceph中国社区9.19 Some Ceph Story-朱荣泽03
Ceph中国社区9.19 Some Ceph Story-朱荣泽03
Hang Geng
Cloud Foundry: Inside the Machine
Cloud Foundry: Inside the Machine
Derek Collison
NATS - A new nervous system for distributed cloud platforms
NATS - A new nervous system for distributed cloud platforms
Derek Collison
Pivotal Big Data Roadshow
Pivotal Big Data Roadshow
VMware Tanzu
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Ceph中国社区9.19 Ceph集群运维及案例分享04-武宇亭
1.
Ceph运维及案例分享 武宇亭
2.
目录 Ceph 服务进程管理 Scaling out
Ceph集群 Scaling down Ceph集群 Ceph集群更换磁盘 Ceph运维案例
3.
Ceph服务进程管理 按类型管理 service
ceph start/stop mon service ceph start/stop osd service ceph stop/start 管理特定进程 service ceph start/stop osd.X service ceph start/stop mon.YYY
4.
Ceph服务进程管理 启动Ceph集群 首先启动mon服务
然后启动osd服务 停止Ceph集群 首先停止osd服务 然后停止mon服务
5.
目录 Ceph 服务进程管理 Scaling out
Ceph集群 Scaling down Ceph集群 Ceph集群更换磁盘 Ceph运维案例
6.
Scaling out Ceph集群
编辑ceph.conf,添加新的OSD配置,并同步到所 有节点 vim ceph.conf [osd.X] osd host = hostname osd journal = XXX … 向Ceph集群中添加OSD ceph-disk prepare ceph-disk activate
7.
Scaling out Ceph集群
编辑crushmap,将新增的osd归入合适的bucket ceph osd getcrushmp –o map1 crushtool –d map1 –o map2 vim map2 crushtool –c map2 –o map3 合适的时刻导入crushmap触发数据迁移 ceph osd setcrushamp –i map3
8.
目录 Ceph 服务进程管理 Scaling out
Ceph集群 Scaling down Ceph集群 Ceph集群更换磁盘 Ceph运维案例
9.
Scaling down Ceph集群
编辑crushmap,在对应的bucket中去掉osd ceph osd getcrushmp –o map1 crushtool –d map1 –o map2 cp map2 map2.bak vim map2 crushtool –c map2 –o map3 合适的时刻导入crushmap触发数据迁移 ceph osd setcrushamp –i map3
10.
Scaling down Ceph集群
在ceph集群中去掉osd ceph osd out X service ceph stop osd.X ceph osd crush remove osd.X ceph auth del osd.X ceph osd rm X 编辑ceph.conf并同步到所有节点 vim ceph.conf
11.
目录 Ceph 服务进程管理 Scaling out
Ceph集群 Scaling down Ceph集群 Ceph集群更换磁盘 Ceph运维案例
12.
Ceph集群更换磁盘 在ceph集群中去掉坏掉的osd ceph osd
out X ceph osd crush remove osd.X ceph auth del osd.X ceph osd rm X 更换磁盘 创建新的OSD ceph-disk prepare ceph-disk activate
13.
目录 Ceph 服务进程管理 Scaling out
Ceph集群 Scaling down Ceph集群 Ceph集群更换磁盘 Ceph运维案例
14.
Ceph运维Scaling down案例 环境描述 Server1 Server2 Server7 Rack1 Server3 Server4 Server8 Rack2 Server5 Server6 Server9 Rack3
15.
Ceph运维Scaling down案例 方案一、在每个Rack中直接移除host 结果:失败 原因:数据迁移到一定程度以后就会停止,因为每个 OSD要求保留一定的空间
16.
Ceph运维Scaling down案例 方案二、依次移除host上的OSD 结果:失败 原因:由于部分OSD权重设置有误,个别OSD磁盘写 满,导致OSD进程异常。
17.
Ceph运维Scaling down案例 方案三、重新调整Crushmap后再移除 结果:成功 Server1 Server2 Server7 Rack1 Server3 Server4 Server8 Rack2 Server5 Server6 Server9 Rack3 Server3 Server4 Server1 Server2 Server3 Server4
18.
THX
Download now