...
from mamba-factotum, run screen
comment, then inside the screen
session, ssh with tunnel to tpfe2 head node.
Basic use of screen
screen -ls
screen -U -R -D <screen_id>
screen -x <screen_id> # shared terminal
to split screen: ctrl-a and then shift-s
to detach screen: ctrl-a and then d
...
Troubleshooting
Problem(s):
SSH tunnel is down
Signs(s):
topsapp queues are stuck; jobs are not being unacked, but the queues are full
nothing reported in mozart/figaro – job,topsapp,job-started
...
Port checker routine indicates that ports are not forwarded (all should give pass):
Code Block |
---|
esi_sar@tpfe2:~/github/hysds-hec-utils> ./hysds_pcm_check_port_forwarded_tunnel_services.sh
[pass] mozart rabbitmq AMQP
[pass] mozart rabbitmq REST
[pass] mozart elasticsearch for figaro
[pass] mozart redis for ES figaro
[pass] mozart rest api
[pass] grq elasticsearch for tosca
[pass] grq http api
[pass] metrics redis for ES metrics
connect_to 100.67.33.56 port 25: failed.
# [fail] factotum smtp http://tpfe2.nas.nasa.gov:10025
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (52) Empty reply from server |
Note that the mail server failed to respond. (That’s nominal behavior. Mail service no longer used.)
Remedy:
from mamba-factotum, open screen
optionally, attach existing screen (32207, tagged pleiades)
ssh with tunnel to tpfe2 head node:
ssh tpfe2-tunnel
note the command is aliased:
alias pleiades='ssh tpfe2-tunnel'
run
sudo -u esi_sar /bin/bash
detach the screen (ctrl-a + d)
...