Monday Sep 21, 2009

Server Impact on Sun Learning Exchange

Just a quick note:

I have released SLX 03 - Server Impact.  This is a work in progress and I will be adding a new PDF to it with full statistics showing real server impact from DirTracer.  I have the test servers and slamd setup and will get the tests run soon.



Thursday Jul 30, 2009

DirTracer, Pkgapp and SLX

Alo all,

I received good news from the Big Admin admins today, the new DirTracer and Pkgapp versions are online!

The following versions are now available here on Big Admin. For information on the latest changes in this update, please see my previous blog - DT 6.0.7 Coming soon!

DirTracer 6.0.7 Photo © Lee Trujillo

Pkgapp 3.2

I have also released the SLX 02 DirTracer Quickstart on SLX (Sun Learning Exchange) - "This video is a Quickstart guide to getting DirTracer6 running in a short amount of time using Configurator 6. I also step through a real example of how DirTracer runs using the config file created by Configurator."

Finally, I am in production of the latest DirTracer SLX video "Server Impact".  Using Slamd, Cacti and DirTracer I plan on showing exactly what impact a Directory Server will see from DirTracer runs based on different run/problem types.  More on this later.



Tuesday Jul 07, 2009

DirTracer Overview on SLX (Sun Learning Exchange)

Great news all,

I have released my first vidcast on Sun's Learning Exchange (SLX) site! Dream Sequence

SLX 01 - DirTracer Overview (runtime 7min 32sec)

This is the first in what I hope to be a long series discussing DirTracer, Configurator and Pkgapp.  If you are unfamiliar with DirTracer, this Overview is an easy and fast way to get acquainted with Sun's #1 Directory support tool.

On July 24th I will be releasing the second vidcasts titled "DirTracer Quickstart".  This will walk you through getting DirTracer up and running in the shortest amount of time using Configurator.

I am currently in production on the third vidcast titled "Server Impact".  This is a hot topic when it comes to running DirTracer on production systems.

That's all for now folks,



Tuesday May 26, 2009

DirTracer now DS7 compatible!

 Yes it's true!  DirTracer now works with DS7!It's the Tubes

I was fortunate to get access to DS7 during the Directory Masters event in New Jersey.  While there I was able to quickly install DS7 and migrate an old dead DS6.2 instance.  I ran DT 6.0.6 against this new instance and was ecstatic to see it ran with 0 errors.  In reality DS Development had moved two commands but DT had used its defaults to guess things like install type (zip/native) and where the dsrk's ldapsearch and ldapmodify were located.

Today I decided to revisit these two items and found it was easy as pie to change; only took a few minutes.  I had to copy/paste and change approximately seven lines of code (mostly path based) and that was it. 

To mirror the DT version I used when DS6 was released, I will now re-version this as DirTracer 7.0.0 or DT7.  While DT7 works perfectly with DS7,  I'm not saying DT7 won't change.  In fact I'm planning many new features for DT7 for its first

Sun Microsystems dirtracer 7.0.0 Solaris Sparc                        05/26/2009
\* Checking Config File                  [success 1211182548 != 3006111464]
\* Using config file                     [./dirtracer.config]
\* OS Type and Version                   [SunOS 10 sparc]
\* Dirtracer mainloop will run for       [1 sec.]
\* Databin parameter check 1             [success]
\* Databin parameter check 2             [success]
\* Databin Found                         [/var/tmp/dtcapture]
\* Databin used is                       [/var/tmp/dtcapture/052609-02]
\* Relocating runtime log                [success]
\* Case Number                           [NOT AVAILABLE]
\* User is root. Continuing...          
\* PID Check     (18925)                 [success]
\* Process State                         [not hung]
\* High CPU tracking                     [off]
\* Mem Leak tracking                     [off]
\* Config Only Capture                   [on]
\* Pstack Force (-F)                     [off]
\* Instance Name is                      [/opt/dsee62/ldapinst3]
\* Using host name                       [s-6000a-t6300i-zone8-sca11]
\* Using host id                         [84aaaac8]
\* Ldap Tools Path                       [/opt/dsee7/dsrk/bin]
\* DS Version                            [7.0 - 64 bit - zip install]
\* Backends Found                        [sun]
\* Transaction log location              [/opt/dsee62/ldapinst3/db]
\*   Solaris tar found                   [/usr/sbin/tar]
\*   gzip found                          [/bin/gzip]
\*   elfdump found                       [/usr/ccs/bin/elfdump]
\*   pstack found                        [/bin/pstack]
\*   prstat found                        [/bin/prstat]
\*   netstat found                       [/bin/netstat]
\*   iostat found                        [/bin/iostat]
\*   vmstat found                        [/bin/vmstat]
\*   mpstat found                        [/bin/mpstat]
\*   ldapmodify found                    [/opt/dsee7/dsrk/bin/ldapmodify]
\*   ldapsearch found                    [/opt/dsee7/dsrk/bin/ldapsearch]
\* found                        [/opt/dirtracer/dirtracertools/]
\* Access/Error Logging                  [left as is]
\* Audit Logging                         [left as is]
\* Iostat available.     Executing...    [success]
\* Vmstat available.     Executing...    [success]
\* Mpstat available.     Executing...    [success]
\* (pmonitor) executed            [success]
\* interval(1) x checks(1)      [ run time (1 sec.)]
\* Entering Main Performance Gathering Loop
\* Loop 0 - 090526-132724                [pstack/prstat override on]
\* Exiting Main Performance Gathering Loop
\* Done gathering stats                  [ iostats vmstats etc]
\* Access/Error Logging                  [left as is]
\* Audit Logging                         [left as is]
\* Logging level                         [left as is]
\* Gathering needed customer defined configuration
\*   ls -laR of slapd Instance           [success]
\*   nsslapd-db-home-directory           [success]
\*   nsslapd-db-logdirectory             [success]
\*   nsslapd-directory db                [success]
\*   nsslapd-directory sun               [success]
\* Gathering Other Environment Information
\*   ns-slapd version                    [success]
\*   nsds50ruv dc=sun,dc=com             [success]
\*   cn=config search                    [success]
\*   rootdse search                      [success]
\*   idsktune                            [not found]
\*   dirtracer7.0.0                      [success]
\*   /etc/release                        [success]
\*   /etc/system                         cp: cannot access /etc/system
\*   /var/adm/messages                   [success]
\*   uname -a                            [success]
\*   uptime -a                           [success]
\*   date/time                           [success]
\*   ifconfig -a                         [success]
\*   mount -p                            [success]
\*   ps -aef                             [success]
\*   pflags                              [failed]
\*   pldd                                [failed]
\*   pmap                                [failed]
\*   pfiles                              [failed]
\*   prtconf -v                          prtconf: devinfo facility not available
\*   showrev -p                          [success]
\*   swap -s                             [success]
\*   pkginfo -l                          [success]
\*   df -k                               [success]
\*   logs - access: gathering 1 files   
\*       access                          [success]
\*       access rotation                 [success]
\*   logs - error: gathering 1 files    
\*       errors                          [success]
\*       error rotation                  [success]
\*   logs - audit: gathering 1 files    
\*       audit                           [success]
\*       audit rotation                  [success]
\*   config dse.ldif's                   [success]
\*   schema                              [success]
\*   shared mem files                    [skipped]
\* [ALERT 1] Shared Mem files were not included in the dirtracer tar file and were NOT copied/saved to the databin.
\*   ds lib files cksum                  [skipped]
\*   ds lib files elfdump                [skipped]
\* Writing used dirtracer.config.last    [success]
\* Copying dirtracer.config.last         [success]
\* Writing manifest-090526-132724.log    [success]
\* Packaging files                      
\*   Preparing files - pstack            [0 files]
\*   Preparing files - prstat            [0 files]
\*   Preparing files - netstat           [success]
\*   Preparing files - ds-config-data    [success]
\*   Preparing files - ds-logs           [success]
\*   Preparing files - ds-mmap-files     [success]
\*   Preparing files - ds-srch-monitor   [success]
\*   Preparing files - ds-srch-cache     [success]
\*   Preparing files - ds-txnlogs-data   [success]
\*   Preparing files - os-info           [success]
\*   Preparing files - gcore             [0 files]
\*   Preparing files - crash             [0 files]
\*   Preparing Main file                 [success]
\* Leaving my temp files intact         

Operations Complete
1) Dirtracer capture data located in directory [ /var/tmp/dtcapture/052609-02 ]

Upload "only" this file to your cores directory at Sun

        [ dirtracer-84aaaac8-s-6000a-t6300i-zone8-sca11-090526-132724.tar.gz ]

                                Thank you.
                                Sun Software Technology Service Center (STSC)

1) You can check for updates to this script here:
        BigAdmin -

2) Release Notes and Guides located here:
        Docs -

3) GDD information located here:
        Docs -

4) Please send all Bugs and RFE's to the following address:
        Subject "dirtracer bug/rfe" -

5) Please send all other questions etc to:
        Subject "dirtracer feedback" -


ALERTS ENCOUNTERED: See /var/tmp/dtcapture/052609-02/ALERTS-090526-132718.log

1) Shared Mem files were not included in the dirtracer tar file and were NOT copied/saved to the databin.

As I mentioned two blogs ago I was preparing to start releasing DT Video (pocasts?) on the Sun Learning Exchange (SLX).  The first draft is complete for my first video titled "DirTracer Overview".  I will start production of the video later today or tomorrow and hope to release it to SLX quite soon.



Thursday May 07, 2009

DTR (Dirtracer Reporter) is coming and other news!

Hi all,

Thought I would drop in a quick blog and let you know what I've been up to.

Directory Masters Event in Somerset New Jersey Lee Trujillo talking DirTracer at the Directory Master event in Somerset NJ

As mentioned in my last blog I was asked to present Dirtracer at the DM event.  The event, hosted by Michael Melore, Wajih Ahmed and Ludovic Poitou was great!  I was able to meet people I've only talked to on the phone or emailed over the past 5 years.  I was able to meet with Sun Partners and Sun Development and Support Engineers...

I presented an overview of Dirtracer and its components as well as my latest project, DTR (Dirtracer Reporter); more on this below.  I have to admit I was very nervous.  In past lives I was a pre-sales engineer and presentations like this were easy.  Needless to say I haven't presented to a large group since joining Sun; just not something I do in my Support role.

In the end I forgot about being nervous and soon was on a roll.

It was great meting you all, I had a blast.  See Ludo's Sketches blog for more info on this event.

Dirtracer Reporter (DTR)

Over the past couple of months I have been ratifying a few data reporting tools I and others have created into one nice package called DTR.  Dirtracer Reporter is a bundle of existing Directory Server data reporting scripts rolled into a single usable interface.  DTR shines when run against Dirtracer captured data, it however can run against basic Directory Server data such as dse.ldif and log files.

I am in the final test phase and making sure a slight glitch here and there are fixed and hope to release to Big Admin in the next coming weeks.  More to come on DTR soon.

Sun Learning Exchange (SLX)

One of my other sub projects which will kick off soon is the creation of SLX videos for Dirtracer.  These will be video podcast in nature and will show how Dirtracer is used for various problem types.

 Here is a list of topics I hope to highlight.

  • Dirtracer overview
  • Process Hangs
  • High CPU
  • Replication
  • Crashes
  • Memory Leaks
  • Server Down issues
  • Basic Captures
  • Configuration only captures
  • Configurator for Dirtracer usage

These videos will supplement my blog content as well as giving you audio and visual queues of how Dirtracer looks when running for a specific problem type.

Until my next blog...ciao!



A Tech Blog about the Sun Java Systems Dirtracer Toolkit. Dirtracer and this blog written and maintained by Lee Trujillo an Oracle Senior Principal Support Engineer.


« July 2016