• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

3540X有云集群的部署手册吗

2024-01-18提问
  • 0关注
  • 0收藏,344浏览
粉丝:0人 关注:0人

问题描述:

3540X有云集群的部署指导吗

最佳答案

已采纳
粉丝:16人 关注:9人

H3C无线控制器云集群典型配置举例

注意事项

如果是通过其它组网方式升级过来,建议先清空配置重启,搭建集群组网,再配置其它业务。

配置举例

2.1  组网需求

1所示,AC 1AC 2通过直连链路建立云集群,同时AC1作为初始主,云集群与交换机Core之间建立动态聚合链路,用于LACP MAD检测和业务报文转发。

图1 双机直连组网图

2.2  配置步骤

2.2.1  配置Switch

# 配置前提:Core完成堆叠建立

# 创建二层聚合接口1并配置该聚合接口对应的聚合组工作在动态聚合模式下。

<Switch> system-view

[Switch] interface bridge-aggregation 1

Switch-Bridge-Aggregation1] link-aggregation mode dynamic

[Switch-Bridge-Aggregation1] quit

# 端口Ten-GigabitEthernet1/0/2加入聚合1中。

[Switch] interface ten-gigabitethernet 1/0/2

[Switch-Ten-GigabitEthernet1/0/1] port link-aggregation group 1

[Switch-Ten-GigabitEthernet1/0/1] quit

# 端口Ten-GigabitEthernet2/0/2加入聚合1中。

[Switch] interface ten-gigabitethernet 2/0/2

[Switch-Ten-GigabitEthernet1/0/2] port link-aggregation group 1

[Switch-Ten-GigabitEthernet1/0/2] quit

2.2.2  配置AC 1

(1)       配置云集群member成员

#设备出厂默认member id 1,如果还想作为member id 1使用,不需要配置

<AC1> system-view

[AC1] cloud-cluster member 1

[AC1-ccluster-member-1]

(2)       配置成员ip

#云集群自身要单独占用一个IP网段,需要提前规划好(本文以192.168.10.x/24举例)

#成员IP地址(不是接口IPAC1AC2同网段

[AC1-ccluster-member-1]member-ip 192.168.10.10 24

(3)       指定主设备(初始主)的ip地址(本例是AC1member ip

[AC1-ccluster-member-1]join-cluster ip 192.168.10.10

(4)       绑定云集群端口

#云集群需要配置控制通道和数据通道的物理接口

#每个通道两个物理口是为了冗余备份

#数据通道走私有协议,会增加额外的数据头,对带宽有要求,推荐使用XGE口,如果使用GE口,至少要2个。

 [AC1-ccluster-member-1]cluster-link control bind interface GigabitEthernet 1/0/2

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

[AC1-ccluster-member-1]cluster-link control bind interface GigabitEthernet 1/0/3

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

[AC1-ccluster-member-1]cluster-link data bind interface Ten-GigabitEthernet 1/3/8

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

[AC1-ccluster-member-1]cluster-link data bind interface Ten-GigabitEthernet 1/3/9

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

 

(5)       激活云集群配置

[AC1-ccluster-member-1]quit

[AC1]cloud-cluster configuration active

New cluster configuration:

  cloud-cluster service-cluster domain 0

  cloud-cluster hello cloud-timeout 3 service-timeout 5

  cloud-cluster member 1

    member-ip 192.168.10.10/24

    join-cluster ip 192.168.10.10

    role manager-worker

cluster-link control bind interface GigabitEthernet1/0/2

cluster-link data bind interface Ten-GigabitEthernet 1/3/9

The system will activate and save the configuration, and it might do a restart. Continue? [Y/N]:y

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):test.cfg

#设备重启,配置生效

 

2.2.3  配置AC 2

(1)       配置云集群member成员

#设备出厂默认member id 1,如果要修改成员编号,需要手动配置一次

<AC2> system-view

[AC2]cloud-cluster member 1 renumber 2

This command will take effect after the cloud cluster configuration is activated. The command might result in configuration change or loss when it takes effect. Continue? [Y/N]: y

[AC2]cloud-cluster member 1

[AC2-ccluster-member-1]

(2)       配置成员ip

#成员IP地址(非接口IPAC1AC2同网段

[AC2-ccluster-member-1]member-ip 192.168.10.11 24

(3)       指定主设备(初始主)的ip地址(本例是AC1member ip

[AC2-ccluster-member-1]join-cluster ip 192.168.10.10

(4)       绑定云集群端口

#云集群需要配置控制通道和数据通道的物理接口

#每个通道两个物理口是为了冗余备份

#数据通道走私有协议,会增加额外的数据头,对带宽有要求,推荐使用XGE口,如果使用GE口,至少要2个。

[AC2-ccluster-member-1]cluster-link control bind interface GigabitEthernet 1/0/2

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

[AC2-ccluster-member-1]cluster-link control bind interface GigabitEthernet 1/0/3

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

[AC2-ccluster-member-1]cluster-link data bind interface Ten-GigabitEthernet 1/3/8

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

[AC2-ccluster-member-1]cluster-link data bind interface Ten-GigabitEthernet 1/3/9

                                                                          

The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y

 

(5)       激活云集群配置

[AC2-ccluster-member-1]quit

[AC2]cloud-cluster configuration active

New cluster configuration:

  cloud-cluster service-cluster domain 0

  cloud-cluster hello cloud-timeout 3 service-timeout 5

  cloud-cluster member 2

    member-ip 192.168.10.11/24

    join-cluster ip 192.168.10.10

    role manager-worker

cluster-link control bind interface GigabitEthernet2/0/2

cluster-link data bind interface Ten-GigabitEthernet 2/3/9

The system will activate and save the configuration, and it might do a restart. Continue? [Y/N]:y

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):test.cfg

#设备重启,配置生效

 

2.2.4  云集群建立后配置

(1)       云集群建立完成

#重启完成后显示集群状态

<H3C>display cloud-cluster service-cluster container  //查看主备请使用这个命令行

Container ID     Slot ID       Member ID      Role        Status

1                1             1              Master      Online  

2                2             2              Standby     Online

 

<H3C>display cloud-cluster  //Role的角色可能与本样例不一致,内层主备,可以不关注

Manager list:

Member ID    Role        Member IP           State       Heartbeat(ms)

1            Follower    192.168.10.10       online      100

2            Leader      192.168.10.11       online      0

Worker list:

Member ID    State       Heartbeat(ms)       Joined at

1            online      100                 2023-02-12 06:13:28

2            online      200                 2023-02-12 06:13:28

 

(2)       配置动态聚合组

<H3C> system-view

#创建二层聚合接口1并配置该聚合接口对应的聚合组工作在动态聚合模式下。

<H3C> system-view

[H3C] interface bridge-aggregation 1

[H3C-Bridge-Aggregation1] link-aggregation mode dynamic

# 开启LACP MAD检测功能。#要求交换机为我司的交换机

[H3C-Bridge-Aggregation1] mad enable

[H3C-Bridge-Aggregation1] quit

# 端口Ten-GigabitEthernet1/3/10加入聚合1中。

[H3C] interface ten-gigabitethernet 1/3/10

[H3C-Ten-GigabitEthernet1/3/10] port link-aggregation group 1

[H3C-Ten-GigabitEthernet1/3/10] quit

# 端口Ten-GigabitEthernet2/3/10加入聚合1中。

[H3C] interface ten-gigabitethernet 2/3/10

[H3C-Ten-GigabitEthernet2/3/10] port link-aggregation group 1

[H3C-Ten-GigabitEthernet2/3/10 ]quit


暂无评论

1 个回答
粉丝:137人 关注:8人

不支持

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明