This article provides an example on how to install 6.x Al-Script package on EX switches.
Steps to install 6.0R4 Al-Scripts package on an EX4300 device
/var/tmp: total blocks: 2580 -rw-r--r-- 1 root field 1259520 Feb 11 09:40 jais-6.0R4.0.tar
root@EX4300-r2016:RE:0% tar -xvf /var/tmp/jais-6.0R4.0.tar jais-6.0R4.0-signed.tgz jais-x-6.0R4.0.tgz
root@EX4300-r2016:RE:0% ls -lrt total 2564 -rw-r--r-- 1 930 930 528717 Feb 2 00:04 jais-x-6.0R4.0.tgz -rw-r--r-- 1 930 930 726511 Feb 2 00:04 jais-6.0R4.0-signed.tgz root@EX4300-r2016:RE:0% pwd
/var/root <--
root@EX4300-r2016# run request system scripts add /var/root/jais-6.0R4.0-signed.tgz NOTICE: Validating configuration against incoming-package.tgz. NOTICE: Use the 'no-validate' option to skip this if desired. Verified jais-6.0R4.0.tgz signed by PackageProductionEc_2017 Verified jais-6.0R4.0.tgz signed by PackageProductionRSA_2017 Pre-checking requirements for jais... Available space: 108184 require: 1828 Auto-deleting old jais... WARNING: Calling 'request system scripts delete' directly will do only a partial deinstallation! WARNING: AI-Scripts will still be installed on other Routing Engines in this chassis! Initiating partial uninstall of AI-Scripts version: 5.0R4 NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-install WARNING: Calling 'request system scripts delete' directly will do only a partial deinstallation! WARNING: AI-Scripts will still be installed on other Routing Engines in this chassis! Adding jais... Available space: 109996 require: 1828 Installing AI-Scripts version: 6.0R4 Saving package file in /var/db/scripts/commit/jais-6.0R4.0-signed.tgz ... chmod: /var/db/scripts/commit/jais-6.0R4.0-signed.tgz: No such file or directory ls: /var/tmp/jais-6.0R4.0-signed.tgz: No such file or directory Mounted jais package on /dev/md20... Verified manifest signed by PackageProductionEc_2017 Verified jais-6.0R4.0 signed by PackageProductionRSA_2017 Model: ex4300-24t Linking in EX-VC-Low manifest file. Creating ex22/ex32/ex33/ex42/ex45/ex46 trend data file. Creating ex4200/ex4300/ex4500/ex4550/ex4600 intelligence attachments file. Creating ex4200/ex4300/ex4500/ex4550/ex4600 events attachments file. Creating AI-Scripts FIFO Starting AI-Scripts FIFO handler 45763: old priority 0, new priority 20 45764: old priority 0, new priority 20 RSI parameters have already been configured BIOS Validation parameter is now being configured BIOS Interval parameter has already been configured JMB Cleanup Age parameter has already been configured JMB Event File parameter has already been configured JMB User Event File parameter has already been configured PHDC Collect Enabled parameter has already been configured PHDC Duration parameter has already been configured PHDC Commands File parameter has already been configured JMB Progress Logging parameter has already been configured iJMB Generation parameters have already been configured AI-Scripts Platform Support parameter is now being configured Interval Event Commands File parameter has already been configured Interval Event Enabled parameter has already been configured All Node Log Collect Enabled parameter has already been configured Disk Warning Threshold parameter has already been configured Disk Full Threshold parameter has already been configured Hourly KeepAlive parameter is now being configured JMB Event Limit parameter is now being configured RSI Lite Enabled parameter has already been configured Removing any old files that need to be updated Copying updated files Restarting eventd ... Feb 11 13:17:25 init: event-processing (PID 35685) exited with status=1 Feb 11 13:17:25 init: event-processing (PID 46033) started Feb 11 13:17:26 init: can not access /usr/sbin/gstatd: No such file or directory Feb 11 13:17:26 init: gstatd (PID 0) started Event processing process started, pid 46033 Installation completed Saving package file in /var/sw/pkg/jais-6.0R4.0-signed.tgz ... Saving state for rollback ...