| | 1 | = Remote Processing Maintenance = |
| | 2 | |
| | 3 | == ipplanl scripts == |
| | 4 | |
| | 5 | * '''lanl_status.pl''' Main script to check system status. |
| | 6 | * {{{lanl_status.pl}}} Print status information. |
| | 7 | * {{{lanl_status.pl reconnect}}} Do safe checks of the system, and restart the ssh connection. |
| | 8 | * '''lanl_control_tool.pl''' Directly start and stop ssh connection. |
| | 9 | * {{{lanl_control_tool.pl stop}}} Stop ssh connection. |
| | 10 | * {{{lanl_control_tool.pl start}}} Start ssh connection. |
| | 11 | * '''lanl_switch_users.pl''' Change the user who is operating the ssh connection/running commands at LANL. |
| | 12 | * {{{lanl_switch_users.pl USERNAME}}} Switch to user USERNAME |
| | 13 | * '''revert_stacks.sh''' Revert local stack processing. |
| | 14 | * {{{revert_stacks.sh}}} |
| | 15 | * '''drop_bad_data.pl''' Print [PV3_failed_data wiki page] entries and stacktool/warptool commands for runs with unsolvable problems. |
| | 16 | * {{{drop_bad_data.pl}}} Copy appropriate wiki table entries, and copy and execute the commands listed. |
| | 17 | * '''revert_lanl.sh''' All purpose "kick" script. No arguments. Returns: |
| | 18 | * Summary of IPP queue, will print correct {{{ln -sf}}} command to promote the next queue file when appropriate. |
| | 19 | * Summary of LANL queue. Same checks for new queues. |
| | 20 | * {{{stat}}} command output of files in ~/.ssh/connection/ to check the age of current ssh connection. |
| | 21 | * Execute {{{remotetool -revertauth}}} for the LANL label. |
| | 22 | * Execute {{{remotetool -revertrun}}} for the LANL label. |
| | 23 | * Construct list of {{{remotetool -revertcomponent}}} commands that need to be copied and run to clear failed sub components. |
| | 24 | * Generate a ~/lanlstats/mdiag report containing the current /scratch3/ {{{df}}} information and the {{{mdiag}}} processing quota. |
| | 25 | |
| | 26 | == General operation task list == |
| | 27 | |
| | 28 | * Check that your username is the active user, using the {{{lanl_switch_users.pl}}} command. |
| | 29 | * Establish the ssh connection, either with {{{lanl_status.pl reconnect}}} or {{{lanl_control_tool.pl start}}}. |
| | 30 | * Periodically run the {{{revert_lanl.sh}}} script. {{{remotetool -revertrun}}} has a cronjob that runs once an hour, which ensures that ssh priority errors don't build up forever, but this is the only way to automatically clear failed components. |
| | 31 | * Either wait for the ssh connection to be terminated by the remote side, or terminate it manually with {{{lanl_control_tool.pl}}}. Losing jobs in the middle of a transfer is not fatal, as the {{{rsync}}} commands pick up from the point the connection was lost. |
| | 32 | * Check {{{drop_bad_data.pl}}} daily, or when obvious warp failures build up. |
| | 33 | |
| | 34 | |