Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1018266.1
Update Date:2009-11-11
Keywords:

Solution Type  Technical Instruction Sure

Solution  1018266.1 :   How to Collect Data from the TDULOGs on Sun Fire[TM]V20z/V40z  


Related Items
  • Sun Fire V20z Server
  •  
  • Sun Fire V40z Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>x64 Servers
  •  

PreviouslyPublishedAs
229667


Description
This document explains how to collect the tdulogs which are often needed for troubleshooting.

Steps to Follow
To get the output of the tdulogs, and have them display to standard output, you would issue the following command from the service processor:
pts-test-v40z-a-sp $ sp get tdulog -f stdout
* this command will cause all the logs to be dumped
To save the logs to a file, a mount point must be set up to another system.In this example the other system is running Solaris[TM].
The following commands are to be issued from the remote Solaris system, as root.
# mkdir /tdulog.dir
* makes the directory, can be other names
# chmod 777 tdulog.dir
* opens the permissions
# share -F nfs /tdulog.dir
* shares the created directory
# dfshares
RESOURCE                                  SERVER ACCESS    TRANSPORT
ptstest:/tdulog.dir                 ptstest  -         -
* verifies the directory has been shared
These are commands that are issued from the service processor of the Sun Fire[TM] v20z/v40z system:
pts-test-v40z-a-sp $ sp get mounts
Local Remote
/mnt  10.8.88.88:/test
* checks for existing mounts,in this example there currently is one
pts-test-v40z-a-sp $ sp delete mount
* deletes the existing mount
pts-test-v40z-a-sp $ sp get mounts
pts-test-v40z-a-sp $
* once again checks for mounts and verified there are none
pts-test-v40z-a-sp $ sp add mount -r 10.8.88.88:/tdulog.dir
* creates mount from default mount point of /mnt to the remote solaris
system(which has ip address 10.8.88.88) shared directory /tdulog.dir
pts-test-v40z-a-sp $ sp get mounts
Local Remote
/mnt  10.8.88.88:/tdulog.dir
* verifies mount succeeded
pts-test-v40z-a-sp $ sp get tdulog -f /mnt/tdu
* captures the tdu logs and inserts them as a tar file on the remote solaris
system under the /tdulog.dir directory
The next commands will be issued from the remote solaris system:
# cd /tdulog.dir
* changes to shared directory
# ls
tdu.tar
* lists contents of directory,note that ".tar" has been appended to the file
# tar xf tdu.tar
* extracts the tar file
# ls -al
total 182
drwxrwxrwx   3 root     root         512 Oct 11 10:42 .
drwxr-xr-x  63 root     root        1536 Oct 11 09:57 ..
-rw-rw----   1 root     103         1634 Oct 11 06:15 evLog
-rw-rw----   1 root     103         6935 Oct 11 06:15 hwLog
-rw-rw----   1 root     103         4766 Oct 11 06:15 processLog
drwxr-xr-x   3 root     root         512 Oct 11 10:42 pstore
-rw-rw----   1 root     103        12821 Oct 11 06:15 swLog
-rw-rw----   1 nobody   nobody     61440 Oct 11 10:16 tdu.tar
* lists the contents
The following are log files in ascii text:
evLog      -event log      - contains alerts,events,upgrades etc.
hwlog      -hardware log   - contains hardware inventory
processLog -process log    - contains list of running processes
swLog      -software log   - contains software,driver, and firmware versions


Product
Sun Fire V40z Server
Sun Fire V20z Server

Internal Comments
Audited/updated 12/11/09 - James.Carter@Sun.COM, x64 Content Team Member

v20z, v40z, tdulog, sp get tdulog, events, log files, troubleshooting
Previously Published As
82860

Change History
Date: 2008-01-08
User Name: 95826
Action: Update Canceled
Comment: *** Restored Published Content *** canceling update to allow migration to IBIS
Version: 0
Date: 2008-01-08
User Name: 95826
Action: Reassign
Comment: reassigning document to release it in order to allow migration to IBIS
Version: 0
Date: 2007-08-09
User Name: 116519
Action: Update Started
Comment: For purposes of enhanced diagnostic information, we actually need the following:
sp get tdulog -c -p -f /"mountpoint" along with explanations of the -c, -p, and -f arguments placed.
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback