request system scripts add (Chassis Cluster)
Syntax
request system scripts add package-name <no-copy | unlink> <master> <backup>
Description
CLI command to install AI-Script install packages on SRX Series Firewalls in a chassis cluster.
Options
package-name | Specify AI-Script install package name. |
no-copy | (Optional) Do not save a copy of the AI script package file. |
unlink | (Optional) Remove the AI script package after successful installation. |
master | (Optional) Install AI script packages on the primary node. |
backup | (Optional) Install AI script packages on the secondary node. |
Additional Information
This command eliminates the AI script installation on both primary node and secondary node separately.
Required Privilege Level
maintenance
Sample Output
request system scripts add package-name
user@host> request system scripts add jais-5.0R1.0-signed.tgz master [: -a: unexpected operator grep: /etc/db/pkg/jais/+COMMENT: No such file or directory Installing package '/var/tmp/jais-5.0R4.0-signed.tgz' ... Verified jais-5.0R4.0.tgz signed by PackageProductionRSA_2016 Adding jais... Available space: 798414 require: 1814 Installing AI-Scripts version: 5.0R4 Saving package file in /var/db/scripts/commit/jais-5.0R4.0-signed.tgz ... NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-install ln: ///etc/rc.d/ais: Read-only file system Model: srx5600 Model: srx5600 Linking in Junos ES manifest file. Creating srx5800/srx5600 trend data file. Creating SRX intelligence attachments file. Creating SRX events attachments file. Creating AI-Scripts FIFO Starting AI-Scripts FIFO handler 77834: old priority 0, new priority 20 77842: old priority 0, new priority 20 RSI parameters are now being set BIOS validation parameter is now being set BIOS interval parameter is now being set JMB cleanup age is now being set JMB Event file is now being set JMB User Event file is now being set PHDC collect parameter is now being set PHDC duration parameter is now being set PHDC commands file is now being set JMB Progress Logging parameter is now being set iJMB generation parameters are now being set AI-Scripts platform support flag is now being set Interval event commands file is now being set Interval event enabled parameter is now being set All node log collect parameter is now being set Disk Warning Threshold is now being set Disk Full Threshold is now being set RSI Lite Enabled is now being set Removing any old files that need to be updated Copying updated files Restarting eventd ... Event processing process started, pid 78147 Installation completed Saving package file in /var/sw/pkg/jais-5.0R4.0-signed.tgz ... Saving state for rollback ...
request system scripts add package-name
user@host> request system scripts add jais-5.0R1.0-signed.tgz backup Pushing bundle to node1 [: -a: unexpected operator grep: /etc/db/pkg/jais/+COMMENT: No such file or directory Installing package '/var/tmp/jais-5.0R4.0-signed.tgz' ... Verified jais-5.0R4.0.tgz signed by PackageProductionRSA_2016 Adding jais... Available space: 2619677 require: 1814 Installing AI-Scripts version: 5.0R4 chmod: /var/db/scripts/event/cron.slax: No such file or directory chmod: /var/db/scripts/event/bit_event.slax: No such file or directory chmod: /var/db/scripts/event/bit_event2.slax: No such file or directory chmod: /var/db/scripts/op/ais_bit.slax: No such file or directory Saving package file in /var/db/scripts/commit/jais-5.0R4.0-signed.tgz ... NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-install ln: ///etc/rc.d/ais: Read-only file system Mounted jais package on /dev/md2... Verified manifest signed by PackageProductionRSA_2016 Verified jais-5.0R4.0 signed by PackageProductionRSA_2016 Model: srx5600 Model: srx5600 Linking in Junos ES manifest file. Creating srx5800/srx5600 trend data file. Creating SRX intelligence attachments file. Creating SRX events attachments file. Creating AI-Scripts FIFO Starting AI-Scripts FIFO handler 99423: old priority 0, new priority 20 99428: old priority 0, new priority 20 99429: old priority 0, new priority 20 99430: old priority 0, new priority 20 RSI parameters are now being set BIOS validation parameter is now being set BIOS interval parameter is now being set JMB cleanup age is now being set JMB Event file is now being set JMB User Event file is now being set PHDC collect parameter is now being set PHDC duration parameter is now being set PHDC commands file is now being set JMB Progress Logging parameter is now being set iJMB generation parameters are now being set AI-Scripts platform support flag is now being set Interval event commands file is now being set Interval event enabled parameter is now being set All node log collect parameter is now being set Disk Warning Threshold is now being set Disk Full Threshold is now being set RSI Lite Enabled is now being set chmod: /var/db/scripts/event/cron.slax: No such file or directory chmod: /var/db/scripts/event/bit_event.slax: No such file or directory chmod: /var/db/scripts/event/bit_event2.slax: No such file or directory chmod: /var/db/scripts/op/ais_bit.slax: No such file or directory Removing any old files that need to be updated Copying updated files Restarting eventd ... Event processing process started, pid 99730 Installation completed Saving package file in /var/sw/pkg/jais-5.0R4.0-signed.tgz ... Saving state for rollback ...
Release Information
Command introduced before Junos OS Release
9.0. The options master
and backup
are introduced
in Junos OS Release 15.1X49-D50.