How to start SpectroSERVER after running a Docker Container installation?

Document ID : KB000113025
Last Modified Date : 04/09/2018
Show Technical Document Details
Question:
After following the steps located here:

https://docops.ca.com/ca-spectrum/10-3-0/en/installing-and-upgrading/ca-spectrum-dockerization

How do we start the Spectrum processes?
Answer:
There are a couple of ways to do this.

1. Login to the container to execute commands as if it was local:

docker exec -it <container-id> /bin/bash

To get a list of running containers:

docker ps

Example:

docker ps

CONTAINER ID        IMAGE                    COMMAND             CREATED             STATUS              PORTS                    NAMES
ae368381adc7        spectrum-srm-image-103   "/dispatcher.sh"    4 days ago          Up 36 minutes       0.0.0.0:9090->8080/tcp   brave_hopper
3bc3688ea1e8        spectrum-ss-image-103    "/dispatcher.sh"    4 days ago          Up 36 minutes                                eloquent_ptolemy

docker exec -it 3bc3688ea1e8 /bin/bash

You can then execute normal linux commands.  I.e. cd /usr/Spectrum/lib/SDPM ; ./processd.pl --start; /usr/Spectrum/bin/startSS.pl

2. The other method is to use docker exec:

docker exec -it -u spectrum 3bc3688ea1e8 /usr/Spectrum/lib/SDPM/processd.pl --start
docker exec -it -u spectrum 3bc3688ea1e8 /usr/Spectrum/bin/startSS.pl


You can utilize CA Support chat feature if you have further questions on how this might work.