Enable TimeMachine in Microsoft SQL Server container image
410
With the release of docker images for Time Machine from SolutionSoft Systems, Inc., customers can easily
so that they can leverage the virtual clocks provided by Time Machine to facilitate time shift testings on the application.
This white paper will describe two approaches to enable virtual clocks for Wildfly/JBoss application. The first approach will add Wildfly/JBOSS application into the published Time Machine image. The second approach will add Time Machine capability into the official Wildfly/JBoss image.
Before we proceed with the approaches in details, we want to describe the mechanism for running Time Machine and other applications.
A Time Machine installation will have the following three components:
We have provided an /entrypoint.sh script to properly start all Time Machine components. There are primarily two steps:
When the container first starts, the script /entrypoint.sh will check for init scripts under directory /inittasks and run them one by one. Once they are run, directory /inittasks will be removed to prevent any possible duplicate init tasks.
Examples of the init tasks can be creating directories, change permissions. one of the init task is to generate floating license token.
A supervisord suepr daemon is invoked to manage daemons such as Time Machine Agent and Time Machine License Daemon.
We took the following steps to add Wildfly/Jboss to the Time Machine docker image:
The first two tasks are handled in the Dockerfile as RUN commands. The last two are implemented as (1) inittask script; and (2) supervisord service script. You can find these scripts under the config/ directory.
For details, please refer to github repo at:
https://github.com/solution-soft/time-machine-dockerfiles/tree/master/time-machine-adding-jboss
We took the following steps to add Time Machine into the official Wildfly/JBoss image.
Install python3.6 and supervisord packages. For Centos7, we need to eanble Software Collections Repository;
Grab and install Time Machine from URL: ftp://ftp.solution-soft.com/pub/tm/linux/redhat/64bit. The latest Time Machine release is V12.9R3;
Copy files under /config to directory / in docker.
Files are:
/entrypoint.sh,/inittask;/usr/local/bin andFor dertails, please refer to github repo at: https://github.com/solution-soft/time-machine-dockerfiles/tree/master/jboss-adding-time-machine
Content type
Image
Digest
Size
513.8 MB
Last updated
about 7 years ago
docker pull solutionsoft/mssql-add-time-machine