This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
operations:backup_control [2014/10/22 03:50] David Horsley [Usage] |
operations:backup_control [2014/10/30 02:17] David Horsley [Backup control system] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Backup control system ====== | ====== Backup control system ====== | ||
- | Occasionally, especially for Yg, eRc can refuse to connect or frequently drop out. The VNC session can also suffer some problems, is quite heavy on the network, and doesn't allow copy-paste. As an alternative, there is a text based backup control setup installed on the field system PCs. | + | Occasionally, especially for Yg, eRc can refuse to connect or frequently drop out. The VNC session can also suffer some problems, has quite a heavy network load, and doesn't allow copy-paste. The field system ships with a suite of tools to allow it to be access from a terminal, so as an alternative to eRc and VNC, a 'tmux' layout has been created to present these tools in a convenient manner. As this is purely text based and amenable to compression over ssh, it is very light on network usage. |
====== Usage ====== | ====== Usage ====== | ||
Line 10: | Line 10: | ||
This will present you with a a terminal window similar with a similar layout to e-RemoteCtrl. | This will present you with a a terminal window similar with a similar layout to e-RemoteCtrl. | ||
- | To get the alarm system working, you need to stream the log files to ops2, or the PC with the log monitor. This can be done with ssh and tail, but there is a shell script on ops2 which does this for you. **To transfer the current log file** from pcfsyg to ops2 run: | + | To get the alarm system working, you need to stream the log files to ops2, or the PC with the log monitor. This can be done with ssh and tail, but there is a shell script on ops2 which does this for you. |
- | <note important> | + | <note> |
- | **To transfer the current log file** | + | **To stream the current log file** |
- | On ops2 | + | |
+ | On ops2 run | ||
* ''~/stream_log yg'' | * ''~/stream_log yg'' | ||
+ | |||
+ | **You will need to rerun this when the log file changes.** | ||
</note> | </note> | ||
- | You can then point the log monitor to the file indicated by the script. **Note: you will need to rerun this when the log file changes** | + | You can then point the log monitor to the file indicated by the script. |
By default, the cursor should be in the ''oprin'' pane at the bottom of the window. If it isn't, you can change active panes by pressing "Ctrl+b" then an arrow key. The ''oprin'' window is the same program that runs in the VNC, so tab-completion and up-arrows should work as expected. | By default, the cursor should be in the ''oprin'' pane at the bottom of the window. If it isn't, you can change active panes by pressing "Ctrl+b" then an arrow key. The ''oprin'' window is the same program that runs in the VNC, so tab-completion and up-arrows should work as expected. | ||
Line 27: | Line 30: | ||
Instead reset the session with | Instead reset the session with | ||
- | <note important> | + | <note> |
** To reset the session:** | ** To reset the session:** | ||
* press Ctrl+b and type '':kill-session'' | * press Ctrl+b and type '':kill-session'' |