For the TrueSight Capacity Optimization (TSCO) Gateway Server how can I locate the UDR data that has been collected for a machine?

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Capacity Optimization


    APPLIES TO:

    TrueSight Capacity Optimization 11.0, 10.x



    QUESTION:

    When working with TrueSight Capacity Optimization (TSCO) Technical Support they may request UDR data to be provided for debugging certain types of data collection or reporting problems.  How do I locate those UDR data files on my TSCO Gateway Server or the TSCO Agent?

    Most requests for UDR data can be satisfied by providing UDR data that has already been collected on the agent side and transferred to the TSCO Gateway Server console via the nightly Manager run.  But, if it isn't clear whether the request for UDR data requires a copy of the data currently being collected on the remote agent or data that has already been transferred to the TSCO console ask for clarification from whomever the request origniated.


    ANSWER:

    To locate UDR data on the TSCO Gateway Server console:

    Using the Gateway Manager UI

    If you know which Manager run is managing data collection for the target computer: 

    (1) Under Administration -> Gateway Manager -> Gateway Operations -> View Scheduled Runs -> Click on the name of the MSF/VCMDS file in the 'Run Name' column associated with the Manager run.  That will open the Manager Script File associated with that run. 

    (2) Select the 'Analyze' tab. 

    (3) Click on the name of the appropriate (or in most cases any) domain or plicy file listed in the "Domain Files for computers and data repositories:" section at the bottom of the Analyze tab. 

    (4) The "Gateway Server Data Repository" will list where the UDR data for the computers in that domain file are being stored on the TSCO console.  In most standard TSCO configurations all the UDR data from all the remote agents will be transferred to the same console data repository on the TSCO Gateway Server. 

    (5) Check the "Gateway Server Data Repository" directory on the Gateway Server.  The UDR data will be stored in that directory in a 'hostname' folder (which matches the name of the remote agent defined in the domain/policy file).  Under there will be a 'noInstance' directory.  Under there will be a Mmm-dd-yyyy.hh.mm timestamp directory matching the start time of data collection. 

    In most cases tar or zip the /[Gateway Server Data Repository]/hostname/noInstance/Mmm-dd-yyyy.hh.mm for one (or more if specified) days.  

    Via the Command Line

      

    TSCO Gateway Server on Linux

    On the TSCO Gateway Server Linux console, run the following command: 
      $BEST1_HOME/bgs/bin/udrCollectStat -D -d `date --date=yesterday +%m-%d-%Y` -f "%n %R"

    That will list the hostname of each remote agent and the console data repository associated with that agent for yesterday's data collection request. 

    You could also restrict the output via 'grep' to just the desired agent machine: 
      $BEST1_HOME/bgs/bin/udrCollectStat -D -d `date --date=yesterday +%m-%d-%Y` -f "%n %R" | grep HOSTNAME

    Where 'HOSTNAME' is the desired hostname of the agent whose UDR data you are looking to find. 

    For example, to find the UDR data for host 'topsecret' run: 
        $BEST1_HOME/bgs/bin/udrCollectStat -D -d `date --date=yesterday +%m-%d-%Y` -f "%n %R" | grep topsecret  

     

      

    TSCO Gateway Server on Linux

    On the TSCO Gateway Server Windows console, run the following command: 
      "%BEST1_HOME%\bgs\bin\udrCollectStat" -D -d MM-DD-YYYY -f "%n %R"

    Where MM-DD-YYYY is the target date of the data collection within the last 10 days by default, for example, 03-16-2017, to query the transfer location of UDR data from March 16th, 2017. 

    You can also restrict the output via 'findstr' to just the desired agent machine: 
      "%BEST1_HOME%\bgs\bin\udrCollectStat" -D -d MM-DD-YYYY -f "%n %R" | findstr HOSTNAME

    Where 'HOSTNAME' is the desired hostname of the agent whose UDR data you are looking to find. 

    For example, to find the UDR data for host 'topsecret' run: 
        "%BEST1_HOME%\bgs\bin\udrCollectStat" -D -d MM-DD-YYYY -f "%n %R" | grep topsecret

     


    Article Number:

    000230769


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles