Base Test Stand

This section contains site specific variations for the Base test stand.

Resources

Update Configuration

  • Configurations for the different applications deployed to BTS can be found in the Phalanx repo (lsst-sqre/phalanx).

LOVE Summary View

The overall system summary state view is called SummaryState.

Interacting with Kubernetes

Commands can be executed from your own machine with kubectl and the manke.yaml kubeconfig file. You can obtain the kubeconfig file from https://rancher.ls.lsst.org. If you don’t have access, file a Jira ticket with IT. Once you’re able to log into Rancher:

  1. Select the manke cluster.

  2. Click the Kubeconfig File button in top-right.

  3. Near bottom of dialog, click the download link.

  4. Save the config file under your local .kube directory as manke.yaml

  5. Point to the required cluster by doing:

    export KUBECONFIG=~/.kube/manke.yaml
    kubectl config use-context manke
    
  6. Ensure you are pointing to the right cluster by doing:

    kubectl config current-context
    

Bare Metal Machines

  • ATCamera (Tony Johnson): auxtel-mcm.ls.lsst.org

  • MTCamera (Tony Johnson): lsstcam-mcm.ls.lsst.org

Shutdown Camera Services

  • Shutdown ATCamera OCS Bridge From auxtel-mcm.ls.lsst.org run:

    sudo systemctl stop ats-ocs-bridge.service
    
  • Shutdown MTCamera OCS Bridge From lsstcam-mcm.ls.lsst.org run:

    sudo systemctl stop lsstcam-ocs-bridge.service
    

Startup Camera Services

  • Startup ATCamera OCS Bridge From auxtel-mcm.ls.lsst.org run:

    sudo systemctl start ats-ocs-bridge.service
    
  • Startup MTCamera OCS Bridge From lsstcam-mcm.ls.lsst.org run:

    sudo systemctl start lsstcam-ocs-bridge.service
    
  • Ensure bridge services are running using:

    sudo systemctl status <camera-name>-ocs-bridge.service
    
  • Transition to OFFLINE_AVAILABLE:

    ccs-shell
    ccs> set target <camera-name>-ocs-bridge
    ccs> setAvailable --withLock
    ccs> exit
    

Enabled CSCs

If proceeding with integration testing, the CSCs will be brought to ENABLED state as part of that process. All of the startup processes may be necessary for recovering the BTS from any maintenance. The following components will automatically transition to ENABLED state when launched:

  • WeatherForecast

  • ScriptQueue:1

  • ScriptQueue:2

  • ScriptQueue:3

  • DSM:1

  • DSM:2

Only leverage the following scripts, if necessary. Required configurations will be given for each script execution.

  • set_summary_state.py

    data:
      - [ESS:*, ENABLED]
      - [Watcher, ENABLED]