Running snapshot

The syntax varies slightly from the Mx000 to the M10-x .The M10 requires a “-a” option to collect logs
from all chassis.

The two most common usages are described below. The first example for each platform does not
require physical presence at the system and works across the network.   The second uses a USB
stick, and requires someone on site to install and remove the USB stick for transporting the data
to another system for upload.  The command requires platadm or fieldeng privileges.

Mx000 Example of collecting a snapshot
XSCF> snapshot -L F -t <username>@<hostname or IP addr>:<location to write to>
Mx000 Example of collecting a snapshot to an external USB stick:
XSCF> snapshot -L F -d usb0,
M10-x Example of collecting a snapshot
XSCF> snapshot -a -L F -t <username>@<hostname or IP addr>:<location to write to>
M10-x Example of collecting a snapshot to an external USB stick:
XSCF> snapshot -a -L F -d usb0

Bear in mind, that the external media device connected to the XSCF’s USB port is expected to have
a partition 1, formatted with the FAT32 filesystem. The external USB device can have multiple
partitions, as long as partition 1 is FAT32. That partition will then be used by the snapshot
command. For more details on the snapshot command please visit the manual page.

Example:
XSCF> snapshot -L F -t [email protected]:/export/home/user
Downloading Public Key from '192.168.70.21'...
Public Key Fingerprint: 98:c0:ba:95:4d:70:9a:dc:24:01:09:5f:94:43:07:c7
Accept this public key (yes/no)? yes
Enter ssh password for user 'root' on host '192.168.70.21':
Setting up ssh connection to [email protected]
Collecting data into [email protected]:/export/home/user/pegasus_192.168.70.21_2017-12-06T03-49-35.zip
Data collection complete

XSCF>
Troubleshooting Steps
SSH: Could not resolve hostname

XSCF> snapshot -L F -t [email protected]:/home/username
Downloading Public Key from 'hostname'...
Error downloading key for host 'hostname'
- Program exited unexpectedly: /usr/bin/ssh
- Output: "ssh: Could not resolve hostname <hostname>: Temporary failure in name resolution"
Error with SSH settings
Resolution:  Use the ip address instead of the host name

===================================================

Unable to mount USB device

After inserting a USB memory stick into the maintenance port of an OPL XSCF, snapshot reported
that it is unable to mount the USB device.

Sun SPARC Enterprise M3000/M4000/M5000/M8000/M9000 (OPL) Servers: snapshot
“Unable to mount USB device”.

The snapshot command expects the USB device to have a partition 1 with a fat32 filesystem.
(/dev/sda1) If your device does not have any partitions, the XSCF will see your USB memory stick
as /dev/sda. Without the partition snapshot will not be able to mount the device correctly and
report “Unable to mount USB device”.

Resolution:  To create a partition table on your USB stick, you can plug your USB memory stick
into a Windows Computer, which should re-partition and format the device with one large partition
as a FAT32 file system.

This issue is fixed in XCP 1050.


Leave a Reply

Your email address will not be published. Required fields are marked *

three × three =

Related Posts

Solaris

How to Find and Remove Old or Inactive Files

How to Find and Remove Old or Inactive Files Become an administrator. Find files that have not been accessed for a specified number of days and list them in a file. # find directory -type Read more…

Oracle

Verifying HBA card connectivity in Solaris

1. Use the “luxadm -e port” command to verify HBA has established communication with a node. # luxadm -e port /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl CONNECTED /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0:devctl CONNECTED CONNECTED : HBA has established connection with either target or initiator. Read more…

Oracle

Setting Network IPMP & Aggregate Solaris 11

Configure an Active-Standby IPMP Group 1. Create an IPMP interface ipadm create-ip net0 ipadm create-ip net1 ipadm create-ipmp ipmp0 2. Add the physical interfaces net0 and net1 to the ipmp group. ipadm add-ipmp -i net0 Read more…