Using SCommand to Deploy and Manage Grids

Document created by DPM Admin Employee on Jul 20, 2017Last modified by Jijius Jabez on Aug 10, 2017
Version 3Show Document
  • View in full screen mode

As of SOASTA 56.10, you can use SCommand to deploy pre-built grids, environments, and results databases. The Grid feature is the primary method of launching cloud-based servers in SOASTA CloudTest. Grids allow you to easily determine how many servers to launch and how to recover from failures when allocating servers from the cloud provider.

 

Grids still need to be created and set up manually, but SCommand allows for ease when launching and managing pre-built grids. 

 

Common Options

 

CommandDescription
timeout (INTEGER)The time in seconds you want SCommand to wait for the Object you are interacting with. Default (300 seconds).
wait (BOOLEAN)This command tells SCommand if it should wait until the Object you are interacting with is in a 'Ready' status. For Grids, this means the Grid has been ALLOCATED and CHECKED. For TestEnvironments, this means both Test Environment servers have been ALLOCATED and CHECKED.
timeout (INTEGER)The time in seconds you want SCommand to wait for the Object you are interacting with. (Default 300 seconds)
terminateOnFailure (BOOLEAN)If the Object you are interacting with exhausts (timeout), then will tell Scommand if it should automatically terminate the failed grid. Default (true)
setStrictSSL=BOOLEAN (true/false)Default: false. Set SCommand to enforce strict SSL.
verbose=BOOLEAN (true/false)Default: false. Toggles SCommmand's ability to print status updates to console.
format=String (text or xml)Default: text. Toggles SCommand's output format.

 

Grids

 

CommandDescription
cmd=start-gridStarts a grid.
cmd=terminate-gridTerminates a grid.

 

Example

 

./scommand cmd=start-grid name="ec2 grid" wait=true username=user password=hi url=https://<hostname>/concerto

 

Once the grid is ready it will print <name> is Ready

 

Results Database

 

CommandDescription
cmd=start-rsdbStarts an RSDB
cmd=terminate-rsdbTerminates an RSDB.

 

Example

 

 

./scommand cmd=start-rsdb name="my rsdb" wait=true username=user password=hi url=https://<hostname>/concerto


Once the rsdb is ready it will print <name> is Ready

 

 

Test Environment


Test environment deployment will only work for the Cloud Test Manager server.

 

CommandDescription
cmd=start-envStarts the environment.
cmd=terminate-envTerminates the environment.

 

Example

 

 

./scommand cmd=start-env name="my env" wait=true username=user password=hi url=https://<hostname>/concerto


Once the environment is ready it will print <name> is Ready

Attachments

    Outcomes