2020-10-25 16:46:45 +01:00
|
|
|
# To be put into Colocation.
|
|
|
|
|
2020-11-08 15:05:17 +01:00
|
|
|
# To use the serial console in iRMC, set up grub as follows:
|
|
|
|
# GRUB_TIMEOUT=30
|
|
|
|
# GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200 console=tty0"
|
|
|
|
# GRUB_TERMINAL=serial
|
|
|
|
# GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
|
|
|
|
|
2020-10-25 13:54:19 +01:00
|
|
|
nodes['rx300'] = {
|
2021-06-11 15:02:43 +02:00
|
|
|
'hostname': '31.47.232.106',
|
2020-10-25 16:46:45 +01:00
|
|
|
'bundles': {
|
2021-06-05 12:23:09 +02:00
|
|
|
'lm-sensors',
|
2021-05-20 18:24:23 +02:00
|
|
|
'smartd',
|
2021-05-23 14:33:20 +02:00
|
|
|
'vmhost',
|
2020-10-25 16:46:45 +01:00
|
|
|
'zfs',
|
|
|
|
},
|
2020-11-21 10:55:09 +01:00
|
|
|
'groups': {
|
|
|
|
'debian-buster',
|
|
|
|
},
|
2020-10-25 16:46:45 +01:00
|
|
|
'metadata': {
|
2020-11-09 15:16:29 +01:00
|
|
|
'interfaces': {
|
2021-05-23 14:33:20 +02:00
|
|
|
'br0': {
|
2020-11-09 15:16:29 +01:00
|
|
|
'ips': {
|
2021-06-11 15:02:43 +02:00
|
|
|
'31.47.232.106/29',
|
|
|
|
'2a00:f820:528::2/64',
|
2020-11-09 15:16:29 +01:00
|
|
|
},
|
2021-06-11 15:02:43 +02:00
|
|
|
'gateway4': '31.47.232.105',
|
|
|
|
'gateway6': '2a00:f820:528::1',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'ipmitool': {},
|
2020-11-09 15:16:29 +01:00
|
|
|
},
|
|
|
|
},
|
2020-11-13 12:59:06 +01:00
|
|
|
'backups': {
|
|
|
|
'exclude_from_backups': True,
|
|
|
|
},
|
2021-05-20 18:24:23 +02:00
|
|
|
'smartd': {
|
|
|
|
'disks': {
|
|
|
|
'/dev/nvme0',
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 12:18:41 +01:00
|
|
|
'systemd-networkd': {
|
2021-05-23 14:33:20 +02:00
|
|
|
'bridges': {
|
|
|
|
'br0': {
|
|
|
|
'match': {
|
2021-06-28 19:41:00 +02:00
|
|
|
'eno1',
|
2021-05-23 14:33:20 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 12:18:41 +01:00
|
|
|
},
|
2021-01-22 19:07:25 +01:00
|
|
|
'users': {
|
|
|
|
'kunsi': {
|
2021-05-23 14:33:20 +02:00
|
|
|
'groups': {
|
|
|
|
'libvirt',
|
|
|
|
},
|
2021-01-22 19:07:25 +01:00
|
|
|
},
|
|
|
|
},
|
2020-10-25 16:46:45 +01:00
|
|
|
'zfs': {
|
2020-10-25 16:49:36 +01:00
|
|
|
'module_options': {
|
2021-06-25 18:39:06 +02:00
|
|
|
'zfs_arc_max_gb': 16,
|
2020-10-25 16:49:36 +01:00
|
|
|
},
|
2020-10-25 16:46:45 +01:00
|
|
|
'pools': {
|
|
|
|
'tank': {
|
|
|
|
'raidz': {
|
|
|
|
'/dev/sda',
|
|
|
|
'/dev/sdb',
|
|
|
|
'/dev/sdc',
|
|
|
|
'/dev/sdd',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-05-23 14:33:20 +02:00
|
|
|
'datasets': {
|
|
|
|
'tank/libvirt': {
|
|
|
|
'mountpoint': '/var/lib/libvirt',
|
|
|
|
'compression': 'on',
|
|
|
|
},
|
|
|
|
},
|
2020-10-25 16:46:45 +01:00
|
|
|
},
|
|
|
|
'vm': {
|
|
|
|
'cpu': 32,
|
2021-05-20 17:51:50 +02:00
|
|
|
'ram': 256,
|
2020-10-25 16:46:45 +01:00
|
|
|
},
|
|
|
|
},
|
2020-10-25 13:54:19 +01:00
|
|
|
}
|