Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

A job schedules a script to run against selected devices. You schedule jobs to run once or on a regular basis, at times  you specify. Create and manage scheduled jobs at Config Management > Job Management > Scheduled Jobs tab.

To run a script as a job immediately, see the section Running Scripts Immediately later in this topic.

You can import existing scripts using the Import icon on the Scripts tab. When you do so, ensure that your script uses the UTF-8 encoding.

Different account roles allow separately authoring, approving, scheduling, or executing jobs (i.e. scripts) of the specific risk level. For more information, see Understanding Users and Roles.

To create and schedule a new job, perform the following:

  1. At the top right of the page, click New. The Fill Out Job Details Wizard opens.
  2. Enter a Job Name.
    Click the Approved option if your user account allows it. (A job cannot be scheduled until approved. Another admin account may need to approve the scheduled job.)
  3. Type a Job Description of the job.

Note

Bulk push mode is supported only on Juniper and Cisco devices. Cisco downloads via TFTP, and Juniper configs download via the HTTP protocol.

4. Choose a job script or template from Scripts or Templates (selectable by tabs). If required by the script or template, enter data and/or select options. Any variables defined in the script will appear in a list to the right.

5. Choose the Push Mode option: Line by Line, Bulk, or Text File. This determines the method by which the config file is written to devices that are part of the job.

For Push Mode, choosing Line by Line sets the template config sequence to be pushed to the device involved in the Job, one line at a time. Pushed in Bulk, the entire configuration is staged in NetMRI and then downloaded to the device.

If any non-Cisco/Juniper device is part of the device group selected for the job, the job will revert to Line by Line mode.
After choosing a script or template from their respective lists, you may see one or more input values that are required  as a part of the job. Templates may furnish default values, or you can enter desired values in the defined fields.

6. When finished, click Next.

If custom fields are defined for jobs, you will see the Fill out Custom Information screen. If none are defined, proceed to Step 7 below.

7. Fill in any other data associated with the job.

8. Click Next. The Select Device Groups or Devices page appears.

Click device groups and/or devices and click the –> icon to add the group to the right pane of the page.

9. Click Next. The Schedule when Job should run page appears.

Specify the schedule for the job, including the Recurrence Pattern (Once, Hourly, Daily, Weekly, or Monthly), and the Execution Time (specify in half-hour in crements). The selected Recurrence Pattern determines additional schedule settings based on the selection.

10. Click Next. The Enter User CLI Credentials page appears, for cases when user account CLI credentials are required for the job. If not, proceed to Step 10.

Choose Use the requester's stored CLI credentials, or Use the approver's stored CLI credentials.

–or–
Choose Use these CLI credentials and enter and verify the Username and Password values and the equipment-associated Enable Password required for the account.

11. Click Next.

In the Review and save screen, review the job specifications. If changes are needed, click the < Previous button to return to an earlier screen.

12. Click Save.

Once a job is listed in the table, you can check its Status, Last Run, and Result in the Job History tab.

Note

Creating a job produces a new instance of the specified script or template, and inserts into that instance a Script-Schedule line containing schedule details.

To create a copy of the scheduled job, perform the following:

  1. In the Actions column, click the icon and choose Copy from the menu.
  2. In the Name dialog, enter a name for the copy, then click OK.

To edit an existing job, perform the following:

  1. In the Actions column, click the icon and choose Edit from the menu. The Job Wizard opens to the Summary of Job screen.
  2. Click Edit. The Fill out Job Details screen appears.
  3. Edit the job as needed. Use the Next and Previous buttons to navigate the wizard.
  4. Navigate to the Review and Save screen, and then click Save .

To delete a job, click Delete, then confirm the deletion.

  • No labels