diff options
author | Liam R. Howlett <Liam.Howlett@WindRiver.com> | 2014-09-17 12:31:56 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-09-17 13:43:49 -0400 |
commit | 2090122e897dc470864c97a416420a550d2b79a0 (patch) | |
tree | bd26bafa7bfe53817fbae67590f3aef6bfa34320 /meta-openstack/Documentation | |
parent | 269e5c0fde3ce9eaded29150b773b6f337a91940 (diff) | |
download | meta-cloud-services-2090122e897dc470864c97a416420a550d2b79a0.tar.gz |
trove: Add documentation on trove & troveclient setup.
This README covers general trove setup in OpenStack.
Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/Documentation')
-rw-r--r-- | meta-openstack/Documentation/README.trove | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/meta-openstack/Documentation/README.trove b/meta-openstack/Documentation/README.trove new file mode 100644 index 0000000..cdbfb58 --- /dev/null +++ b/meta-openstack/Documentation/README.trove | |||
@@ -0,0 +1,76 @@ | |||
1 | Summary | ||
2 | ======= | ||
3 | |||
4 | This document is not intended to provide deail of how Trove in general works, | ||
5 | but rather it highlights the deails of how Trove is set up and how OpenStack is | ||
6 | configured to allow the Troveclient to interact with Trove. | ||
7 | |||
8 | Trove Overview | ||
9 | ============== | ||
10 | |||
11 | Trove is Database as a Service for OpenStack. It's designed to run entirely on | ||
12 | OpenStack, with the goal of allowing users to quickly and easily utilize the | ||
13 | features of a relational database without the burden of handling complex | ||
14 | administrative tasks. Cloud users and database administrators can provision and | ||
15 | manage multiple database instances as needed. Initially, the service will focus | ||
16 | on providing resource isolation at high performance while automating complex | ||
17 | administrative tasks including deployment, configuration, patching, backups, | ||
18 | restores, and monitoring. | ||
19 | |||
20 | Trove Setup | ||
21 | =========== | ||
22 | |||
23 | Trove is set up to have the following: | ||
24 | |||
25 | * The database and datastore are added as postgresql since this is the default | ||
26 | database configuration. | ||
27 | |||
28 | * There is a keystone user and service created for Trove called "trove". The | ||
29 | role is admin. | ||
30 | |||
31 | Interactions with Trove are handled through the troveclient on the command line. | ||
32 | The troveclient binary is simply called trove. For details of how to use trove | ||
33 | on the command line, please refer to the help: | ||
34 | |||
35 | $ trove | ||
36 | |||
37 | Build Configuration Options | ||
38 | =========================== | ||
39 | |||
40 | Trove and Troveclient are both in the package group of the controller. The | ||
41 | troveclient is in the package group of the compute node. To add the unit tests | ||
42 | to either image, add the following layer to your configuration: | ||
43 | --with-template=feature/openstack-tests | ||
44 | |||
45 | |||
46 | Test Steps | ||
47 | ========== | ||
48 | |||
49 | This section describes test steps and expected results to demonstrate that | ||
50 | Trove is integrated properly into OpenStack. | ||
51 | |||
52 | Both components use the run_ostest_nose.sh script which needs to be manually | ||
53 | copied to the target. | ||
54 | |||
55 | |||
56 | Trove and Troveclient Unit Tests | ||
57 | =============================== | ||
58 | |||
59 | On the controller: | ||
60 | sh run_ostest_nose.sh -t /usr/lib64/python2.7/site-packages/trove | ||
61 | |||
62 | Total: 741, Passed: 740 | ||
63 | |||
64 | |||
65 | On either the controller or compute node: | ||
66 | sh run_ostest_nose.sh -t /usr/lib64/python2.7/site-packages/troveclient | ||
67 | |||
68 | Total: 202, Passed: 202 | ||
69 | |||
70 | References | ||
71 | ========== | ||
72 | |||
73 | * https://github.com/openstack/python-troveclient | ||
74 | * https://github.com/openstack/trove | ||
75 | * https://wiki.openstack.org/wiki/TrovArchitecture | ||
76 | * https://wiki.openstack.org/wiki/Trove | ||