Fixing mistakes in how to configure Aurora installation from deb file

This commit is contained in:
Renan DelValle 2016-08-10 16:07:19 -07:00
parent c2acbe0b36
commit a258b75b15

View file

@ -48,12 +48,12 @@ A sample config file for the docker-compose executor looks like this:
### Configuring Scheduler to run custom executor ### Configuring Scheduler to run custom executor
#### Setting the proper flags `-custom_executor_config` flag and enabling mesos fetcher on jobs #### Setting the proper flags
Some flags need to be set on the Aurora scheduler in order for custom executors to work properly. Some flags need to be set on the Aurora scheduler in order for custom executors to work properly.
The `--custom_executor_config` flag must point to the location of the JSON blob. The `-custom_executor_config` flag must point to the location of the JSON blob.
The `--enable_mesos_fetcher` flag must be set to true in order to allow jobs to fetch resources. The `-enable_mesos_fetcher` flag must be set to true in order to allow jobs to fetch resources.
#### On vagrant #### On vagrant
* Log into the vagrant image by going to the folder at which the Aurora repository * Log into the vagrant image by going to the folder at which the Aurora repository
@ -64,20 +64,18 @@ $ vagrant ssh
* Write the sample JSON blob provided above to a file inside the vagrant image. * Write the sample JSON blob provided above to a file inside the vagrant image.
* Inside the vagrant image, modify the file `/etc/init/aurora-scheduler.conf` to include: * Inside the vagrant image, modify the file `/etc/init/aurora-scheduler.conf` to include:
``` ```
--custom_executor_config=<Location of JSON blob> \ -custom_executor_config=<Location of JSON blob> \
--enable_mesos_fetcher=true -enable_mesos_fetcher=true
``` ```
#### On a scheduler installed via package manager #### On a scheduler installed via package manager
* Write the sample JSON blob provided above to a file on the same machine where the scheduler is running. * Write the sample JSON blob provided above to a file on the same machine where the scheduler is running.
* Modify the file `/etc/default/aurora-scheduler.conf` to include: * Modify `EXTRA_SCHEDULER_ARGS` in the file file `/etc/default/aurora-scheduler` to be:
``` ```
AURORA_EXTRA_ARGS="--custom_executor_config=<Location of JSON blob> \ EXTRA_SCHEDULER_ARGS="-custom_executor_config=<Location of JSON blob> -enable_mesos_fetcher=true"
--enable_mesos_fetcher=true"
``` ```
## Using a custom client ## Using a custom client
@ -148,6 +146,7 @@ Finally we must reload the .profile configuration:
``` ```
$ source $HOME/.profile $ source $HOME/.profile
``` ```
### Windows ### Windows
Download and run the msi installer from https://golang.org/dl/ Download and run the msi installer from https://golang.org/dl/