Giter VIP home page Giter VIP logo

phe-appliances's Introduction

P3 Appliances

A repo of tools for creating software-defined platforms for the ALaSKA P3 project.

This repo is split into two parts:

  • An Ansible Galaxy role, stackhpc.cluster-infra, which contains OpenStack Heat templates for creating bare metal instances configured for execution framework clusters.
  • Ansible playbooks for integrating with OpenStack services, and creating software middleware platforms on top of ALaSKA infrastructure.

Creating Infrastructure Using the Heat Templates

The Heat templates and stackhpc.cluster-infra role are configured locally through YAML environment files, then invoked through the alaska-infra.yml playbook.

First, download and deploy the role from Ansible Galaxy:

cd ansible ; ansible-galaxy install -r requirements.yml -p $PWD/roles

Some example YAML template configurations are available in the config/ subdirectory. To use these, some default parameters should first be modified:

Name Description
cluster_name Name of the Heat stack to be created, and also stem of the hostnames of compute and controller nodes
cluster_keypair An existing RSA keypair that has been previously uploaded to OpenStack
cluster_groups Definitions for the number of groups of compute nodes in the execution framework infrastructure, and how the compute nodes in each of those roles should be configured

Infrastructure invocation then takes the form (for example):

ansible-playbook -e @config/openhpc.yml -i ansible/inventory ansible/cluster-infra.yml

Once the infrastructure playbook has run to completion, an inventory for the newly-created nodes will have been generated in the ansible/ subdirectory. This inventory is suffixed with the value set in cluster_name. The cluster software can be deployed and configured using another playbook (for example):

ansible-playbook -e @config/openhpc.yml -i ansible/inventory_openhpc ansible/openhpc.yml

phe-appliances's People

Contributors

dougszumski avatar hemanthphe avatar markgoddard avatar oneswig avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.