restartALLIOCLogging.bash

This script is used to re-establish screenlogging and reset terminal server ports following a reboot of lcls-daemon1.

The script reads screeniocs to get the list of all LCLS "hard" iocs ("ioc-", "eioc-")

For each ioc, the script checks to see of an iocConsole screenlogging session exists.

If there is no session, the script will attempt to create one.  If difficulties are encountered, the script will call iocTSmgr to reset the IOC's terminal server port, and try again.

Usage:

To see a description of the script:

To go ahead and execute it:


Detailed steps: