|Skip Navigation Links|
|Exit Print View|
|Sun Datacenter InfiniBand Switch 36 HTML Document Collection for Firmware Version 2.0|
The snapshot utility collects log files, executes various commands and collects their output, and sends the data collected to a user-defined location. The dataset property of the /SP/diag/snapshot target defines the data that is collected. See Snapshot Dataset Information (CLI).
The snapshot describes the state of the switch at a particular moment in time. You can use this information for fault diagnosis.The snapshot utility requires administrator privileges.
-> set /SP/diag/snapshot dataset=value dump_uri=URI
value is the type of dataset, as described in the table in Snapshot Dataset Information (CLI).
URI is the uniform resource indicator (FTP and SFTP supported)
For example, to take a snapshot of the normal dataset and transfer the snapshot using the FTP protocol to the /tftpboot/normal directory of the host with IP address 184.108.40.206 as the root user:
-> set /SP/diag/snapshot dataset=normal dump_uri=ftp://root:firstname.lastname@example.org//tftpboot/normal Set ’dataset’ to ’normal’ Set ’dump_uri’ to ’ftp://root:email@example.com//tftpboot/normal’ ->
The snapshot process takes several minutes to complete.
-> show /SP/diag/snapshot result /SP/diag/snapshot Properties: result = Running ->
This example shows the progress of the snapshot process, after it has finished:
-> show /SP/diag/snapshot result /SP/diag/snapshot Properties: result = Collecting data into ftp://root:*****@220.127.116.11//tftpboot/normal/magnum_18.104.22.168_2011-01-07T14-43-15.zip Snapshot Complete Done. ->