07-30-2018 12:48 PM
The AWS plugin for Cloudera Director supports the following directive to override the default device names during bootstrap. Does the Azure plugin support something similar? I do not see any online references indicating so, but hoping that I'm just not looking in the right place.
ebsDeviceMappings {
deviceNamePrefix: /dev/sd
rangeStart: f
}
08-01-2018 08:15 AM
Hi @dturner,
Overriding device name for Azure data disks is not supported by Cloudera Director Azure plugin.
Thanks,
Tony
08-01-2018 09:20 AM
Thanks for your response Tony.
A couple of follow up questions:
1. Are there plans to add support for this in the plugin?
2. Does this mean that it's not possible to use an image with a secondary disk device included, while still defining data drives in the Azure bootstrap? In other words, Azure bootstrap assumes that the image contains only a single device, and that including any other device precludes the ability to use Cloudera Director to bootstrap that image with additional devices?
08-01-2018 01:47 PM
There is no plan to support configurable block device name (for disks) in the Director Azure plugin. As you mentioned, using Azure custom VM image with pre-defined data disks requires no data disk to be specified.
Can you elaborate on the use case you have for using VM image with data disk(s)?
08-01-2018 02:45 PM
For our AWS deployments, we include a secondary 500GB disk in the worker-core AMI which is used for Kafka data directory. We include it in the image because you can only define volumes of 1 size per node type and we certainly do not want a 2TB volume for this Kafka disk - which is what we define for the data disks in the bootstrap file.
08-02-2018 08:53 AM
Thank you for sharing your use case details. In summary the use case is to support attaching heterogeneous (differen size) data disks for instances. As you noticed such configuration is not allowed in Director currently. We will relay your request to product management team.
Thanks,
Tony
08-02-2018 05:36 PM