Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Management Files

    This section lists all the files that perform various management functions in the AI-Scripts package.

    Event Policy Management

    Table 1 lists the files that manage event policies.

    Table 1: Files that Manage Event Policies

    Directory Location Under /var/db/scripts

    File Name

    Description

    op, commit

    ais_policy_create.slax

    Creates the master policy events list in conjunction with the ais_ev_pol_update.slax file

    op

    ais_policy_create.sh

    Creates the master policy events list in conjunction with the ais_ev_pol_update.slax file

    op

    ais_ev_pol_update.slax

    Creates the master policy events list

    op

    ais-policy-helper.slax

    Helper template for event policy creation

    commit

    Master-policy-header.slax

    Required list of active event policies

    commit

    Master-policy-header-restricted.slax

    For future use; list of active event policies, for use with Restricted User mode

    commit

    User-policy-header.slax

    Header used to create the list of active user-defined event policies

    op

    ais_crontab.sh

    Enters and updates scheduled events for clean up and Product Health Data Collection

    event, commit

    Master-policy-events.slax

    Concatenated event policies that are enabled by default; contains no code

    event, commit

    User-policy-events.slax

    For future use; concatenated event policies enabled by a user; contains no code

    event

    phdc-helper.slax

    Templates for command execution for Product Health Data Collection

    AI-Scripts Configuration Management

    Table 2 lists the files used for managing AI-Scripts configuration.

    Table 2: Files to Manage AI-Scripts Configuration

    Directory Location Under /var/db/scripts

    File Name

    Description

    op, commit

    ais-param-set.slax

    Used by Service Now to configure AI-Scripts settings

    op

    ais-param-setr.slax

    For future use by Service Now to configure AI-Scripts settings as a Restricted User

    Cleanup and Dampening Management

    Table 3 lists the scripts that clean up orphaned files and dampen events while a Routing Engine is rebooted.

    Table 3: Files to Clean Up Orphaned Files and Dampen Events When a Routing Engine is Rebooted

    Directory Location Under /var/db/scripts

    File Name

    Description

    op, commit

    ais_change_perm.slax

    Deletes dampened JMBs (the file name is from a legacy function)

    op

    ais_cleanfiles.sh

    Scheduled (cron) process to delete orphaned files

    op

    ais_cleanfiles.slax

    Scheduled (cron) process to delete orphaned files

    op

    ais_sent_clean.sh

    Scheduled (cron) process to delete orphaned files

    op

    ais_ver_chk.slax

    As part of the hourly cleanup, compares AI-Scripts versions on master and backup Routing Engines

    Maintenance Mode Management

    Table 4 lists the files that suspend JMB generation when the Routing Engine is under maintenance.

    Table 4: Files to Suspend JMB Generation When Routing Engine is Under Maintenance

    Directory Location Under /var/db/scripts

    File Name

    Description

    op, commit

    stop-ais-now.slax

    Used by Service Now to enter Maintenance Mode

    op

    stop-ais-nowr.slax

    For future use by Service Now to enter Maintenance Mode as a Restricted User

    Uninstallation

    Table 5 lists the files that are executed to uninstall AI-Scripts from a Routing Engine.

    Table 5: Files Executed to Uninstall AI-Scripts from a Routing Engine

    Directory Location Under /var/db/scripts

    File Name

    Description

    op, commit

    remove-jais.slax

    Used by Service Now to uninstall and deactivate AI-Scripts on a device

    op

    ais_rem.sh

    Used by Service Now to uninstall and deactivate AI-Scripts on a device

    op, commit

    ais_remove.sh

    Used by Service Now to uninstall and deactivate AI-Scripts on a device

    op

    remove-jaisr.slax

    For future use by Service Now to uninstall and deactivate AI-Scripts as a Restricted User

    commit

    blank-event.slax

    Empty file to allow removing AI-Scripts without requiring a configuration change

    commit

    blank-op.slax

    Empty file to allow removing AI-Scripts without requiring a configuration change

    Other

    Table 6 lists files that perform miscellaneous management functions.

    Table 6: Files that Perform Miscellaneous Management Functions

    Directory Location Under /var/db/scripts

    File Name

    Description

    op, commit

    ais_reboot_dampen.sh

    Executes after a Routing Engine reboot to dampen spurious event creation during reboot

    It also restarts required background processes that wait for an event to be triggered.

    op

    ais_srxc_patch.slax

    Used for installing AI-Scripts on an SRX cluster

    Modified: 2017-02-01