8 Mart 2016 Salı

SAN SW log export / supportsave

SAN SW log export


SAN SW loglarını export etmek için supportsave komutunu kullanabiliriz


login as: admin
admin@192.168.6.188's password:
IBM_X32:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
NOTE: supportSave will transfer existing trace dump file first, then
automatically generate and transfer latest one. There will be two trace dump
files transferred after this command.
OK to proceed? (yes, y, no, n): [no] yes

Host IP or Host Name: 192.168.9.102
User Name: ftpuser
Password:
Protocol (ftp | scp | sftp): ftp
Remote Directory: /

Saving support information for switch:IBM_X32, module:RAS...
................................................................................     ..
Saving support information for switch:IBM_2498_X24, module:FTRACE_START...
Saving support information for switch:IBM_2498_X24, module:CTRACE_OLD...
Saving support information for switch:IBM_2498_X24, module:CTRACE_OLD_MNT...
Saving support information for switch:IBM_2498_X24, module:CTRACE_NEW...
Saving support information for switch:IBM_2498_X24, module:SSHOW_ISWITCH...
Saving support information for switch:IBM_2498_X24, module:FABRIC...

Using the supportSave command

The supportSave command uses the default switch name to replace the chassis name regardless of whether the chassis name has been changed to a non-factory setting. If Virtual Fabrics is enabled, the supportSave command uses the default switch name for each logical fabric.
  1. Connect to the switch and log in using an account with admin permissions.
  2. Enter the appropriate supportSave command based on your needs:
    • If you are saving to an FTP or SCP server, use the following command:
      supportSave [-n] [-c] 
      When invoked without operands, this command goes into interactive mode. The following operands are optional:
      -n —Does not prompt for confirmation. This operand is optional; if omitted, you are prompted for confirmation.
      -c —Uses the FTP parameters saved by the supportFtp command. This operand is optional; if omitted, specify the FTP parameters through command line options or interactively. To display the current FTP parameters, run supportFtp (on a dual-CP system, run supportFtp on the active CP).
    • On platforms that support USB devices, you can use your Brocade USB device to save the support files. To use your USB device, use the following command:
      supportsave [-U -d remote_dir]
      -U —Saves support data to an attached USB device. When using this option, a target directory must be specified with the -d option.
      -d remote_dir —Specifies the remote directory to which the file is to be transferred. When saving to a USB device, the remote directory is created in the /support directory of the USB device by default.

Hiç yorum yok:

Yorum Gönder

Problem MS SQL Server instances disappear from SQL Intelligent Policy and previously discovered Availability Groups (AG) in NetBackup. Cause...