Understanding Graceful Routing Engine Switchoverã®ã¡ã¢
Understanding Graceful Routing Engine Switchoverãããããã®ã§ã https://www.juniper.net/documentation/us/en/software/junos/high-availability/topics/topic-map/gres-understanding.html ãè¦ã¦ãããæ¥æ¬èªã«ãã¦ãããå®è³ªç¿»è¨³ã¿ããã«ãªã£ãã®ã§ãä¾é¤ããã
â» ãã®æç« ã¯2024/05æç¹ã®ãã®ã§ããã翻訳ã®æ£ããã«ã¤ãã¦ã¯è²¬ä»»ãåãã¾ãããåç¨ç°å¢ã«è¨å®ããããå ´åã¯ã¡ããã¨ãªãªã¸ãã«ã®æ¹ãè¦ã¦ã対å¿ããé¡ããã¾ãã¾ãã
GRESã®èª¬æã¨è¦ä»¶ã«ã¤ãã¦ã®èª¬æ
- Graceful Routing Engine Switchover Concepts
Graceful Routing Engine Switchover (GRES) ã¯Junos ã¨Junos Evoã§å©ç¨å¯è½ã§ããã¨ãprimary REãè½ã¡ã¦ãåé·ç³»ã®REããã±ããã®ãã©ã¯ã¼ãã£ã³ã°ãç¶ç¶ãã¦å®æ½ããã GRESã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã«ã¼ãã«ã®æ å ±ãä¿åããéä¿¡ã«å½±é¿ããªãããã«ãããããããGRESã¯c-planeã®æ å ±ãä¿åããªãã
- Junos Evo: - Junos Evoãä¹ã£ã¦ããPTX10k (PTX10004, PTX10004, PTX10016)ã¯GRESãããã©ã«ãã§enableã«ãªã£ã¦ãã¦disableã«ãããã¨ãã§ããªã
- Note: - Tã·ãªã¼ãºã®ã«ã¼ã¿ã¯nonstop active routing (NSR) ã¨GRESãçµã¿åãããå ´åã«c-placeãä¿æãããã¾ãGRESãæå¹ã§ããç¶æ ã ã¨Packet Forwarding Engineãã¨ã«line rateã®75%ã®ãã©ãã£ãã¯ãè½ã¨ããã«éä¿¡ããã
é£æ¥ããããã¤ã¹ã¯ãããã¤ã¹ãåèµ·åãããã¨ãæ¤åºããåã ã®ã«ã¼ãã£ã³ã°ãããã³ã«ã®ä»æ§ã§æå®ãããæ¹æ³ã§ãã®ã¤ãã³ãã«åå¿ããã
switchoverä¸ãã«ã¼ãã£ã³ã°ãæä¾ããããã«ãGRESã¯ä¸è¨ãçµã¿åãããªãã¨ãããªãã
- Graceful restart protocol extensions
- Nonstop active routing (NSR)
primary REãåãæ¿ãããããªäºè±¡ãèµ·ããéã«backup REã«ã§ããã ãæ©ãåãæ¿ããå®æ½ããããã«ããã¤ãã®ã¢ãããã¼ããããã
- Note: 2ã¤ã®REãsyncããããã®è¦ä»¶ãlogicã®ããã«ãNSR/GRESã®ããã©ã¼ãã³ã¹ã¯ã·ã¹ãã ã®ä¸ã®REã®æãéããã®ããã«å¶éãããã
Primary Roleãbackup REã«swtichããããã®æ¡ä»¶ã¯ä¸è¨:
- primary REã®ã«ã¼ãã«ã®åä½ãæ¢ã¾ã£ã
- primery REã®ãã¼ãã¦ã§ã¢æ é
- 管çè ãæåã§switchoverãã
Note: switchoverã®éã«ã«ã¼ãã£ã³ã°ãããã³ã«ã®stateã®æ å ±ãä¿æç´ æ©ã修復ããããã«ãGRESã¯graceful restartãNSRã®ã©ã¡ããã両æ¹ãçµã¿åãããã¹ã(must)ã graceful restartã®è¿½å æ å ±ã¯ https://www.juniper.net/documentation/us/en/software/junos/high-availability/topics/concept/graceful-restart-concepts.html ããNSR㯠https://www.juniper.net/documentation/us/en/software/junos/high-availability/topics/concept/nsr-overview.html ãè¦ã¦ãã
ããbackup REãprimary REããkeepaliveã2ç§( M20ã§ã¯4ç§ )åãåããã¨ãã§ããªãã£ãå ´åã¯ãprimary REãæ éããã¨æ±ºå®ãããprimary roleãå¼ãåããã Packet Forwarding Engineã¯
- ã·ã¼ã ã¬ã¹ã«å¤ãREãåãé¢ã
- æ°ããREã«ã¤ãªãç´ã
- åèµ·åããªã
- ãã©ãã£ãã¯ã«å½±é¿ãä¸ããªã
ããæ°ããREã¨Packet Routing Engineã¯ãã®å¾åæãããæ°ããprimary REãPacket Routing Engineãææ°ã§ãªããã¨ãæ¤ç¥ããå ´åãstate update messageãåéä¿¡ãã¾ãã
ä¸è¨ã®GRESã®æåã®æ¨å¥¨ã¨è¦ä»¶ã«ã¤ãã¦æ³¨æãããã¨
Junos 12.2ãããããé£æ¥æ©å¨ã®helpeã®peerrãã¿ã¤ã ã¢ã¦ãããããããã¤ã¹ãåèµ·åããããgraceful restart protocolã®æ¡å¼µãåèµ·åãèµ·ãããããªãã¨ã«ã¤ãã¦helperããã¤ã¹ã®peerãç¥ããããã¨ãã§ããªããGracefull restartã¯åæ¢ãããã©ãã£ãã¯ãè½ã¨ãå¯è½æ§ããããé£æ¥é¢ä¿ãç¶æããããã«ãIS-ISã§ã¯hold-timeãããã©ã«ãã®27ç§ãã40ç§ããã大ããããã
é£ç¶ããSwitchoverã¯ä¸¡æ¹ã®REãèµ·åãã¦ããæä½ã§ã240ç§ãã¨ã«å®æ½ããå¿ è¦ãããã240ç§ä»¥å ã«switchoverã試ã¿ãã¨ä¸è¨ã®ãããªã¡ãã»ã¼ã¸ã表示ãããã
Standby Routing Engine is not ready for graceful switchover. Packet Forwarding Engines that are not ready for graceful switchover might be reset
ããswitchoverãæåã§å®æ½ãããå ´åãããã¤ã¹ã¯graceful switchoverã®ããã®æºåãã§ãã¦ãªãPacket Forwarding Engineã®ã¿ãªã»ãããããFPCã¯èªåçã«åèµ·åãã¦ãªãããã«ãããwarningã表示ãããªããªãã¾ã§å¾ ã£ã¦ããswitchoverãå®æ½ãããã¨ãæ¨å¥¨ããã
Junos 14.2ããMXã·ãªã¼ãºã§GRESãããå ´åã¯ãclear synchronous-ethernet wait-to-restore ã³ãã³ããæ°ããPrimary REã§wait-to-restore timerãã¯ãªã¢ããããã«å®æ½ããªããã°ãªããªãããã®ã³ãã³ãã¯local REã®ã¿ã¤ãã¼ã®ã¿ãresetããããå®æ½ãå¿ è¦ã§ããã
TX Matric Plusã§3D SIBã使ã£ã¦ããå ´åã¯ãé£ç¶ããREã®switchoverã¯ä¸¡æ¹ã®REãèµ·åãã¦ãã900ç§ä»¥ä¸çµéããªããã°ãªããªããåæã«é¢ããåé¡ãé¿ãã¦GRESããããã«ä¸ã¤ã ãã§å®æ½ããå¿ è¦ãããã
Juniper社ã¯ä¸è¨ãæ¨å¥¨ããªãã
- GRESãæå¹ã«ãªã£ã¦ããããã¤ã¹ã§ã®backup REã¸ã®commit ãªãã¬ã¼ã·ã§ã³
- backup REã§GRESãæå¹ã«ãªã£ã¦ããä»»æã®ã·ããªãª
ããªããNonstop routingãGRESã¨å ±ã«QFX10000ã§æå¹ã«ãã¦ããã¨ããJuniper社㯠[edit routing-options] ã®é層㫠nsr-phantom-holdtime ãè¨å®ãããã¨ãå¼·ãæ¨å¥¨ãã¾ããswitchoverã®ã¨ãã«ãã©ãã£ãã¯ããã¹ãããã¨ãå©ããããã«ããããã®è¨å®ãå ¥ãã¦ããããç¹å®ã®hold-timerãåããã¾ã§ãphantom IPã¢ãã¬ã¹ã¯switchoverã®éãã«ã¼ãã«ã«æ®ããã¿ã¤ãã¼ãåãããã¨ãããã¤ã¹ã¯é©åãªã«ã¼ãã£ã³ã°ãã¼ãã«ã«å¯¾å¿ããçµè·¯ã追å ãããEthernet VPN (EVPN) - VXLANç°å¢ã§ã¯ãJuniper社ã¯hold-timeã300ç§ã«ãããã¨ãæ¨å¥¨ãã¾ãããã®ãªãã·ã§ã³ã¯åé·REããªããGRESããµãã¼ããã¦ããªãQFX10002ã§ã¯åãå ¥ãããã¾ããã
å³1ã¯Graceful Routing Engine switchoverã®ã·ã¹ãã ã¢ã¼ããã¯ãã£ã¨ãswitchoverã®ããã®REã®æºåã«é¢ããããã»ã¹ã表ãããã®ã ã
å³ã¯æ¬å®¶ãµã¤ãè¦ã¦ãã
Note: ä¸è¨ã®ä¸¡æ¹ãå®è¡ãã¦GRESã®æºåãã§ãã¦ãããã¨ã確èªãã¦ãã ããã - Primary RE㧠request chassis routing-engine master switch check ãå®è¡ããã - Backup RE㧠show system switchover ãå®è¡ããã
GRESã®ããã®switchoverã®æºåå·¥ç¨ãä¸è¨ã®1ãã8ã§èª¬æããã
- primary REã®ã¹ã¿ã¼ã
- routing platformããã»ã¹ (chassisããã»ã¹[chassisd]ã®ãããª)ã®ã¹ã¿ã¼ã
- Packet Forwarding engineãã¹ã¿ã¼ãããprimary REã¨æ¥ç¶
- ã·ã¹ãã ã®ãã¹ã¦ã®æ å ±ãã¢ãããã¼ãããã
- backup REã¹ã¿ã¼ã
- ã·ã¹ãã ã¯GRESãæå¹ã«ã§ããã決å®ãã
- kernel synchronization ããã»ã¹ (ksyncd)ã¯backup REãprimary REã¨åæããã
- ksyncdãåæãå®äºããããã¨ããã¹ã¦ã®ç¶æ ã®æ å ±ã¨forwardingãã¼ãã«ãã¢ãããã¼ããã
å³2ã¯ã«ã¼ãã£ã³ã°(ãã¹ã¤ããã³ã°)ãã©ãããã©ã¼ã ä¸ã§ã®switchoverã®å¹æã示ãã¦ãããswitchoverã¯ä¸è¨ã®1ãã5ã®ã¹ãããã§æ§æããã¦ããã
- primary REããkeepaliveããã¹ãããã¨ããã·ã¹ãã ã¯backup REã¸ã®åªé ãªåãæ¿ããå®æ½ããã
- Packet Forwarding Engineã¯æ°ããprimaryã«ãªã£ãæ§backup REã«æ¥ç¶ããã
- Routing platoformã¯GRESã«å«ã¾ãã¦ããªã(rpdã®ãããªroutingããã»ã¹)ã®åèµ·åãå®æ½ããã
- ã¹ã¤ãããªã¼ãã¼ã®æç¹ããå¦ç¿ããç¶æ æ å ±ã¯ã·ã¹ãã å ã§æ´æ°ããã
- ã°ã¬ã¼ã¹ãã«ãªã¹ã¿ã¼ããããã³ã«ã®æ¡å¼µãè¨å®ããã¦ããå ´åãé£æ¥ãããã¢ãã«ãã¼ããã¤ã¹ããã«ã¼ãã£ã³ã°æ å ±ãåéãã復å ãã
Note: MXã·ãªã¼ãºã«ã¼ã¿ã¼ã§æ¡å¼µãµãã¹ã¯ã©ã¤ãã¼ç®¡çã使ç¨ãã¦ããå ´åãæ°ããããã¯ã¢ããã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ï¼ä»¥åã®ãã©ã¤ããªã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ï¼ã¯ãåªé ãªã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ã®åãæ¿ããå®è¡ãããã¨ãã«åèµ·åããããã®åèµ·åã«ãããããã¯ã¢ããã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ã®ç¶æ ãæ°ãããã©ã¤ããªã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ã®ç¶æ ã¨åæãããåãæ¿ãä¸ã«çºçããç¶æ ã®ä¸ä¸è´ãé²ãã
Note: GRESã使ç¨ããTã·ãªã¼ãºããã³M320ã«ã¼ã¿ã¼ã§ã¯ãGRESä¸ã«ã¹ã¤ããã¤ã³ã¿ã¼ãã§ã¼ã¹ãã¼ãï¼SIBï¼ããªãã©ã¤ã³ã«ãªãã1ã¤ãã¤åèµ·åãããããã¯ãSIBã管çããã¹ã¤ããããã»ããµã¡ã¶ãã³ãã¼ãï¼SPMBï¼ãé¢é£ããSIBã®ç¶æ æ å ±ãé©åã«åå¾ããããã®æéã確ä¿ããããã§ããããã ãããã¹ã¦ã®FPCããã«ã©ã¤ã³ã¬ã¼ãã§ãã©ãã£ãã¯ãéä¿¡ãã¦ããå®å ¨ã«ããã¥ã¬ã¼ããããã·ã£ã¼ã·ã§ã¯ãåãæ¿ãä¸ã«ä¸æçãªãã±ãããã¹ãçºçããå¯è½æ§ãããã
注æï¼GRESãæ§æããã¦ãã¦ãTX Matrix Plusã«ã¼ã¿ã¼ã«3D SIBãæè¼ããã¦ããå ´åãrestart chassis-controlã³ãã³ããå®è¡ãã¦ãã©ã®ã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ããã©ã¤ããªã«ãªããã¯å¤å¥ã§ããªããããã¯ãchassisdããã»ã¹ãrestart chassis-controlã³ãã³ãã®å®è¡æã«åèµ·åããããã§ãããchassisdããã»ã¹ã¯ãã©ã¤ããªã®å½¹å²ãç¶æããã³ä¿æãã責任ããããåèµ·åãããã¨æ°ããchassisdã¯ããã¤ã¹ã®è² è·ã«åºã¥ãã¦å¦çãããããã®çµæãã©ã¡ããã®ã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ããã©ã¤ããªã«ãªãã
Effects of a Routing Engine Switchover
表1ã¯ç°ãªãæ©è½ãenableã«ããã¨ãã®REã®switchoverã®å¹æã«ã¤ãã¦èª¬æããã
- high availabilityã®æ©è½ã使ããªã
- Graceful Routing Engine switchover
- Greceful restart
- Nonstop active routing
REåé·ãã(æ©è½ã¯æå¹ã«ãªã£ã¦ãªãå ´å)
å©ç¹:
- æ°ãããã©ã¤ããªã«ã¼ãã£ã³ã°ã¨ã³ã¸ã³ã¸ã®åãæ¿ããå®äºããã¨ãã«ã¼ãã£ã³ã°åæãè¡ããããã©ãã£ãã¯ãåéããã¾ã
èæ
®ç¹:
- ãã¹ã¦ã®ç©çã¤ã³ã¿ã¼ãã§ã¼ã¹ããªãã©ã¤ã³ã«ãªã
- Packet Forwarding Engineã®åèµ·å
- backup REã¯ã«ã¼ãã£ã³ã°ãããã³ã«ã®ããã»ã¹(rpd)ãåèµ·åãã
- ãã¹ã¦ã®ãã¼ãã¦ã§ã¢ã¨ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯æ°ããprimary REãçºè¦ãã
- switchoverã«ããã¤ãã®æéãããã
- ããã¤ã¹ã®ãã¹ã¦ã®é£æ¥é¢ä¿ã¯ãç©ççãªå¤æ´ï¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®ã¢ã©ã¼ã ï¼ããã³ã«ã¼ãã£ã³ã°ã®å¤æ´ï¼ãããã¸ã¼ï¼ã«æ°ä»ã
GRESãæå¹
å©ç¹:
- ã¹ã¤ãããªã¼ãã¼ä¸ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã«ã¼ãã«æ
å ±ã¯ä¿æããã
- ãã±ãã転éã¨ã³ã¸ã³ã¯åèµ·åãããªããããã¹ã¤ãããªã¼ãã¼ã¯é«éã§ãã
èæ
®ç¹:
- æ°ãããã©ã¤ã㪠ã«ã¼ãã£ã³ã° ã¨ã³ã¸ã³ã¯ã«ã¼ãã£ã³ã° ãããã³ã« ããã»ã¹ (rpd) ãåèµ·åãã¾ãã
- ãã¹ã¦ã®ãã¼ãã¦ã§ã¢ã¨ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ãã¦ã©ã¼ã ãªã¹ã¿ã¼ãã«ä¼¼ãããã»ã¹ã§åå¾ããã¾ãã
- ãã¹ã¦ã®é£æ¥é¢ä¿ã¯ãããã¤ã¹ã®ç¶æ
å¤åãèªèãã¦ãã¾ãã
GRESã¨NSRãæå¹
å©ç¹:
- ã¹ã¤ãããªã¼ãã¼ä¸ããã©ãã£ãã¯ã¯ä¸æããã¾ããã
- ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã«ã¼ãã«æ
å ±ã¯ä¿æããã¾ãã
èæ
®ç¹:
- ãµãã¼ãããã¦ããªããããã³ã«ã¯ãåãããã³ã«åºæã®é常ã®å復ã¡ã«ããºã ã使ç¨ãã¦æ´æ°ããå¿
è¦ãããã¾ãã
GRESã¨graceful restartãæå¹
å©ç¹
- ã¹ã¤ãããªã¼ãã¼ä¸ããã©ãã£ãã¯ã¯ä¸æããã¾ããã
- ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã«ã¼ãã«æ
å ±ã¯ä¿æããã¾ãã
- åªé
ãªåèµ·åãããã³ã«ã®æ¡å¼µã¯ãé£æ¥ããã¤ã¹ããè¿
éã«ã«ã¼ãã£ã³ã°æ
å ±ãåéãã復å
ãã¾ãã
æ¬ ç¹
- é£æ¥ããã¤ã¹ã¯åªé
ãªåèµ·åããµãã¼ãããå¿
è¦ããããå¾
æ©ééãå¿
è¦ã§ãã
- ã«ã¼ãã£ã³ã°ãããã³ã«ããã»ã¹ (rpd) ãåèµ·åãã¾ãã
- ç¹å®ã®ãããã³ã«ã§ã¯ããããã¯ã¼ã¯ã®é大ãªå¤æ´ãåªé
ãªåèµ·åãåæ¢ãããå¯è½æ§ãããã¾ãã
- Junos OS ãªãªã¼ã¹ 12.2 以éã§ã¯ãåèµ·åããã¤ã¹ã¨é£æ¥ãããã¢ããã«ãã¼ãããã¤ã¹éã®é£æ¥ãã¿ã¤ã ã¢ã¦ãããå ´åãåªé
ãªåèµ·åãåæ¢ãããã©ãã£ãã¯ã®ä¸æãå¼ãèµ·ãããã¨ãããã¾ãã