In SystemLink you can create and apply States to your systems. By default, you apply a state to a target system to add the specified feeds and install a set of specific packages and versions on that target system.
However, advanced users can use states to do much more, such as running command-line commands, modifying registry keys, and modifying INI files on your target client system(s).
To achieve remote job execution, SystemLink incorporates a popular remote execution engine known as Salt or Salt Open in its open-source variation. Salt is a Python-based framework that many large-scale data center providers use to manage configuration functions and task orchestration. Designed for scale and performance, Salt can help you manage thousands of nodes and thousands of jobs running simultaneously.
The architecture of Salt is similar to that of SystemLink in that it incorporates a master program on a central computer (“server”) to coordinate interactions among a group of connected nodes. On each node, Salt includes a minion service that manages local device processing. SystemLink users are not required to interface directly with Salt since SystemLink manages these interactions on the users’ behalf.
Developers interested in extending SystemLink’s remote execution capabilities can access Salt components for writing extensions and customizing automation.
Example of an Advanced State
In this example, I will walk you through how to create your own custom State in SystemLink that runs a command-line command when you apply the state on a system.
In the SystemLink web UI, navigate to Systems Manager > System States.
Set the Name to Command-Line Example. Click the Create button.
On the next screen, enable the Show Raw State checkbox.
Note Type your command-line command between the single quotes above in name: ''
Save the state.
Now, navigate to the Managed Systems page, select a Client system(s), go to the Software>States tab, and apply the "Command-Line Example" state. This should execute the command-line command above on the target system(s).