Skip to main content

Hi Team,

Is there any qcommands/scripts available to automatically raise the priority of the ndmp jobs of a filer?

We have around 470 volumes that are being backed up for a site which are mostly long running backups. The schedule kicks in on every Tuesday and Friday and our operations team has to ensure that the previous week jobs complete before the new jobs kick in. In this case, they have to manually sort the jobs from previous week and increase the priority.

Is there any way this can be automated or a workflow can be created to identify the previous weeks job for that filer and increase the priority?

 

Why dont you just set the priority at the schedule level for NDMP group?

https://documentation.commvault.com/commvault/v11_sp20/article?p=6551.htm

That will then set the priority at that job level.

You can also configure this at the client level if needed

https://documentation.commvault.com/11.24/expert/6516_job_priorities_and_priority_precedence_advanced.html

good reading here

https://documentation.commvault.com/11.24/expert/6540_job_priorities_and_priority_precedence_faq.html#when-does-higher-priority-job-pre-empt-lower-priority-job

The lower the value, the higher the priority of the client.

 


@SHASHA 

If you are still looking for a command to selectively change the priority of a backup job, you can try this below command.

 

qoperation execute -af setJobPriority.xml

 

setJobPriority.xml:

<JobManager_PerformMultiCellJobOpReq message="1" priority="166"><processinginstructioninfo><user _type_="13" userId="1"/></processinginstructioninfo><jobOpReq operationType="4"><jobs isVisible="1" jobId="100"/></jobOpReq><assoc><entity _type_="0"/></assoc></JobManager_PerformMultiCellJobOpReq>

 

Set the priority and jobId values accordingly.

 

Thanks,

Sunil


You can also use “qoperation jobcontrol” to change the Job Priority.

Example:

Change priority of a job with job ID 175 to 100:

qoperation jobcontrol -j 175 -p 100 -o changepriority

 

Ref: https://documentation.commvault.com/11.24/expert/45282_qoperation_jobcontrol.html

 

Best Regards,

Michael


This is much simpler @MichaelCapon !


Reply