https://github.com/brint/actian-matrix
Proof of Concept - Heat template to deploy Actian Matrix on On Metal
https://github.com/brint/actian-matrix
Last synced: 11 months ago
JSON representation
Proof of Concept - Heat template to deploy Actian Matrix on On Metal
- Host: GitHub
- URL: https://github.com/brint/actian-matrix
- Owner: brint
- Created: 2014-10-02T16:17:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-09T19:01:20.000Z (over 11 years ago)
- Last Synced: 2025-02-08T05:19:31.488Z (over 1 year ago)
- Language: Python
- Size: 1.63 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Description
===========
Test template for Matrix training
Requirements
============
* A Heat provider that supports the following:
* OS::Heat::ChefSolo
* OS::Heat::RandomString
* OS::Heat::ResourceGroup
* OS::Nova::KeyPair
* Rackspace::Cloud::Server
* An OpenStack username, password, and tenant id.
* [python-heatclient](https://github.com/openstack/python-heatclient)
`>= v0.2.8`:
```bash
pip install python-heatclient
```
We recommend installing the client within a [Python virtual
environment](http://www.virtualenv.org/).
Example Usage
=============
Here is an example of how to deploy this template using the
[python-heatclient](https://github.com/openstack/python-heatclient):
```
heat --os-username --os-password --os-tenant-id \
--os-auth-url https://identity.api.rackspacecloud.com/v2.0/ \
stack-create My-Matrix-Deployment -f matrix.yaml \
-P iso_url="http://example.com/path/to/installer.iso" \
-P ip_patch="http://example.com/path/to/sys_check.py"
```
* For UK customers, use `https://lon.identity.api.rackspacecloud.com/v2.0/` as
the `--os-auth-url`.
Optionally, set environmental variables to avoid needing to provide these
values every time a call is made:
```
export OS_USERNAME=
export OS_PASSWORD=
export OS_TENANT_ID=
export OS_AUTH_URL=
```
Parameters
==========
Parameters can be replaced with your own values when standing up a stack. Use
the `-P` flag to specify a custom parameter.
* `iso_url`: (Default: '')
* `ip_patch`: (Default: '')
* `image`: (Default: CentOS 6.5)
* `setup_script`: (Default: https://raw.githubusercontent.com/brint/actian-matrix/master/scripts/config.py)
* `compute_flavor`: Required: Rackspace Cloud Server flavor to use. The size is based on the
amount of RAM for the provisioned server.
(Default: 60 GB Performance)
* `network_range`: Private Network to use for Matrix Communication (Default: 192.168.224.0/20)
* `compute_hostname`: (Default: Matrix-Compute-%index%)
* `leader_flavor`: Required: Rackspace Cloud Server flavor to use. The size is based on the
amount of RAM for the provisioned server.
(Default: 8 GB Performance)
* `compute_server_count`: (Default: 1)
* `chef_version`: Version of chef client to use (Default: 11.16.2)
* `child_template`: (Default: https://raw.githubusercontent.com/brint/actian-matrix/master/matrix-compute.yaml)
* `kitchen`: URL for the kitchen to use, fetched using git
(Default: https://github.com/brint/actian-matrix)
Outputs
=======
Once a stack comes online, use `heat output-list` to see all available outputs.
Use `heat output-show ` to get the value of a specific output.
* `leader_ip`:
* `paraccel_password`:
* `private_key`: SSH Private Key
* `compute_ips`:
* `root_password`:
For multi-line values, the response will come in an escaped form. To get rid of
the escapes, use `echo -e '' > file.txt`. For vim users, a substitution
can be done within a file using `%s/\\n/\r/g`.