Can't get maintenance job LibraryInventory scheduled.

  • Follow


I'm trying to schedule an inventory but can't get it scheduled...

My setup; Windows 2008 SP2 x64, local SQL 2005 database (default), HP 
Ultrium-3 LTO tape unit (stand-alone).

I use the DPM Management Shell to schedule the job with this command;

Set-MaintenanceJobStartTime -DPMServerName <dpmservername> -MaintenanceJob 
LibraryInventory -StartTime 17:00

I receive no error on this command, but a Get-MaintenanceJobStartTime gives 
the following result;

Get-MaintenanceJobStartTime : No schedules found for the job definition. 
(ID: 951)

Any advise is much appreciated!
0
Reply Utf 1/7/2010 12:59:01 PM

Hi,

Please ensure that the library is known to DPM before setting the job time. 
Is the rescan operation successful and does DPM see the library as expected?

Also, Get-MaintenanceJobStartTime also takes DPMServerName and 
MaintenanceJob as parameters.

Thanks,
-- 
Pranay Prabhakar  [MSFT]
This posting is provided “AS IS” with no warranties, and confers no rights
"rpafort" <rpafort@discussions.microsoft.com> wrote in message 
news:139D792D-4133-4246-9674-50C752936E3B@microsoft.com...
> I'm trying to schedule an inventory but can't get it scheduled...
>
> My setup; Windows 2008 SP2 x64, local SQL 2005 database (default), HP
> Ultrium-3 LTO tape unit (stand-alone).
>
> I use the DPM Management Shell to schedule the job with this command;
>
> Set-MaintenanceJobStartTime -DPMServerName <dpmservername> -MaintenanceJob
> LibraryInventory -StartTime 17:00
>
> I receive no error on this command, but a Get-MaintenanceJobStartTime 
> gives
> the following result;
>
> Get-MaintenanceJobStartTime : No schedules found for the job definition.
> (ID: 951)
>
> Any advise is much appreciated! 

0
Reply Pranay 1/11/2010 2:15:02 PM


Hi Pranay,

Thank you for you response.

My protection groups are working, that is not the problem. The backup to 
tape job starts at 0:00 every day, so the (job related) inventory start at 
this time. For me this is to late to know if the correct tape is inserted. So 
I want to schedule a inventory at 17:00 hours, to see if the correct tape is 
inserted (at the remote location) in the tape unit.

What do you mean with the rescan? Do I need to run a rescan within the 
management shell, before I van schedule a maintenance job?

Your comment "Also, Get-MaintenanceJobStartTime also takes DPMServerName and 
MaintenanceJob as parameters.", I do not understand, sorry. As I noted in my 
first post, I use this command;

Set-MaintenanceJobStartTime -DPMServerName <dpmservername> -MaintenanceJob 
LibraryInventory -StartTime 17:00

The only difference in the actual command is the dpmservername value, which 
is my DPM server name ;-).

Thank you.

"Pranay Prabhakar [MSFT]" wrote:

> Hi,
> 
> Please ensure that the library is known to DPM before setting the job time. 
> Is the rescan operation successful and does DPM see the library as expected?
> 
> Also, Get-MaintenanceJobStartTime also takes DPMServerName and 
> MaintenanceJob as parameters.
> 
> Thanks,
> -- 
> Pranay Prabhakar  [MSFT]
> This posting is provided “AS IS” with no warranties, and confers no rights
> "rpafort" <rpafort@discussions.microsoft.com> wrote in message 
> news:139D792D-4133-4246-9674-50C752936E3B@microsoft.com...
> > I'm trying to schedule an inventory but can't get it scheduled...
> >
> > My setup; Windows 2008 SP2 x64, local SQL 2005 database (default), HP
> > Ultrium-3 LTO tape unit (stand-alone).
> >
> > I use the DPM Management Shell to schedule the job with this command;
> >
> > Set-MaintenanceJobStartTime -DPMServerName <dpmservername> -MaintenanceJob
> > LibraryInventory -StartTime 17:00
> >
> > I receive no error on this command, but a Get-MaintenanceJobStartTime 
> > gives
> > the following result;
> >
> > Get-MaintenanceJobStartTime : No schedules found for the job definition.
> > (ID: 951)
> >
> > Any advise is much appreciated! 
> 
> .
> 
0
Reply Utf 1/12/2010 9:18:01 AM

