Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1389

September 10th, 2009 16:00

SPCollect scheduled run

Hi,

Does anyone know if it is possible to schedule SPCollect run instead of manual run?

If it can be scheduled, how one can scheduled it to run after a monitored event is generated or rather is it possible to achieve?

Thanks in advance

4.5K Posts

September 30th, 2009 10:00

The weekly SPcollect is set to run one week after the last SPcollect finishes. If left alone, the time for this will creep forward a couple hours each week. If someone manually kicks off an SPcollect halfway through its weekly cycle, the one-week clock is reset and the next collect will be run within seven days.

This autorun feature can be disabled or enabled with the naviseccli -h -user -password spcollect -set <-auto ON| OFF> command.

glen

1 Rookie

 • 

20.4K Posts

September 10th, 2009 17:00

you can do all that with navicli, it's just a matter of scripting it and getting the latest archive.

# Open a command prompt on the Management Station.

# Type cd c:\program files\emc\navisphere cli

# Type naviseccli -h spcollect  -  This starts the SPcollect script.

# Type navicli -h managefiles -list This will list the files created by SPcollect.

# Type navicli -h managefiles -retrieve This will display the files that can be moved
from the SP to the Management Station.

# Example:

Index Size in KB Last Modified Filename

0 3 06/14/04 11:02:15 DeletedVolume.txt
1 515 05/26/04 10:44:16 ktdump-040526-144415.txt
2 532 05/26/04 11:20:33 ktdump-040526-152033.txt
3 431 05/26/04 12:37:12 ktdump-040526-163711.txt
4 415 05/26/04 16:12:46 ktdump-040526-201246.txt
5 737 06/14/04 17:35:41 ktdump-040614-213541.txt
6 727 06/17/04 14:52:34 ktdump-040617-185234.txt
7 468 06/17/04 17:08:01 ktdump-040617-210801.txt
8 0 06/17/04 17:08:50 ktdump_log.txt
9 0 06/14/04 11:26:41 naviagent_Jun-14-04_15-26-37.log
10 0 06/14/04 17:38:28 naviagent_Jun-14-04_21-38-22.log
11 0 06/17/04 17:08:01 naviagent_Jun-17-04_18-55-16.log
12 0 06/25/04 07:05:16 naviagent_Jun-17-04_21-08-46.log
13 996 05/27/04 15:25:54 SPA__APM00023000437_9c773_05-27-2004_46_data.zip
14 1029 05/27/04 15:39:33 SPA__APM00023000437_9c773_05-27-2004_26_data.zip
15 1489 06/25/04 06:47:00 SPA__APM00023000437_9c773_06-25-2004_33_data.zip
16 1205 07/01/04 14:33:52 SPA__APM00023000437_9c773_07-01-2004_35_data.zip
17 1 06/25/04 07:05:13 em_logs.zip

# Enter files to be retrieved with index separated by comma (1,2,3,4,5) OR by a range (1-3) OR enter 'all' to retrieve all file OR 'quit' to quit> 13.

This will pull the index number 13 from the corresponding SP and copy it to the c:\program files\emc\navisphere cli directory with a filename of SPA__APM00023000437_9c773_05-27-2004_46_data.zip.

Message was edited by: kelleg

37 Posts

September 29th, 2009 12:00

Thanks for the information. You are right in saying scripting the steps and schedule it from the attached host.

I was looking for a possibility to schedule the SPCollect run from within FLARE so that whenever there is any significant ( warning/critical etc ) event happens, the SPCollect would run and maybe sent out as a part of Call-home?

1 Rookie

 • 

20.4K Posts

September 29th, 2009 12:00

i think the only time the box calls home is for critical events. In my experience, EMC support personal will dial-in/ESRS into management station and collect SPcollects themselves. Have you had different experience ?

37 Posts

September 29th, 2009 14:00

No different experience. But I thought if that is something feasible.
I was wondering if anything can be done in monitor template to make it happen.

4.5K Posts

September 29th, 2009 14:00

In the latest versions on flare, starting around release 24, spcollects will automatically run every week. I believe it keeps about 2 months of logs

glen

37 Posts

September 30th, 2009 09:00

That's good to know. Thank Glen!

I guess the spcollect run is pre-defined or is it possible to change the schedule?

Do you know if release 24 or later can send out the spcollect either automatically or as a part of critical events monitoring?

I am trying to find the release notes of 24 and later.
No Events found!

Top