A job is a set of configuration commands that you can create and schedule on one or more managed instances. For NetScaler SD-WAN WAN optimization (WO) instances, you can use the following options to create jobs:
- Configuration Template: You can use the configuration editor to type in CLI commands, save the configuration as a template, and use it to configure jobs.
- Inbuilt Template: You can choose from a list of configuration templates. These templates provide the syntaxes of the CLI commands and allow you to specify values for the variables. The inbuilt templates are listed, with their descriptions in the table below.
- File: You can upload a configuration file from your local machine and create jobs.
Once a job is created, you can choose to execute the job immediately or schedule the job to be executed later. You can also set the execution frequency
To create a configuration job for NetScaler SD-WAN WO instances:
- In NetScaler MAS, navigate to Networks > Configuration Jobs, and then click Create Job.
- On the Create Job page, under the Select Configuration tab, specify the Job Name.
- In the Instance Type field, select NetScaler SD-WAN WO.
- In the Configuration Source drop-down list, select an option to create a job.
5. You can review all the variables that you have defined while creating or editing a configuration job in a single consolidated view.
6. Do one of the following to view all the variables in a single consolidated view:
- While creating a configuration job, navigate to Networks > Configuration Jobs, select Create Job. On the Create Job page, you can review all the variables that you have added while creating the configuration job.
- While editing a configuration job, navigate to Network > Configuration Jobs, select the Job Name and click Edit. On the Configure Job page, you can review all the variables that were added while creating the configuration job.
7. You can then click on the Preview Variables tab to preview the variables in a single consolidated view that you have defined while creating or editing a configuration job.
8. A new pop-up window appears and displays all the parameters of variables such as Name, Display Name, Type, and default value in a tabular format. You can also edit and modify these parameters. Click the Done button after you have edited or modified any of the parameters.
9. Click Next, and then on the Select Instances tab, click Add Instances. Select the instances on which you want to run the job, and then click OK.
10. Click Next, and then on the Specify Variable Values tab, select one of the following options to specify variables for your instances:
* Upload input file for variables values: Click Download Input Key File to download an input file. In the input file, enter values for the variables that you have defined in your commands, and then upload the file to the NetScaler MAS server.
* Common variable values for all instances: Enter values for the variables. The variables vary depending on the selected template.
The input files containing the variables values are persisted (with the same file name) in the configuration jobs. You can view and edit these input files that you have used and uploaded earlier while creating or editing the configuration jobs.
To view the executed configuration jobs while creating a configuration job, navigate to Network > Configuration Jobs, and click Create Job. In the Create Job page. On the Specify Variable Values tab, select the Common Variable Values for all Instances option to view the uploaded files. To edit the input files, download the input file and then edit and upload the files (keeping the same file name).
To view the already executed configuration jobs while editing a configuration job, navigate to Network > Configuration Jobs, select the Job Name and click Edit. In the Configure Job page, on the Specify Variable Values tab, select the Common Variable Values for all Instances option to view the uploaded files. To edit the input files, download the input file and then edit and upload the files (keeping the same file name)
11. Click Next, on the Job Preview tab, you can evaluate and verify the commands to be executed as a job.
12. Click Next, on the Execute tab, set the following conditions:
* On Command Failure: What to do if a command fails: ignore the errors and continue the job, or stop further execution of the job. Choose an action from the drop-down list.
* Execution Mode: Execute the job immediately, or schedule execution for a later time. If you schedule execution for a later time, you must specify the execution frequency settings for the job. Choose the schedule you want the job to follow from the Execution Frequency drop-down list.
13. Under Execution Settings, select to execute the job sequentially (one after the other), or in parallel (at the same time).
14. To have a job execution report emailed to a list of recipients, select the Email checkbox in the Receive Execution Report Through section. From the drop-down list that appears, choose an email distribution list. To create an email distribution list, click the + icon and enter the email addresses of the recipients, and email server details.
15. Click Finish.