Jithu1

updated

14 years ago

J

Jithu1

4 Posts

0

1065

October 12th, 2012 06:00

how to find the time frame for LUNs added to a server

Hi all,

is there any way we can find the time frame when a LUN or group of LUNs are added to a storage group or mapped and masked to a server?

thanks

  • mdani1

    56 Posts

    564

    0

    Posted October 12th, 2012 07:00

    All the config change sessions will be recorded in the audit logs. This means whatever your perform with symconfigure comand you will see. If your looking for any particular devices you have the argument -symdevrange .

    Regards,

    Mrinal Dani

  • mdani1

    56 Posts

    564

    0

    Posted October 12th, 2012 06:00

    Hi jithu,

    You can check the audit log messages on your symcli box by symaudit .There are many argumenst you can pass with this comand to get the details.Try and check if your getting what your looking for.

    symaudit -sid 30 list -start_date 10/10/2012  -v | egrep 'Time|Text'

        Time                : 10/10/12 00:05:00

        Text                : Scheduler task added: ScriptTask prvproc8 NoProcDoneUniqueProcEntry(SyncSplitErase NOT_SIMUL Wed_10_Oct_2012_07_09_53_265)

        Text                : map dev 0503 to dir 10E:0  lun=060;

        Time                : 10/10/12 15:46:30

        Text                : map dev 0504 to dir 10E:0  lun=070;

        Time                : 10/10/12 15:46:30

    Regards,

    Mrinal Dani

  • Jithu1

    4 Posts

    564

    0

    Posted October 12th, 2012 07:00

    can give an arguement with wwn....?

  • mdani1

    56 Posts

    564

    0

    Posted October 12th, 2012 07:00

    I dont think you have argument with wwn. What exactly your trying to find?? If you need to know when the lun was mapped it will be in audit logs .

        symaudit list -sid [-text | -v]

            [-function_class [-exclude]

              [, , ...] ]

            [-action_code [-exclude]

              [, , ...] ]

            [-host ]

            [-vendor_id ]

            [-application_id

              [, , ...] ]

            [-activity_id ]

            [-symdev_range : ]

            [-start_date ] [-end_date ]

            [-record_num ]

            [-n ]

            [-last_n ]

            [-user ]