AC-DCN ESXi

The traditional IT architecture network, according to business needs after deployment on the line, if the business needs changed, re-edit the configuration on the corresponding network equipment (routers, switches, firewalls) is a very complicated matter. Internet / mobile Internet changing business environment, high stability and high-performance network is not enough to meet business needs, flexibility and agility but more critical. SDN thing done is to separate the control devices on the network out by a centralized management controller, without relying on the underlying network devices (routers, switches, firewalls), the differences from shielding the underlying network device. The control is completely open, users can customize any network routing and transmission rule policy wanted to achieve, which is more flexible and intelligent.

Agile Controller-DCN controllers Huawei CloudFabric core component of a cloud data center network solutions, enabling centralized control and dynamic scheduling of network resources, rapid deployment of cloud services. Huawei CloudFabric cloud data center network solutions to provide customers with minimalist network deployment, network intelligent network operation and maintenance, interconnection and wide open ecosystem of next-generation data center to support the rapid development of enterprise cloud services.

1, the physical environment

Physical machine Huawei RH2288H V 3, RAID1 hard disk configuration to create a dual E5-2620 V4 128G memory, two SAS 600G disk, virtualization use ESXi6.5

The actual production environment has a network operation and maintenance management area 100.0, so a single plane deployed. Each node need only one card can be, Huawei official suggested the commercial environment of each node physical memory to 128G, because of limited production resources, as will reduce the physical memory of each node is 96G.

To build necessary infrastructure package and introduced a clustered environment:

Package names

use

ac_template_for_VMware_OS_enhance-1.2.33h.ova

ESX virtual host template package under i virtualized environment, the template Huawei has built custom operating system

Breeze_iDeploy_V100R002C11B032_suse.zip

IDeploy package in suse operating system for managing host, batch create tasks to install, deploy AC-DCN need to install this package before using this package web environment to provide the bulk of the installation and configuration AC-DCN

AgileController-DCNV300R003C00SPC220T_install_pkg.zip

AC-DCN installation package, this package needs to be uploaded to I on the Deploy automated deployment. This task is only to create a node DCN

AgileController-DCNV300R003C00SPC220T_config_pkg.zip

AC-DCN configuration, you need to upload this package I on the Deploy automated deployment, configuration of the nodes or modify the configuration. Such as streamlining cooperation and create a cluster.

   

Host name and IP allocation Introduction

CPU name

IP addresses

use

node1

172.16.100.234

IP address of the cluster node 1

node2

172.16.100.235

IP address of the cluster nodes 2

node3

172.16.100.236

IP address of the cluster nodes 3

  

172.16.100.237

South to the floating IP address

  

172.16.100.238

North floating to the proxy node IP address

  

172.16.100.239

O & M plane floating IP address

  

172.16.100.240

ntp server used by the cluster

  

172.16.100.245-250

Between cluster nodes IP communication start, the background is automatically assigned next six IP addresses

After the cluster is successfully created service entry IP address and description

Business entry

Sample inlet

The actual entrance

Entrance Introduction

Business landing face

https: // north to the floating IP address : 18002 / index.html

https://172.16.100.238:18002/index.html

After landing can view the SDN cluster of general information to control the operation of almost all resources within the cluster will use this address

Operation and maintenance business side

https: // operation and maintenance of surface floating IP address Address : 18102 / index.html

https://172.16.100.239:18102/index.html

You can view the landing of each node in the cluster of health of major users to maintain their own cluster node

Business surface deployment

https://localhost:57679/ideploy/

https://172.16.100.234:57679/ideploy/

After landing can be added to a host cluster for batch create tasks to install and configure a cluster

2, operating system deployment

ESX configuration process i direct skip, first create a host operating system uses three suse ova template. Follows

   

   

   

   

   

Remove the extra card, create a cluster of a plane, only one card can be configured to modify the 24 cpu, 96G memory, save the configuration according to ESX after i version of nowhere, a virtual machine may automatically start, automatic start, wait for some time, virtual machines are automatically configured system environment.

