-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathcluster-create-payload-deploy-appformix-4-ha.yml
executable file
·503 lines (503 loc) · 16.7 KB
/
cluster-create-payload-deploy-appformix-4-ha.yml
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
resources:
- data:
name: server1-9d03e841-3fd8-439c-bdb2-ff5800497579
uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- server1-9d03e841-3fd8-439c-bdb2-ff5800497579
hostname: server1
ip_address: 10.87.68.52
kind: node
operation: CREATE
- data:
name: server2-9d03e842-3fd2-4392-bdb2-ff5800497572
uuid: 9d03e842-3fd2-4392-bdb2-ff5800497572
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- server2-9d03e842-3fd2-4392-bdb2-ff5800497572
hostname: server2
ip_address: 10.84.24.44
kind: node
operation: CREATE
- data:
name: server3-9d03e843-3fd3-4392-bdb3-ff5800497573
uuid: 9d03e843-3fd3-4393-bdb3-ff5800497573
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- server3-9d03e843-3fd3-4393-bdb3-ff5800497573
hostname: server3
ip_address: 10.84.24.45
kind: node
operation: CREATE
- data:
name: server4-9d03e844-3fd4-4394-bdb4-ff5800497574
uuid: 9d03e844-3fd4-4394-bdb4-ff5800497574
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- server4-9d03e844-3fd4-4394-bdb4-ff5800497574
hostname: server4
ip_address: 10.84.24.46
kind: node
operation: CREATE
- data:
uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
name: fabric_test-cda6f70d-5cfc-4b6a-a831-25bff0b87744
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- fabric_test-cda6f70d-5cfc-4b6a-a831-25bff0b87744
display_name: fabric_test-cda6f70d-5cfc-4b6a-a831-25bff0b87744
perms2:
owner: admin
openstack_registry: default
openstack_release: ocata
openstack_internal_vip: 10.87.68.52
openstack_external_vip: 10.87.68.52
kolla_globals:
key_value_pair:
- value: 'no'
key: enable_haproxy
- value: 'no'
key: enable_swift
- value: 'no'
key: enable_ironic
- value: 'no'
key: enable_barbican
- value: '50'
key: keepalived_virtual_router_id
- value: 10.87.68.52
key: contrail_api_interface_address
kind: openstack_cluster
operation: CREATE
- data:
provisioning_state: NOSTATE
uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
name: appfmx_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- appfmx_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
display_name: appfmx_test1
perms2:
owner: admin
appformix_vip: 10.10.10.10
appformix_version: 2.18.1
appformix_license: /opt/software/appformix/appformix-internal-openstack-2.18.sig
appformix_docker_registry: registry.juniper.net/appformix/
appformix_kvm_instance_discovery: true
appformix_network_device_monitoring_enabled: true
appformix_jti_network_device_monitoring_enabled: true
appformix_remote_host_monitoring_enabled: true
contrail_analytics_url: 'http://10.84.24.44:8081'
contrail_config_url: 'http://10.84.24.44:8082'
contrail_cluster_name: 'ContrailCluster1'
network_device_discovery_enabled: false
openstack_platform_enabled: true
openstack_cluster_refs:
- uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
appformix_configuration:
key_value_pair:
- value: '{{ appformix_contrail_factory_plugins }}
+ {{ appformix_network_device_factory_plugins }}
+ {{ appformix_openstack_factory_plugins }}'
key: appformix_plugins
- value: '{{ (appformix_scale_setup_flag|bool) | ternary(28200, 8200) }}'
key: appformix_datamanager_port_http
- value: '{{ (appformix_scale_setup_flag|bool) | ternary(28201, 8201) }}'
key: appformix_datamanager_port_https
- value: '8200'
key: appformix_haproxy_datamanager_port_http
- value: '8201'
key: appformix_haproxy_datamanager_port_https
kind: appformix_cluster
operation: CREATE
- data:
provisioning_state: NOSTATE
uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
name: fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
parent_uuid: beefbeef-beef-beef-beef-beefbeef0001
parent_type: global-system-config
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
display_name: fabric_test
perms2:
owner: admin
container_registry: ci-repo.englab.juniper.net:5010
registry_private_insecure: true
contrail_version: latest
default_gateway: 10.87.68.126
ntp_server: 10.84.5.101
domain_suffix: englab.juniper.net
encap_priority: VXLAN,MPLSoUDP,MPLSoGRE
contrail_configuration:
key_value_pair:
- value: ocata
key: OPENSTACK_VERSION
- value: '2'
key: CONFIG_NODEMGR__DEFAULTS__minimum_diskGB
- value: '2'
key: DATABASE_NODEMGR__DEFAULTS__minimum_diskGB
orchestrator: openstack
openstack_cluster_refs:
- uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
appformix_cluster_refs:
- uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
kind: contrail_cluster
operation: CREATE
- data:
uuid: 459c9cd3-1e8a-4a15-b160-b16f809d27e1
name: 459c9cd3-1e8a-4a15-b160-b16f809d27e1
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 459c9cd3-1e8a-4a15-b160-b16f809d27e1
display_name: 459c9cd3-1e8a-4a15-b160-b16f809d27e1
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_config_node
operation: CREATE
- data:
uuid: 07715a18-6cc2-4f58-bcdd-b7857db0015b
name: 07715a18-6cc2-4f58-bcdd-b7857db0015b
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 07715a18-6cc2-4f58-bcdd-b7857db0015b
display_name: 07715a18-6cc2-4f58-bcdd-b7857db0015b
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_config_database_node
operation: CREATE
- data:
uuid: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bb
name: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bb
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bb
display_name: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bb
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_analytics_node
operation: CREATE
- data:
uuid: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bc
name: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bc
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bc
display_name: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bc
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_analytics_snmp_node
operation: CREATE
- data:
uuid: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bd
name: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bd
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bd
display_name: b3a0b0fe-cbec-43e0-b319-1c0f6d98e0bd
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_analytics_alarm_node
operation: CREATE
- data:
uuid: 7f99df11-4dc6-44c7-9cc5-81ca03983c67
name: 7f99df11-4dc6-44c7-9cc5-81ca03983c67
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 7f99df11-4dc6-44c7-9cc5-81ca03983c67
display_name: 7f99df11-4dc6-44c7-9cc5-81ca03983c67
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_analytics_database_node
operation: CREATE
- data:
uuid: 999f49a9-c985-466f-ab1f-896575e52653
name: 999f49a9-c985-466f-ab1f-896575e52653
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 999f49a9-c985-466f-ab1f-896575e52653
display_name: 999f49a9-c985-466f-ab1f-896575e52653
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_control_node
operation: CREATE
- data:
uuid: 3e77005b-b7ba-489b-9891-8472cee9eadf
name: 3e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 3e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 3e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_webui_node
operation: CREATE
- data:
uuid: 4e77005b-b7ba-489b-9891-8472cee9eadf
name: 4e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: contrail-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 4e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 4e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: contrail_vrouter_node
operation: CREATE
- data:
uuid: 5e77005b-b7ba-489b-9891-8472cee9eadf
name: 5e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
parent_type: openstack-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 5e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 5e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: openstack_compute_node
operation: CREATE
- data:
uuid: 6e77005b-b7ba-489b-9891-8472cee9eadf
name: 6e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
parent_type: openstack-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 6e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 6e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: openstack_control_node
operation: CREATE
- data:
uuid: 7e77005b-b7ba-489b-9891-8472cee9eadf
name: 7e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
parent_type: openstack-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 7e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 7e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: openstack_network_node
operation: CREATE
- data:
uuid: 8e77005b-b7ba-489b-9891-8472cee9eadf
name: 8e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
parent_type: openstack-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 8e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 8e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: openstack_storage_node
operation: CREATE
- data:
uuid: 9e77005b-b7ba-489b-9891-8472cee9eadf
name: 9e77005b-b7ba-489b-9891-8472cee9eadf
parent_uuid: 4bd887b1-3f65-59c1-bc2f-dfbaeac570d8
parent_type: openstack-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 9e77005b-b7ba-489b-9891-8472cee9eadf
display_name: 9e77005b-b7ba-489b-9891-8472cee9eadf
perms2:
owner: admin
node_refs:
- uuid: 9d03e841-3fd8-439c-bdb2-ff5800497579
kind: openstack_monitoring_node
operation: CREATE
- data:
uuid: 9e770059-b7b9-4899-9899-8472cee9ead9
name: 9e770059-b7b9-4899-9899-8472cee9ead9
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 9e770059-b7b9-4899-9899-8472cee9ead9
display_name: 9e770059-b7b9-4899-9899-8472cee9ead9
perms2:
owner: admin
ansible_connection: ssh
keepalived_vrrp_interface: enp1s0f0
node_refs:
- uuid: 9d03e842-3fd2-4392-bdb2-ff5800497572
kind: appformix_controller_node
operation: CREATE
- data:
uuid: 9e771059-17b9-1899-1899-8472cee1ead9
name: 9e771059-17b9-1899-1899-8472cee1ead9
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 9e771059-17b9-1899-1899-8472cee1ead9
display_name: 9e771059-17b9-1899-1899-8472cee1ead9
perms2:
owner: admin
ansible_connection: ssh
keepalived_vrrp_interface: enp1s0f0
node_refs:
- uuid: 9d03e843-3fd3-4393-bdb3-ff5800497573
kind: appformix_controller_node
operation: CREATE
- data:
uuid: 9e772059-17b9-2899-2899-8472cee2ead9
name: 9e771059-27b9-2899-2899-8472cee2ead9
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 9e772059-27b9-2899-2899-8472cee2ead9
display_name: 9e772059-27b9-2899-2899-8472cee2ead9
perms2:
owner: admin
ansible_connection: ssh
keepalived_vrrp_interface: enp1s0f0
node_refs:
- uuid: 9d03e844-3fd4-4394-bdb4-ff5800497574
kind: appformix_controller_node
operation: CREATE
- data:
uuid: 9e77005c-b7bc-489c-989c-8472cee9eadc
name: 9e77005c-b7bc-489c-989c-8472cee9eadc
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- 9e77005c-b7bc-489c-989c-8472cee9eadc
display_name: 9e77005c-b7bc-489c-989c-8472cee9eadc
perms2:
owner: admin
ansible_connection: ssh
node_refs:
- uuid: 9d03e842-3fd2-4392-bdb2-ff5800497572
kind: appformix_bare_host_node
operation: CREATE
- data:
uuid: ca77d056-cab6-ca96-ca96-ca72cee9ead6
name: ca770056-cab6-ca96-ca96-ca72cee9ead6
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- ca770056-cab6-ca96-ca96-ca72cee9ead6
display_name: ca770056-cab6-ca96-ca96-ca72cee9ead6
perms2:
owner: admin
ansible_connection: ssh
node_refs:
- uuid: 9d03e842-3fd2-4392-bdb2-ff5800497572
kind: appformix_openstack_node
operation: CREATE
- data:
uuid: be770056-b7b6-b896-b896-b472cee9ead6
name: be770056-b7b6-b896-b896-b472cee9ead6
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- be770056-b7b6-b896-b896-b472cee9ead6
display_name: be770056-b7b6-b896-b896-b472cee9ead6
perms2:
owner: admin
ansible_connection: ssh
node_refs:
- uuid: 9d03e842-3fd2-4392-bdb2-ff5800497572
kind: appformix_compute_node
operation: CREATE
- data:
uuid: be770056-b7b6-b896-b896-b472cee9ead7
name: be770056-b7b6-b896-b896-b472cee9ead7
parent_uuid: afb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc
parent_type: appformix-cluster
fq_name:
- default-global-system-config
- fabric_test-519eee6e-9614-40ce-978a-e5e7232c0cc2
- be770056-b7b6-b896-b896-b472cee9ead7
display_name: be770056-b7b6-b896-b896-b472cee9ead7
perms2:
owner: admin
ansible_connection: ssh
node_refs:
- uuid: 9d03e842-3fd2-4392-bdb2-ff5800497572
kind: appformix_network_agents_node
operation: CREATE