Skip to content

Proof of Concept - Heat template to deploy Actian Matrix on On Metal

Notifications You must be signed in to change notification settings

brint/actian-matrix

Repository files navigation

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 >= v0.2.8:
pip install python-heatclient

We recommend installing the client within a Python virtual environment.

Example Usage

Here is an example of how to deploy this template using the python-heatclient:

heat --os-username <OS-USERNAME> --os-password <OS-PASSWORD> --os-tenant-id \
  <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=<USERNAME>
export OS_PASSWORD=<PASSWORD>
export OS_TENANT_ID=<TENANT-ID>
export OS_AUTH_URL=<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.

Outputs

Once a stack comes online, use heat output-list to see all available outputs. Use heat output-show <OUTPUT NAME> 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 '<STRING>' > file.txt. For vim users, a substitution can be done within a file using %s/\\n/\r/g.

About

Proof of Concept - Heat template to deploy Actian Matrix on On Metal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published