Skip to content

Commit 0bffe56

Browse files
authored
Merge pull request #143 from lsst-ts/tickets/SITCOM-1739
Add Prerequisite - collect the log files for debugging purposes
2 parents 9bd24e3 + e6fc8cf commit 0bffe56

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Simonyi/Non-Standard-Operations/MTCS/MTHexRot/MTRot-PXI-Controller-Reboot.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,44 @@ Prerequisites
6666
- Familiarity with Linux commands and the use of general *Power Distribution Unit (PDU)* or *netbooter* for power cycling.
6767

6868

69+
.. _MTRot-PXI-Controller-Reboot-Log-Collection:
70+
71+
Log Collection
72+
--------------
73+
74+
Before starting the reboot procedure, collect the log files for debugging purposes:
75+
76+
1. Write down the exact timestamps of the error.
77+
78+
2. To copy log messages from PXI to your local machine:
79+
80+
a. Access 1Password vault for credentials
81+
b. SSH into rot-pxi:
82+
83+
.. prompt:: bash
84+
85+
ssh admin@rot-pxi-controller.cp.lsst.org
86+
87+
c. Create a log file with current date:
88+
89+
.. prompt:: bash
90+
91+
cat /var/log/messages > log_message_YYMMDD
92+
93+
d. Exit SSH:
94+
95+
.. prompt:: bash
96+
97+
exit
98+
99+
e. Copy the log file to your local machine:
100+
101+
.. prompt:: bash
102+
103+
scp admin@rot-pxi-controller.cp.lsst.org:~/log_message_YYMMDD ./
104+
105+
3. Attach all relevant log files and timestamps to `OBS-664 <https://rubinobs.atlassian.net/browse/OBS-664>`__.
106+
69107
.. _MTRot-PXI-Controller-Reboot-Procedure:
70108

71109
Procedure Steps

0 commit comments

Comments
 (0)