SEARCH
Showing results for 
Search instead for 
Do you mean 

Using SCommand to Deploy and Manage Grids

by Community Manager ‎12-22-2015 10:50 AM - edited ‎01-12-2016 10:34 AM

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

 

Command Description
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

 

Command Description
cmd=start-grid Starts a grid.
cmd=terminate-grid Terminates 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

 

Command Description
cmd=start-rsdb Starts an RSDB
cmd=terminate-rsdb Terminates 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.

 

Command Description
cmd=start-env Starts the environment.
cmd=terminate-env Terminates 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

Contributors