Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Expert Contributor
Created on 01-17-2017 06:43 PM
If you have ever tried to spawn multiple cloudbreak shells you may have run into an error. That is because the default "cbd util cloudbreak-shell" uses docker containers. The fastest work around of this is to use the Jars directly. These Jars can be remotely run from your personal machine or run on the cloudbreak machine itself.
Prepping the cloudbreak machine(only needed if running jars locally on the AWS image)
- Log into your cloudbreak instance and go to /etc/yum.repos.d
- Remove the Centos-Base.repo file (this is a redhat machine and this can cause conflicts)
- Install java-8 (yum install java-1.8.0*)
- Change directory back to /home/cloudbreak
Downloading the Jar
- Set a global variable equal to your cloudbreak version (export CB_SHELL_VERSION=1.6.1)
- Download the jar (curl -o cloudbreak-shell.jar https://s3-eu-west-1.amazonaws.com/maven.sequenceiq.com/releases/com/sequenceiq/cloudbreak-shell/$CB...
Using the Jar
- Interactive mode (java -jar ./cloudbreak-shell.jar --cloudbreak.address=https://<your-public-hostname> --sequenceiq.user=admin@example.com --sequenceiq.password=cloudbreak --cert.validation=false)
- Using a command file (java -jar ./cloudbreak-shell.jar --cloudbreak.address=https://<your-public-hostname> --sequenceiq.user=admin@example.com --sequenceiq.password=cloudbreak --cert.validation=false --cmdfile=<your-FILE>)
1,062 Views