SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
Copyright © GREE, Inc. All Rights Reserved.Copyright © GREE, Inc. All Rights Reserved.
Full  routeやめたら⼈人⽣生かわった
@AS55394
インフラストラクチャ本部  データセンターチーム  マネージャー  ⿊黒河内  倫倫
Copyright © GREE, Inc. All Rights Reserved.
⽒氏名
  ⿊黒河内  倫倫(くろこうち  おさむ)
所属
  グリー株式会社  インフラストラクチャ本部
  データセンターチーム  マネージャー
⾃自⼰己紹介
Copyright © GREE, Inc. All Rights Reserved.
会社紹介
従業員数
  1,894⼈人(グループ全体・2014年年03⽉月末時点)
事業内容
  ソーシャルゲーム事業
  ソーシャルメディア事業
  プラットフォーム事業
  広告・アドネットワーク事業
  ライセンス&マーチャンダイジング事業
  ベンチャーキャピタル事業
Copyright © GREE, Inc. All Rights Reserved.
⽬目次
・グリー(AS55394)の話
    ・当時の背景
    ・決断
    ・問題
・ディスカッション
    ・RIRごとのIPv4移転ポリシー
    ・IPv4経路路の増加
    ・議論論
Copyright © GREE, Inc. All Rights Reserved.
グリー(AS55394)の話
Copyright © GREE, Inc. All Rights Reserved.
InternetBorderのBGPルーター8台があった
全台Full  routeを受信しており、
  各BGPルーター間をiBGP  PeerをFullMeshで張っていた
2012年年夏(当時の構成)
グリー環境
R	
 R	
R	
 R	
R	
R	
R	
R
Copyright © GREE, Inc. All Rights Reserved.
2012年年夏(障害発⽣生)
あるときTransit側の障害が発⽣生、PeerDownした
その際の経路路のConvergenceに時間がかかり、
              更更にRouterのCPUが張り付く事象が発⽣生
iBGP  PeerもDownしはじめる、カオス状態
収束まで5分ほどの断が断続的に発⽣生(⾒見見守るしかない)
Copyright © GREE, Inc. All Rights Reserved.
2012年年夏(障害原因)
主に3つの要因がある
  1.ハードウェアの処理理能⼒力力不不⾜足
  2.経路路数の増加
  3.iBGPのPeerの多さ(といってもそこまで多くないが)
上記3つの項⽬目のいずれか若若しくは複合的な要因
Copyright © GREE, Inc. All Rights Reserved.
案1.ハードウェアの強化
  より性能の良良い機器を買う
案2.構成変更更
  RRを導⼊入してiBGP-‐‑‒Peer数を下げる
案3.経路路数を削減する
  何かしらの形で経路路数を削減して、
              BGP-‐‑‒Update時の負荷を削減する
当時考えた打開案
Copyright © GREE, Inc. All Rights Reserved.
判断ポイント
全拠点のBGP  Routerのリプレースも
                        考えたが労⼒力力的に難しい
また“検証  →  発注  →  納品  →  メンテナンス調整”などを
            考えるとスピード感がある対応ではなかった
  
ハードウェアとして解決することは難しいと判断
Copyright © GREE, Inc. All Rights Reserved.
判断ポイント
案3にしぼって考えてみる
  弊社のビジネスモデル上、
    モバイルからのアクセスが99%であった
  
  そもそもFull  route⾃自体の必要性を再考し、
                                  以下の通りとした
  Full  route  →  Partial  route  +  Default  route
  ※Partial  Route  =  国内Mobile3キャリア
Copyright © GREE, Inc. All Rights Reserved.
Transit Router	
自社Router	
Transit Router	
1 自社内Filter方式
2 TransitFilter方式
Full route
Default  route
Partial  route
Default  route
RIB	
 FIB	
自社Router	
RIB	
 FIB	
Partial  Route
Default  Route
透過
GREEはこちらを採用	
Partial  routeも⼆二つある
Copyright © GREE, Inc. All Rights Reserved.
各案のデメリット
案1.ハードウェアの強化
  より性能の良良い機器を買う
          →  検証が必要、納期がかかる
案2.構成変更更
  RRを導⼊入してiBGP-‐‑‒Peer数を下げる
          →  検証が必要、納期がかかる、直る確証がない
案3.経路路数を削減する
  何かしらの形で経路路数を下げて、
                        BGP-‐‑‒Update時の負荷を削減する
          →  これが短期的に解決ができ、かつ確実
Copyright © GREE, Inc. All Rights Reserved.
課題解決
経路路数
  当時40万経路路  →  2600経路路ほどになった
どんとこい回線障害!
実際にやってみた
現在は更更に減って1800経路路ほど
Copyright © GREE, Inc. All Rights Reserved.
裏裏話
Full  route運⽤用やめるのは、
            現場の抵抗がかなりあった
Copyright © GREE, Inc. All Rights Reserved.
問題
2年間運用しているが、
     ぶっちゃけない
一つを除いては。。。
Copyright © GREE, Inc. All Rights Reserved.
IX	
DataCenter	
GREE	
APIサーバ
ISP1	
 ISP2	
キャリア	
DC CDC BDC A
サーバ3サーバ2サーバ1
とある障害が。。。
障害前の構成
DC1
192.0.2.192/26
DC2 DC3
192.0.2.128/26
192.0.2.64/26
192.0.2.128/26192.0.2.64/26 192.0.2.192/26
Copyright © GREE, Inc. All Rights Reserved.
IX	
DataCenter	
GREE	
APIサーバ
ISP1	
 ISP2	
キャリア	
DC CDC BDC A
サーバ3サーバ2サーバ1
とある障害が。。。
障害後の構成
DC1 DC2 DC3
DC間回線を撤去
広報経路路を絞る
バックアップで⼤大きな経路路も広報
0.0.0.0 0.0.0.0
グリー上位ISPではDefaultになる
192.0.2.128/26192.0.2.64/26 192.0.2.192/26
192.0.2.0/24
192.0.2.192/26
192.0.2.0/24
192.0.2.128/26
192.0.2.0/24
192.0.2.64/26
192.0.2.0/24
192.0.2.128/26
Copyright © GREE, Inc. All Rights Reserved.
互いの⾔言い分
相⼿手側
  グリーがFull  routeじゃないとは思わなかった
グリー側
  リーチしないPrefixを送られるとは思わなかった
Copyright © GREE, Inc. All Rights Reserved.
対策
グリーAS55394がFull  route運⽤用ではないことを
                どこかに明⾔言したほうが良良いと思った
  PeeringDB?
  PeeringPolicy?
  Peering依頼のメール?
とはいいつつも、他社様もグリーのことだけ
      考えて運⽤用してるわけではないので、なかなか難しい
Copyright © GREE, Inc. All Rights Reserved.
総括:⼈人⽣生かわった部分
“有るもの”を”無くす”のは勇気がいるけど、
      勇気をもってチャレンジすることも⼤大事
                                                          ※弊社は追い込まれただけだけど。。。
2年年間でIGP/EGP周りのトラブルは1件だけ
コントロールしたいASの経路路をもっていればよい
  ※Traffic量量であったり、ビジネス上重要であったり
いまとなっては
  “Full  routeなくても⼗十分サービス維持はできる”と感じる
Copyright © GREE, Inc. All Rights Reserved.
ディスカッション
Copyright © GREE, Inc. All Rights Reserved.
RIRごとのIPv4アドレス移転ポリシー
引用 : JPOPM22 IPv4アドレス移転に関する動向 から
http://venus.gr.jp/opf-jp/opm22/jpopm22-03.pdf
Copyright © GREE, Inc. All Rights Reserved.
参照  http://www.cidr-‐‑‒report.org  
IPv4経路路の増加
現在のIPv4経路路は約500,000経路路突破!!
15 16 17
60万経路路までは
  あと2.5-‐‑‒3年年ぐらい
Copyright © GREE, Inc. All Rights Reserved.
議論論
ALL
  “Full  route”運⽤用で困ってる⼈人いますか?
  “Full  route”やめたけど、こんなFilter書いてます的な⼈人
  AS取得者=“Full  route”という概念念、どこかにありますか?
  BGP-‐‑‒Routerを減価償却終了了まで維持できてますか?
キャリアさん
  なぜみなFull  route持ちたがるか不不思議に思ってませんか?  
Copyright © GREE, Inc. All Rights Reserved.

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)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 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd 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 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 IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...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
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 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 ChatGPTEverything 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 EngineeringsProduct 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 HealthHow 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.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO 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)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 2024How 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 InsightsSocial 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 2024Trends 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 summary5 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 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 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 IntentGoogle'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 How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe 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...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

