Advertisement
zamotivator

Untitled

Dec 28th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. oleg@t510 0 ~ $ /storage/work/scidb/deployment/deploy.sh
  2. Source path: /storage/work/scidb
  3. Script common path: /storage/work/scidb/deployment/common
  4. Usage:
  5. Access to remote hosts:
  6. deploy.sh access <username> <password> <public_key> [host]
  7.  
  8. Prepare remote machines:
  9. deploy.sh prepare_toolchain <username> [host]
  10. deploy.sh prepare_chroot <username> [host]
  11. deploy.sh prepare_runtime <username> [host]
  12.  
  13. deploy.sh prepare_postgresql <postgresql_username> <postgresql_password> <network> <host>
  14.  
  15. Build packages/repositories:
  16. deploy.sh build <packages_path>
  17. deploy.sh build_fast <packages_path>
  18. deploy.sh build_deps <packages_path>
  19.  
  20. SciDB control on remote machines:
  21. deploy.sh scidb_install <packages_path> [host]
  22. deploy.sh scidb_remove <packages_path> [host]
  23. deploy.sh scidb_prepare <username> <password> <database> <base_path> <instance_count> [host]
  24. deploy.sh scidb_start <username> <coordinator>
  25.  
  26. Description:
  27. access provide password-less ssh access to [host] for <username> with <password> by <public_key> (use for if you want use ~/.ssh/id_rsa.pub)
  28.  
  29. prepare_toolchain prepare [host] for building SciDB as <username>. Install the packages required for building SciDB from source.
  30. prepare_chroot prepare [host] for building SciDB packages as <username>. Install required packages, configure tools, prepare chroot.
  31. prepare_runtime install dependencies on [host] for running SciDB as <username>. Required for installation SciDB from files (would be removed after change installation way from files to repository).
  32. prepare_postgresql install & configure PostgreSQL as SciDB catalog
  33. build build SciDB packages to <packages_path> in clean enviroment (chroot)
  34. build_fast dirty build SciDB packages (from in-source already compiled build)
  35. build_deps build packages for dependencies to <packages_path> (on localhost)
  36.  
  37. scidb_install Install SciDB packages on [host]. The required repositories for the SciDB packages are expected to be already registered on [host]. First host would considered as coordinator.
  38. scidb_remove remove SciDB packages from [host]
  39. scidb_prepare prepare for running SciDB cluster on [host] (with <instance_count> on every host). First host would considered as coordinator.
  40. scidb_start start SciDB cluster asm <username> on <coordinator>
  41. oleg@t510 0 ~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement