Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

EXECUTION - General Knowledge 

Linux activities can be executed in 2 different ways: via Windows Execution Agents or via Linux Execution Agents.

Using Windows Execution Agents:

  • the Input variable is mandatory and it is the output of an SSH Connection activity.

Using Linux Execution Agents:

  • the Input variable is not mandatory. Activities will be executed on the selected Linux agent and the results will be retrieved for the Linux machine where the execution agent is.



Activities




Application Install

This activity installs an application by a specific path to Linux.

Activity Parameters

The Application Install activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.
  • Installer Path (text box editor type) (type: string): the path where the installer is located.



The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.

Check Package Installed

This activity checks if a package is installed.

Activity Parameters

The Check Package Installed activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.
  • Package Name (text box editor type) (type: string): the name of the package which will be searched.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: boolean): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.



List Linux Services

This activity gets Linux services states.

Activity Parameters

The List Linux Services activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: List<KeyValuePair<string,string>>): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.

In order to use elements stored in Output parameter use GetKeyValuePair activity. In the following example, the first element from ServicesList is obtained:



Update Distribution

This activity updates Linux distribution.

Activity Parameters

The List Linux Services activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.





  • No labels