中文讨论区

Reply
Aruba Employee
Posts: 7
Registered: ‎11-05-2014

本地控制器冗余双活动状态设置[Local Redundancy Active-Active Configuration]

本地控制器冗余双活动状态设置[Local Redundancy Active-Active Configuration]

介绍:

本地控制器冗余双活动状态可以同时提供冗余和负载均衡。对比在双主控制器的冗余配置中,因为涉及到活动和备用主控制器的配置同步,所以在配置上需要VRRP工作在controller-ip所在的VLAN;而在本地控制器冗余的配置中因为不涉及配置同步,所以允许在两个普通VLAN interface IP上实现双活动配置,图示如下:

1.PNG

第一步:在两控制器上分别创建两个VLAN,VLAN Interfaces和配置 interface IP,这里以VLAN10,20为例

Controller_1上运行命令:

(config)#vlan 10

(config)#interface vlan 10

(config-subif)#ip address 192.168.10.1

 

(config)#vlan 20

(config)#interface vlan 10

(config-subif)#ip address 192.168.20.1

 

Controller_2上运行命令:

(config)#vlan 10

(config)#interface vlan 10

(config-subif)#ip address 192.168.10.2

 

(config)#vlan 20

(config)#interface vlan 10

(config-subif)#ip address 192.168.20.2

 

第二部:分别创建两个VRRP组,具体如下:

VRRP 10:以controller_1为Primary, controller_2为Backup

VRRP 20:以controller_2为Primary, controller_1为Backup

在controller_1上运行命令行:

(config)#vrrp 10

(config-vrrp)#vlan 10

(config-vrrp)#ip address 192.168.10.12

(config-vrrp)#priority 200

(config-vrrp)#description Primary-Master_VLAN10

(config-vrrp)#no shutdown

(config)#master-redundancy

(config-master-redundancy)#master-vrrp 10

(config-master-redundancy)#peer-ip-address 192.168.10.2 ipsec aruba123

(config)#vrrp 20

(config-vrrp)#vlan 20

(config-vrrp)#ip address 192.168.20.12

(config-vrrp)#priority 100

(config-vrrp)#description Backup-Master_VLAN20

(config-vrrp)#no shutdown

(config)#master-redundancy

(config-master-redundancy)#master-vrrp 20

(config-master-redundancy)#peer-ip-address 192.168.20.2 ipsec aruba123

在controller_2上运行命令行:

(config)#vrrp 10

(config-vrrp)#vlan 10

(config-vrrp)#ip address 192.168.10.12

(config-vrrp)#priority 100

(config-vrrp)#description Backup-Master_VLAN10

(config-vrrp)#no shutdown

(config)#master-redundancy

(config-master-redundancy)#master-vrrp 10

(config-master-redundancy)#peer-ip-address 192.168.10.1 ipsec aruba123

(config)#vrrp 20

(config-vrrp)#vlan 20

(config-vrrp)#ip address 192.168.20.12

(config-vrrp)#priority 200

(config-vrrp)#description Primary-Master_VLAN20

(config-vrrp)#no shutdown

(config)#master-redundancy

(config-master-redundancy)#master-vrrp 20

(config-master-redundancy)#peer-ip-address 192.168.20.1 ipsec aruba123

 

 

Search Airheads
Showing results for 
Search instead for 
Did you mean: