天天看點

高可用性網絡

一,高可用性概述

高可用性H.A.(High Availability)指的是通過盡量縮短因日常維護操作(計劃)和突發的系統崩潰(非計劃)所導緻的停機時間,以提高系統和應用的可用性。它與被認為是不間斷操作的容錯技術有所不同。HA系統是目前企業防止核心計算機系統因故障停機的最有效手段。

随着IT資訊系統的不斷發展,資料在企業的應用越來越廣,如何提高IT系統的高可用性成為建設穩健的計算機算系統的首要任務之一。構成計算機網絡系統的三大要素是:網絡系統,伺服器系統,存儲系統。網絡系統包括防火牆,路由器等網絡裝置,伺服器系統主要指使用者使用的各種伺服器系統,存儲系統,則是使用者最主要的資料存儲放的地點。

是以IT系統的高可用建設應包括網絡裝置高可用性,伺服器裝置高可用性,及儲存設備的高可用性三個方面。

二,應用執行個體

3.鍊路  LAN  stp  rstp  mstp   聚合

廣域網wan

利用華為裝置實作

拓撲:

浮動靜态路由:

[Router]sysname r6

[r6]int s0

[r6-Serial0]ip address 192.168.3.1 24

[r6-Serial0]int s1

[r6-Serial1]ip address 192.168.4.1 24

[r6-Serial1]int s0

[r6-Serial0]shut

[r6-Serial0]undo shut

[r6-Serial1]shut

[r6-Serial1]undo shut

[r6]ospf enable 動态路由協定

[r6-ospf]int e0

[r6-Ethernet0]ospf enable area 0

[r6-Ethernet0]int s0

[r6-Serial0]ospf enable area 0

[r6]ip route-static 192.168.2.0 24 192.168.4.2

[R10]int s0

[R10-Serial0]ip add 192.168.3.2 24

[R10-Serial0]int s1

[R10-Serial1]ip add 192.168.4.2 24

[R10]ospf enable ##開啟ospf

[R10]int e0

[R10-Ethernet0]ospf enable area 0 ##将e0加入骨幹區域

Interface has already been enabled

[R10-Ethernet0]int s0

[R10-Serial0]ospf enable area 0 ##将s0加入骨幹區域

Interface has already been enabled

[R10]ip route-static 192.168.1.0 24 192.168.4.1 ##配置靜态路由

檢視路由表

Standby interface:

[r6]undo ospf enable

[r6]ip route 192.168.2.0 24 192.168.3.2

[r6-Serial0]standby interface s1

[r6-Serial0]standby timer enable-delay 10啟用備份延遲

[r6-Serial0]standby timer disable-delay 10啟用骨幹延遲

[R10]undo ospf enable ##取消ospf

Terminate OSPF task...

OSPF disabled

[R10]ip route 192.168.1.0 24 192.168.3.1 ##配置靜态路由

[R10]int s0 ##骨幹接口

[R10-Serial0]standby int s1 ##備份接口

[R10-Serial0]standby timer enable-delay 10 ##啟用備份接口的延遲

[R10-Serial0]standby timer disable-delay 10 ##啟用骨幹接口的延遲

鍊路捆綁:

[r6-Serial0]undo standby int s1

[r6-Serial0]int s0

[r6-Serial0]undo ip add

[r6-Serial1]undo ip add

[r6-Serial1]int virtual-template 1開啟虛拟接口

[r6-Virtual-Template1]ip address 192.168.6.1 24

[r6-Virtual-Template1]int s0

[r6-Serial1]ppp mp interface virtual-template 1

[r6-Serial1]int s0啟用PPP鍊路協商

[r6-Serial0]ppp mp

[r6-Serial1]ppp mp

[r6-Serial1]quit

[r6]undo ip route-static all

[r6]ip route-static 192.168.2.0 24 192.168.6.2

[R10-Serial0]undo standby int s1

[R10]undo ip route-static all

[R10-Serial0]un ip add

[R10-Serial0]

%01:41:51: Line protocol ip on the interface Serial0 is DOWN

[R10-Serial1]un ip add

[R10-Serial1]int virtual-template 1

[R10-Virtual-Template1]ip add 192.168.6.2 24

[R10-Virtual-Template1]int s0

[R10-Serial0]ppp mp int vir 1

[R10-Serial1]ppp mp int vir 1

[R10-Serial1]int s0

[R10-Serial0]ppp mp

%01:45:13: Line protocol ip on the interface Virtual-Template1(Virtual-Template1:0) is UP

繼續閱讀