Giter Club home page Giter Club logo

ansible_rocky's Introduction

New Repository for deploying webserver on Rocky

Hopefully this will be a new and united ansible for both our production and staging web environments. And we can stop maintaining 2 repos.

Installing on staging

  1. Do not forget to add your ssh credentials to the machines!
> ansible-playbook -i staging_hosts --extra-vars "my_env=staging" deploy.yml

Installing on Production

TODO

Make sure to the blastmachine and software install roles send things to the right/same/consitent places as the current setup and the staging setup

Instructions

  1. Do not forget to add your ssh credentials to the machines!
> ansible-playbook -i production_hosts --extra-vars "my_env=production" deploy.yml

Notes on creating passwords with openssl

  1. create a salt
> openssl rand -base64 32
  1. Then hash the password with the salt
> openssl passwd -1 -salt <salt> <password>

Notes on /etc/sudoers

Fresh machines from TSG have a fixed sudoers file and changes will be lost at midnight each day. Email requests with any permenant changes you want to make to /etc/sudoer

Running some production tests

On bm1 and bm3 start a pool of 2 workers using ~/analytics_automated_alt/

celery --app=analyticsomated_project.celery:app worker --loglevel=INFO -Q low_localhost,localhost,high_localhost,celery,low_R,R,high_R,low_Python,Python,high_Python --pidfile=celery.pid --concurrency=2
celery --app=analytics_automated_project.celery:app worker --loglevel=INFO -Q celery,blast,low_blast,high_blast --concurrency=2 --pidfile=celery.pid

Don't for get to put things back on bioinfnew1

  1. copy index_production.html over index_production_alt.html on the fronend

ansible_rocky's People

Contributors

danbuchan avatar

Watchers

 avatar Shaun Kandathil 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.