7. at this point, the VM probably doesn't boot, because for some
reason the `gnt-instance-debootstrap` doesn't fire when disks are
adopted. so you need to reinstall the machine, which involves
stopping it first:
gnt-instance shutdown --timeout=0 web-chi-03
gnt-instance reinstall
From here on, follow the [next steps](#next-steps) above.
TODO: This would ideally be automated by an external storage provider,
see the [storage reference for more information](#storage).
## Modifying an instance
### CPU, memory changes
@@ -1764,9 +1869,22 @@ particular.
See also the [DRBD documentation](howto/drbd).
NOTE: the Cymru PoP has an iSCSI cluster for large filesystem
storage. See the [cymru documentation for
details](howto/new-machine-cymru#ganeti-iscsi-integration) for details.
The Cymru PoP has an iSCSI cluster for large filesystem
storage. Ideally, this would be automated inside Ganeti, some quick
links:
*[search for iSCSI in the ganeti-devel mailing list](https://www.mail-archive.com/search?l=ganeti-devel@googlegroups.com&q=iscsi&submit.x=0&submit.y=0)
* in particular a [discussion of integrating SANs into ganeti](https://groups.google.com/forum/m/?_escaped_fragment_=topic/ganeti/P7JU_0YGn9s)
seems to say "just do it manually" (paraphrasing) and [this
discussion has an actual implementation](https://groups.google.com/forum/m/?_escaped_fragment_=topic/ganeti/kkXFDgvg2rY), [gnt-storage-eql](https://github.com/atta/gnt-storage-eql)
* it could be implemented as an [external storage provider](https://github.com/ganeti/ganeti/wiki/External-Storage-Providers), see
the [documentation](http://docs.ganeti.org/ganeti/2.10/html/design-shared-storage.html)
* the DSA docs are in two parts: [iscsi](https://dsa.debian.org/howto/iscsi/) and [export-iscsi](https://dsa.debian.org/howto/export-iscsi/)
* someone made a [Kubernetes provisionner](https://github.com/nmaupu/dell-provisioner) for our hardware which
could provide sample code
For now, iSCSI volumes are manually created and passed to new virtual
The network at Cymru is split into different VLANs:
@@ -1540,12 +1544,11 @@ See also [howto/raid](howto/raid).
### Storage
We need to figure out how to use the iSCSI cluster, which provides
172TiB of storage over iSCSI in the management network. Debian used
this in the past with ganeti, but that involves creating, resizing,
and destroying volumes by hand before/after creating, and destroying
VMs. While that is not ideal, it will certainly be a first step in
getting this infrastructure used.
The iSCSI cluster provides roughly 172TiB of storage in the management
network, at least in theory. Debian used this in the past with ganeti,
but that involves creating, resizing, and destroying volumes by hand
before/after creating, and destroying VMs. While that is not ideal, it
is the first step in getting this infrastructure used.
We also use the "normal" DRBD setup with the local SAS disks available
on the servers. This is used for the primary disks for Ganeti
@@ -1627,21 +1630,12 @@ blacklist {
```
It seems that configuration is actually optional: multipath will still
work fine without it, so it's not deployed elsewhere.
work fine without it, so it's not deployed consistently across nodes
at the moment.
### Ganeti iSCSI integration
Ideally, this would be automated inside Ganeti, some quick links:
*[search for iSCSI in the ganeti-devel mailing list](https://www.mail-archive.com/search?l=ganeti-devel@googlegroups.com&q=iscsi&submit.x=0&submit.y=0)
* in particular a [discussion of integrating SANs into ganeti](https://groups.google.com/forum/m/?_escaped_fragment_=topic/ganeti/P7JU_0YGn9s)
seems to say "just do it manually" (paraphrasing) and [this
discussion has an actual implementation](https://groups.google.com/forum/m/?_escaped_fragment_=topic/ganeti/kkXFDgvg2rY), [gnt-storage-eql](https://github.com/atta/gnt-storage-eql)
* it could be implemented as an [external storage provider](https://github.com/ganeti/ganeti/wiki/External-Storage-Providers), see
the [documentation](http://docs.ganeti.org/ganeti/2.10/html/design-shared-storage.html)
* the DSA docs are in two parts: [iscsi](https://dsa.debian.org/howto/iscsi/) and [export-iscsi](https://dsa.debian.org/howto/export-iscsi/)
* someone made a [Kubernetes provisionner](https://github.com/nmaupu/dell-provisioner) for our hardware which
could provide sample code
See [Ganeti storage reference](howto/ganeti#Storage) and [Ganeti iSCSI integration](howto/ganeti#iscsi-integration).