[openstack-dev] [Trove] How users should specify a datastore type when creating an instance

Michael Basnight mbasnight at gmail.com
Wed Oct 23 18:37:33 UTC 2013


On Oct 23, 2013, at 10:54 AM, Ilya Sviridov wrote:

> Besides the strategy of selecting the default behavior.
> 
> Let me share with you my ideas of configuration management in Trove and how the datastore concept can help with that.
> 
> Initially there was only one database and all configuration was in one config file. 
> With adding of new databases, heat provisioning mechanism, we are introducing more options. 
> 
> Not only assigning specific image_id, but custom packages, heat templates, probably specific strategies of working with security groups.
> Such needs already exist because we have a lot of optional things in config, and any new feature is implemented with back sight to already existing legacy installations of Trove.
> 
> What is  actually datastore_type + datastore_version?
> 
> The model which glues all the bricks together, so let us use it for all variable part of *service type* configuration.
> 
> from current config file
> 
> # Trove DNS
> trove_dns_support = False
> 
> # Trove Security Groups for Instances
> trove_security_groups_support = True
> trove_security_groups_rules_support = False
> trove_security_group_rule_protocol = tcp
> trove_security_group_rule_port = 3306
> trove_security_group_rule_cidr = 0.0.0.0/0
> 
> #guest_config = $pybasedir/etc/trove/trove-guestagent.conf.sample
> #cloudinit_location = /etc/trove/cloudinit
> 
> block_device_mapping = vdb
> device_path = /dev/vdb
> mount_point = /var/lib/mysql
> 
> All that configurations can be moved to data_strore (some defined in heat templates) and be manageable by operator in case if any default behavior should be changed.
> 
> The trove-config becomes core functionality specific only.

Its fine for it to be in the config or the heat templates… im not sure it matters. what i would like to see is that specific thing to each service be in their own config group in the configuration.

[mysql]
mount_point=/var/lib/mysql
…
[redis]
volume_support=False
…..

and so on.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131023/6560dfde/attachment.pgp>


More information about the OpenStack-dev mailing list