Executing a job against specific targets
When executing a job, you can decide that you want the job to execute against a group of servers that differ from the targets that were specified for the job when it was defined. Performing this procedure does not modify the existing definition of a job.
You cannot use this capability to execute a Batch Job if the Batch Job is set up so it uses target servers defined in individual jobs. Executing against specific targets is not relevant and cannot be performed for the following types of jobs: Atrium Import Job, Provision Job, UCS Provision Job, Upgrade Model Objects Job, Virtual Guest Job, and Virtual Infrastructure Discovery Job.
Advanced Deploy Jobs are supported for executing against specific targets when they comply with the following requirements:
- The Reset job on failure option has been selected for the job on the Job Options panel or tab (as described in Specifying job options), so that any failed job runs are automatically reset, to enable re-execution.
- The last job run is not in incomplete state.
If necessary, you can manually reset the job, as described in Performing actions on a job.
Before you begin
Ensure that you have, at minimum, Read, Execute, and ModifyTargets authorizations for the job. For example, to execute an Audit Job, you must have, at minimum, AuditJob.Read, AuditJob.Execute, and AuditJob.ModifyTargets.
To execute a job against specific targets
- Find the job by doing one of the following:
- Using the Jobs folder, navigate to a job.
- Using the Servers folder, right-click a server and select Browse. Then select the Audit Results or Snapshot Results tab to navigate to a job.
- Right-click the job and select Execute Against from the pop-up menu. Alternatively, drag the job and drop it on a target server, or drag a target server and drop it on the job.
- In the Execute Job Now window, use the following steps to select target servers. If you dragged and dropped a job or target server, your target server already appears in the list of selected targets, and you can select additionaltarget servers.
- From Available Servers, specify the operating system of the servers you want to select. To display servers running any operating system, select All.
- Select servers from a tree or sortable list by doing one of the following:
- Click By Group at the bottom of the window. The left panel displays servers in a hierarchical list arranged by server group. Choose servers by doing one of the following:
- Click a server group to select all servers within the group.
- Click one or more servers, if necessary expanding server groups.
- Click By Name at the bottom of the window. The left panel lists servers by name in a Group Explorer view. Sort servers in ascending or descending order by clicking on any column header. Click one or more servers. If you select a server group, the job runs against the servers assigned to that group at the time of execution. The servers assigned to smart groups can change dynamically based on their server properties. You can modify static server groups manually by adding or removing servers.
- Click the right arrow to move your selections to the right panel. To remove a server from the list on the right, select it and click the left arrow. To remove all servers from the list on the right, click the double left arrow.
- Click OK to execute the job immediately.