Hi,

What I meant was that Get-MaintenanceJobStartTime takes dpmservername and 
maintenancejob as 2 parameters.
 I would request you to:
1) check out the SQL Job Activity Monitor and see if any job has been 
scheduled to run everyday at 1700.
2) if there is a schedule, trigger it and see if the inventory job starts if 
you manually trigger it.
3) open up the DPM Admin Console at 17:00 and check if the scheduled job is 
triggered by DPM.

 If
    1)there is no schedule for 1700 and/or if the job does not get triggered
    2)there is a schedule for 1700 and/or the commandlet 
Get-MaintenanceJobStartTime does not work as expected
 please open a support case.

Thanks,

-- 
Pranay Prabhakar  [MSFT]
This posting is provided “AS IS” with no warranties, and confers no rights
"rpafort" <rpafort@discussions.microsoft.com> wrote in message 
news:5DAA44C7-7C6C-4A83-A8ED-25C9C1AA74D7@microsoft.com...
> Hi Pranay,
>
> Thank you for you response.
>
> My protection groups are working, that is not the problem. The backup to
> tape job starts at 0:00 every day, so the (job related) inventory start at
> this time. For me this is to late to know if the correct tape is inserted. 
> So
> I want to schedule a inventory at 17:00 hours, to see if the correct tape 
> is
> inserted (at the remote location) in the tape unit.
>
> What do you mean with the rescan? Do I need to run a rescan within the
> management shell, before I van schedule a maintenance job?
>
> Your comment "Also, Get-MaintenanceJobStartTime also takes DPMServerName 
> and
> MaintenanceJob as parameters.", I do not understand, sorry. As I noted in 
> my
> first post, I use this command;
>
> Set-MaintenanceJobStartTime -DPMServerName <dpmservername> -MaintenanceJob
> LibraryInventory -StartTime 17:00
>
> The only difference in the actual command is the dpmservername value, 
> which
> is my DPM server name ;-).
>
> Thank you.
>
> "Pranay Prabhakar [MSFT]" wrote:
>
>> Hi,
>>
>> Please ensure that the library is known to DPM before setting the job 
>> time.
>> Is the rescan operation successful and does DPM see the library as 
>> expected?
>>
>> Also, Get-MaintenanceJobStartTime also takes DPMServerName and
>> MaintenanceJob as parameters.
>>
>> Thanks,
>> -- 
>> Pranay Prabhakar  [MSFT]
>> This posting is provided “AS IS” with no warranties, and confers no 
>> rights
>> "rpafort" <rpafort@discussions.microsoft.com> wrote in message
>> news:139D792D-4133-4246-9674-50C752936E3B@microsoft.com...
>> > I'm trying to schedule an inventory but can't get it scheduled...
>> >
>> > My setup; Windows 2008 SP2 x64, local SQL 2005 database (default), HP
>> > Ultrium-3 LTO tape unit (stand-alone).
>> >
>> > I use the DPM Management Shell to schedule the job with this command;
>> >
>> > Set-MaintenanceJobStartTime -DPMServerName 
>> > <dpmservername> -MaintenanceJob
>> > LibraryInventory -StartTime 17:00
>> >
>> > I receive no error on this command, but a Get-MaintenanceJobStartTime
>> > gives
>> > the following result;
>> >
>> > Get-MaintenanceJobStartTime : No schedules found for the job 
>> > definition.
>> > (ID: 951)
>> >
>> > Any advise is much appreciated!
>>
>> .
>>Hi 

0
Reply Pranay 1/15/2010 8:20:45 AM

3 Replies
656 Views

(page loaded in 0.084 seconds)

Similiar Articles:
















7/20/2012 5:02:58 AM


Reply: