Skip to content

Commit bb64e36

Browse files
authored
Add local ssd on nova compute nodes (#249)
Signed-off-by: Christian Berendt <[email protected]>
1 parent 7fe9829 commit bb64e36

File tree

1 file changed

+30
-0
lines changed
  • docs/guides/configuration-guide/openstack

1 file changed

+30
-0
lines changed

docs/guides/configuration-guide/openstack/nova.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,33 @@ reserved_host_memory_mb = 32768
5050
[DEFAULT]
5151
reserved_host_cpus = 4
5252
```
53+
54+
## Local SSD storage
55+
56+
In this example, a local SSD is provided for use on compute node `testbed-node-0`.
57+
58+
On the compute node, the local SSD to be used is formatted with a file system of
59+
your choice and mounted to `/var/lib/nova`. When using more than one local SSD, a
60+
software RAID 1 should be used
61+
62+
A `nova.conf` is created as an overlay for the compute node `testbed-node-0`.
63+
64+
```ini title="environments/kolla/files/overlays/testbed-node-0/nova.conf"
65+
[libvirt]
66+
images_type = raw
67+
68+
[glance]
69+
enable_rbd_download = true
70+
```
71+
72+
In the inventory, the parameters `nova_instance_datadir_volume` and `nova_backend_ceph`
73+
are added in the section for the `kolla` environment.
74+
75+
76+
```yaml title="inventory/host_vars/testbed-node-0.yml"
77+
##########################################################
78+
# kolla
79+
80+
nova_instance_datadir_volume: /var/lib/nova
81+
nova_backend_ceph: no
82+
```

0 commit comments

Comments
 (0)