Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use cloudinit to set up the instances correctly. Unfortunately, the following is not yet tested because I still have problems at an earlier stage of Trove's installation process. But this is what I know so far.

See point 9 in for everything that has to be done within the instances. You might replace yum by apt within the URL to see guidelines for a different operating system.

  • create directory /etc/trove/cloudinit
  • in /etc/trove/trove-taskmanager.conf set cloudinit_location = /etc/trove/cloudinit (see Table 4.16. in
  • for each datastore, create a file like /etc/trove/cloudinit/mysql.cloudinit that defines the steps to be done (see )

Maybe it's better to use Ubuntu 14.04, because it has the package trove-guestagent in its repositories in contrast to Ubuntu 12.04.

An example for a cloudinit file (see

- trove-guestagent
- mysql-server-5.5

# config file for trove guestagent
- path: /etc/trove/trove-guestagent.conf
  content: |
    rabbit_host = HOST_IP
    rabbit_password = guest
    nova_proxy_admin_user = admin
    nova_proxy_admin_pass = ADMIN_PASS
    nova_proxy_admin_tenant_name = trove
    trove_auth_url = http://HOST_IP:35357/v2.0
    control_exchange = trove


# restart trove-guestagent as the config has been changed
- stop trove-guestagent
- start trove-guestagent