JANOG34_Fullrouteやめたら人生かわった@AS55394 20150526

  • 1. Copyright © GREE, Inc. All Rights Reserved.Copyright © GREE, Inc. All Rights Reserved. Full  routeやめたら⼈人⽣生かわった @AS55394 インフラストラクチャ本部  データセンターチーム  マネージャー  ⿊黒河内  倫倫
  • 2. Copyright © GREE, Inc. All Rights Reserved. ⽒氏名   ⿊黒河内  倫倫(くろこうち  おさむ) 所属   グリー株式会社  インフラストラクチャ本部   データセンターチーム  マネージャー ⾃自⼰己紹介
  • 3. Copyright © GREE, Inc. All Rights Reserved. 会社紹介 従業員数   1,894⼈人(グループ全体・2014年年03⽉月末時点) 事業内容   ソーシャルゲーム事業   ソーシャルメディア事業   プラットフォーム事業   広告・アドネットワーク事業   ライセンス&マーチャンダイジング事業   ベンチャーキャピタル事業
  • 4. Copyright © GREE, Inc. All Rights Reserved. ⽬目次 ・グリー(AS55394)の話     ・当時の背景     ・決断     ・問題 ・ディスカッション     ・RIRごとのIPv4移転ポリシー     ・IPv4経路路の増加     ・議論論
  • 5. Copyright © GREE, Inc. All Rights Reserved. グリー(AS55394)の話
  • 6. Copyright © GREE, Inc. All Rights Reserved. InternetBorderのBGPルーター8台があった 全台Full  routeを受信しており、   各BGPルーター間をiBGP  PeerをFullMeshで張っていた 2012年年夏(当時の構成) グリー環境 R R R R R R R R
  • 7. Copyright © GREE, Inc. All Rights Reserved. 2012年年夏(障害発⽣生) あるときTransit側の障害が発⽣生、PeerDownした その際の経路路のConvergenceに時間がかかり、               更更にRouterのCPUが張り付く事象が発⽣生 iBGP  PeerもDownしはじめる、カオス状態 収束まで5分ほどの断が断続的に発⽣生(⾒見見守るしかない)
  • 8. Copyright © GREE, Inc. All Rights Reserved. 2012年年夏(障害原因) 主に3つの要因がある   1.ハードウェアの処理理能⼒力力不不⾜足   2.経路路数の増加   3.iBGPのPeerの多さ(といってもそこまで多くないが) 上記3つの項⽬目のいずれか若若しくは複合的な要因
  • 9. Copyright © GREE, Inc. All Rights Reserved. 案1.ハードウェアの強化   より性能の良良い機器を買う 案2.構成変更更   RRを導⼊入してiBGP-‐‑‒Peer数を下げる 案3.経路路数を削減する   何かしらの形で経路路数を削減して、               BGP-‐‑‒Update時の負荷を削減する 当時考えた打開案
  • 10. Copyright © GREE, Inc. All Rights Reserved. 判断ポイント 全拠点のBGP  Routerのリプレースも                         考えたが労⼒力力的に難しい また“検証  →  発注  →  納品  →  メンテナンス調整”などを             考えるとスピード感がある対応ではなかった    ハードウェアとして解決することは難しいと判断
  • 11. Copyright © GREE, Inc. All Rights Reserved. 判断ポイント 案3にしぼって考えてみる   弊社のビジネスモデル上、     モバイルからのアクセスが99%であった      そもそもFull  route⾃自体の必要性を再考し、                                   以下の通りとした   Full  route  →  Partial  route  +  Default  route   ※Partial  Route  =  国内Mobile3キャリア
  • 12. Copyright © GREE, Inc. All Rights Reserved. Transit Router 自社Router Transit Router 1 自社内Filter方式 2 TransitFilter方式 Full route Default  route Partial  route Default  route RIB FIB 自社Router RIB FIB Partial  Route Default  Route 透過 GREEはこちらを採用 Partial  routeも⼆二つある
  • 13. Copyright © GREE, Inc. All Rights Reserved. 各案のデメリット 案1.ハードウェアの強化   より性能の良良い機器を買う           →  検証が必要、納期がかかる 案2.構成変更更   RRを導⼊入してiBGP-‐‑‒Peer数を下げる           →  検証が必要、納期がかかる、直る確証がない 案3.経路路数を削減する   何かしらの形で経路路数を下げて、                         BGP-‐‑‒Update時の負荷を削減する           →  これが短期的に解決ができ、かつ確実
  • 14. Copyright © GREE, Inc. All Rights Reserved. 課題解決 経路路数   当時40万経路路  →  2600経路路ほどになった どんとこい回線障害! 実際にやってみた 現在は更更に減って1800経路路ほど
  • 15. Copyright © GREE, Inc. All Rights Reserved. 裏裏話 Full  route運⽤用やめるのは、             現場の抵抗がかなりあった
  • 16. Copyright © GREE, Inc. All Rights Reserved. 問題 2年間運用しているが、      ぶっちゃけない 一つを除いては。。。
  • 17. Copyright © GREE, Inc. All Rights Reserved. IX DataCenter GREE APIサーバ ISP1 ISP2 キャリア DC CDC BDC A サーバ3サーバ2サーバ1 とある障害が。。。 障害前の構成 DC1 192.0.2.192/26 DC2 DC3 192.0.2.128/26 192.0.2.64/26 192.0.2.128/26192.0.2.64/26 192.0.2.192/26
  • 18. Copyright © GREE, Inc. All Rights Reserved. IX DataCenter GREE APIサーバ ISP1 ISP2 キャリア DC CDC BDC A サーバ3サーバ2サーバ1 とある障害が。。。 障害後の構成 DC1 DC2 DC3 DC間回線を撤去 広報経路路を絞る バックアップで⼤大きな経路路も広報 0.0.0.0 0.0.0.0 グリー上位ISPではDefaultになる 192.0.2.128/26192.0.2.64/26 192.0.2.192/26 192.0.2.0/24 192.0.2.192/26 192.0.2.0/24 192.0.2.128/26 192.0.2.0/24 192.0.2.64/26 192.0.2.0/24 192.0.2.128/26
  • 19. Copyright © GREE, Inc. All Rights Reserved. 互いの⾔言い分 相⼿手側   グリーがFull  routeじゃないとは思わなかった グリー側   リーチしないPrefixを送られるとは思わなかった
  • 20. Copyright © GREE, Inc. All Rights Reserved. 対策 グリーAS55394がFull  route運⽤用ではないことを                 どこかに明⾔言したほうが良良いと思った   PeeringDB?   PeeringPolicy?   Peering依頼のメール? とはいいつつも、他社様もグリーのことだけ       考えて運⽤用してるわけではないので、なかなか難しい
  • 21. Copyright © GREE, Inc. All Rights Reserved. 総括:⼈人⽣生かわった部分 “有るもの”を”無くす”のは勇気がいるけど、       勇気をもってチャレンジすることも⼤大事                                                           ※弊社は追い込まれただけだけど。。。 2年年間でIGP/EGP周りのトラブルは1件だけ コントロールしたいASの経路路をもっていればよい   ※Traffic量量であったり、ビジネス上重要であったり いまとなっては  “Full  routeなくても⼗十分サービス維持はできる”と感じる
  • 22. Copyright © GREE, Inc. All Rights Reserved. ディスカッション
  • 23. Copyright © GREE, Inc. All Rights Reserved. RIRごとのIPv4アドレス移転ポリシー 引用 : JPOPM22 IPv4アドレス移転に関する動向 から http://venus.gr.jp/opf-jp/opm22/jpopm22-03.pdf
  • 24. Copyright © GREE, Inc. All Rights Reserved. 参照  http://www.cidr-‐‑‒report.org   IPv4経路路の増加 現在のIPv4経路路は約500,000経路路突破!! 15 16 17 60万経路路までは   あと2.5-‐‑‒3年年ぐらい
  • 25. Copyright © GREE, Inc. All Rights Reserved. 議論論 ALL   “Full  route”運⽤用で困ってる⼈人いますか?   “Full  route”やめたけど、こんなFilter書いてます的な⼈人   AS取得者=“Full  route”という概念念、どこかにありますか?   BGP-‐‑‒Routerを減価償却終了了まで維持できてますか? キャリアさん   なぜみなFull  route持ちたがるか不不思議に思ってませんか?  
  • 26. Copyright © GREE, Inc. All Rights Reserved.