Two methods are described, one for installing locally built packages, the other for installing released packages or release candidate packages.
# Install vagrant scp vagrant plugin install vagrant-scp # Scp over the newly built packages for deb in ../../../artifacts/aurora-ubuntu-xenial/dist/*.deb; do vagrant scp $deb :$(basename $deb); done # Install each deb vagrant ssh -- -L8081:localhost:8081 -L1338:localhost:1338 sudo dpkg -i aurora*.deb thermos*.deb
vagrant ssh -- -L8081:localhost:8081 -L1338:localhost:1338 version=0.15.0 pkg_root="https://apache.bintray.com/aurora/ubuntu-xenial/" for deb in \ aurora-scheduler_${version}_amd64.deb \ aurora-executor_${version}_amd64.deb \ aurora-tools_${version}_amd64.deb; do wget $pkg_root/$deb sudo dpkg -i $deb done
The replicated log has to be initialized manually:
# Stop services first sudo systemctl stop aurora-scheduler sudo systemctl stop thermos sudo -u aurora mkdir -p /var/lib/aurora/scheduler/db sudo -u aurora mesos-log initialize --path=/var/lib/aurora/scheduler/db sudo systemctl start aurora-scheduler sudo systemctl start thermos
To make the Thermos observer work, you will have to follow the instructions of our Install Guide.
echo " task = SequentialTask( processes = [Process(name = 'hello', cmdline = 'echo hello')], resources = Resources(cpu = 0.5, ram = 128*MB, disk = 128*MB)) jobs = [Service( task = task, cluster = 'example', role = 'vagrant', environment = 'prod', name = 'hello')]" > hello_world.aurora aurora job create example/vagrant/prod/hello hello_world.aurora
/var/log/mesos
cat /var/log/syslog | grep aurora-scheduler
and sudo journalctl -u aurora-scheduler
sudo journalctl -u thermos