Statistics
| Branch: | Tag: | Revision:

root / test / data / cluster_config_2.9.json @ 69809ae3

History | View | Annotate | Download (19.3 kB)

1
{
2
    "cluster": {
3
        "beparams": {
4
            "default": {
5
                "always_failover": false, 
6
                "auto_balance": true, 
7
                "maxmem": 128, 
8
                "minmem": 128, 
9
                "spindle_use": 1, 
10
                "vcpus": 1
11
            }
12
        }, 
13
        "blacklisted_os": [], 
14
        "candidate_pool_size": 10, 
15
        "cluster_name": "cluster.name.example.com", 
16
        "ctime": 1343869045.604884, 
17
        "default_iallocator": "hail", 
18
        "disk_state_static": {}, 
19
        "diskparams": {
20
            "blockdev": {}, 
21
            "diskless": {}, 
22
            "drbd": {
23
                "c-delay-target": 1, 
24
                "c-fill-target": 200, 
25
                "c-max-rate": 2048, 
26
                "c-min-rate": 1024, 
27
                "c-plan-ahead": 1, 
28
                "data-stripes": 2, 
29
                "disk-barriers": "bf", 
30
                "disk-custom": "", 
31
                "dynamic-resync": false, 
32
                "meta-barriers": true, 
33
                "meta-stripes": 2, 
34
                "metavg": "xenvg", 
35
                "net-custom": "", 
36
                "resync-rate": 1024
37
            }, 
38
            "ext": {}, 
39
            "file": {}, 
40
            "plain": {
41
                "stripes": 2
42
            }, 
43
            "rbd": {
44
                "pool": "rbd"
45
            }, 
46
            "sharedfile": {}
47
        }, 
48
        "drbd_usermode_helper": "/bin/true", 
49
        "enabled_disk_templates": [
50
            "drbd", 
51
            "plain", 
52
            "file", 
53
            "sharedfile"
54
        ], 
55
        "enabled_hypervisors": [
56
            "xen-pvm"
57
        ], 
58
        "file_storage_dir": "", 
59
        "hidden_os": [], 
60
        "highest_used_port": 32105, 
61
        "hv_state_static": {
62
            "xen-pvm": {
63
                "cpu_node": 1, 
64
                "cpu_total": 1, 
65
                "mem_hv": 0, 
66
                "mem_node": 0, 
67
                "mem_total": 0
68
            }
69
        }, 
70
        "hvparams": {
71
            "chroot": {
72
                "init_script": "/ganeti-chroot"
73
            }, 
74
            "fake": {}, 
75
            "kvm": {
76
                "acpi": true, 
77
                "boot_order": "disk", 
78
                "cdrom2_image_path": "", 
79
                "cdrom_disk_type": "", 
80
                "cdrom_image_path": "", 
81
                "cpu_cores": 0, 
82
                "cpu_mask": "all", 
83
                "cpu_sockets": 0, 
84
                "cpu_threads": 0, 
85
                "cpu_type": "", 
86
                "disk_cache": "default", 
87
                "disk_type": "paravirtual", 
88
                "floppy_image_path": "", 
89
                "initrd_path": "", 
90
                "kernel_args": "ro", 
91
                "kernel_path": "/boot/vmlinuz-kvmU", 
92
                "keymap": "", 
93
                "kvm_extra": "", 
94
                "kvm_flag": "", 
95
                "kvm_path": "/usr/bin/kvm", 
96
                "machine_version": "", 
97
                "mem_path": "", 
98
                "migration_bandwidth": 4, 
99
                "migration_downtime": 30, 
100
                "migration_mode": "live", 
101
                "migration_port": 4041, 
102
                "nic_type": "paravirtual", 
103
                "reboot_behavior": "reboot", 
104
                "root_path": "/dev/vda1", 
105
                "security_domain": "", 
106
                "security_model": "none", 
107
                "serial_console": true, 
108
                "serial_speed": 38400, 
109
                "soundhw": "", 
110
                "spice_bind": "", 
111
                "spice_image_compression": "", 
112
                "spice_ip_version": 0, 
113
                "spice_jpeg_wan_compression": "", 
114
                "spice_password_file": "", 
115
                "spice_playback_compression": true, 
116
                "spice_streaming_video": "", 
117
                "spice_tls_ciphers": "HIGH:-DES:-3DES:-EXPORT:-ADH", 
118
                "spice_use_tls": false, 
119
                "spice_use_vdagent": true, 
120
                "spice_zlib_glz_wan_compression": "", 
121
                "usb_devices": "", 
122
                "usb_mouse": "", 
123
                "use_chroot": false, 
124
                "use_localtime": false, 
125
                "vga": "", 
126
                "vhost_net": false, 
127
                "vnc_bind_address": "", 
128
                "vnc_password_file": "", 
129
                "vnc_tls": false, 
130
                "vnc_x509_path": "", 
131
                "vnc_x509_verify": false
132
            }, 
133
            "lxc": {
134
                "cpu_mask": ""
135
            }, 
136
            "xen-hvm": {
137
                "acpi": true, 
138
                "blockdev_prefix": "hd", 
139
                "boot_order": "cd", 
140
                "cdrom_image_path": "", 
141
                "cpu_cap": 0, 
142
                "cpu_mask": "all", 
143
                "cpu_weight": 256, 
144
                "device_model": "/usr/lib/xen/bin/qemu-dm", 
145
                "disk_type": "paravirtual", 
146
                "kernel_path": "/usr/lib/xen/boot/hvmloader", 
147
                "migration_mode": "non-live", 
148
                "migration_port": 8082, 
149
                "nic_type": "rtl8139", 
150
                "pae": true, 
151
                "pci_pass": "", 
152
                "reboot_behavior": "reboot", 
153
                "use_localtime": false, 
154
                "vif_script": "", 
155
                "vnc_bind_address": "0.0.0.0", 
156
                "vnc_password_file": "/your/vnc-cluster-password", 
157
                "xen_cmd": "xm"
158
            }, 
159
            "xen-pvm": {
160
                "blockdev_prefix": "sd", 
161
                "bootloader_args": "", 
162
                "bootloader_path": "", 
163
                "cpu_cap": 0, 
164
                "cpu_mask": "all", 
165
                "cpu_weight": 256, 
166
                "initrd_path": "", 
167
                "kernel_args": "ro", 
168
                "kernel_path": "/boot/vmlinuz-xenU", 
169
                "migration_mode": "live", 
170
                "migration_port": 8082, 
171
                "reboot_behavior": "reboot", 
172
                "root_path": "/dev/xvda1", 
173
                "use_bootloader": false, 
174
                "vif_script": "", 
175
                "xen_cmd": "xm"
176
            }
177
        }, 
178
        "ipolicy": {
179
            "disk-templates": [
180
                "sharedfile", 
181
                "diskless", 
182
                "plain", 
183
                "blockdev", 
184
                "drbd", 
185
                "file", 
186
                "rbd"
187
            ], 
188
            "minmax": [
189
                {
190
                    "max": {
191
                        "cpu-count": 8, 
192
                        "disk-count": 16, 
193
                        "disk-size": 1048576, 
194
                        "memory-size": 32768, 
195
                        "nic-count": 8, 
196
                        "spindle-use": 12
197
                    }, 
198
                    "min": {
199
                        "cpu-count": 1, 
200
                        "disk-count": 1, 
201
                        "disk-size": 1024, 
202
                        "memory-size": 128, 
203
                        "nic-count": 1, 
204
                        "spindle-use": 1
205
                    }
206
                }
207
            ], 
208
            "spindle-ratio": 32.0, 
209
            "std": {
210
                "cpu-count": 1, 
211
                "disk-count": 1, 
212
                "disk-size": 1024, 
213
                "memory-size": 128, 
214
                "nic-count": 1, 
215
                "spindle-use": 1
216
            }, 
217
            "vcpu-ratio": 1.0
218
        }, 
219
        "mac_prefix": "aa:bb:cc", 
220
        "maintain_node_health": false, 
221
        "master_ip": "192.0.2.87", 
222
        "master_netdev": "eth0", 
223
        "master_netmask": 32, 
224
        "master_node": "9a12d554-75c0-4cb1-8064-103365145db0", 
225
        "modify_etc_hosts": true, 
226
        "modify_ssh_setup": true, 
227
        "mtime": 1361964122.79471, 
228
        "ndparams": {
229
            "exclusive_storage": false, 
230
            "oob_program": "", 
231
            "spindle_count": 1
232
        }, 
233
        "nicparams": {
234
            "default": {
235
                "link": "br974", 
236
                "mode": "bridged"
237
            }
238
        }, 
239
        "os_hvp": {
240
            "TEMP-Ganeti-QA-OS": {
241
                "xen-hvm": {
242
                    "acpi": false, 
243
                    "pae": true
244
                }, 
245
                "xen-pvm": {
246
                    "root_path": "/dev/sda5"
247
                }
248
            }
249
        }, 
250
        "osparams": {}, 
251
        "prealloc_wipe_disks": false, 
252
        "primary_ip_family": 2, 
253
        "reserved_lvs": [], 
254
        "rsahostkeypub": "YOURKEY", 
255
        "serial_no": 3189, 
256
        "shared_file_storage_dir": "/srv/ganeti/shared-file-storage", 
257
        "tags": [
258
            "mytag"
259
        ], 
260
        "tcpudp_port_pool": [
261
            32101, 
262
            32102, 
263
            32103, 
264
            32104, 
265
            32105
266
        ], 
267
        "uid_pool": [], 
268
        "use_external_mip_script": false, 
269
        "uuid": "dddf8c12-f2d8-4718-a35b-7804daf12a3f", 
270
        "volume_group_name": "xenvg"
271
    }, 
272
    "ctime": 1343869045.605523, 
273
    "instances": {
274
        "4e091bdc-e205-4ed7-8a47-0c9130a6619f": {
275
            "admin_state": "up", 
276
            "beparams": {}, 
277
            "ctime": 1354038435.343601, 
278
            "disk_template": "plain", 
279
            "disks": [
280
                {
281
                    "dev_type": "plain", 
282
                    "iv_name": "disk/0", 
283
                    "logical_id": [
284
                        "xenvg", 
285
                        "b27a576a-13f7-4f07-885c-63fcad4fdfcc.disk0"
286
                    ], 
287
                    "mode": "rw", 
288
                    "params": {}, 
289
                    "physical_id": [
290
                        "xenvg", 
291
                        "b27a576a-13f7-4f07-885c-63fcad4fdfcc.disk0"
292
                    ], 
293
                    "size": 1280, 
294
                    "uuid": "150bd154-8e23-44d1-b762-5065ae5a507b"
295
                }
296
            ], 
297
            "hvparams": {}, 
298
            "hypervisor": "xen-pvm", 
299
            "mtime": 1354224585.700732, 
300
            "name": "instance3.example.com", 
301
            "nics": [
302
                {
303
                    "mac": "aa:bb:cc:5e:5c:75", 
304
                    "nicparams": {}, 
305
                    "uuid": "1ab090c1-e017-406c-afb4-fc285cb43e31"
306
                }
307
            ], 
308
            "os": "debian-image", 
309
            "osparams": {}, 
310
            "primary_node": "2ae3d962-2dad-44f2-bdb1-85f77107f907", 
311
            "serial_no": 4, 
312
            "tags": [], 
313
            "uuid": "4e091bdc-e205-4ed7-8a47-0c9130a6619f"
314
        }, 
315
        "6c078d22-3eb6-4780-857d-81772e09eef1": {
316
            "admin_state": "up", 
317
            "beparams": {}, 
318
            "ctime": 1363620258.608976, 
319
            "disk_template": "drbd", 
320
            "disks": [
321
                {
322
                    "children": [
323
                        {
324
                            "dev_type": "plain", 
325
                            "logical_id": [
326
                                "xenvg", 
327
                                "5c390722-6a7a-4bb4-9cef-98d896a8e6b1.disk0_data"
328
                            ], 
329
                            "params": {}, 
330
                            "physical_id": [
331
                                "xenvg", 
332
                                "5c390722-6a7a-4bb4-9cef-98d896a8e6b1.disk0_data"
333
                            ], 
334
                            "size": 1024
335
                        }, 
336
                        {
337
                            "dev_type": "plain", 
338
                            "logical_id": [
339
                                "xenvg", 
340
                                "5c390722-6a7a-4bb4-9cef-98d896a8e6b1.disk0_meta"
341
                            ], 
342
                            "params": {}, 
343
                            "physical_id": [
344
                                "xenvg", 
345
                                "5c390722-6a7a-4bb4-9cef-98d896a8e6b1.disk0_meta"
346
                            ], 
347
                            "size": 128
348
                        }
349
                    ], 
350
                    "dev_type": "drbd", 
351
                    "iv_name": "disk/0", 
352
                    "logical_id": [
353
                        "9a12d554-75c0-4cb1-8064-103365145db0", 
354
                        "41f9c238-173c-4120-9e41-04ad379b647a", 
355
                        32100, 
356
                        0, 
357
                        0, 
358
                        "d3c3fd475fcbaf5fd177fb245ac43b71247ada38"
359
                    ], 
360
                    "mode": "rw", 
361
                    "params": {}, 
362
                    "physical_id": [
363
                        "198.51.100.82", 
364
                        32100, 
365
                        "198.51.100.84", 
366
                        32100, 
367
                        0, 
368
                        "d3c3fd475fcbaf5fd177fb245ac43b71247ada38"
369
                    ], 
370
                    "size": 1024, 
371
                    "uuid": "77ced3a5-6756-49ae-8d1f-274e27664c05"
372
                }
373
            ], 
374
            "hvparams": {}, 
375
            "hypervisor": "xen-pvm", 
376
            "mtime": 1363620320.874901, 
377
            "name": "instance1.example.com", 
378
            "nics": [
379
                {
380
                    "mac": "aa:bb:cc:b2:6e:0b", 
381
                    "nicparams": {}, 
382
                    "uuid": "2c953d72-fac4-4aa9-a225-4131bb271791"
383
                }
384
            ], 
385
            "os": "busybox", 
386
            "osparams": {}, 
387
            "primary_node": "9a12d554-75c0-4cb1-8064-103365145db0", 
388
            "serial_no": 2, 
389
            "uuid": "6c078d22-3eb6-4780-857d-81772e09eef1"
390
        }, 
391
        "8fde9f6d-e1f1-4850-9e9c-154966f622f5": {
392
            "admin_state": "up", 
393
            "beparams": {}, 
394
            "ctime": 1355186880.451181, 
395
            "disk_template": "plain", 
396
            "disks": [
397
                {
398
                    "dev_type": "plain", 
399
                    "iv_name": "disk/0", 
400
                    "logical_id": [
401
                        "xenvg", 
402
                        "3e559cd7-1024-4294-a923-a9fd13182b2f.disk0"
403
                    ], 
404
                    "mode": "rw", 
405
                    "params": {}, 
406
                    "physical_id": [
407
                        "xenvg", 
408
                        "3e559cd7-1024-4294-a923-a9fd13182b2f.disk0"
409
                    ], 
410
                    "size": 102400, 
411
                    "uuid": "79acf611-be58-4334-9fe4-4f2b73ae8abb"
412
                }
413
            ], 
414
            "hvparams": {}, 
415
            "hypervisor": "xen-pvm", 
416
            "mtime": 1355186898.307642, 
417
            "name": "instance2.example.com", 
418
            "nics": [
419
                {
420
                    "mac": "aa:bb:cc:56:83:fb", 
421
                    "nicparams": {}, 
422
                    "uuid": "1cf95562-e676-4fd0-8214-e8b84a2f7bd1"
423
                }
424
            ], 
425
            "os": "debian-image", 
426
            "osparams": {}, 
427
            "primary_node": "41f9c238-173c-4120-9e41-04ad379b647a", 
428
            "serial_no": 2, 
429
            "tags": [], 
430
            "uuid": "8fde9f6d-e1f1-4850-9e9c-154966f622f5"
431
        }
432
    }, 
433
    "mtime": 1367352404.758083, 
434
    "networks": {
435
        "99f0128a-1c84-44da-90b9-9581ea00c075": {
436
            "ext_reservations": "1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 
437
            "name": "a network", 
438
            "network": "203.0.113.0/24", 
439
            "reservations": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 
440
            "serial_no": 1, 
441
            "uuid": "99f0128a-1c84-44da-90b9-9581ea00c075"
442
        }
443
    }, 
444
    "nodegroups": {
445
        "5244a46d-7506-4e14-922d-02b58153dde1": {
446
            "alloc_policy": "preferred", 
447
            "diskparams": {}, 
448
            "ipolicy": {}, 
449
            "mtime": 1361963775.575009, 
450
            "name": "default", 
451
            "ndparams": {}, 
452
            "networks": {}, 
453
            "serial_no": 125, 
454
            "tags": [], 
455
            "uuid": "5244a46d-7506-4e14-922d-02b58153dde1"
456
        }, 
457
        "6c0a8916-b719-45ad-95dd-82192b1e473f": {
458
            "alloc_policy": "preferred", 
459
            "diskparams": {}, 
460
            "ipolicy": {
461
                "disk-templates": [
462
                    "plain"
463
                ], 
464
                "minmax": [
465
                    {
466
                        "max": {
467
                            "cpu-count": 8, 
468
                            "disk-count": 16, 
469
                            "disk-size": 1048576, 
470
                            "memory-size": 32768, 
471
                            "nic-count": 18, 
472
                            "spindle-use": 14
473
                        }, 
474
                        "min": {
475
                            "cpu-count": 2, 
476
                            "disk-count": 2, 
477
                            "disk-size": 1024, 
478
                            "memory-size": 128, 
479
                            "nic-count": 1, 
480
                            "spindle-use": 1
481
                        }
482
                    }
483
                ], 
484
                "spindle-ratio": 5.2, 
485
                "vcpu-ratio": 3.14
486
            }, 
487
            "mtime": 1361963775.575009, 
488
            "name": "another", 
489
            "ndparams": {
490
                "exclusive_storage": true
491
            }, 
492
            "networks": {}, 
493
            "serial_no": 125, 
494
            "tags": [], 
495
            "uuid": "6c0a8916-b719-45ad-95dd-82192b1e473f"
496
        }
497
    }, 
498
    "nodes": {
499
        "2ae3d962-2dad-44f2-bdb1-85f77107f907": {
500
            "ctime": 1343869045.604884, 
501
            "drained": false, 
502
            "group": "5244a46d-7506-4e14-922d-02b58153dde1", 
503
            "master_candidate": true, 
504
            "master_capable": true, 
505
            "mtime": 1358348755.779906, 
506
            "name": "node2.example.com", 
507
            "ndparams": {}, 
508
            "offline": false, 
509
            "powered": true, 
510
            "primary_ip": "192.0.2.83", 
511
            "secondary_ip": "198.51.100.83", 
512
            "serial_no": 6, 
513
            "tags": [], 
514
            "uuid": "2ae3d962-2dad-44f2-bdb1-85f77107f907", 
515
            "vm_capable": true
516
        }, 
517
        "41f9c238-173c-4120-9e41-04ad379b647a": {
518
            "ctime": 1343869205.934807, 
519
            "drained": false, 
520
            "group": "5244a46d-7506-4e14-922d-02b58153dde1", 
521
            "master_candidate": true, 
522
            "master_capable": true, 
523
            "mtime": 1353019704.885368, 
524
            "name": "node3.example.com", 
525
            "ndparams": {}, 
526
            "offline": false, 
527
            "powered": true, 
528
            "primary_ip": "192.0.2.84", 
529
            "secondary_ip": "198.51.100.84", 
530
            "serial_no": 2, 
531
            "tags": [], 
532
            "uuid": "41f9c238-173c-4120-9e41-04ad379b647a", 
533
            "vm_capable": true
534
        }, 
535
        "9a12d554-75c0-4cb1-8064-103365145db0": {
536
            "ctime": 1349722460.022264, 
537
            "drained": false, 
538
            "group": "5244a46d-7506-4e14-922d-02b58153dde1", 
539
            "master_candidate": true, 
540
            "master_capable": true, 
541
            "mtime": 1359986533.353329, 
542
            "name": "node1.example.com", 
543
            "ndparams": {}, 
544
            "offline": false, 
545
            "powered": true, 
546
            "primary_ip": "192.0.2.82", 
547
            "secondary_ip": "198.51.100.82", 
548
            "serial_no": 197, 
549
            "tags": [], 
550
            "uuid": "9a12d554-75c0-4cb1-8064-103365145db0", 
551
            "vm_capable": true
552
        }
553
    }, 
554
    "serial_no": 7625, 
555
    "version": 2090000
556
}