Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1008229.1 : Gathering diagnostic data for Sun SPARC Enterprise[TM] Mx000 (OPL) Servers
PreviouslyPublishedAs 211289
Applies to:Sun SPARC Enterprise M3000 Server - Version: Not Applicable and later [Release: N/A and later]Sun SPARC Enterprise M4000 Server - Version: Not Applicable and later [Release: N/A and later] Sun SPARC Enterprise M9000-64 Server - Version: Not Applicable and later [Release: N/A and later] Sun SPARC Enterprise M5000 Server - Version: Not Applicable and later [Release: N/A and later] All Platforms GoalThis doc describes the various ways to gather diagnostic data from either the XSCF or the domain and XSCF combined.To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - M Series Servers SolutionRunning snapshot on Sun SPARC Enterprise Mx000 (OPL) XSCFSnapshot stores the collected data on a remote network host or on an external media device, based upon the use of the -t or -d option. To store the collected data on a remote network host using the -t option, you must specify a host name (or IP address), a target directory on the remote network host, and the user name of a user on the remote host. When storing data on a remote network host, snapshot opens a network connection using SSH to act as a data pipe to the remote file. Example of running snapshot to a remote host: XSCF> snapshot -L F -t <username>@<hostname or IP address>:<location to write to> XSCF> snapshot -L F -t joe@jupiter.west:/home/joe/logs/x
XSCF> snapshot -L F -d usb0 -r Running explorer on Sun SPARC Enterprise Mx000 (OPL) Servers This example of explorer was done on a domain of a Sun SPARC
Enterprise M8000 (DC1) It gathers both the domain info and the xscf info, via
ssh. The explorer host is the system that explorer package is loaded on and runs the program. So the domain is the explorer host for this example. You must have at least explorer version 5.8 for Mx000
machines. Explorer may be downloaded from here "Oracle Services Tools Bundle". Summary of the steps to get explorer running
Now that you've seen the basic steps listed, but before we dive into the details, here is a brief description of snapshot and log archiving. Snapshot is a command on the xscf that gathers all the xscf error logs etc. and copies them to a user specified location. This can be a USB drive plugged into the xscf USB port, or a user specified path. Log archiving on the xscf allows the xscf to periodically copy all it's logs to a specified location. Log archiving is setup on the xscf via the setarchiving command. The detailed steps follow: XSCF> adduser explorer 2. Verify user was added and the correct permissions were applied. XSCF> showuser explorer 3. As root on the explorer host, you must manually ssh into the xscf one time to establish the known_hosts entry (on the explorer host) for the xscf. Note: below you must answer yes the first time you ssh into the xscf. # ssh -l explorer 10.4.145.76 Warning: Permanently added '10.4.145.76' (RSA) to the list of known hosts. Last login: Thu May 3 15:37:41 2007 from sr1-unwk-02.sfbay.sun.com XSCF> 4. Copy/paste the /etc/ssh/ssh_host_dsa_key.pub contents from the explorer host to the XSCF. On the xscf, paste in the key as shown below. Don't forget to hit a carriage return, followed by a control-d ! NOTE: You must be logged into the xscf as the same user that will
be used by explorer. XSCF> setssh -c addpubkey 5. Next, setup archiving from the xscf to the explorer host (domain 0 in this case). IP address of the explorer host is 10.4.145.8. XSCF> setarchiving disable XSCF> setarchiving enable
6. Test the connectivity via snapshot. XSCF> snapshot -T 7. Run explorer on the explorer host: # chmod 1777 /opt/SUNWexplo/tmp 8. You will be prompted for remote system information. Type return to end the list. 9. In a few minutes (The xscfextended portion runs about 4 minutes) it will prompt you for the next remote hostname or IP address. If this is the only xscf you want to gather info on, just hit return and the explorer will quickly finish. The output is in: /opt/SUNWexplo/output/and the xscf snapshot portion is in : /opt/SUNWexplo/output/explorer.809210d0.v4u-m8000a-dom00-2007.05.03.15.50/xscf/10.4.145.76/xscf/10.4.145.76. # ls Previously Published As @ 89403 Attachments This solution has no attachment |
||||||||||||
|