Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
Best practices of Daisy4nfv
The construction of TECS(ZTE) NFVI using Daisy in Chinamobile
contacts: [email protected]@[email protected]
Content
q 1.Why jenkins
q 2.Daisy install os on all nodes
q 3.Version management
q 4.Network plane
q 5.Multicast image
q 6.Set SDN network for Computer roles
q 7.Enable provider HA
Challenges of mass deployment
• Automated Deployment
• Management the hardware
• Deployment process monitor
• Deploy and test as planned
• Statistics of deployment process data
Jenkins is the solution
• Automation server
• Perfect Pipeline
• Can be layered management of Job
• Monitor the Job status in real time
• Run job by plans or triggers
• Perform statistics on the results
Controller(1)Jenkins Master
Jenkins Slavedeploy server
Daisy & First Controller(1)
Second Controller(2)
Computer2
big net192.168.38.0/24
pxe net99.99.99.0/24
deploy netGE x 1, FC x 2(bond)
Jenkins deployment map
Computer1
Jenkins job suite
Job name MeaningOpenStackPike_Daisy_2_4 Deploy OpenStack by Daisy, 2 Controllers and 4 Computers
OpenStackPike_devstack_1_0 Deploy OpenStack by devstack, all in one
OpenStackPike_Daisy_1_0OpenStackPike_Daisy_1_1
Deploy OpenStack by Daisy, all in oneDeploy OpenStack by Daisy, 1 Controller and 1 Computer
Tesc Suite 1
Tesc Suite 2
Tesc Suite 3
OpenStackPike_Daisy_2_4
OpenStackPike_devstack_1_0
OpenStackPike_Daisy_1_0
OpenStackPike_Daisy_1_1
Jenkins job framework
cd_jenkins.sh
install_os_daisy.sh
install_openstack.sh
Install daisy on daisyserver
Install openstack on all targetnodes
daisyclient daisy-api daisy-registryDB
Daisycloud-core
Jenkins entry script Job name
OpenStackPike_Daisy_2_2
Period-openstack-deploy-e9000
trigger
Daisy install os on all nodes
Ready to expand the environment, new nodes can be plug-in and installed os
Discover hardware information of all other target nodes
Install OS for all other nodes with pxe
Install os and daisy on the firstnode baremetal
Version Management
Version management (save all types of versions of the file in the daisy database, for the specified version of the installation, upgrade and uninstall process)
OS
openstack image
DPDKDaisy
ODL
daisy DB
Multicast image
q 1.In the first deployment, when the nodes to be deployed are many, it is hoped that Openstack image will be distributed to each target node through multicast, avoid the network congestion problem caused by Openstack Image unicast destribution on Daisy Server.
q 2.Automatic expansion or node replacement, for the number of new nodes is usually not much, we can use multicast.
Set SDN network for Computer roles
computer node
vm vm vm
...
ovs or ovs+dpdk(dvs)
...
vlan or vxlanbond NICS or not
OS DPDK VM
Numa Node suggest value map(56 cpus)
controller01 controller02
provider container
provider container
HA
HA
provider horizon
provider floating ip
BMC
outband floating ip
openstack horizon
Openstack client floating ip
Enable provider HA