Page History
Table of Contents |
---|
Introduction
For JS7 - Management of Agent Clusters a number of allows users wish to create Cluster create Cluster Agents and Subagent Clusters automatically from individual sources such as a database.
- The JS7 - REST Web Service API allows to perform the same same Cluster Agents management operations to manage Cluster Agents as offered be performed as are available from the JOC Cockpit GUI.
- See the Technical Documentation of the REST Web Service API article for detailed information.
- The JS7 - PowerShell Module offers simplified access to the REST Web Service API for scripting purposes.
- The PowerShell examples when executed might prove to be instructive for logging of REST API calls when used with the
-debug
option.
- The PowerShell examples when executed might prove to be instructive for logging of REST API calls when used with the
Documentation
The REST Web Service API provides the functionality can be used to automate operation of JS7 operation.
To add the REST Web Service API calls in your preferred language or to use the PowerShell cmdlets, refer to:
- find the Technical Documentation of the REST Web Service API
find the documentation for PowerShell CLI 2.0 - Cmdlets - Agent Cluster Management and
Examples
The following examples makes use of the JS7 PowerShell Module to manage Cluster Agents:
...
- Line 1: A shebang is used to invoke PowerShell on Unix platforms. For Windows platforms replace this line with:
@@findstr
/v
"^@@f.*&"
"%~f0"
|pwsh.exe -&goto:eof
- Optionally adjust
pwsh.exe
bypowershell.exe
or similar to locate the PowerShell interpreter.
- Line 5: The URL to JOC Cockpit is specified. This is the same URL as used from a user client browser to access JOC Cockpit.
- Line 6: The Controller ID is specified during setup of a Controller. Find the The Controller ID can be found in the upper right upper hand corner of any JOC Cockpit page.
...
Overview
Content Tools