Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oleg@t510 0 ~ $ /storage/work/scidb/deployment/deploy.sh
- Source path: /storage/work/scidb
- Script common path: /storage/work/scidb/deployment/common
- Usage:
- Access to remote hosts:
- deploy.sh access <username> <password> <public_key> [host]
- Prepare remote machines:
- deploy.sh prepare_toolchain <username> [host]
- deploy.sh prepare_chroot <username> [host]
- deploy.sh prepare_runtime <username> [host]
- deploy.sh prepare_postgresql <postgresql_username> <postgresql_password> <network> <host>
- Build packages/repositories:
- deploy.sh build <packages_path>
- deploy.sh build_fast <packages_path>
- deploy.sh build_deps <packages_path>
- SciDB control on remote machines:
- deploy.sh scidb_install <packages_path> [host]
- deploy.sh scidb_remove <packages_path> [host]
- deploy.sh scidb_prepare <username> <password> <database> <base_path> <instance_count> [host]
- deploy.sh scidb_start <username> <coordinator>
- Description:
- 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)
- prepare_toolchain prepare [host] for building SciDB as <username>. Install the packages required for building SciDB from source.
- prepare_chroot prepare [host] for building SciDB packages as <username>. Install required packages, configure tools, prepare chroot.
- 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).
- prepare_postgresql install & configure PostgreSQL as SciDB catalog
- build build SciDB packages to <packages_path> in clean enviroment (chroot)
- build_fast dirty build SciDB packages (from in-source already compiled build)
- build_deps build packages for dependencies to <packages_path> (on localhost)
- 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.
- scidb_remove remove SciDB packages from [host]
- scidb_prepare prepare for running SciDB cluster on [host] (with <instance_count> on every host). First host would considered as coordinator.
- scidb_start start SciDB cluster asm <username> on <coordinator>
- oleg@t510 0 ~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement