Skip to content

jiocloudDSS/deploy-dss

Repository files navigation

deploy-dss

For deployment of fresh cluster

  1. Modify env=vagrant-vbox or staging or dev-test accordinly in make_userdata.txt
  2. For the first time, run first_time.sh. It will generate consul token and userdata.txt.
  3. Customize the userdata.txt according to the machine need. Like if http_proxy is already there in /etc/environment, remove that part
  4. Add the machine ips in machines.txt. All the machines should be ssh enabled.
  5. Run transfer_run_background_script.sh userdata.txt machines.txt

To clean old cluster

  1. Run list_machines.sh , list_mon.sh, list_st.sh.
  2. Run remove_puppet.sh using transfer_run_background_script.sh on all the machines listed in : transfer_run_background_script.sh remove_puppet.sh all_machines.txt
  3. Clean mons: transfer_run_background_script.sh clean_mon.sh all_mon.txt
  4. Clean st: transfer_run_background_script.sh clean_st.sh all_st.txt

You should have ssh pwdless access to all the machines for the above to work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages