arun2008

updated

18 years ago

A

arun2008

4 Posts

0

5257

April 1st, 2008 00:00

Symapi log related questions

Exactly what is being logged into the symapi logs ? Is there a way to see what symcli commands has been executed at any point in time?
  • Davidy8s

    154 Posts

    2790

    0

    Posted April 2nd, 2008 06:00

    SYMCLI_DEBUG=1 is medium detail. 2 is high. There are more options available, however they require EMC intervention.

    HTH!
    Dave Yates
    Host SW Moderator
  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2782

    0

    Posted April 1st, 2008 06:00

    Moderators ..please move arun's post to Solutions Enabler section.

    Thanks
  • julieg1

    2 Intern

    305 Posts

    2782

    0

    Posted April 1st, 2008 12:00

    Thanks Dynamox - thread moved.
    Julie
  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2782

    0

    Posted April 1st, 2008 13:00

    pretty much everything, SRDF/timefinder/VCDMB/device manipulation. I think by the default the log is set to keep 5 days worth of log info but you can bump that up to higher number ..as long as you have plenty of disk space where the log resides. Modify

    SYMAPI_LOGFILE_RETENTION = 5

    variable in symcli config file.
  • arun2008

    4 Posts

    2790

    0

    Posted April 1st, 2008 20:00

    Agreed.So to be precise,I wouldnt be able to see the query commands run against the symapi_db.bin like "symcfg list","symmaskdb list assignment". So, I guess I could see only commands that dynamically contacts the Symmetrix to perform a change. In fact I can put it this way - anything that uses the symcli api will be logged in here, and those are nothing but the commands which will inturn be converted into SCSI commands by the symcli api ( library ). Am I right ?

    Message was edited by:
    arun2008
  • MaximUnited

    111 Posts

    2790

    0

    Posted April 2nd, 2008 00:00

    You can also set the debug mode to have a verbose/detailed info in the symapi log.
    I can't remember the exact variable to use. I think it's something like SYMCLI_DEBUG=-1. something like that.
  • RRR

    6 Operator

    5739 Posts

    1594

    0

    Posted April 2nd, 2008 00:00

    I don't remember me setting any retention period and the logs don't take up too much space. And if you want to keep them after all: zip them !
  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2790

    0

    Posted April 2nd, 2008 05:00

    i just went through my logs and from what i can see the only things that get logged are actions that change array/device/masking parameters ..any kind of queries are not logged.
  • MaximUnited

    111 Posts

    2790

    1

    Posted April 2nd, 2008 07:00

    I stated SYMCLI_DEBUG=-1 (minus 1). As far as I know, it's the highest detail level.
    There's something like SYMCLI_DEBUG_FILENAME variable so you can log the high detail into a different file.
  • rawstorage

    4 Apprentice

    423 Posts

    1666

    1

    Posted April 2nd, 2008 08:00

    setting symapi_debug=-1 will typically only be done at the request of EMC support to provide additional information on a failing operation for EMC engineering to diagnose. This is not something a customer will want to do unless support have explicitly asked for this information.