主流技術&(IPS/FW/主備-主主快速切換)
一、RBM主備方案
RBM-FW-P 主配置內容介紹-注釋
- remote-backup group 含義:定義了一個遠程備份組。這表明設備支持某種形式的遠程備份功能,用于在設備之間同步配置或數據。
- data-channel interface GigabitEthernet1/0/11 含義:指定用于遠程備份的數據通道接口為GigabitEthernet1/0/11。 作用:備份數據將通過這個接口發送到遠程設備,確保備份操作的數據傳輸路徑明確。
- configuration sync-check interval 12 含義:設置配置同步檢查的間隔時間為12秒。 作用:設備會每隔12秒檢查一次配置是否需要同步,確保本地和遠程設備的配置保持一致。
- delay-time 5 含義:設置延遲時間為5秒。 作用:在執行某些操作(如備份或同步)之前,會延遲5秒。這可能是為了避免網絡瞬時問題或確保設備狀態穩定后再進行操作。
- local-ip 10.100.2.1 含義:指定本地設備的IP地址為10.100.2.1。 作用:這是本地設備在網絡中的標識,用于與其他設備通信。
- remote-ip 10.100.2.2 含義:指定遠程設備的IP地址為10.100.2.2。 作用:這是遠程備份設備的IP地址,本地設備會通過這個IP地址與遠程設備通信,進行數據備份或配置同步。
- device-role primary 含義:指定本地設備的角色為“主設備”。 作用:在備份組中,主設備通常負責發起備份操作或作為主要的配置管理設備。如果存在備用設備,備用設備可能會在主設備故障時接管其功能。
remote-backup groupdata-channel interface GigabitEthernet1/0/11configuration sync-check interval 12delay-time 5 local-ip 10.100.2.1remote-ip 10.100.2.2device-role primary
RBM-FW-S 備配置介紹
remote-backup groupdata-channel interface GigabitEthernet1/0/11configuration sync-check interval 12delay-time 5local-ip 10.100.2.2remote-ip 10.100.2.1device-role secondary
二、RBM主主方案介紹
FW-RBM-P配置
1、加上 RBM_P[FW-RBM-S-remote-backup-group]backup-mode dual-active //RBM從主備切換到主主的方案
FW-RBM-S配置
1、刪除 RBM_P[FW-RBM-S-remote-backup-group]undo device-role secondary
2、加上 RBM_P[FW-RBM-S-remote-backup-group]backup-mode dual-active //RBM從主備切換到主主的方案
三、RBM從主主切換到主備
FW-RBM-P
RBM_P<FW-RBM-P>display remote-backup-group status
Remote backup group information:Backup mode: Dual-activeDevice management role: PrimaryDevice running status: ActiveData channel interface: GigabitEthernet1/0/11Local IP: 10.100.2.1Remote IP: 10.100.2.2 Destination port: 60064Control channel status: DisconnectedKeepalive interval: 1sKeepalive count: 10Configuration consistency check interval: 12 hourConfiguration consistency check result: Not PerformedConfiguration backup status: Auto sync enabledSession backup status: Hot backup enabledDelay-time: 5 minUptime since last switchover: 0 days, 0 hours, 38 minutesSwitchover records:Time Status change Cause2025-03-26 20:31:27 Initial to Active HA Configuration changed
RBM_P<FW-RBM-P>RBM_P<FW-RBM-S>display remote-backup-group status
Remote backup group information:Backup mode: Dual-activeDevice management role: PrimaryDevice running status: ActiveData channel interface: GigabitEthernet1/0/11Local IP: 10.100.2.2Remote IP: 10.100.2.1 Destination port: 60064Control channel status: DisconnectedKeepalive interval: 1sKeepalive count: 10Configuration consistency check interval: 12 hourConfiguration consistency check result: Not PerformedConfiguration backup status: Auto sync enabledSession backup status: Hot backup enabledDelay-time: 5 minUptime since last switchover: 0 days, 0 hours, 16 minutesSwitchover records:Time Status change Cause2025-03-26 20:54:53 Initial to Active HA Configuration changed2025-03-26 20:54:30 Active to Initial HA Configuration changed2025-03-26 20:34:31 Initial to Active HA Configuration changed
RBM_P<FW-RBM-S>
FW-RBM-S
切換流程:從主主切換到主備
理解一下下面的內容
RBM_P[FW-RBM-P-remote-backup-group]display? this
#
remote-backup group
?backup-mode dual-active
?data-channel interface GigabitEthernet1/0/11
?configuration sync-check interval 12
?delay-time 5
?local-ip 10.100.2.1
?remote-ip 10.100.2.2
?device-role primary
#
return
RBM_P[FW-RBM-P-remote-backup-group]undo?? backup-mode
RBM_P[FW-RBM-P-remote-backup-group]display? this
#
remote-backup group
?data-channel interface GigabitEthernet1/0/11
?configuration sync-check interval 12
?delay-time 5
?local-ip 10.100.2.1
?remote-ip 10.100.2.2
?device-role primary
#
return
RBM_P[FW-RBM-S-remote-backup-group]display? this
#
remote-backup group
?backup-mode dual-active
?data-channel interface GigabitEthernet1/0/11
?configuration sync-check interval 12
?delay-time 5
?local-ip 10.100.2.2
?remote-ip 10.100.2.1
?device-role primary
#
return
RBM_P[FW-RBM-S-remote-backup-group]RBM_P[FW-RBM-S-remote-backup-group]
RBM_P[FW-RBM-S-remote-backup-group]display? this
#
remote-backup group
?backup-mode dual-active
?data-channel interface GigabitEthernet1/0/11
?configuration sync-check interval 12
?delay-time 5
?local-ip 10.100.2.2
?remote-ip 10.100.2.1
?device-role primary
#
return
RBM_P[FW-RBM-S-remote-backup-group]un
RBM_P[FW-RBM-S-remote-backup-group]undo? backup-mode
RBM_P[FW-RBM-S-remote-backup-group]device-role secondary
?