- Print
- PDF
To apply configuration jobs to devices, you must create a job executor. Then you run the executor and view the results of the execution. For the procedures, see:
- "Viewing List of Job Executors"
- "Starting a Job Executor"
- "Viewing the Status of a Job Executor"
Here are some points to note about job executors:
- A job executor can include several configuration jobs.
- You can specify the target devices in two ways: by using a device reference dataset or by dragging devices into a target devices list. For more information, see "Selecting Devices".
- You can schedule a job executor to run once or periodically. For more information, see "Scheduling Execution of Configuration Jobs and Flows".
Viewing List of Job Executors
Job executors are set up and managed in the Commission ▶ Job Executors page, which displays a list of the configuration job executors that have already been defined.
To view existing configuration job executors and their status
- Select Commission ▶ Job Executors.
The Job Executors page is displayed with a list of all existing job executors.
The following table explains the information displayed in the list of job executors.
Job Executor Configuration (Commission ▶ Job Executors)
Parameter | Description |
---|---|
Executor name | The name of the job executor. |
Number of devices | The number of devices targeted by the job. |
Success | The number of devices on which execution was completed successfully. |
Failures | The number of devices on which execution failed. |
Start time | The date and time when execution started. |
End time | The date and time when execution finished. |
Status | The status of the executor. Possible values:
|
Export Status | The status of the export. Possible values:
|
Force delete | This checkbox does not currently have any effect. If you want to delete an executor, select it in the list and click the button. To delete several executors at once, Ctrl-click to select the executors and click the button. |
Adding a Job Executor
You set up job executors in the Job executors tab by clicking button to add a new executor. The window includes three tabs:
- Jobs - In this tab, you select one or more jobs to be executed.
- Device selection - In this tab, you select the target devices on which the job(s) will be executed.
- Status - In this tab, you start the executor and view the status of the jobs.
You can select jobs and devices and run the executor immediately. Alternatively, you can save the executor and run it later. You can also perform a dry run to see the commands that will be executed when you start the executor.
To add a job executor
Access the Commission ▶ Job Executors window.
Click the button to add a new executor.
The Job execution configuration window is displayed. The Jobs tab is on top.
Enter an Executor name.
Enter a value in the Number of failures field.
Note: Skylight orchestrator ensures that the job has completed the current batch of devices before terminating execution.Drag the jobs that you want to execute from the left pane to the right pane in the Jobs tab.
If you do not want to select target devices immediately, click Apply then Close to close the window. The new executor is added to the list.
Select the target devices using one of these two methods:
- If all the selected configuration jobs use ME reference data sets (predefined list of devices) and you want to use the data sets, check the Use device reference checkbox.
For detailed information about the results you can get using data sets, see "Method A: Use Device reference data sets ".
- Drag the devices from the left pane to the right pane (Target devices).
For more information about this method, see Method B: Drag devices into the target device list.
- If all the selected configuration jobs use ME reference data sets (predefined list of devices) and you want to use the data sets, check the Use device reference checkbox.
Click Apply.
To execute the configuration job immediately, select the Status tab and click the Start executor button.
Click Close to close the Job Execution Configuration window.
Click the Refresh button to refresh the user interface.
Job Executor Configuration (Commission ▶ Job Executors ▶ )
Parameter | Description |
---|---|
Executor name | Name of the executor. |
Stop on failure | Check this box to stop execution after the number of failures defined in the Number of failures field. |
Number of failures | The executor will stop trying to execute after this number of failures. |
Jobs tab
Parameter | Description |
---|---|
Job name | The job configuration to be executed. |
Device Selection tab
Parameter | Description |
---|---|
Use device reference | If all the selected configuration jobs were defined with ME reference datasets (lists of devices and/or sensor: modules), you can check this checkbox to apply the jobs to the devices in their respective lists. See "Method A: Use Device reference data sets ". |
Device selection, Elements tab
Parameter | Description |
---|---|
Name | Identifiers for the devices available for selection. Drag devices into the Target devices list. For more information, see "Method B: Drag devices into the Target device list". |
Label | User-defined label that will allow users to identify and group modules. |
Serial number | The serial number of the device. |
IP | The IP address of the device. |
MAC address | The MAC address of the device. |
Version | The current firmware version that runs the device. |
Model | The model of the device. |
Target devices | The list of devices selected for configuring |
Device selection, Modules and SFPs tab
Parameter | Description |
---|---|
Name | Identifiers for the devices available for selection. This value is read from the Skylight sensor: module that controls the Skylight sensor: control. Drag devices into the Target devices list. For more information, see "Method B: Drag devices into the Target device list". |
Label | User-defined label that will allow users to identify and group Skylight sensor: control. |
IP | The IP address of the Skylight sensor: module. This value is read from the Skylight sensor: module that controls the Skylight sensor: control. |
Firmware suite | The version of the firmware installed on the Skylight sensor: module. |
Model | The model of the Skylight sensor: module. This value is read from the Skylight sensor: module that controls the Skylight sensor: control. |
Controller label | The label of the Skylight sensor: control that controls this module. This is the label assigned to the controller in Skylight orchestrator. This is a link that you can click to access the user interface for the controller of the Skylight sensor: control. |
Status tab
Parameter | Description |
---|---|
Done | The number of times that jobs were executed on devices. Format: x of y |
Successful | The number of times that jobs were successfully executed on devices. |
Failed | The number of times that jobs failed to be executed on devices. |
Stopped | The number of times that jobs were not performed because of a Stop Job. Jobs can be stopped by a user selecting the Stop button ( above the list of Executors) or if the Stop on failure checkbox has been checked. |
Execution Log | For the selected target device, displays a detailed log pertaining to the job execution status:
|
Parameter | Description |
---|---|
Name | Host name of the device. Read from the device. |
Label | Label assigned to the device in Skylight orchestrator. Can be edited by selecting the device in the Devices ▶ Managed page. |
Serial | Serial number of the device. |
MAC address | The MAC address of the device. |
Selecting Devices
After you have selected one or more configuration jobs for your job executor, you must select the devices to be configured. You can use either of two methods: using ME reference datasets or dragging devices into the target list.
This section covers some of the more complex ways you can select devices in a job executor.
Method A: Use device reference data sets
A device reference data set is a predefined list of devices. For more information, see "About Datasets and CLI Sets".
To use this method:
All configuration jobs selected in the executor must have been defined using a device reference dataset (ME reference data set enabled) as the list of target devices or sensor: modules.
The configuration job executor must also be set up to Use device reference datasets (in the Device selection tab).
Each configuration job will be executed on the devices or sensor: modules in the device reference dataset.
Using device reference datasets is very flexible because it allows a single executor to run different configuration jobs on different Skylight devices or sensor: modules.
Method B: Drag devices into the target device list
You use this method in the Device selection tab when you are creating your executor. You choose between the list of Skylight devices or sensor: modules. Then you drag devices from the left pane to the right pane. If you include both Skylight sensor: control and sensor: modules in the device list, the steps for the Skylight sensor: control will always be executed before steps that are associated to sensor: modules.
- This method is typically used for configuration jobs that were not defined with a device reference dataset. The jobs will be executed on all Skylight devices or sensor: modules that are dragged into the Target devices list.
- If any configuration jobs (included in the executor) were defined with a device reference dataset, each job will only be executed on Skylight devices or sensor: modules that are both in the job's device reference list and in the Target devices list.
About Configuration Job Step Execution
While Method A or Method B may be used to assign devices to an executor, it should be noted that only a subset of the configuration steps may be applied to each target device. For a dataset-based configuration job, specific steps of the configuration job may be skipped if they have no matching dataset for that target device.
For example, for a configuration job with this configuration:
- Device reference dataset that includes Devices A and B.
- SNMP step enabled in dataset mode with only Device A defined in the SNMP dataset.
- Backup step enabled in non-dataset mode.
- DNS step enabled in dataset mode with only Device B defined in the DNS dataset.
If creating an executor that uses this configuration job with the Use device reference option enabled, then the following devices will be targeted:
- Device A
- Device B
At runtime, the following steps will be executed by the executor:
- Device A: SNMP step executed, backup step executed, DNS step skipped.
- Device B: SNMP step skipped, backup step executed, DNS step executed.
This provides a powerful means for allowing specific steps to be applied only to specific devices.
Starting a Job Executor
To start a job executor
Access the page Commission ▶ Job Executors.
Select the executor that you want to run.
If you want to view the commands that will be executed when you run the executor:
- Double-click the executor in the list.
- Select the Dry Run button in the Status tab.
Start the job by selecting the button (above the list).
Refresh the list by selecting the Refresh button to refresh the user interface.
Note: 50 NE results can be displayed when Skylight orchestrator executes a Dry Run of a job executor.
Viewing the Status of a Job Executor
You can quickly view the status of job executors in the Commission ▶ Job Executors page.
You can also view a detailed status of a particular job as explained here.
To view a detailed status of a job executor
Access the Commission ▶ Job Executors page.
Double-click the name of the executor whose status you want to view. The Job execution configuration dialog is displayed. The Status tab is displayed on top.
Check if the values in the Successful and Done fields match.
Stopping a Job Executor
To stop a job that is currently running
Access the Commission ▶ Job Executor page.
Select the job that you want to stop in the list.
Stop the job by clicking the button (above the list).
Refresh the list by clicking the button (lower right corner of the page).
Exporting the Results of a Job Executor
You can export the results of a job executor to a CSV file. You can do this immediately after running the executor or later.
To export the results displayed in the Job Executors page
Access the Commission ▶ Job Executors page.
Select one or more executors (whose results you want to export) in the list.
Export the results by clicking the button (at the top right of page).
The file is automatically downloaded.Open the CSV file and save in an appropriate location.
To view the detailed status of the export and export the results of jobs
Access the Commission ▶ Job Executors page.
Double-click the executor (whose results you want to export) in the list.
The Job execution configuration dialog is displayed.View the information in the Status tab.
Select one or more jobs whose status you want to export.
Export the results by clicking the button (above the list of jobs executed).
The file is automatically downloaded.Open the CSV file and save in an appropriate location.
Deleting a Job Executor
To delete a job executor
Access the Commission ▶ Job Executor page.
Select one or more jobs that you want to delete from the list.
Remove the executor from the list by clicking the button (above the list).
In the confirmation dialog, click Ok to confirm that you want to remove the executor.
© 2024 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks