Domain snapshot in xscf console

Monday, September 6, 2010 at 7:10 AM
XSCF> snapshot -L F -t root@node:/var/test
Downloading Public Key from 'node'...
Public Key Fingerprint: 0a:33:18:87:73:4b:3b:47:5e:b9:0b:9a:59:10:7e:10
Accept this public key (yes/no)? yes
Enter ssh password for user 'root' on host 'node':
Setting up ssh connection to root@node...
Collecting data into root@node:/var/test/nodersc_44.191.122.26_2010-09-06T13-25-32.zip
Data collection complete
XSCF>

Change the savecore path and take the dump file from dump device

Wednesday, September 1, 2010 at 8:22 AM
server is PANIC but crash file is not created but crash dumped in the dump device. this procedure will explain how to save the file from dump device to savecore path
node1:/root# dumpadm
Dump content: kernel pages
Dump device: /dev/dsk/c1t0d0s1 (dedicated)
Savecore directory: /var/crash/node1
Savecore enabled: yes
node1:/root#


node1:/root# df -h /tmp
Filesystem size used avail capacity Mounted on
swap 31G 72K 31G 1% /tmp
node1:/root# mkdir -p /tmp/node1


node1:/root# dumpadm -s /tmp/node1
Dump content: kernel pages
Dump device: /dev/dsk/c1t0d0s1 (dedicated)
Savecore directory: /tmp/node1
Savecore enabled: yes


node1:/root# savecore -dv
System dump time: Mon Aug 30 12:37:53 2010
Constructing namelist /tmp/node1/unix.0
Constructing corefile /tmp/node1/vmcore.0
100% done: 263253 of 263253 pages saved
node1:/root#


node1:/root# ls -l /tmp/node1
total 4266032
-rw-r--r-- 1 root root 2 Sep 1 13:40 bounds
-rw-r--r-- 1 root root 2266738 Sep 1 13:39 unix.0
-rw-r--r-- 1 root root 2181931008 Sep 1 13:40 vmcore.0
node1:/root# dumpadm -s /var/crash/node1
Dump content: kernel pages
Dump device: /dev/dsk/c1t0d0s1 (dedicated)
Savecore directory: /var/crash/node1
Savecore enabled: yes
node1:/root#

Solaris | Powered by Blogger | Entries (RSS) | Comments (RSS) | Designed by MB Web Design | XML Coded By Cahayabiru.com