1) How To Create a Snapshot With the ILOM Web Interface
To collect SP data using the Service Snapshot utility, you need the Admin (a) role enabled.
Log in to the ILOM web interface.
Select Maintenance -> Snapshot. (ILOM 2.x and 3.0) Select ILOM Administration -> Maintenance -> Snapshot (ILOM 3.1)
The Service Snapshot Utility page appears.
Select the desired Data Set: Normal
Normal - Specifies that ILOM, operating system, and hardware information is collected.
(Optional) Check the Enabled to collect only log files from the data set.
(Optional) Check Enabled check box to encrypt the output file.
Select one of the following methods to transfer the output file:
Browser
Click Run.
A Save As dialog box appears.
In the dialog box, specify the directory to which to save the file and the file name.
Click OK.
The file is saved to the specified directory.
2) How to create a snapshot using the CLI interface:
(a) ssh to the <node-name>-ilom :
# ssh cell01-ilom
Password:
(b) You should see a header similar to the following output:
Sun(TM) Integrated Lights Out Manager
Version 3.0.9.19.a r55943
Copyright 2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
->
(c) After the '->' prompt, type the command in below:
-> set /SP/diag/snapshot dataset=normal
You will get a response of:
Set 'dataset' to 'normal'
(d) Next type the following command:
-> set /SP/diag/snapshot dump_uri=sftp://root:<password>@<ip address of host>/<dir to upload snapshot to>
Example:
-> set /SP/diag/snapshot dump_uri=sftp://root:password@192.168.1.2/tmp
(e) Next cd to the snapshot directory:
-> cd /SP/diag/snapshot
and type:
-> show
* You want to verify that the status shown under properties is 'Running':
Properties:
dataset = normal
dump_uri = (Cannot show property)
encrypt_output = false
** result = Running **
- it takes a while to generate the snapshot.
- to check the status again and once it shows 'Snapshot Complete' we know it's done.
(f) You can now exit the CLI interface and find your snapshot in the directory you specified. The file will start with <node-name>-ilom ....