Configurations

Create new configuration
$ trove configuration-create <name> <values> [--datastore <datastore>] [--datastore_version <datatstore_version>] [--description
      <description>]  

Positional Arguments

  • name. The name of the configuration.

  • values. The values for the configuration. The key value pairs <values> should be in JSON format with no spaces. Each key value pair should be separated by a comma.

Optional Arguments

  • --datastore datastore. The datastore for the configuration.

  • --datastore_version datastore_version. The version for the datastore.

  • --description description. The description for the configuration.

Create instance with configuration group
$ trove create <name> <flavor> [--size <size>] [--databases <databases>[<databases> ...]] [--users <users> [<users> ...]] [--backup <backup>] [--availability_zone <availability_zone>] [--configuration_group <config_id>]  

Positional Arguments

  • name. The name of the instance.

  • flavor. The ID of the flavor.

Optional Arguments

  • --size size. The size of the instance disk in GB.

    [Note]Note

    This is a required argument for MySQL.

  • --databases <databases> [<databases> ...]. An optional list of databases..

  • --users <users> [<users> ...]. An optional list of users in the form user:password.

  • --backup <backup>. A backup UUID.

  • --availability_zone <availability_zone>. The Zone hint to give to nova.

  • --configuration_group <config_id>. The ID of the configuration group.

Apply configuration group to instance
$ trove configuration-attach <instance_id> <configuration_id>
[Note]Note

The syntax order for configuration-attach was changed to that shown above in python-troveclient version 1.0.6 and later. Earlier versions require you to pass in the configuration group ID as the first argument.

Positional Arguments

  • configuration_id. The ID of the configuration group.

  • instance_id. The ID for the existing instance.

Detach configuration group from instance and replace with default configuration
$ trove configuration-detach <instance_id>  

Positional Arguments

  • instance_id. The ID for the existing instance.

Update some parameters of a configuration group
$ trove configuration-patch <configuration_group> <values>  

Positional Arguments

  • configuration_group. The name of the configuration group.

  • values. The values for the configuration group.

Replace all parameters of a configuration group
$ trove configuration-update <configuration_group> <values> [--name<name>] [--description<description>]  

Positional Arguments

  • configuration_group. The name of the configuration group.

  • values. The values for the configuration group. The key value pairs <values> should be in JSON format with no spaces. Each key value pair should be separated by a comma.

Optional Arguments

  • --name <name>. The name of the parameter.

  • --description <description>. The description of the parameter.

View all configuration groups
$ trove configuration-list
View all instances associated with the specified configuration group
$ trove configuration-instances <config_id>  

Positional Arguments

  • config_id. The ID for the configuration group.

View details of default configuration settings for a specific instance
$ trove configuration-default <instance_id>  

Positional Arguments

  • instance_id. The ID for the instance.

View details of configuration group
$ trove configuration-show <config_id>  

Positional Arguments

  • config_id. The ID for the configuration group.

View configuration parameters that can be configured for a datastore
$ trove configuration-parameter-list <datastore_version>

Positional Arguments

  • datastore_version. The version of the datastore.

View details of a specific Configuration Parameter that can be configured for a datastore
$ trove configuration-parameter-show <datastore_version> <parameter>  

Positional Arguments

  • datastore_version. The version of the datastore.

  • parameter. The parameter for the datastore.

Delete configuration group
$ trove configuration-delete <config-id>  

Positional Arguments

  • config-id. The ID of the configuration.



loading table of contents...