通过ESXi的控制台登陆到系统内,首先需要做的操作是修改root用户和swift用户的密码,如图,root和swift用户的默认密码为Huawei12#$

配置主机的IP地址,网关等信息。使用root用户登陆,在控制台输入yast2,使用键盘控制依次选择System> Network Settings

使用TAB键切换到Edit处,回车

注意使用空格选中"Statically Assigned IP Address"然后再IP Address处填入IP地址,最后使用tab键盘切换到Next处,按回车

   

   

按下键盘的ALT+U键盘,设置默认网关,如图所示,

设置完成之后使用tab键切换到OK处,回车

再使用tab键切换到Quit处,回车退出Yast配置工具

配置完成之后依次修改三个节点的主机名为node1,node2和node3使用如下命令

hostnamectl set-hostname node1

修改时区

cp /usr/share/zoneinfo/Asia/Beijing /etc/localtime

hwclock

3,部署iDeploy,为了方便配置集群,我们将iDeploy集成到节点1上,在部署之前需要先开启节点1的ssh访问。

编辑/etc/ssh/sshd_config文件

允许root用户登陆,开启密码验证。

保存配置之后,需要重启sshd服务

service sshd restart

修改hosts文件,添加如下行

vi /etc/hosts

172.16.100.234 node1

上传iDeploy包/usr/local目录下,进入目录执行加压,添加权限

cd /usr/local/

unzip Breeze_iDeploy_V100R002C11B032_suse.zip

chmod -R 755 Breeze_iDeploy_V100R002C11B032

进入bin目录,运行startup.sh

cd Breeze_iDeploy_V100R002C11B032/bin/

./startup.sh

启动成功,使用IE8以上的浏览器访问https://172.16.100.234:57679/ideploy/,即可登陆,登陆默认的用户名密码为admin/Admin123,需要修改密码密码

   

   

再次登陆时如果IE闪退的话,请添加允许弹出窗口,如下图

登陆后的样子

   

4,在iDeploy平台配置AC-DCN的安装。首先需要上传AC-DCN的安装包和配置包,然后创建主机组,添加主机,创建安装任务。如下图

   

   

   

   

   

依次增加3个主机,100.234-236,点确定之前,要先检测,检测正确时候才点确定

   

   

创建安装任务

   

   

   

在此页面点击任务名称,可以查看具体的安装过程

在此查看具体安装过程中的日志,可以过滤日志级别

安装完成

   

5,在iDeploy平台配置AC-DCN的配置。直接创建配置任务,选择配置包,如下图

   

根据环境选配是否有BGP服务

这些IP地址都要保证未被使用或者占用,需要特别注意的是集群间通信起始IP地址,后台会根据配置的IP地址依次往后自动分配6个IP地址。

此处要保证ntp服务器的可用性,经过测试,如使用windows服务器作为ntp的话,window防火墙打开的情况下,是无法进行下一步的。此处使用linux的chronyd服务器作为NTP服务器。

   

此处点击任务名称即可查看配置详情和配置日志

   

执行成功

6,登陆AC-DCN,使用chrome浏览器

地址表

业务入口

示例入口

实际入口

入口介绍

登陆业务面

https://北向浮动IP地址:18002/index.html

https://172.16.100.238:18002/index.html

登陆后可以查看SDN集群的总体信息,几乎对集群内所有资源的控制操作都使用该地址

运维业务面

https://运维面浮动IP地址址:18102/index.html

https://172.16.100.239:18102/index.html

登陆可以查看集群各节点的健康程度,主要用户维护集群自身的节点

默认的用户名密码为admin/Changeme123,首次登陆需要修改密码,如图所示。

登陆后的控制台

运维管理面

   

登陆业务面

   

Guess you like

Origin www.cnblogs.com/withfeel/p/11640877.html