Chapter 15. Database service command-line client
2.1.1
.
trove help COMMAND
$ trove help COMMAND
15.1. trove usage Copy linkLink copied to clipboard!
usage: trove [--version] [--debug] [--os-auth-system <auth-system>] [--service-type <service-type>] [--service-name <service-name>] [--bypass-url <bypass-url>] [--database-service-name <database-service-name>] [--endpoint-type <endpoint-type>] [--os-database-api-version <database-api-ver>] [--retries <retries>] [--json] [--profile HMAC_KEY] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <tenant-id>] [--os-auth-token OS_AUTH_TOKEN] [--os-region-name <region-name>] <subcommand> ...
usage: trove [--version] [--debug] [--os-auth-system <auth-system>] [--service-type <service-type>] [--service-name <service-name>] [--bypass-url <bypass-url>] [--database-service-name <database-service-name>] [--endpoint-type <endpoint-type>] [--os-database-api-version <database-api-ver>] [--retries <retries>] [--json] [--profile HMAC_KEY] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <tenant-id>] [--os-auth-token OS_AUTH_TOKEN] [--os-region-name <region-name>] <subcommand> ...
Subcommands
- backup-copy
- Creates a backup from another backup.
- backup-create
- Creates a backup of an instance.
- backup-delete
- Deletes a backup.
- backup-list
- Lists available backups.
- backup-list-instance
- Lists available backups for an instance.
- backup-show
- Shows details of a backup.
- cluster-create
- Creates a new cluster.
- cluster-delete
- Deletes a cluster.
- cluster-grow
- Adds more instances to a cluster.
- cluster-instances
- Lists all instances of a cluster.
- cluster-list
- Lists all the clusters.
- cluster-show
- Shows details of a cluster.
- cluster-shrink
- Drops instances from a cluster.
- configuration-attach
- Attaches a configuration group to an instance.
- configuration-create
- Creates a configuration group.
- configuration-default
- Shows the default configuration of an instance.
- configuration-delete
- Deletes a configuration group.
- configuration-detach
- Detaches a configuration group from an instance.
- configuration-instances
- Lists all instances associated with a configuration group.
- configuration-list
- Lists all configuration groups.
- configuration-parameter-list
- Lists available parameters for a configuration group.
- configuration-parameter-show
- Shows details of a configuration parameter.
- configuration-patch
- Patches a configuration group.
- configuration-show
- Shows details of a configuration group.
- configuration-update
- Updates a configuration group.
- create
- Creates a new instance.
- database-create
- Creates a database on an instance.
- database-delete
- Deletes a database from an instance.
- database-list
- Lists available databases on an instance.
- datastore-list
- Lists available datastores.
- datastore-show
- Shows details of a datastore.
- datastore-version-list
- Lists available versions for a datastore.
- datastore-version-show
- Shows details of a datastore version.
- delete
- Deletes an instance.
- detach-replica
- Detaches a replica instance from its replication source.
- eject-replica-source
- Ejects a replica source from its set.
- flavor-list
- Lists available flavors.
- flavor-show
- Shows details of a flavor.
- limit-list
- Lists the limits for a tenant.
- list
- Lists all the instances.
- log-disable
- Instructs Trove guest to stop collecting log details.
- log-discard
- Instructs Trove guest to discard the container of the published log.
- log-enable
- Instructs Trove guest to start collecting log details.
- log-list
- Lists the log files available for instance.
- log-publish
- Instructs Trove guest to publish latest log entries on instance.
- log-save
- Save log file for instance.
- log-show
- Instructs Trove guest to show details of log.
- log-tail
- Display log entries for instance.
- metadata-create
- Creates metadata in the database for instance <id>.
- metadata-delete
- Deletes metadata for instance <id>.
- metadata-edit
- Replaces metadata value with a new one, this is non-destructive.
- metadata-list
- Shows all metadata for instance <id>.
- metadata-show
- Shows metadata entry for key <key> and instance <id>.
- metadata-update
- Updates metadata, this is destructive.
- module-create
- Create a module.
- module-delete
- Delete a module.
- module-list
- Lists the modules available.
- module-show
- Shows details of a module.
- module-update
- Create a module.
- promote-to-replica-source
- Promotes a replica to be the new replica source of its set.
- resize-instance
- Resizes an instance with a new flavor.
- resize-volume
- Resizes the volume size of an instance.
- restart
- Restarts an instance.
- root-disable
- Disables root for an instance.
- root-enable
- Enables root for an instance and resets if already exists.
- root-show
- Gets status if root was ever enabled for an instance or cluster.
- secgroup-add-rule
- Creates a security group rule.
- secgroup-delete-rule
- Deletes a security group rule.
- secgroup-list
- Lists all security groups.
- secgroup-list-rules
- Lists all rules for a security group.
- secgroup-show
- Shows details of a security group.
- show
- Shows details of an instance.
- update
- Updates an instance: Edits name, configuration, or replica source.
- user-create
- Creates a user on an instance.
- user-delete
- Deletes a user from an instance.
- user-grant-access
- Grants access to a database(s) for a user.
- user-list
- Lists the users for an instance.
- user-revoke-access
- Revokes access to a database for a user.
- user-show
- Shows details of a user of an instance.
- user-show-access
- Shows access details of a user of an instance.
- user-update-attributes
- Updates a user's attributes on an instance.
- bash-completion
- Prints arguments for bash_completion.
- help
- Displays help about this program or one of its subcommands.
15.2. trove optional arguments Copy linkLink copied to clipboard!
- --version
- Show program's version number and exit.
- --debug
- Print debugging output.
- --os-auth-system <auth-system>
- Defaults to
env[OS_AUTH_SYSTEM]
. - --service-type <service-type>
- Defaults to database for most actions.
- --service-name <service-name>
- Defaults to
env[TROVE_SERVICE_NAME]
. - --bypass-url <bypass-url>
- Defaults to
env[TROVE_BYPASS_URL]
. - --database-service-name <database-service-name>
- Defaults to
env[TROVE_DATABASE_SERVICE_NAME]
. - --endpoint-type <endpoint-type>
- Defaults to
env[TROVE_ENDPOINT_TYPE]
orenv[OS_ENDPOINT_TYPE]
or publicURL. - --os-database-api-version <database-api-ver>
- Accepts 1, defaults to
env[OS_DATABASE_API_VERSION]
. - --retries <retries>
- Number of retries.
- --json, --os-json-output
- Output JSON instead of prettyprint. Defaults to
env[OS_JSON_OUTPUT]
. - --profile HMAC_KEY
- HMAC key used to encrypt context data when profiling the performance of an operation. This key should be set to one of the HMAC keys configured in Trove (they are found in api-paste.ini, typically in /etc/trove). Without the key, profiling will not be triggered even if it is enabled on the server side. Defaults to
env[OS_PROFILE_HMACKEY]
. - --insecure
- Explicitly allow client to perform "insecure" TLS (https) requests. The server's certificate will not be verified against any certificate authorities. This option should be used with caution.
- --os-cacert <ca-certificate>
- Specify a CA bundle file to use in verifying a TLS (https) server certificate. Defaults to
env[OS_CACERT]
. - --os-cert <certificate>
- Defaults to
env[OS_CERT]
. - --os-key <key>
- Defaults to
env[OS_KEY]
. - --timeout <seconds>
- Set request timeout (in seconds).
- --os-auth-url OS_AUTH_URL
- Authentication URL
- --os-domain-id OS_DOMAIN_ID
- Domain ID to scope to
- --os-domain-name OS_DOMAIN_NAME
- Domain name to scope to
- --os-project-id OS_PROJECT_ID
- Project ID to scope to
- --os-project-name OS_PROJECT_NAME
- Project name to scope to
- --os-project-domain-id OS_PROJECT_DOMAIN_ID
- Domain ID containing project
- --os-project-domain-name OS_PROJECT_DOMAIN_NAME
- Domain name containing project
- --os-trust-id OS_TRUST_ID
- Trust ID
- --os-user-id OS_USER_ID
- User ID
- --os-username OS_USERNAME, --os-user_name OS_USERNAME
- Username
- --os-user-domain-id OS_USER_DOMAIN_ID
- User's domain id
- --os-user-domain-name OS_USER_DOMAIN_NAME
- User's domain name
- --os-password OS_PASSWORD
- User's password
- --os-tenant-name <auth-tenant-name>
- Tenant to request authorization on. Defaults to
env[OS_TENANT_NAME]
. - --os-tenant-id <tenant-id>
- Tenant to request authorization on. Defaults to
env[OS_TENANT_ID]
. - --os-auth-token OS_AUTH_TOKEN
- Defaults to
env[OS_AUTH_TOKEN]
- --os-region-name <region-name>
- Specify the region to use. Defaults to
env[OS_REGION_NAME]
.
15.3. trove backup-copy Copy linkLink copied to clipboard!
usage: trove backup-copy <name> <backup> [--region <region>] [--description <description>]
usage: trove backup-copy <name> <backup> [--region <region>] [--description <description>]
Positional arguments
- <name>
- Name of the backup.
- <backup>
- Backup ID of the source backup.
Optional arguments
- --region <region>
- Region where the source backup resides.
- --description <description>
- An optional description for the backup.
15.4. trove backup-create Copy linkLink copied to clipboard!
usage: trove backup-create <instance> <name> [--description <description>] [--parent <parent>]
usage: trove backup-create <instance> <name> [--description <description>] [--parent <parent>]
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of the backup.
Optional arguments
- --description <description>
- An optional description for the backup.
- --parent <parent>
- Optional ID of the parent backup to perform an incremental backup from.
15.5. trove backup-delete Copy linkLink copied to clipboard!
usage: trove backup-delete <backup>
usage: trove backup-delete <backup>
Positional arguments
- <backup>
- ID or name of the backup.
15.6. trove backup-list Copy linkLink copied to clipboard!
usage: trove backup-list [--limit <limit>] [--marker <ID>] [--datastore <datastore>]
usage: trove backup-list [--limit <limit>] [--marker <ID>] [--datastore <datastore>]
Optional arguments
- --limit <limit>
- Return up to N number of the most recent backups.
- --marker <ID>
- Begin displaying the results for IDs greater than the specified marker. When used with --limit, set this to the last ID displayed in the previous run.
- --datastore <datastore>
- Name or ID of the datastore to list backups for.
15.7. trove backup-list-instance Copy linkLink copied to clipboard!
usage: trove backup-list-instance [--limit <limit>] [--marker <ID>] <instance>
usage: trove backup-list-instance [--limit <limit>] [--marker <ID>] <instance>
Positional arguments
- <instance>
- ID or name of the instance.
Optional arguments
- --limit <limit>
- Return up to N number of the most recent backups.
- --marker <ID>
- Begin displaying the results for IDs greater than the specified marker. When used with --limit, set this to the last ID displayed in the previous run.
15.8. trove backup-show Copy linkLink copied to clipboard!
usage: trove backup-show <backup>
usage: trove backup-show <backup>
Positional arguments
- <backup>
- ID of the backup.
15.9. trove cluster-create Copy linkLink copied to clipboard!
usage: trove cluster-create <name> <datastore> <datastore_version> [--instance "<opt=value,opt=value,...>"]
usage: trove cluster-create <name> <datastore> <datastore_version> [--instance "<opt=value,opt=value,...>"]
Positional arguments
- <name>
- Name of the cluster.
- <datastore>
- A datastore name or ID.
- <datastore_version>
- A datastore version name or ID.
Optional arguments
- --instance
- "<opt=value,opt=value,...>" Create an instance for the cluster. Specify multiple times to create multiple instances. Valid options are: flavor=flavor_name_or_id, volume=disk_size_in_GB, volume_type=type, nic='net-id=net-uuid,v4-fixed-ip=ip-addr ,port-id=port-uuid' (where net- id=network_id, v4-fixed- ip=IPv4r_fixed_address, port-id=port_id), availability_zone=AZ_hint_for_Nova.
15.10. trove cluster-delete Copy linkLink copied to clipboard!
usage: trove cluster-delete <cluster>
usage: trove cluster-delete <cluster>
Positional arguments
- <cluster>
- ID or name of the cluster.
15.11. trove cluster-grow Copy linkLink copied to clipboard!
usage: trove cluster-grow <cluster> [--instance <name=name,flavor=flavor_name_or_id,volume=volume>]
usage: trove cluster-grow <cluster> [--instance <name=name,flavor=flavor_name_or_id,volume=volume>]
Positional arguments
- <cluster>
- ID or name of the cluster.
Optional arguments
- --instance <name=name,flavor=flavor_name_or_id,volume=volume>
- Add an instance to the cluster. Specify multiple times to create multiple instances.
15.12. trove cluster-instances Copy linkLink copied to clipboard!
usage: trove cluster-instances <cluster>
usage: trove cluster-instances <cluster>
Positional arguments
- <cluster>
- ID or name of the cluster.
15.13. trove cluster-list Copy linkLink copied to clipboard!
usage: trove cluster-list [--limit <limit>] [--marker <ID>]
usage: trove cluster-list [--limit <limit>] [--marker <ID>]
Optional arguments
- --limit <limit>
- Limit the number of results displayed.
- --marker <ID>
- Begin displaying the results for IDs greater than the specified marker. When used with --limit, set this to the last ID displayed in the previous run.
15.14. trove cluster-show Copy linkLink copied to clipboard!
usage: trove cluster-show <cluster>
usage: trove cluster-show <cluster>
Positional arguments
- <cluster>
- ID or name of the cluster.
15.15. trove cluster-shrink Copy linkLink copied to clipboard!
usage: trove cluster-shrink <cluster> <instance> [<instance> ...]
usage: trove cluster-shrink <cluster> <instance> [<instance> ...]
Positional arguments
- <cluster>
- ID or name of the cluster.
- <instance>
- Drop instance(s) from the cluster. Specify multiple ids to drop multiple instances.
15.16. trove configuration-attach Copy linkLink copied to clipboard!
usage: trove configuration-attach <instance> <configuration>
usage: trove configuration-attach <instance> <configuration>
Positional arguments
- <instance>
- ID or name of the instance.
- <configuration>
- ID of the configuration group to attach to the instance.
15.17. trove configuration-create Copy linkLink copied to clipboard!
usage: trove configuration-create <name> <values> [--datastore <datastore>] [--datastore_version <datastore_version>] [--description <description>]
usage: trove configuration-create <name> <values> [--datastore <datastore>] [--datastore_version <datastore_version>] [--description <description>]
Positional arguments
- <name>
- Name of the configuration group.
- <values>
- Dictionary of the values to set.
Optional arguments
- --datastore <datastore>
- Datastore assigned to the configuration group. Required if default datastore is not configured.
- --datastore_version <datastore_version>
- Datastore version ID assigned to the configuration group.
- --description <description>
- An optional description for the configuration group.
15.18. trove configuration-default Copy linkLink copied to clipboard!
usage: trove configuration-default <instance>
usage: trove configuration-default <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.19. trove configuration-delete Copy linkLink copied to clipboard!
usage: trove configuration-delete <configuration_group>
usage: trove configuration-delete <configuration_group>
Positional arguments
- <configuration_group>
- ID of the configuration group.
15.20. trove configuration-detach Copy linkLink copied to clipboard!
usage: trove configuration-detach <instance>
usage: trove configuration-detach <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.21. trove configuration-instances Copy linkLink copied to clipboard!
usage: trove configuration-instances <configuration_group>
usage: trove configuration-instances <configuration_group>
Positional arguments
- <configuration_group>
- ID of the configuration group.
15.22. trove configuration-list Copy linkLink copied to clipboard!
usage: trove configuration-list
usage: trove configuration-list
15.23. trove configuration-parameter-list Copy linkLink copied to clipboard!
usage: trove configuration-parameter-list <datastore_version> [--datastore <datastore>]
usage: trove configuration-parameter-list <datastore_version> [--datastore <datastore>]
Positional arguments
- <datastore_version>
- Datastore version name or ID assigned to the configuration group.
Optional arguments
- --datastore <datastore>
- ID or name of the datastore to list configuration parameters for. Optional if the ID of the datastore_version is provided.
15.24. trove configuration-parameter-show Copy linkLink copied to clipboard!
usage: trove configuration-parameter-show <datastore_version> <parameter> [--datastore <datastore>]
usage: trove configuration-parameter-show <datastore_version> <parameter> [--datastore <datastore>]
Positional arguments
- <datastore_version>
- Datastore version name or ID assigned to the configuration group.
- <parameter>
- Name of the configuration parameter.
Optional arguments
- --datastore <datastore>
- ID or name of the datastore to list configuration parameters for. Optional if the ID of the datastore_version is provided.
15.25. trove configuration-patch Copy linkLink copied to clipboard!
usage: trove configuration-patch <configuration_group> <values>
usage: trove configuration-patch <configuration_group> <values>
Positional arguments
- <configuration_group>
- ID of the configuration group.
- <values>
- Dictionary of the values to set.
15.26. trove configuration-show Copy linkLink copied to clipboard!
usage: trove configuration-show <configuration_group>
usage: trove configuration-show <configuration_group>
Positional arguments
- <configuration_group>
- ID of the configuration group.
15.27. trove configuration-update Copy linkLink copied to clipboard!
usage: trove configuration-update <configuration_group> <values> [--name <name>] [--description <description>]
usage: trove configuration-update <configuration_group> <values> [--name <name>] [--description <description>]
Positional arguments
- <configuration_group>
- ID of the configuration group.
- <values>
- Dictionary of the values to set.
Optional arguments
- --name <name>
- Name of the configuration group.
- --description <description>
- An optional description for the configuration group.
15.28. trove create Copy linkLink copied to clipboard!
usage: trove create <name> <flavor> [--size <size>] [--volume_type <volume_type>] [--databases <databases> [<databases> ...]] [--users <users> [<users> ...]] [--backup <backup>] [--availability_zone <availability_zone>] [--datastore <datastore>] [--datastore_version <datastore_version>] [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,port-id=port-uuid>] [--configuration <configuration>] [--replica_of <source_instance>] [--replica_count <count>]
usage: trove create <name> <flavor> [--size <size>] [--volume_type <volume_type>] [--databases <databases> [<databases> ...]] [--users <users> [<users> ...]] [--backup <backup>] [--availability_zone <availability_zone>] [--datastore <datastore>] [--datastore_version <datastore_version>] [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,port-id=port-uuid>] [--configuration <configuration>] [--replica_of <source_instance>] [--replica_count <count>]
Positional arguments
- <name>
- Name of the instance.
- <flavor>
- Flavor ID or name of the instance.
Optional arguments
- --size <size>
- Size of the instance disk volume in GB. Required when volume support is enabled.
- --volume_type <volume_type>
- Volume type. Optional when volume support is enabled.
- --databases <databases> [<databases> ...]
- Optional list of databases.
- --users <users> [<users> ...]
- Optional list of users in the form user:password.
- --backup <backup>
- A backup ID.
- --availability_zone <availability_zone>
- The Zone hint to give to nova.
- --datastore <datastore>
- A datastore name or ID.
- --datastore_version <datastore_version>
- A datastore version name or ID.
- --nic <net-id=net-uuid,v4-fixed-ip=ip-addr,port-id=port-uuid>
- Create a NIC on the instance. Specify option multiple times to create multiple NICs. net- id: attach NIC to network with this ID (either port-id or net-id must be specified), v4-fixed-ip: IPv4 fixed address for NIC (optional), port-id: attach NIC to port with this ID (either port-id or net-id must be specified).
- --configuration <configuration>
- ID of the configuration group to attach to the instance.
- --replica_of <source_instance>
- ID or name of an existing instance to replicate from.
- --replica_count <count>
- Number of replicas to create (defaults to 1).
15.29. trove database-create Copy linkLink copied to clipboard!
usage: trove database-create <instance> <name> [--character_set <character_set>] [--collate <collate>]
usage: trove database-create <instance> <name> [--character_set <character_set>] [--collate <collate>]
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of the database.
Optional arguments
- --character_set <character_set>
- Optional character set for database.
- --collate <collate>
- Optional collation type for database.
15.30. trove database-delete Copy linkLink copied to clipboard!
usage: trove database-delete <instance> <database>
usage: trove database-delete <instance> <database>
Positional arguments
- <instance>
- ID or name of the instance.
- <database>
- Name of the database.
15.31. trove database-list Copy linkLink copied to clipboard!
usage: trove database-list <instance>
usage: trove database-list <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.32. trove datastore-list Copy linkLink copied to clipboard!
usage: trove datastore-list
usage: trove datastore-list
15.33. trove datastore-show Copy linkLink copied to clipboard!
usage: trove datastore-show <datastore>
usage: trove datastore-show <datastore>
Positional arguments
- <datastore>
- ID of the datastore.
15.34. trove datastore-version-list Copy linkLink copied to clipboard!
usage: trove datastore-version-list <datastore>
usage: trove datastore-version-list <datastore>
Positional arguments
- <datastore>
- ID or name of the datastore.
15.35. trove datastore-version-show Copy linkLink copied to clipboard!
usage: trove datastore-version-show <datastore_version> [--datastore <datastore>]
usage: trove datastore-version-show <datastore_version> [--datastore <datastore>]
Positional arguments
- <datastore_version>
- ID or name of the datastore version.
Optional arguments
- --datastore <datastore>
- ID or name of the datastore. Optional if the ID of the datastore_version is provided.
15.36. trove delete Copy linkLink copied to clipboard!
usage: trove delete <instance>
usage: trove delete <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.37. trove detach-replica Copy linkLink copied to clipboard!
usage: trove detach-replica <instance>
usage: trove detach-replica <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.38. trove eject-replica-source Copy linkLink copied to clipboard!
usage: trove eject-replica-source <instance>
usage: trove eject-replica-source <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.39. trove flavor-list Copy linkLink copied to clipboard!
usage: trove flavor-list [--datastore_type <datastore_type>] [--datastore_version_id <datastore_version_id>]
usage: trove flavor-list [--datastore_type <datastore_type>] [--datastore_version_id <datastore_version_id>]
Optional arguments
- --datastore_type <datastore_type>
- Type of the datastore. For eg: mysql.
- --datastore_version_id <datastore_version_id>
- ID of the datastore version.
15.40. trove flavor-show Copy linkLink copied to clipboard!
usage: trove flavor-show <flavor>
usage: trove flavor-show <flavor>
Positional arguments
- <flavor>
- ID or name of the flavor.
15.41. trove limit-list Copy linkLink copied to clipboard!
usage: trove limit-list
usage: trove limit-list
15.42. trove list Copy linkLink copied to clipboard!
usage: trove list [--limit <limit>] [--marker <ID>] [--include-clustered]
usage: trove list [--limit <limit>] [--marker <ID>] [--include-clustered]
Optional arguments
- --limit <limit>
- Limit the number of results displayed.
- --marker <ID>
- Begin displaying the results for IDs greater than the specified marker. When used with --limit, set this to the last ID displayed in the previous run.
- --include-clustered
- Include instances that are part of a cluster (default false).
15.43. trove log-disable Copy linkLink copied to clipboard!
usage: trove log-disable [--discard] <instance> <log_name>
usage: trove log-disable [--discard] <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to publish.
Optional arguments
- --discard
- Discard published contents of specified log.
15.44. trove log-discard Copy linkLink copied to clipboard!
usage: trove log-discard <instance> <log_name>
usage: trove log-discard <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to publish.
15.45. trove log-enable Copy linkLink copied to clipboard!
usage: trove log-enable <instance> <log_name>
usage: trove log-enable <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to publish.
15.46. trove log-list Copy linkLink copied to clipboard!
usage: trove log-list <instance>
usage: trove log-list <instance>
Positional arguments
- <instance>
- Id or Name of the instance.
15.47. trove log-publish Copy linkLink copied to clipboard!
usage: trove log-publish [--disable] [--discard] <instance> <log_name>
usage: trove log-publish [--disable] [--discard] <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to publish.
Optional arguments
- --disable
- Stop collection of specified log.
- --discard
- Discard published contents of specified log.
15.48. trove log-save Copy linkLink copied to clipboard!
usage: trove log-save [--publish] [--file <file>] <instance> <log_name>
usage: trove log-save [--publish] [--file <file>] <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to publish.
Optional arguments
- --publish
- Publish latest entries from guest before display.
- --file <file>
- Path of file to save log to for instance.
15.49. trove log-show Copy linkLink copied to clipboard!
usage: trove log-show <instance> <log_name>
usage: trove log-show <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to show.
15.50. trove log-tail Copy linkLink copied to clipboard!
usage: trove log-tail [--publish] [--lines <lines>] <instance> <log_name>
usage: trove log-tail [--publish] [--lines <lines>] <instance> <log_name>
Positional arguments
- <instance>
- Id or Name of the instance.
- <log_name>
- Name of log to publish.
Optional arguments
- --publish
- Publish latest entries from guest before display.
- --lines <lines>
- Publish latest entries from guest before display.
15.51. trove metadata-create Copy linkLink copied to clipboard!
usage: trove metadata-create <instance_id> <key> <value>
usage: trove metadata-create <instance_id> <key> <value>
Positional arguments
- <instance_id>
- UUID for instance.
- <key>
- Key for assignment.
- <value>
- Value to assign to <key>.
15.52. trove metadata-delete Copy linkLink copied to clipboard!
usage: trove metadata-delete <instance_id> <key>
usage: trove metadata-delete <instance_id> <key>
Positional arguments
- <instance_id>
- UUID for instance.
- <key>
- Metadata key to delete.
15.53. trove metadata-edit Copy linkLink copied to clipboard!
usage: trove metadata-edit <instance_id> <key> <value>
usage: trove metadata-edit <instance_id> <key> <value>
Positional arguments
- <instance_id>
- UUID for instance.
- <key>
- Key to replace.
- <value>
- New value to assign to <key>.
15.54. trove metadata-list Copy linkLink copied to clipboard!
usage: trove metadata-list <instance_id>
usage: trove metadata-list <instance_id>
Positional arguments
- <instance_id>
- UUID for instance.
15.55. trove metadata-show Copy linkLink copied to clipboard!
usage: trove metadata-show <instance_id> <key>
usage: trove metadata-show <instance_id> <key>
Positional arguments
- <instance_id>
- UUID for instance.
- <key>
- Key to display.
15.56. trove metadata-update Copy linkLink copied to clipboard!
usage: trove metadata-update <instance_id> <key> <newkey> <value>
usage: trove metadata-update <instance_id> <key> <newkey> <value>
Positional arguments
- <instance_id>
- UUID for instance.
- <key>
- Key to update.
- <newkey>
- New key.
- <value>
- Value to assign to <newkey>.
15.57. trove module-create Copy linkLink copied to clipboard!
usage: trove module-create <name> <type> <filename> [--description <description>] [--datastore <datastore>] [--datastore_version <version>] [--auto_apply] [--all_tenants] [--live_update]
usage: trove module-create <name> <type> <filename> [--description <description>] [--datastore <datastore>] [--datastore_version <version>] [--auto_apply] [--all_tenants] [--live_update]
Positional arguments
- <name>
- Name of the module.
- <type>
- Type of the module. The type must be supported by a corresponding module plugin on the datastore it is applied to.
- <filename>
- File containing data contents for the module.
Optional arguments
- --description <description>
- Description of the module.
- --datastore <datastore>
- Name or ID of datastore this module can be applied to. If not specified, module can be applied to all datastores.
- --datastore_version <version>
- Name or ID of datastore version this module can be applied to. If not specified, module can be applied to all versions.
- --auto_apply
- Automatically apply this module when creating an instance or cluster.
- --all_tenants
- Module is valid for all tenants (Admin only).
- --live_update
- Allow module to be updated even if it is already applied to a current instance or cluster. Automatically attempt to reapply this module if the contents change.
15.58. trove module-delete Copy linkLink copied to clipboard!
usage: trove module-delete <module>
usage: trove module-delete <module>
Positional arguments
- <module>
- ID or name of the module.
15.59. trove module-list Copy linkLink copied to clipboard!
usage: trove module-list [--datastore <datastore>]
usage: trove module-list [--datastore <datastore>]
Optional arguments
- --datastore <datastore>
- Name or ID of datastore to list modules for.
15.60. trove module-show Copy linkLink copied to clipboard!
usage: trove module-show <module>
usage: trove module-show <module>
Positional arguments
- <module>
- ID or name of the module.
15.61. trove module-update Copy linkLink copied to clipboard!
usage: trove module-update <module> [--name <name>] [--type <type>] [--file <filename>] [--description <description>] [--datastore <datastore>] [--all_datastores] [--datastore_version <version>] [--all_datastore_versions] [--auto_apply] [--no_auto_apply] [--all_tenants] [--no_all_tenants] [--live_update] [--no_live_update]
usage: trove module-update <module> [--name <name>] [--type <type>] [--file <filename>] [--description <description>] [--datastore <datastore>] [--all_datastores] [--datastore_version <version>] [--all_datastore_versions] [--auto_apply] [--no_auto_apply] [--all_tenants] [--no_all_tenants] [--live_update] [--no_live_update]
Positional arguments
- <module>
- Name or ID of the module.
Optional arguments
- --name <name>
- Name of the module.
- --type <type>
- Type of the module. The type must be supported by a corresponding module plugin on the datastore it is applied to.
- --file <filename>
- File containing data contents for the module.
- --description <description>
- Description of the module.
- --datastore <datastore>
- Name or ID of datastore this module can be applied to. If not specified, module can be applied to all datastores.
- --all_datastores
- Module is valid for all datastores.
- --datastore_version <version>
- Name or ID of datastore version this module can be applied to. If not specified, module can be applied to all versions.
- --all_datastore_versions
- Module is valid for all datastore version.
- --auto_apply
- Automatically apply this module when creating an instance or cluster.
- --no_auto_apply
- Do not automatically apply this module when creating an instance or cluster.
- --all_tenants
- Module is valid for all tenants (Admin only).
- --no_all_tenants
- Module is valid for current tenant only (Admin only).
- --live_update
- Allow module to be updated or deleted even if it is already applied to a current instance or cluster. Automatically attempt to reapply this module if the contents change.
- --no_live_update
- Restricts a module from being updated or deleted if it is already applied to a current instance or cluster.
15.62. trove promote-to-replica-source Copy linkLink copied to clipboard!
usage: trove promote-to-replica-source <instance>
usage: trove promote-to-replica-source <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.63. trove resize-instance Copy linkLink copied to clipboard!
usage: trove resize-instance <instance> <flavor>
usage: trove resize-instance <instance> <flavor>
Positional arguments
- <instance>
- ID or name of the instance.
- <flavor>
- New flavor of the instance.
15.64. trove resize-volume Copy linkLink copied to clipboard!
usage: trove resize-volume <instance> <size>
usage: trove resize-volume <instance> <size>
Positional arguments
- <instance>
- ID or name of the instance.
- <size>
- New size of the instance disk volume in GB.
15.65. trove restart Copy linkLink copied to clipboard!
usage: trove restart <instance>
usage: trove restart <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.66. trove root-disable Copy linkLink copied to clipboard!
usage: trove root-disable <instance>
usage: trove root-disable <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.67. trove root-enable Copy linkLink copied to clipboard!
usage: trove root-enable <instance_or_cluster> [--root_password <root_password>]
usage: trove root-enable <instance_or_cluster> [--root_password <root_password>]
Positional arguments
- <instance_or_cluster>
- ID or name of the instance or cluster.
Optional arguments
- --root_password <root_password>
- Root password to set.
15.68. trove root-show Copy linkLink copied to clipboard!
usage: trove root-show <instance_or_cluster>
usage: trove root-show <instance_or_cluster>
Positional arguments
- <instance_or_cluster>
- ID or name of the instance or cluster.
15.69. trove secgroup-add-rule Copy linkLink copied to clipboard!
usage: trove secgroup-add-rule <security_group> <cidr>
usage: trove secgroup-add-rule <security_group> <cidr>
Positional arguments
- <security_group>
- Security group ID.
- <cidr>
- CIDR address.
15.70. trove secgroup-delete-rule Copy linkLink copied to clipboard!
usage: trove secgroup-delete-rule <security_group_rule>
usage: trove secgroup-delete-rule <security_group_rule>
Positional arguments
- <security_group_rule>
- Name of security group rule.
15.71. trove secgroup-list Copy linkLink copied to clipboard!
usage: trove secgroup-list
usage: trove secgroup-list
15.72. trove secgroup-list-rules Copy linkLink copied to clipboard!
usage: trove secgroup-list-rules <security_group>
usage: trove secgroup-list-rules <security_group>
Positional arguments
- <security_group>
- Security group ID.
15.73. trove secgroup-show Copy linkLink copied to clipboard!
usage: trove secgroup-show <security_group>
usage: trove secgroup-show <security_group>
Positional arguments
- <security_group>
- Security group ID.
15.74. trove show Copy linkLink copied to clipboard!
usage: trove show <instance>
usage: trove show <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.75. trove update Copy linkLink copied to clipboard!
usage: trove update <instance> [--name <name>] [--configuration <configuration>] [--detach-replica-source] [--remove_configuration]
usage: trove update <instance> [--name <name>] [--configuration <configuration>] [--detach-replica-source] [--remove_configuration]
Positional arguments
- <instance>
- ID or name of the instance.
Optional arguments
- --name <name>
- Name of the instance.
- --configuration <configuration>
- ID of the configuration reference to attach.
- --detach-replica-source
- Detach the replica instance from its replication source.
- --remove_configuration
- Drops the current configuration reference.
15.76. trove user-create Copy linkLink copied to clipboard!
usage: trove user-create <instance> <name> <password> [--host <host>] [--databases <databases> [<databases> ...]]
usage: trove user-create <instance> <name> <password> [--host <host>] [--databases <databases> [<databases> ...]]
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
- <password>
- Password of user.
Optional arguments
- --host <host>
- Optional host of user.
- --databases <databases> [<databases> ...]
- Optional list of databases.
15.77. trove user-delete Copy linkLink copied to clipboard!
usage: trove user-delete [--host <host>] <instance> <name>
usage: trove user-delete [--host <host>] <instance> <name>
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
Optional arguments
- --host <host>
- Optional host of user.
15.78. trove user-grant-access Copy linkLink copied to clipboard!
usage: trove user-grant-access <instance> <name> <databases> [<databases> ...] [--host <host>]
usage: trove user-grant-access <instance> <name> <databases> [<databases> ...] [--host <host>]
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
- <databases>
- List of databases.
Optional arguments
- --host <host>
- Optional host of user.
15.79. trove user-list Copy linkLink copied to clipboard!
usage: trove user-list <instance>
usage: trove user-list <instance>
Positional arguments
- <instance>
- ID or name of the instance.
15.80. trove user-revoke-access Copy linkLink copied to clipboard!
usage: trove user-revoke-access [--host <host>] <instance> <name> <database>
usage: trove user-revoke-access [--host <host>] <instance> <name> <database>
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
- <database>
- A single database.
Optional arguments
- --host <host>
- Optional host of user.
15.81. trove user-show Copy linkLink copied to clipboard!
usage: trove user-show [--host <host>] <instance> <name>
usage: trove user-show [--host <host>] <instance> <name>
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
Optional arguments
- --host <host>
- Optional host of user.
15.82. trove user-show-access Copy linkLink copied to clipboard!
usage: trove user-show-access [--host <host>] <instance> <name>
usage: trove user-show-access [--host <host>] <instance> <name>
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
Optional arguments
- --host <host>
- Optional host of user.
15.83. trove user-update-attributes Copy linkLink copied to clipboard!
usage: trove user-update-attributes <instance> <name> [--host <host>] [--new_name <new_name>] [--new_password <new_password>] [--new_host <new_host>]
usage: trove user-update-attributes <instance> <name> [--host <host>] [--new_name <new_name>] [--new_password <new_password>] [--new_host <new_host>]
Positional arguments
- <instance>
- ID or name of the instance.
- <name>
- Name of user.
Optional arguments
- --host <host>
- Optional host of user.
- --new_name <new_name>
- Optional new name of user.
- --new_password <new_password>
- Optional new password of user.
- --new_host <new_host>
- Optional new host of user.