Capture_Script_Version_051816 13:08:20 . LSI HBA/MegaRAID/3ware Data Collection Script for Win 2K - Win10. This script will collect system logs and info as well as controller, disk and enclosure info for debugging purposes. All files included in the original lsigetwin_xxxxxx.7z/zip file MUST be kept in the same subdir as lsigetwin.bat. This script MUST be run from its own subdir, NOT pathed. . You MUST be an Administrator/have Admin rights to run this script. The latest version of this script can be found at; . http://www.avagotech.com/support/knowledgebase/1211161499563/lsiget-data-capture-script . OR . ftp0.lsil.com User:tsupport Password:tsupport /outgoing_perm/CaptureScripts /outgoing_perm/CaptureScripts/BETA (Latest) . To automatically get the latest script you can download the following file and grep for the current latest file. This ensures support will always have access to the latest data to speed up the support process. . This is an example and not the latest versions. . /outgoing_perm/CaptureScripts/Latest_Script_Versions.txt #Used for automated remote script updates LatestFreebsd#lsigetfreebsd_041010.tgz LatestLinux#lsigetlinux_041010.tgz LatestLunix#lsigetlunix_041010.tgz LatestMacOS#lsigetmacos_041010.tgz LatestSolaris#lsigetsolaris_041010.tgz LatestWin#lsigetwin_031310.7z . Command Line Options: lsigetwin [Comment] [Option(s)] Comment: Enclose noncontiguous strings in double quotes "My Comments" Option: -UMS = Use MegaCli Syntax in addition to native storcli syntax. -EXT = EXTRACT - Extracts all available utilities for use. -P = PRINT filename in .\LSICAPTUREFILES.TXT for scripting. -D = Working DIRECTORY is not deleted. -Q = QUIET Mode - No keystrokes required unless error. -B = BATCH Mode - No keystrokes required. -E_AEC = Clear and ENABLE AEC. -E_DPM = Clear and ENABLE DPMSTAT. -E_AEC_DPM = Clear and ENABLE AEC and DPMSTAT. -G_AEC = Disable and GET AEC Logs. -G_DPM = Disable and GET DPMSTAT Logs. -G_AEC_DPM = Disable and GET AEC and DPMSTAT Logs. -M = MONITOR Mode - Standard capture, daily/targeted logging. -SDS = Use the BETA storcli 2.03.00 for SDS support. -H = This Help Screen. . The following command line options are NOT standard and may be detrimental to a root cause analysis of your issue. Used for repetitive data collection and script debugging, these are fluid and may change. . -SRS = Skip MegaRAID AEN Record Sort, NOT standard. -SRC = Skip MegaRAID AEN Record Capture and Sort, NOT standard. -SWR = Skip Windows Reporting (MSINFO32), NOT standard. -SCDA = Skip Controller Disk Association, NOT standard. -SMR = Skip MegaRAID DATA Capture, NOT standard. -S3W = Skip 3Ware DATA Capture, NOT standard. -SHBA = Skip HBA DATA Capture, NOT standard. -SEXP = Skip Expander DATA Capture, NOT standard. -SC = Skip Compression of output subdirectory, NOT standard. -F1 = FAST-1, combines -SRC/-SWR, NOT standard. -F2 = FAST-2, combines -SRC/-SCDA, NOT standard. -F3 = FAST-3, combines -SRC/-SWR/-SCDA, NOT standard. -F4 = FAST-4, combines -SRC/-SWR/-SCDA/-SC, NOT standard. . Example; lsigetwin -D -Q "This is my comment" Runs the standard script leaving the working directory, without prompts and leaves a comment. . Example; lsigetwin -Q "This is my comment" -D -M Runs the standard script leaving the working directory, without prompts and leaves a comment, once done the script stays resident in Monitor Mode. . Notes: Send "JUST" the created .7z file to your support rep. The file is PASSWORD Protected to get through the Broadcom firewall. Password=broadcom . SDS = Will force the use of the Beta storcli that supports SDS mode. If the "storcli show" command output contains SDS this version will be used anyway. . EXT = EXTRACT - All of the embedded utilities that are in the pertinent capture script are extracted without the actual capture script running. The architecture specific (32/64bit) specific Broadcom utilities such as storcli/sas3ircu/etc. are all copied to the root of the capture script subdir. All third party utilities are copied to that root\Utils, i.e. grep/sg_scan/etc. After each script run, Broadcom utilities without a device are copied to the Utils subdir. On EACH run the Utils subdir is deleted. . AEC = Advanced Event Capture - This is an unreleased INTERNAL option. Do NOT use AEC without being directed to by Technical Support or an FAE. . DPMSTAT = Disk Performance Monitoring Statistics - Captures performance related information on a controller/disk basis. Detailed information can found in the 3Ware and MegaRAID Users Guides available at; . http://www.avagotech.com/support/ . All of the -G_* "GET" Options are done automatically if AEC or DPMSTAT was enabled previously with the -E_* "ENABLE" options by default. The -G_* options are meant for quick repetitive results without getting other system information. Normally you should run the standard lsigetwin.bat file without a -G_* option to provide as much info as possible. . If there are competing comments the lowest variable number wins. If there are contradictory options the lowest variable number with the option order listed in the help wins. Valid combinations would be; -D or -D with -B or -Q any -E_* or -G_* option by itself or in conjunction with a -D and -B/-Q option. -E_* is allowed with -D but has no effect as there is no working directory created. . Monitor Mode - 3Ware only. Runs the standard capture script and then remains resident, logging "show diag" approx. every 24 hours and also monitors for three specific AEN's (Controller Reset/Degraded Array/Rebuild Started). If any of these are encountered a final "show diag" will be done and the script will finish normally. Use to capture the internal printlog/buf prior to the buffer being overwritten. Not allowed in conjunction with any -E_*/-G_* or -EXT option. . Recomended CodeSet/Release Versions - Latest always recomended. . 3ware- . This script should run with any release after 7.6.0 on the 7k, 8k and 9k family of controllers. . MegaRAID - . This script should run with any release after 3.1 on the 82xx, 83xx, 84xx, 87xx, 88xx, 92xx and 93xx family of controllers. . HBA - . This script should run with any HBA using the symmpi, lsi_sas, lsi_sas2, lsi_gen2 or lsi_sas3 driver. . Trouble Shooting - . 1Q. Script appears to hang 1A. Dont enable Quick Edit mode. Also command windows have been seen to go to sleep after a while (20-30 Minutes), hit return in the window to wake up. . . Capture Script Version: 051816 . 13:08:20 .