diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-07-07 15:11:42 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-07-07 15:11:42 +0800 |
commit | 941dbfc2ebd8a7e4c7c12e6a83c793cb4cca3695 (patch) | |
tree | 8089a779e83ce36e00142339ae7e1a1400587128 /labs/zte/virtual2 | |
parent | dba4dcb6281bf2416d3da455c252074b5866868a (diff) |
enable HA deployment in zte-pods for daisy
Change-Id: I0e72702540309b70afcd752b6f6442218fbf9d75
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'labs/zte/virtual2')
-rw-r--r-- | labs/zte/virtual2/daisy/config/deploy.yml | 41 | ||||
-rw-r--r-- | labs/zte/virtual2/daisy/config/network.yml | 12 |
2 files changed, 25 insertions, 28 deletions
diff --git a/labs/zte/virtual2/daisy/config/deploy.yml b/labs/zte/virtual2/daisy/config/deploy.yml index 7b40541..d4c99e9 100644 --- a/labs/zte/virtual2/daisy/config/deploy.yml +++ b/labs/zte/virtual2/daisy/config/deploy.yml @@ -1,26 +1,15 @@ -adapter: 'libvirt'
-hosts:
-- name: 'controller01'
- roles:
- - 'CONTROLLER_LB'
-- name: 'controller02'
- roles:
- - 'CONTROLLER_LB'
-- name: 'controller03'
- roles:
- - 'CONTROLLER_LB'
-- name: 'computer01'
- roles:
- - 'COMPUTER'
-- name: 'computer02'
- roles:
- - 'COMPUTER'
-disks:
- daisy: 50
- controller: 110
- compute: 110
- ceph: 150
-daisy_passwd: 'r00tme'
-daisy_ip: '10.20.11.2'
-daisy_gateway: '10.20.11.1'
-ceph_disk_name: '/dev/sdb'
+adapter: libvirt +hosts: +- name: 'all_in_one' + roles: + - 'CONTROLLER_LB' + - 'COMPUTER' + template: 'templates/virtual_environment/vms/all_in_one.xml' +disks: + daisy: 50 + controller: 110 + compute: 110 +daisy_passwd: 'r00tme' +daisy_ip: '10.20.11.2' +daisy_gateway: '10.20.11.1' +ceph_disk_name: ''
\ No newline at end of file diff --git a/labs/zte/virtual2/daisy/config/network.yml b/labs/zte/virtual2/daisy/config/network.yml index f0666b6..7b4a501 100644 --- a/labs/zte/virtual2/daisy/config/network.yml +++ b/labs/zte/virtual2/daisy/config/network.yml @@ -11,8 +11,8 @@ network-config-metadata: title: 'zte-virtual2 network config' version: '0.1' - created: 'Mon Oct 31 2016' - comment: + created: 'Tue Apr 11 2017' + comment: 'all-in-one vm node deploy' networks: - cidr: '10.20.11.0/24' gateway: '10.20.11.1' @@ -46,6 +46,12 @@ networks: - start: '10.20.11.3' end: '10.20.11.10' name: 'TENANT' + - cidr: '100.20.11.0/24' + gateway: '100.20.11.1' + ip_ranges: + - start: '100.20.11.3' + end: '100.20.11.10' + name: 'HEARTBEAT' interfaces: - name: 'EXTERNAL' interface: 'ens8' @@ -57,5 +63,7 @@ interfaces: interface: 'ens3' - name: 'TENANT' interface: 'ens3' + - name: 'HEARTBEAT' + interface: 'ens9' internal_vip: '10.20.11.11' public_vip: '10.20.11.11' |