A job is an action that is executed on any
object that is managed by Junos Space, such as a device, service,
or user.
From the Job Management inventory page, you can view the objects
on which a job was performed or is scheduled to be performed. The Parameters column on this page provides you with this information.
However, for jobs that are migrated from releases prior to Junos Space
13.3R1, this column does not display any information.
Note: You can schedule certain types of jobs to run on devices that
have been selected by using tags. The Parameters column on the Job
Management page provides you with information about the target list
of devices on which these jobs are scheduled to run. However, when
the jobs are run, you may find that the devices on which they are
run are different from the devices on which they were scheduled to
run. This happens because the devices associated with a tag are resolved
dynamically at runtime. If the devices associated with a tag have
changed, then these jobs are executed on the devices that are associated
with the tag at runtime. The type of jobs where you may see this behavior
are:
Staging scripts on devices
Executing scripts on devices
Staging device images
Deploying device images
Staging script bundles on devices
Executing script bundles on devices
Running an operation
Backing up device configuration files
To view objects on which a job is executed:
- On the Junos Space Platform UI, select Jobs > Job Management.
The Job Management page displays the jobs in tabular view.
- Select a job.
The Parameters column for the selected job provides
information about objects on which the job is performed.
For example, when you select a Stage Scripts job, this column
displays the device name and the script name associated with this
job if you staged a single script on a single device. If you staged
multiple scripts on multiple devices, then this column displays the
count of the scripts and the number of devices on which these scripts
were staged.
- Click the link in the Parameters column to
view information about the objects.
The Job Target dialog box appears, displaying the parameter
types on separate tabs.
- Click the tab that you are interested in to view the objects.
If you staged multiple scripts on multiple devices, click the Device(s) tab to view the list of devices on which the scripts
were staged. Click the Script(s) tab to view the scripts
that were staged on these devices.
Note: It is not always necessary that the list of devices be
displayed on the Device(s) tab. Script and image jobs may display
the tag names or CSV filenames instead of devices. If you used a CSV
file for staging or deploying an image, the filename of the CSV file
is displayed instead of the devices on which the image is staged or
deployed. This is true in the case of tag names as well.
When
you use tags to select the devices on which a job should be executed,
you can select the Tag(s) tab to view the list of target devices on
which the job is expected to be executed at the scheduled time.
For the following jobs, the Options tab displays options that
you may have specified while triggering these jobs:
Deploying device images
Staging device images
Removing images from a staged device
Staging scripts on devices
Removing scripts from devices
- Click OK in the Job Target dialog box to return
to the Job Management page.
Table 1: Jobs that Support Viewing Objects on Which a Job is
ExecutedWorkspace
|
Jobs
|
Device Management
|
Upload keys to devices.
|
Modify authentication.
|
Discover devices.
|
Resynchronize devices.
|
CLI Configlets
|
Apply CLI Configlet.
|
Images and Scripts
|
Images
|
Scripts:
Stage a script on devices.
Verify a script on devices.
Disable scripts on devices.
Enable scripts on devices.
Execute a script on devices.
Remove a script from devices.
|
Operations:
|
Script bundles:
Stage a script bundle on devices.
Execute a script bundle on devices.
Disable a script bundle on devices.
Enable a script bundle on devices.
|