Sun Solution Extractor |

This command will create a tar file that contains an 'explorer' like snapshot of the Sun Solution Configuration including Events, logfiles, configuration logs, storage array commands etc..
Review the Extract-log for more information about the script execution. Extract logs are located in the /opt/SUNWstade/DATA/Download/Solution/ directory.

Here is a sample extract log:

Extract Logfile : 2002-11-17_144057

    -> MODULE: Sun Solution ..
        -> cp /etc/hosts      /opt/SUNWstade/DATA/Download/Solution/extract/Rack/etc_hosts ..
        -> /opt/SUNWsecfg/bin/getcabinet  ..
        -> cp /export/README.txt      /opt/SUNWstade/DATA/Download/Solution/extract/Rack/export_readme.txt ..
        -> tail -1000 /var/adm/log/SEcfglog  ..

    -> MODULE: Storade ..
        -> cp /opt/SUNWstade/DATA/rasagent.conf       /opt/SUNWstade/DATA/Download/Solution/extract/Storade/rasagent.conf ..
        -> cp /opt/SUNWstade/DATA/Events.log          /opt/SUNWstade/DATA/Download/Solution/extract/Storade/Events.log ..
        -> pkginfo -l SUNWstade  ..
        -> showrev -p|grep SUNWstade  ..
        -> /opt/SUNWstade/bin/ras_admin site_info  ..
        -> /opt/SUNWstade/bin/ras_admin device_list  ..
        -> /opt/SUNWstade/bin/ras_admin email_list  ..
        -> /opt/SUNWstade/bin/ras_admin provider_list  ..

    -> MODULE: SP
        -> cp /etc/services /opt/SUNWstade/DATA/Download/Solution/extract/Sp/service ..
        -> cp /etc/inetd.conf /opt/SUNWstade/DATA/Download/Solution/extract/Sp/inetd.conf ..
        -> ps -ef  ..
        -> df -k  ..
        -> tail -1000 /var/adm/messages       ..
        -> tail -1000 /var/adm/messages.t3    ..
        -> tail -1000 /var/adm/messages.t300  ..

    -> MODULE: Switch ..
      -> sw1 ..
        -> sanbox version -port 5003 [IP_ADDRESS]
        -> sanbox chassis_id -port 5003 [IP_ADDRESS]
        -> sanbox chassis_status -port 5003 [IP_ADDRESS]
        -> sanbox links -port 5003 [IP_ADDRESS]
        -> sanbox port_counts -port 5003 [IP_ADDRESS] all
        -> sanbox port_status -port 5003 [IP_ADDRESS] all
        -> sanbox port_state -port 5003 [IP_ADDRESS] all
        -> sanbox chassis_counters -port 5003 [IP_ADDRESS] all
        -> sanbox get_zone -port 5003 [IP_ADDRESS] hd all
        -> sanbox get_zone -port 5003 [IP_ADDRESS] sl all
        -> sanbox nameserver -port 5003 [IP_ADDRESS]

    -> MODULE: STORAGE ARRAY
      -> t3 t300-8..
        -> ver
        -> arp -a
        -> tzset
        -> date
        -> set
        -> .set
        -> .ep info
        -> sys list
        -> .sys list
        -> sys stat
        -> sys fc_topology
        -> fru list
        -> fru myuid
        -> fru stat
        -> fru statsys
        -> fru statistic
        -> vol list
        -> vol stat
        -> vol mode
        -> refresh -s
        -> route -r
        -> proc list
        -> port list
        -> port listmap
        -> .loop stat
        -> ntp
        -> ntp -v
        -> ntp stats
        -> ls -l
        -> ls -l etc
        -> ls -l web
        -> volslice list
        -> lun map list
        -> lun wwn list
        -> lun perm list
        -> hwwn list
        -> hwwn listgrp
        -> disk version u1d1-9
        -> disk version u2d1-9
        -> .disk pathstat u1d1-9
        -> .disk pathstat u2d1-9
        -> .disk softerr u1d1-9
        -> .disk softerr u2d1-9
        -> .disk harderr u1d1-9
        -> .disk softerr u2d1-9
        -> .disk linkstat u1d1-9
        -> .disk linkstat u2d1-9
      -> t3 diag208..
        -> ver
        -> arp -a
        -> tzset
        -> date
        -> set
        -> .set
        -> .ep info
        -> sys list
        -> .sys list
        -> sys stat
        -> sys fc_topology
        -> fru list
        -> fru myuid
        -> fru stat
        -> fru statsys
        -> fru statistic
        -> vol list
        -> vol stat
        -> vol mode
        -> refresh -s
        -> route -r
        -> proc list
        -> port list
        -> port listmap
        -> .loop stat
        -> ntp
        -> ntp -v
        -> ntp stats
        -> ls -l
        -> ls -l etc
        -> ls -l web
        -> volslice list
        -> lun map list
        -> lun wwn list
        -> lun perm list
        -> hwwn list
        -> hwwn listgrp
        -> disk version u1d1-9
        -> disk version u2d1-9
        -> .disk pathstat u1d1-9
        -> .disk pathstat u2d1-9
        -> .disk softerr u1d1-9
        -> .disk softerr u2d1-9
        -> .disk harderr u1d1-9
        -> .disk softerr u2d1-9
        -> .disk linkstat u1d1-9
        -> .disk linkstat u2d1-9

    -> MODULE: VE

    -> TAR..
        -> tar cf /opt/SUNWstade/DATA/Download/Solution/extract_2002-11-17_144057.tar extract ..