-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvstats.json
466 lines (466 loc) · 20.3 KB
/
vstats.json
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
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:nuage-metroae:vstats",
"title": "VSD Statistics (Elasticsearch)",
"description": "Specify configuration for Nuage VSD stats (VSTAT).",
"type": "array",
"widget": "form",
"numFormEntries": 6,
"items": {
"widget": "item",
"type": "object",
"title": "VSTAT",
"additionalProperties": false,
"properties": {
"hostname": {
"type": "string",
"format": "hostname",
"title": "Hostname",
"description": "Management network host name for the VSTAT",
"sectionBegin": "Management Interface",
"propertyOrder": 10
},
"mgmt_ip": {
"type": "string",
"anyOf": [
{"format": "ipv4"},
{"format": "ipv6"}
],
"title": "Management IP address",
"description": "Management network IP address for the VSTAT",
"propertyOrder": 20
},
"mgmt_ip_prefix": {
"type": "integer",
"title": "Management Network Prefix Length",
"description": "Management network prefix length for the VSTAT",
"minimum": 0,
"maximum": 128,
"propertyOrder": 30
},
"mgmt_gateway": {
"type": "string",
"anyOf": [
{"format": "ipv4"},
{"format": "ipv6"}
],
"title": "Management Network Gateway",
"description": "Management network gateway for the VSTAT",
"sectionEnd": "Management Interface",
"propertyOrder": 40
},
"vmname": {
"type": "string",
"format": "hostname",
"title": "VM name",
"default": "(Hostname)",
"description": "Name of the Virtual Machine on the Hypervisor",
"sectionBegin": "VM and Target Server",
"propertyOrder": 50
},
"upgrade_vmname": {
"type": "string",
"format": "hostname",
"title": "Upgrade VM name",
"description": "Virtual Machine name of the new Stats VM. Used during Upgrade only",
"workflow": "Upgrade",
"propertyOrder": 60
},
"target_server_type": {
"type": "string",
"enum": [
"kvm",
"vcenter",
"aws",
"openstack",
"none"
],
"description": "Type of hypervisor environment where VMs will be instantiated. Use 'none' when skipping predeploy.",
"title": "Target Server type",
"propertyOrder": 70
},
"target_server": {
"type": "string",
"format": "hostname",
"title": "Target Server IP or FQDN",
"description": "Hostname or IP address of the hypervisor where VM will be instantiated. In the case of deployment in a vCenter environment, this will be the FQDN of the vCenter Server. When target_server_type is set to openstack, this property is unused and should be set to 0.0.0.0",
"sectionEnd": "VM and Target Server",
"propertyOrder": 80
},
"mgmt_bridge": {
"type": "string",
"default": "(global Bridge interface)",
"title": "Management Network Bridge",
"description": "Network Bridge used for the management interface of a component or the BOF interface on VSC. This will be a Distributed Virtual PortGroup (DVPG) when deploying on vCenter or a Linux network bridge when deploying on KVM. This field can be overridden by defining the management network bridge separately in the component configuration. Defaults to the global setting",
"advanced": true,
"propertyOrder": 90
},
"vsd_fqdn": {
"type": "string",
"title": "VSD FQDN",
"format": "hostname",
"default": "",
"description": "FQDN of the VSD or VSD cluster for this VSTAT",
"advanced": true,
"propertyOrder": 100
},
"vcenter_datacenter": {
"type": "string",
"title": "vCenter Datacenter Name",
"description": "Name of the vCenter Datacenter on which the VSTAT VM will be deployed. Defaults to the common vCenter Datacenter Name if not defined here.",
"default": "(global vCenter Datacenter Name)",
"target_server_type": "vcenter",
"advanced": true,
"sectionBegin": "vCenter Parameters",
"propertyOrder": 110
},
"vcenter_cluster": {
"type": "string",
"title": "vCenter Cluster Name",
"description": "Name of the vCenter Cluster on which the VSTAT VM will be deployed. Defaults to the common vCenter Cluster Name if not defined here.",
"default": "(global vCenter Cluster Name)",
"target_server_type": "vcenter",
"advanced": true,
"propertyOrder": 120
},
"vcenter_host_reference": {
"type": "string",
"title": "vCenter Host Reference",
"default": "(global vCenter Host Reference)",
"description": "Requires ovftool 4.3. Reference to the host on the vCenter cluster on which to deploy Nuage components",
"target_server_type": "vcenter",
"advanced": true,
"propertyOrder": 130
},
"vcenter_datastore": {
"type": "string",
"title": "vCenter Datastore Name",
"description": "Name of the vCenter Datastore on which the VSTAT VM will be deployed. Defaults to the common vCenter Datastore Name if not defined here.",
"default": "(global vCenter Datastore Name)",
"target_server_type": "vcenter",
"advanced": true,
"propertyOrder": 140
},
"vcenter_vmfolder": {
"type": "string",
"title": "vCenter VM Folder",
"description": "Optional path to a folder defined on vCenter where VM will be instantiated",
"default": "(global vCenter VM folder)",
"target_server_type": "vcenter",
"propertyOrder": 150
},
"vcenter_host_clusters_folder": {
"type": "string",
"title": "vCenter Hosts and Clusters Folder",
"description": "Optional path to a hosts and clusters folder defined on vCenter where VM will be instantiated",
"advanced": true,
"target_server_type": "vcenter",
"propertyOrder": 160
},
"vcenter_disk_mode": {
"type": "string",
"title": "vCenter Disk Provision mode",
"description": "Disk Provisioning mode for vcenter",
"advanced": true,
"target_server_type": "vcenter",
"default": "thin",
"enum": [
"thin",
"thick",
"eagerZeroedThick"
],
"sectionEnd": "vCenter Parameters",
"propertyOrder": 170
},
"preserve_vm": {
"type": "boolean",
"title": "Preserve VSTAT VM",
"description": "Shuts down the vm during destroy process, instead of actually deleting them.",
"propertyOrder": 180,
"advanced": true
},
"aws_ami_id": {
"type": "string",
"title": "AWS AMI ID",
"description": "AMI ID for AWS instance",
"sectionBegin": "AWS Parameters",
"target_server_type": "aws",
"propertyOrder": 190
},
"aws_upgrade_ami_id": {
"type": "string",
"title": "AWS AMI ID for Upgrading Instance",
"description": "AMI ID of the upgraded image",
"workflow": "upgrade",
"target_server_type": "aws",
"propertyOrder": 200
},
"aws_instance_type": {
"type": "string",
"title": "AWS Instance Type",
"target_server_type": "aws",
"description": "Instance Type of the AWS Instance",
"propertyOrder": 210
},
"aws_key_name": {
"type": "string",
"title": "AWS Keypair Name",
"description": "Name of the Keypair used to connect to VPC",
"target_server_type": "aws",
"propertyOrder": 220
},
"aws_mgmt_eni": {
"type": "string",
"format": "ipv4",
"target_server_type": "aws",
"title": "AWS Management ENI ID",
"description": "ENI ID for VSTAT Instance on Management Subnetwork",
"sectionEnd": "AWS Parameters",
"propertyOrder": 230
},
"openstack_image": {
"type": "string",
"title": "OpenStack Image",
"description": "Name of image installed on OpenStack for VSTAT",
"target_server_type": "openstack",
"sectionBegin": "OpenStack Parameters",
"propertyOrder": 240
},
"openstack_flavor": {
"type": "string",
"title": "OpenStack Flavor",
"description": "Name of instance flavor installed on OpenStack for VSTAT",
"target_server_type": "openstack",
"propertyOrder": 250
},
"openstack_availability_zone": {
"type": "string",
"title": "OpenStack Availability Zone",
"description": "Name of availability zone on OpenStack for VSTAT",
"target_server_type": "openstack",
"propertyOrder": 260
},
"openstack_network": {
"type": "string",
"title": "OpenStack Network",
"description": "Name of network on OpenStack for VSTAT",
"target_server_type": "openstack",
"propertyOrder": 270
},
"openstack_subnet": {
"type": "string",
"title": "OpenStack Subnet",
"description": "Name of subnet on OpenStack for VSTAT",
"target_server_type": "openstack",
"propertyOrder": 280
},
"openstack_port_name": {
"type": "string",
"title": "OpenStack Port Name",
"description": "Name for Mgmt interface",
"target_server_type": "openstack",
"propertyOrder": 290
},
"openstack_port_security_groups": {
"type": "array",
"title": "OpenStack Port Security Groups",
"description": "Set of security groups to associate with Mgmt interface",
"target_server_type": "openstack",
"sectionEnd": "OpenStack Parameters",
"propertyOrder": 300,
"items": {
"type": "string"
}
},
"nfs_backup_location": {
"type": "string",
"title": "NFS backup location",
"description": "NFS share for copying vstat backups. For example, NFS share should contain both the ip address and shared volume in this form 1.1.1.1:/nfshare",
"propertyOrder": 310,
"sectionBegin": "NFS Backup Configuration"
},
"restore_interval": {
"type": "integer",
"title": "Interval to restore snapshots",
"description": "Interval to restore database snapshots, min value is 0 and max value is 60 minutes",
"propertyOrder": 320,
"minimum": 0,
"maximum": 60,
"default": 5
},
"snapshot_interval": {
"type": "integer",
"title": "Interval to create snapshots",
"description": "Interval to create database snapshots, min value is 0 and max value is 60 minutes",
"propertyOrder": 330,
"minimum": 0,
"maximum": 60,
"default": 5
},
"repo_name": {
"type": "string",
"title": "Backup repository name",
"description": "Repository name for storing backups",
"propertyOrder": 340,
"sectionEnd": "NFS Backup Configuration"
},
"add_extra_disk": {
"type": "boolean",
"title": "Add extra disk",
"default": false,
"description": "Add a second disk to separate Elasticsearch data from primary image. Disk is added to path /var/lib/elasticsearch on the VSTAT. Supported on KVM only.",
"propertyOrder": 350,
"sectionBegin": "Extra Disk"
},
"extra_disk_size_gb": {
"type": "integer",
"title": "Extra disk size in GB",
"description": "Size of the extra disk in GB. Supported on KVM only.",
"default": 1000,
"propertyOrder": 360
},
"extra_disk_device": {
"type": "string",
"title": "Extra Disk Device",
"description": "Device for extra disk",
"default": "vdb",
"propertyOrder": 370
},
"extra_disk_mount_point": {
"type": "string",
"title": "Extra Disk Mount Point",
"description": "Mount point for extra disk",
"default": "/var/lib/elasticsearch/",
"propertyOrder": 380
},
"extra_disk_image_path": {
"type": "string",
"title": "Extra disk image path on hypervisor",
"description": "Path on the hypervisor to store the extra disk image. Supported on KVM only.",
"default": "/var/lib/libvirt/images",
"target_server_type": "kvm",
"propertyOrder": 390
},
"extra_disk_image_file_name": {
"type": "string",
"title": "Extra disk image file prefix",
"description": "Name of the extra disk image file. Supported on KVM only.",
"default": "extra-disk-(hostname)",
"target_server_type": "kvm",
"propertyOrder": 400,
"sectionEnd": "Extra Disk"
},
"cpuset": {
"type": "array",
"title": "KVM cpuset information",
"description": "Cpuset information for cpu pinning on KVM. For example, VSTAT requires 6 cores and sample values will be of the form [ 0, 1, 2, 3, 4, 5 ]",
"propertyOrder": 410,
"advanced": true,
"target_server_type": "kvm",
"sectionBegin": "Other configuration",
"items": {
"type": "integer"
}
},
"enable_vss_ui": {
"type": "boolean",
"title": "Enable VSS UI",
"default": false,
"description": "Enable the setup of the Virtualized Security Services UI",
"propertyOrder": 420,
"advanced": true
},
"health_monitoring_agent": {
"type": "string",
"title": "Health monitoring agent",
"description": "Enables setup of a health monitoring agent",
"default": "none",
"propertyOrder": 430,
"advanced": true,
"enum": [
"none",
"zabbix"
]
},
"credentials_set": {
"type": "string",
"title": "Credentials set name",
"description": "Name of the credentials set for the vsd",
"propertyOrder": 440,
"sectionEnd": "Other configuration",
"advanced": true
},
"vstat_ram": {
"type": "integer",
"title": "VSTAT RAM",
"description": "Valid for only KVM and VCenter deployments. Amount of VSTAT RAM to allocate, in GB. Note: Values smaller than the default are for lab and PoC only. Production deployments must use a value greater than or equal to the default.",
"warning": "Values smaller than the default are for lab and PoC only. Production deployments must use a value greater than or equal to the default.",
"default": "(global VSTAT RAM)",
"minimum": 0,
"propertyOrder": 450,
"sectionBegin": "VSTAT RAM, CPU and Disk Parameters",
"advanced": true
},
"vstat_cpu_cores": {
"type": "integer",
"title": "VSTAT CPU cores",
"description": "Valid for only KVM and VCenter deployments. Number of CPU's for VSTAT.",
"advanced": true,
"propertyOrder": 460,
"default": "(global VSTAT CPU)"
},
"vstat_allocate_size_gb": {
"type": "integer",
"title": "VSTAT Disk Size",
"description": "Amount of VSTAT disk space to pre-allocate, in GB. Note: Values smaller than the default are for lab and PoC only. Production deployments should not modify this value.",
"default": "(global VSTAT DISK)",
"minimum": 0,
"sectionEnd": "VSTAT RAM, CPU and Disk Parameters",
"propertyOrder": 470,
"advanced": true
},
"add_volume": {
"type": "boolean",
"title": "Add volume",
"default": false,
"description": "Add an additional volume to Elastic Search Nodes. Supported on OpenStack only.",
"sectionBegin": "OpenStack Volume Parameters",
"target_server_type": "openstack",
"propertyOrder": 480
},
"volume_name": {
"type": "string",
"title": "Volume Name",
"default": "volume",
"description": "Name of the volume added to Elastic Search Nodes. Different name is required for multiple vstat deployment. Supported on OpenStack only.",
"target_server_type": "openstack",
"propertyOrder": 490
},
"volume_size_gb": {
"type": "integer",
"title": "Volume Size",
"default": 40,
"description": "Size of the volume added to Elastic Search Nodes. Supported on OpenStack only.",
"target_server_type": "openstack",
"propertyOrder": 500
},
"volume_device": {
"type": "string",
"title": "Volume Device",
"description": "Device for volume to be attached to",
"default": "vdb",
"target_server_type": "openstack",
"sectionEnd": "OpenStack Volume Parameters",
"propertyOrder": 510
}
},
"required": [
"hostname",
"target_server_type",
"target_server",
"mgmt_ip",
"mgmt_ip_prefix",
"mgmt_gateway"
]
}
}