Running Must Gather V3.0

Listed are a few different methods to run Must Gather V3.0
Method 1. Run Must Gather V3.0 from the GUI
  • Login to the Guardium GUI and navigate to the S-TAP Control tab.
  • Click the Send Command icon on the target S-TAP Host.
  • Select STAP Logging from the drop down menu next to Command.
  • Check the Run Diagnostics check box and then press the Apply button.
Note: It may take several minutes or more for this process to complete. The diagnostic files will be archived to a zip file and uploaded to the collector. You can access this information from the Guardium GUI. Login to the Guardium GUI navigate to the Manage section, underneath locate Maintenance, and then click Support Information Results.
Method 2. Run Must Gather from Windows Start Menu
  • Login to the DB server where the Windows S-TAP is installed.
  • Navigate to the Windows Start menu, then navigate to the IBM Windows S-TAP folder open it and choose the Run Diagnostics application.
Note: The elevated Windows Command Prompt will then open up and the Must Gather script will start. The diagnostic files will be archived and stored to %WINSTAP_DIR%\Bin\zipTmp\*.zip . It will also be sent to the collector if the upload feature is enabled in Windows S-TAP.
Method 3. Run Must Gather from Windows Explorer
  • Login to the DB server.
  • Right click the diag.bat file and choose Run as Administrator.
Note: If you run diag.bat which is under %WINSTAP_DIR%\Bin , it’ll run as S-TAP mode and the diagnostic files will be archived and stored to %WINSTAP_DIR%\Bin\zipTmp\*.zip. If you run diag.bat which is NOT under %WINSTAP_DIR%\Bin, it’ll run as STANDALONE mode and the diagnostic files will be archived and stored to %current_dir%\zip\*.zip.
Method 4. Run Must Gather from Windows Command Prompt as the Administrator
  • Open Windows Command Prompt as the administrator
  • Change the directory to the location where the diag.bat and diag.ps1 files are located.
  • Run diag.bat.
Method 5. Run Must Gather Power Shell script (diag.ps1) directly
Must Gather V3.0 is written in Power Shell so you can run diag.ps1 directly without have to use the diag.bat file.
Example 1: Open Windows Command Prompt as the administrator and run powershell ./diag.ps1 on the directory where diag.ps1 is located.
Example 2: Open PowerShell as the administrator and run ./diag.ps1 on the directory where diag.ps1 is located.