cpe-deployments/config/bucketsconfig.yaml

470 lines
9.2 KiB
YAML
Raw Normal View History

2021-10-29 09:57:19 +01:00
---
allocations:
control:
machines:
- as1-maas-node-01
- as2-maas-node-01
- as3-maas-node-01
lma:
machines:
- as1-maas-node-02
- as2-maas-node-02
- as3-maas-node-02
landscape:
machines:
- as1-maas-node-03
- as2-maas-node-03
- as3-maas-node-03
compute:
machines:
- as1-maas-node-04
- as1-maas-node-05
- as2-maas-node-04
- as2-maas-node-05
- as3-maas-node-04
- as3-maas-node-05
configs:
control:
disks: &common-disks
# RAID 1 OS disk
- disk: 0
id: os0
ptable: GPT
type: disk
# EFI partition
- device: os0
id: os0-efi
number: 1
size: 512M
type: partition
# EFI format
- volume: os0-efi
id: os0-efi-format
label: EFI
fstype: fat32
type: format
# EFI mount
- device: os0-efi-format
id: os0-efi-mount
path: /boot/efi
type: mount
# Boot partition
- device: os0
id: os0-boot
number: 2
size: 2G
type: partition
# Boot format
- volume: os0-boot
id: os0-boot-format
label: BOOT
fstype: ext4
type: format
# Boot mount
- device: os0-boot-format
id: os0-boot-mount
path: /boot
type: mount
# bcache partition
- device: os0
id: os0-bcache
number: 3
size: 236G
type: partition
# RAID 10 Disk
- disk: 1
id: os1
ptable: GPT
type: disk
# root partition
- device: os1
id: os1-root
number: 1
size: 11.9T
type: partition
# Bcache for root
- backing_device: os1-root
cache_device: os0-bcache
cache_mode: writeback
id: root0
name: root0
type: bcache
# LVM volume group for root
- devices:
- root0
id: vg0
name: vg0
type: lvm_volgroup
# LVM partition for root
- id: vg0-root
name: root
type: lvm_partition
size: 20G
volgroup: vg0
# root format
- volume: vg0-root
id: vg0-root-format
label: root
fstype: ext4
type: format
# root mount
- device: vg0-root-format
id: vg0-root-mount
path: /
type: mount
# LVM partition for home
- id: vg0-home
name: home
type: lvm_partition
size: 1G
volgroup: vg0
# home format
- volume: vg0-home
id: vg0-home-format
label: home
fstype: ext4
type: format
# home mount
- device: vg0-home-format
id: vg0-home-mount
path: /home
type: mount
# LVM partition for tmp
- id: vg0-tmp
name: tmp
type: lvm_partition
size: 2G
volgroup: vg0
# tmp format
- volume: vg0-tmp
id: vg0-tmp-format
label: tmp
fstype: ext4
type: format
# tmp mount
- device: vg0-tmp-format
id: vg0-tmp-mount
path: /tmp
type: mount
# LVM partition for var
- id: vg0-var
name: var
type: lvm_partition
size: 5T
volgroup: vg0
# var format
- volume: vg0-var
id: vg0-var-format
label: var
fstype: ext4
type: format
# var mount
- device: vg0-var-format
id: vg0-var-mount
path: /var
type: mount
# LVM partition for var/log
- id: vg0-var-log
name: var-log
type: lvm_partition
size: 20G
volgroup: vg0
# var/log format
- volume: vg0-var-log
id: vg0-var-log-format
label: var-log
fstype: ext4
type: format
# var/log mount
- device: vg0-var-log-format
id: vg0-var-log-mount
path: /var/log
type: mount
# LVM partition for var/tmp
- id: vg0-var-tmp
name: var-tmp
type: lvm_partition
size: 2G
volgroup: vg0
# var/tmp format
- volume: vg0-var-tmp
id: vg0-var-tmp-format
label: var-tmp
fstype: ext4
type: format
# var/tmp mount
- device: vg0-var-tmp-format
id: vg0-var-tmp-mount
path: /var/tmp
type: mount
# LVM partition for var/log/audit
- id: vg0-var-log-audit
name: var-log-audit
type: lvm_partition
size: 2G
volgroup: vg0
# var/log/audit format
- volume: vg0-var-log-audit
id: vg0-var-log-audit-format
label: var-log-audit
fstype: ext4
type: format
# var/log/audit mount
- device: vg0-var-log-audit-format
id: vg0-var-log-audit-mount
path: /var/log/audit
type: mount
# LVM partition for SWAP
- id: vg0-swap
name: swap
type: lvm_partition
size: 8G
volgroup: vg0
# SWAP format
- volume: vg0-swap
id: vg0-swap-format
label: swap
fstype: swap
type: format
# SWAP mount
- device: vg0-swap-format
id: vg0-swap-mount
path: ''
type: mount
nics: &common-nics
# ens3 NIC
- id: ens3
name: ens3
nic: 0
type: physical
vlan_id: 300
subnets:
oam:
mode: static
ip_addresses:
as1-maas-node-01: 10.0.1.101
as2-maas-node-01: 10.0.1.102
as3-maas-node-01: 10.0.1.103
as1-maas-node-02: 10.0.1.111
as2-maas-node-02: 10.0.1.112
as3-maas-node-02: 10.0.1.113
as1-maas-node-03: 10.0.1.121
as2-maas-node-03: 10.0.1.122
as3-maas-node-03: 10.0.1.123
as1-maas-node-04: 10.0.1.131
as1-maas-node-05: 10.0.1.132
as2-maas-node-04: 10.0.1.133
as2-maas-node-05: 10.0.1.134
as3-maas-node-04: 10.0.1.135
as3-maas-node-05: 10.0.1.136
fabric: default
# ens4 NIC
- id: ens4
name: ens4
nic: 1
type: physical
vlan_id: 301
subnets: [ceph-access]
fabric: default
# ens5 NIC
- id: ens5
name: ens5
nic: 2
type: physical
vlan_id: 302
subnets: [ceph-replica]
fabric: default
# ens6 NIC
- id: ens6
name: ens6
nic: 3
type: physical
vlan_id: 303
subnets: [overlay]
fabric: default
# ens7 NIC
- id: ens7
name: ens7
nic: 4
type: physical
vlan_id: 304
subnets: [admin]
fabric: default
# ens8 NIC
- id: ens8
name: ens8
nic: 5
type: physical
vlan_id: 305
subnets: [internal]
fabric: default
# ens9 NIC
- id: ens9
name: ens9
nic: 6
type: physical
vlan_id: 1
subnets: [external]
fabric: default
lma:
disks: *common-disks
nics: *common-nics
landscape:
disks: *common-disks
nics: *common-nics
compute:
disks: &compute-disks
# RAID 1 OS disk
- disk: 0
id: os0
ptable: GPT
type: disk
# EFI partition
- device: os0
id: os0-efi
number: 1
size: 512M
type: partition
# EFI format
- volume: os0-efi
id: os0-efi-format
label: EFI
fstype: fat32
type: format
# EFI mount
- device: os0-efi-format
id: os0-efi-mount
path: /boot/efi
type: mount
# Boot partition
- device: os0
id: os0-boot
number: 2
size: 2G
type: partition
# Boot format
- volume: os0-boot
id: os0-boot-format
label: BOOT
fstype: ext4
type: format
# Boot mount
- device: os0-boot-format
id: os0-boot-mount
path: /boot
type: mount
##new section
# Root partition
- device: os0
id: os0-root
number: 3
size: 53G
type: partition
# copy and paste from controll nodes : LVM volume group for root
- devices:
- os0-root
id: vg0
name: vg0
type: lvm_volgroup
# LVM partition for root
- id: vg0-root
name: root
type: lvm_partition
size: 45G
volgroup: vg0
# root format
- volume: vg0-root
id: vg0-root-format
label: root
fstype: ext4
type: format
# root mount
- device: vg0-root-format
id: vg0-root-mount
path: /
type: mount
# LVM partition for SWAP
- id: vg0-swap
name: swap
type: lvm_partition
size: 8G
volgroup: vg0
# SWAP format
- volume: vg0-swap
id: vg0-swap-format
label: swap
fstype: swap
type: format
# SWAP mount
- device: vg0-swap-format
id: vg0-swap-mount
path: ''
type: mount
nics: *common-nics