This topic outlines Parasoft's recommendations for a production-grade deployment of Parasoft Virtualize alongside Parasoft Data Repository and Parasoft Continuous Testing Platform (CTP).

Assumptions

This document assumes that the deployment will include:

Deployment Approaches

There are two deployment approaches: dynamic infrastructure (Docker image, Azure VM, or AWS VM) or physical static infrastructure.

A dynamic infrastructure is designed for enabling dynamic, disposable test environments. This means that a test environment can be instantly provisioned from a golden template, used and dirtied, then simply destroyed. There is no need to share test environments or resources across teams or test phases; the exact environment you need is instantly spun up whenever you want it, then destroyed as soon as you’re done with it. Dynamic infrastructures provide advanced flexibility for extreme automation. Moreover, when you need to scale (for example, for performance testing), you can do that on demand.

With a physical static infrastructure, you have permanent (dedicated) servers. This is useful when long-term scaling is anticipated, and hardware is designated ahead of time for heavy usage. Such an approach is designed for high availability and fault tolerance requirements. If you have such requirements and plan to configure a cluster of Parasoft Virtualize servers behind a load balancer, also see the recommendations in Setting Up a Cluster of Virtualize Servers Behind a Load Balancer.

Dynamic Infrastructure (Docker, Azure, AWS) Recommendations

Dynamic infrastructures use either Docker Images, Microsoft Azure VMs, or Amazon Web Services (AWS) VMs.
For Docker, we recommend:

For Azure, we recommend:

For AWS, we recommend:

Physical Static Infrastructure Recommendations

The following diagram shows the recommended architecture for a deployment with three Virtualize servers and CTP; note that the "Server n" icons in the lower right corner represent any number of additional servers (as appropriate for your environment).


We recommend the following hardware for the Virtualize, Data Repository, and CTP server machines...

Virtualize

Data Repository

If possible, separate Virtualize and Data Repository. This is important for "future proofing" your deployment. This becomes especially important when Virtualize and Data Repository eventually compete for resources, if bad data repository happens to bring down the machine hosting Data Repository, or if Virtualize and Data Repository are separated so this Data Repository failure won’t take the Virtualize server down with it.

CTP

Notes

Operating System

We recommend Linux over Windows for Parasoft deployments because:

Selecting a CTP Database

CTP supports the following databases:

Either Oracle, MariaDB, or HyperSQL is recommended over MySQL. While Oracle, MariaDB, and HyperSQL all perform well, MariaDB has been found to have better backup and restore workflows than the embedded HyperSQL. If you do not plan on clustering the CTP database and you have sufficient space, however, HyperSQL is still a good choice.

Starting Up Cloud-based Dynamic Infrastructure Deployments

When VMs are deployed in the cloud through cloud service providers, such as Microsoft Azure and Amazon AWS, machine IDs may change as the VM is shut down and restarted. Use the following flag when starting Parasoft products to ensure that the machine ID remains stable when VMs are restarted on cloud platforms:

-Dparasoft.cloudvm=true