-
Notifications
You must be signed in to change notification settings - Fork 0
/
virtual_cluster.yaml
94 lines (93 loc) · 3.73 KB
/
virtual_cluster.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
all:
children:
cluster_machines:
children:
hypervisors:
hosts:
h1:
ansible_host: 192.168.101.2
network_interface: enp1s0
ip_addr: "{{ ansible_host }}"
ovs_bridges:
- name: ovsbr0
type: regular
interface: "enp3s0"
custom_network:
00-ovsbr0:
- Match:
- Name: "ovsbr0"
- Network:
- Address: "10.0.24.2/24"
10-cluster:
- Match:
- Name: "enp2s0"
- Network:
- Address: "192.168.102.2/24"
h2:
ansible_host: 192.168.101.3
network_interface: enp1s0
ip_addr: "{{ ansible_host }}"
ovs_bridges:
- name: ovsbr0
type: regular
interface: "enp3s0"
custom_network:
00-ovsbr0:
- Match:
- Name: "ovsbr0"
- Network:
- Address: "10.0.24.3/24"
10-cluster:
- Match:
- Name: "enp2s0"
- Network:
- Address: "192.168.102.3/24"
vars:
dpdk_module: uio_pci_generic
kernel_parameters_restart: true
bootloader_config_file: /boot/syslinux.cfg
observers:
hosts:
obs:
ansible_host: 192.168.101.4
network_interface: enp1s0
ip_addr: "{{ ansible_host }}"
custom_network:
10-cluster:
- Match:
- Name: "enp2s0"
- Network:
- Address: "192.168.102.4/24"
mons:
hosts:
h1:
h2:
obs:
osds:
hosts:
h1:
h2:
vars:
ceph_osd_disk: /dev/vdb
clients:
hosts:
h1:
h2:
vars:
ansible_connection: ssh
ansible_user: root
ansible_python_interpreter: /usr/bin/python3
dns_server: 192.168.101.1
gateway_addr: 192.168.101.1
apply_network_config: false
ntp_servers: 192.168.101.1
fallback_ntp_servers: 0.fr.pool.ntp.org 1.fr.pool.ntp.org
ceph_public_network: "192.168.101.0/24"
ceph_cluster_network: "192.168.102.0/24"
monitor_address: "{{ ansible_host }}"
vm_domaine: qemu
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
image_directory: /home/mathieu/rte/demo/cluster-virtual
vm_config: ../templates/vm/votp_vm.xml.j2
guest_image: guest.qcow2