Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4929

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?

154 Posts

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

1 Rookie

 • 

20.4K Posts

April 1st, 2008 06:00

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

Thanks

305 Posts

April 1st, 2008 12:00

Thanks Dynamox - thread moved.
Julie

1 Rookie

 • 

20.4K Posts

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.

4 Posts

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

111 Posts

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.

1 Rookie

 • 

5.7K Posts

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 !

1 Rookie

 • 

20.4K Posts

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.

111 Posts

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.

419 Posts

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.

4 Posts

April 4th, 2008 03:00

accidently marked as answered

2.8K Posts

April 4th, 2008 03:00

Example of "symaudit" output ...

star2_bc/root> symaudit -sid 590 -host pdd2_dr list

A U D I T L O G D A T A

Symmetrix ID : 000xxxx00590

Record Function Action
Number Date Time Application Host Class Code
------ -------- -------- ---------------- ------------ -------- ---------

17098848 03/06/06 00:10:21 SYMCLONE pdd2_dr Clone Recreate
17098850 03/06/06 00:10:21 SYMCLONE pdd2_dr Clone Recreate
17098893 03/06/06 00:10:38 SYMCLONE pdd2_dr Clone Recreate
17099040 03/06/06 00:11:35 SYMCLONE pdd2_dr Clone Activate
17099042 03/06/06 00:11:36 SYMCLONE pdd2_dr Clone Activate
17099043 03/06/06 00:11:41 SYMCLONE pdd2_dr Clone Activate
...

Message was edited by:
Stefano Del Corno

2.8K Posts

April 4th, 2008 03:00

I think that the best answer to your question is "symaudit" ...
You can use symaudit to have a log of what commands have been issued from what host and at what time.

The storage keeps a circular log of fixed lenght. Every command issued against the storage is logged. The more commands you issue, the shorter they'll stay in the log. On some of our boxes I can still find traces of the very first commands, right after the box was powered up. On some other, the log covers only 2 to 3 months ..
No Events found!

Top