To collect CNA dump logs, perform the following steps:
The path for storing dumped logs on the server is as follows: /var/log/ [Host name]
In the dump log of the directory, each directory represents all dump logs of a day. The dump log of each day contains 24 directories. Each directory represents the dumped logs in an hour, the dumped logs in each hour contain four dump log files named log0.tar.gz, log1.tar.gz, log2.tar.gz, and log3.tar.gz, which respectively indicate the dumped logs of the 45~ 60 minutes in the last hour and the current hour 0~ 15 minutes, 15~ 30 minutes, and 30~ 45 minutes.
(1) Logging In to the Host Using PuTTY(Ensure that the management IP address and username gandalf are used to establish the connection).
(2) Run “su”, and enter the password of user root as prompted to switch to user root.
(3) Run “TMOUT=0” to prevent PuTTY from exiting due to timeout.
(4) cp -r /var/log/CNA01/03/ /home/GalaX8800/
Note that CNA01 is the host name. Different host names are different. 03 indicates the third) of the current month.
(5) chown -R gandalf:GalaX8800 /home/GalaX8800)
(6) Use WinSCP to log in to the host as user gandalf, copy the /home/GalaX8800/03/ directory, and delete the new directory from the GalaX8800.
rm -r /home/GalaX8800/03/