search cancel

How to start SpectroSERVER after running a Docker Container installation?

book

Article ID: 113025

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

After following the steps located here:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/22-2/installing-and-upgrading/ca-spectrum-dockerization.html


How do we start the Spectrum processes?

Environment

Release: Any supported version

Resolution

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.