1 / 23

EMC Control Center 6.0 Train the Trainer

EMC Control Center 6.0 Train the Trainer. Log Collector Utility (LCU). Agenda. Log Collector Utility Overview Command Line Interface. Log Collector Utility Overview. Allows ControlCenter and Third Party logs to be collected Does not require end-user to enter credentials

kin
Download Presentation

EMC Control Center 6.0 Train the Trainer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EMC Control Center 6.0Train the Trainer Log Collector Utility (LCU)

  2. Agenda • Log Collector Utility Overview • Command Line Interface

  3. Log Collector Utility Overview • Allows ControlCenter and Third Party logs to be collected • Does not require end-user to enter credentials • CLI for batch log collection from multiple hosts

  4. Log Collector Utility Overview Glossary • Log Type : • A set of log files associated with a ControlCenter component or a third party application. • Log Type Definition File (lcu_logtypes.xml) : • A file which contains the definition of log types. • Log Collection Task (Task) : • Log types that LCU collects from a given host. • Task Definition File (.tdf) : • A file which contains the Log Collection Tasks.

  5. Log Collector Utility Log Type Definition File

  6. Log Collector Utility Overview Processing Flow – Discovering Installed Log Types ECC Infra Host Target Host Master Agent LCU Symm Agent SYMAPI 1. LCU creates script from lcu_logtypes.xml

  7. Log Collector Utility Overview Processing Flow – Discovering Installed Log Types ECC Infra Host Target Host 2. LCU sends script to Master Agent Master Agent LCU Symm Agent SYMAPI

  8. Log Collector Utility Overview Processing Flow – Discovering Installed Log Types ECC Infra Host Target Host Master Agent LCU Symm Agent SYMAPI 3. Master Agent runs script, finds installed logtypes

  9. Log Collector Utility Overview Processing Flow – Discovering Installed Log Types ECC Infra Host Target Host 4. Master Agent sends discovered logtypes back to LCU Master Agent LCU Symm Agent SYMAPI

  10. Log Collector Utility Overview Processing Flow – Discovering Installed Log Types ECC Infra Host Target Host Master Agent LCU Symm Agent SYMAPI 5. LCU creates Task file received result

  11. Log Collector Utility Overview Task Definition File (example)

  12. Log Collector Utility Overview Processing Flow – Collecting Installed Log Types ECC Infra Host Target Host Master Agent LCU Symm Agent SYMAPI 1. LCU creates script for logtypes in mytask.tdf

  13. Log Collector Utility Overview Processing Flow – Collecting Installed Log Types ECC Infra Host Target Host 2. LCU sends script to Master Agent Master Agent LCU Symm Agent SYMAPI

  14. Log Collector Utility Overview Processing Flow – Collecting Installed Log Types ECC Infra Host Target Host Master Agent LCU Symm Agent SYMAPI 3. Master Agent runs script, finds and prepares logs for transfer

  15. Log Collector Utility Overview Processing Flow – Collecting Installed Log Types ECC Infra Host Target Host 4. Master Agent sends discovered logs back to LCU Master Agent LCU Symm Agent SYMAPI

  16. Log Collector Utility Overview Processing Flow – Collecting Installed Log Types ECC Infra Host Target Host Master Agent LCU Symm Agent SYMAPI 5. LCU creates single ZIP for collected logs from all hosts in mytask.tdf

  17. Log Collector Utility Overview Log Collection Result File (example)

  18. Command Line Interface Command: -generate • Creates Task Definition File containing host and logtype information. • Format: >lcu.bat -generate -h [host1,..] -logtypes [ALL|INSTALLED] -taskfile [taskfile] -h : comma-separated list of hostnames or hostname patterns -logtypes [ALL | INSTALLED] : • For ALL LCU creates a task definition file with all possible log types • For INSTALLED LCU creates a task definition file with installed log types -taskfile : task definition file that is created at the end of –generate command

  19. Command Line Interface Command: -generate (continued) • Examples of –generate command: >lcu -generate -h “losan092" -logtypes ALL -taskfile “c:\mytask.tdf” >lcu -generate -h “losan*" -logtypes INSTALLED -taskfile “c:\mytask.tdf” >lcu -generate -h "*" -logtypes INSTALLED -taskfile “c:\mytask.tdf”

  20. Command Line Interface Command: -getlogs • Fetches and saves log files using the host and logtype information from the specified Task Definition File to the specified target directory. • Format: >lcu.bat -getlogs –target [targetdir] –taskfile [taskfile] -target : Directory where retrieved log files are saved -taskfile : File containing log collection tasks (i.e. host and log types that should be collected from that host

  21. Command Line Interface Command: -getlogs (continued) • Output of –getlogs command • A zip containing all host logs • A result log file containing current status information • Examples of –getlogs command: >lcu.bat -getlogs -target “c:\logs” -taskfile “c:\tdf\mytask.tdf”

  22. Command Line Interface Command Line: Help, Version • Help : Provides usage information for the LCU. >lcu.bat -help • Version : Displays version information about LCU. >lcu.bat -version Debug information for the LCU will be maintained in the lcu.trc files, saved in the <LCU root>\data directory

More Related