Skip to main content

10 docs tagged with "control task"

View all tags

Control Task Delegates in the Generic Plugin

The Generic Model plugin has predefined control task delegates that have the ability to execute scripts on a target host. You can use the delegates to define control tasks on any configuration item (CI) defined in Deploy's type system.

Create a Custom Control Task

You can define control tasks on configuration items (CIs) to execute actions from the Deploy GUI or CLI. Control tasks specify a list of steps to be executed in order. There are two methods to parameterize control tasks:

Define a Synthetic Method

In Deploy, you can define methods on configuration items (CIs). Each method can be executed on an instance of a CI via the GUI or CLI. Methods are used to implement control tasks, as actions on CIs to control the middleware. An example is starting or stopping a server.

Discover Middleware

You can use the discovery feature to import an existing infrastructure topology into the Deploy repository as configuration items (CIs). You must have the discovery global permission to use the discovery feature.

Extend the Deploy JBoss Domain Plugin

You can extend the Deploy plugin for JBoss Enterprise Application Platform (EAP) 6 and JBoss Application Server (AS)/WildFly 7.1+ using the Deploy plugin API type system and Jython.

Get Started With Tasks

A task is an activity in Deploy. When starting a deployment, Deploy will create and start a task. The task contains a list of steps that must be executed to successfully complete the task. Deploy will execute each of the steps in turn. When all of the steps are successfully executed, the task itself is successfully executed. If one of the steps fails, the task itself is marked as failed.

Schedule a Control Task

Deploy uses a scheduling mechanism to run various system administration jobs on top of the repository, such as garbage collection, purge policies, and so on. You can also use this mechanism to run specific control tasks on configuration items (CIs) stored in the repository.

Use a Delegate in a Control Task

In Deploy, you can define control tasks and use them to execute actions from the Deploy GUI or CLI. To create a custom control task, you can use a delegate. Deploy includes a predefined delegate called JythonDelegate that accepts a Jython script that it will execute.

Use Control Tasks

Control tasks are actions that you can perform on middleware or middleware resources. For example, checking the connection to a host is a control task. When you trigger a control task, Deploy starts a task that executes the steps associated with the control task.

Using the Monitoring View

The Deploy monitoring view provides an overview of the tasks that are not archived as well as satellites and workers in the system.