| layout | bt_wiki |
|---|---|
| title | Linux Agent Installer Plugin |
| category | Plugins |
| publish | true |
| abstract | Cloudify Linux Agent Installer description and configuration |
| pageord | 500 |
| celery_link | http://www.celeryproject.org/ |
| autoscale_link | http://docs.celeryproject.org/en/latest/userguide/workers.html#autoscaling |
{%summary%} The Cloudify Linux Agent Installer plugin is used to install agents on host nodes. The installation process is done using SSH from the management machine into the agent machine. {%endsummary%}
The agent installation process includes installing Celery on the agent machine, installing plugins required on this host and starting a celery worker.
The agent configuration is located under the cloudify_agent property of a host node.
{% highlight yaml %} blueprint: name: example nodes: - name: example_host type: cloudify.types.host properties: cloudify_agent: user: # no default value (globally configurable in bootstrap configuration) key: # no default value (globally configurable in bootstrap configuration) port: 22 # default value (from bootstrap configuration) min_workers: 2 # default value (from bootstrap configuration) max_workers: 5 # default value (from bootstrap configuration) wait_started_timeout: 15 # default value wait_started_interval: 1 # default value disable_requiretty: true # default value {%endhighlight%}
userSSH usernamekeyPath to SSH key file on the management machineportSSH port (default:22)min_workersMinimum number of agent workers (default:2. See Auto Scaling)max_workersMaximum number of agent workers (default:5. See Auto Scaling)wait_started_timeoutHow many seconds should be waited for the agent to be started after installation before raising an error (default:15)wait_started_intervalHow many seconds to wait between each probe of the current agent status (default:1. used in conjunction withwait_started timeout)disable_requirettyDisables therequirettysetting in the sudoers file (default:true)
The following plugins and libraries are bundled within every Cloudify linux agent:
- cloudify-plugins-common (required by every plugin)
- cloudify-rest-client
- cloudify-agent-installer-plugin
- cloudify-plugin-installer-plugin
- cloudify-windows-agent-installer-plugin