The goal of this short guide is to get a step cluster running quickly. In the next pages of the introductory guide, you can then learn to create and deploy your first distributed automation scripts (called “Keywords”) on this freshly created cluster.
step SaaS and step on-prem
step is available in different versions as described in step pricing. Since we already prepared everything for you in the full-serviced SaaS solution the following quick start manual steps beginning with Download is targeted for step on-prem, which requires an installation.
Getting started with step SaaS
Go to the step portal and register your organization (use your full name as Organization name if you do not represent an organization). Add a credit card that will be charged after any promotional credits are spent, after this create a cluster, select no plugin and one agent for API-java. Use the given credentials to log into your cluster and continue reading at Validating your setup.
Download step on-prem
step needs at least the following three components to operate: a MongoDB instance, a controller instance (orchestrator) and an agent (worker). In this Quick Setup, both the controller and agent will require a Java 11 Runtime Environment (JRE) or Java Development Kit (JDK).
If Java is not installed on your device, download JDK 11 from Oracle’s website. Alternatively, you can also use the Zulu SDK, the recommended version is version 11.
Unzip both step archives. There should be a controller folder and an agent folder.
If you’ve downloaded a JDK in a zip format, unzip it somewhere in the folder of your choice. If you’ve downloaded the exe version, run through the wizard using the default settings. Set the path to the JDK’s home into the start scripts of the controller (step-controller-x.y.z/bin/startController.bat) and agent (step-agent-x.y.z/bin/startAgent.bat). Both have JAVA_PATH variable which can be set according to the example commented in the script file itself.
Run through the default steps of MongoDB’s installation wizard, using the default port (27001).
Start a basic MongoDB instance from the controller’s folder by using our convenience script (step-controller-x.y.z/bin/startMongo.bat)
Make sure that no existing program is already running on ports 8080 and 8081 which will be respectively used by step for web traffic and grid communication.
Start the controller script (startController.bat), check the console’s output, make sure it ends up in RUNNING state and that no fatal error or exception occurred. You should be seeing something like this:
Start the agent script. If started successfully, the agent will just print out a couple of warnings and outputs, such as follows:
WARNING: The following warnings have been detected: HINT: A HTTP GET method, public void step.grid.agent.AgentServices.reserveToken(java.lang.String) throws step.grid.agent.tokenpool.AgentTokenPool$InvalidTokenIdException, returns a void type. It can be intentional and perfectly fine, but it is a little uncommon that GET method returns always "204 No Content".
HINT: A HTTP GET method, public void step.grid.agent.AgentServices.releaseToken(java.lang.String) throws step.grid.agent.tokenpool.AgentTokenPool$InvalidTokenIdException, returns a void type. It can be intentional and perfectly fine, but it is a little uncommon that GET method returns always "204 No Content".
Validating your setup
step’s web application should now be running at the following address http://localhost:8080. You can log in immediately as an admin using the following default credentials:
If you can log into the application, your installation is most likely successfully. Let’s just make sure that your agent has registered successfully against the controller by taking a look at the Grid’s current state. Just click on the Grid tab in the upper menu. It should take you to a page listing the currently connected agents, which looks like this:
The entry at the bottom displays a http url, and a green monitoring bar (in the example with the number 10) indicating that your agent has successfully connected and is ready to receive a workload.