Page History
StresStimulus supports unattended installation for automated deployment purposes.
Controller installation
To install a StresStimulus controller unattended on a controller, run the below PowerShell script below on the target machine. Note that after installation, StresStimulus controller must be activated.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
$DownloadPath = "${env:USERPROFILE}\Downloads\" $ConfigScript = '<configuration> <startup> <supportedRuntime version="v4.0.30319"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration>' Invoke-WebRequest -Uri "http://update.stimulustechnology.com/stresstimulus/StresStimulusInstaller_cmd.exe" -OutFile "${DownloadPath}StresStimulusInstaller_cmd.exe" New-Item -Path "${DownloadPath}" -Name "StresStimulusInstaller_cmd.exe.config" -ItemType "file" -Value "${ConfigScript}" Start-Process -FilePath "${DownloadPath}StresStimulusInstaller_cmd.exe" -ArgumentList '/q' |
To upgrade a StresStimulus trial to an acquired license, your serial number should be activated on the controller manually.
Load agent installation
To install a StresStimulus load agent unattended on an agent machine change the last line of the above script as follows: Start-Process -FilePath , run the PowerShell script below on the target machine.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
$DownloadPath = "${env:USERPROFILE}\Downloads\" $ConfigScript = '<configuration> <startup> <supportedRuntime version="v4.0.30319"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration>' Invoke-WebRequest -Uri "http://update.stimulustechnology.com/stresstimulus/StresStimulusInstaller_cmd.exe" -OutFile "${DownloadPath}StresStimulusInstaller_cmd.exe" New-Item -Path "${DownloadPath}" -Name "StresStimulusInstaller_cmd.exe.config" -ItemType "file" -Value "${ConfigScript}" Start-Process -FilePath "${DownloadPath}StresStimulusInstaller_cmd.exe" -ArgumentList '/q /agent' |
...
title | Note: |
---|
|
After installation, the load agent
...
machines do not need
...
to be activated with a license and are ready to use.
Remote unattended installation
Controllers and load agents can be deployed remotely. To do so, execute the appropriate PowerShell script remotely following this Microsoft PowerShell Remoting guide.