Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

NSM3000 and JA1500 appliance RAID controller and hard drive firmware update

0

0

Article ID: KB23392 KB Last Updated: 07 Oct 2014Version: 11.0
Summary:

This article provides information about the hard disk and RAID controller firmware update procedure for NSM3000 and JA1500 devices.

Symptoms:

The goal is to update the hard disk and RAID controller firmware for NSM3000 and JA1500 devices and avoid loss of data.

Cause:

Due to a hard-drive firmware issue, the hard drive may respond incorrectly to the RAID controller, causing the hard disk to be marked as failed prematurely. This situation can cause loss of all data on the system.

Solution:

The procedure below shows how to update the hard disk and RAID controller firmware for NSM3000 and JA1500 devices.

The procedure is organized as follows:

Requirements

  • Console Access.

  • Network Connectivity to transfer update program.

  • System downtime. Multiple reboots will be needed.

  • Estimated time to perform procedure is one hour (excluding backup time).


HA Considerations

If your NSM3000 or JA1500 is running in an HA (NSM) or Fabric (Space) setup: It is recommended that you update them one at a time.

Note: Make sure that your cluster is in sync before starting this procedure on each system.

NSM3000

Run this command:

/usr/netscreen/HaSvr/utils/haStatus.

Confirm that both setups show in-sync.

JA1500

See the Junos Space documentation: Viewing Nodes in the Fabric.


I. Check Current Firmware Versions (Optional)

Run the commands below after you have logged in from the command line and become root.


NSM3000

You may need to install the RAID utilities first.

Download the NSM3000 RAID Utility RPM by clicking this link: Download NSM3000 RAID Utility RPM. (Log in required.)

1. Transfer the RPM to the NSM3000 using the secure copy (SCP) program of your choosing.

2. Log in and become root.

3. Extract:

tar zxf NSM3000-RaidUtility-6.50.18579-i386-rpm.tgz

4. Install:

rpm -Uvh StorMan-6.50.i386.rpm


JA1500

RAID Utility is included.


Adaptec Firmware Version

Run this command to see versioning information:

/usr/StorMan/arcconf getconfig 1 ad

The versions should match the output below. (Apply the update if the version is lower).

--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS                                    : 5.2-0 (18124)
Firmware                                : 5.2-0 (18124)
Driver                                  : (Varies. This is the OS Driver Version.)
Boot Flash                              : 5.2-0 (18124)

Note: If upgrading from original firmware version 16820, you must complete an additional step after finishing the procedure in this KB. For the additional step, click here.


Hard Drive Firmware Versions

Run this command to see versioning information:

/usr/StorMan/arcconf getconfig 1 pd | grep -e 'Model\|Firmware'

Compare each drive model to the firmware version listed below. If a drive has the lower firmware version, apply the update. You can have any combination of the hard drive models below.

Note: If you have a drive model not listed here, no firmware update is needed. (Western Digital Drives may be sent as RMA Replacements.)

Drive Model ST1000NM0001 updated output

Model                        : ST1000NM0001
Firmware                     : 0002

Drive Model ST31000640SS updated output

Model                        : ST31000640SS
Firmware                     : 0004

Drive Model ST31000424SS updated output

Model                        : ST31000424SS
Firmware                     : 0008


II. Download Updater

  1. Download the updater for your system  (log in required).

  2. Verify data integrity using MD5:

529efe0f9f55e2c672a2477ae3bddae4 = nsm-ja-update_v4.tgz

fcedacf3c418abf28c2ca404400e9cd3 = JA1500-13.3-firmware-v4.tgz

Note: Firmware Update v4 Release Date: January 4, 2013.


III. Back up Data

The chance of data loss during this procedure is minimal. It is recommended, however, that you make sure you have an off-system backup to prevent data loss from unforeseen problems.


IV. Copy Upgrade Script to Your System

Use SCP to transfer the upgrade script to your system. Use WinSCP or the SCP file transfer program of your choice. Leave this file in the admin account's home directory: /home/admin.

Username: admin
Password: <Your Admin Password>


V. Install Update

1. Log into the Appliance as admin (Console or SSH), and change to root.

NSM3000

Select No when asked about running system setup:

Run NSMXPress system setup? [y/N].

Become Root:

sudo su -

JA1500

Select the option for (Debug) run shell (the number may vary depending on the Junos Space version).

2. Change directory:

cd /home/admin

3. Verify MD5: (modify filename  for JA1500 13.3 and above)

md5sum nsm-ja-update_v4.tgz.

    The output should match the related MD5 listed above

4. Extract the Updater: (modify filename for JA1500 13.3 and above

tar -zxf nsm-ja-update_v4.tgz

5. Change to the extracted directory:

cd nsm-ja-update

6. Run the Update Installer:

sh fw_setup.sh

7. If successful, you should see this message:

Done with firmware boot setup. Reboot now and select
NSM-JA-Firmware-Update in the Grub boot menu.


VI. Run Updater (Console Required)

1. Reboot the system.

  • Log in and become root, if you are not already logged in on the console.

  • At the command prompt, type reboot and press Enter.

2. As the system boots, interrupt normal boot at the specified point as noted below.

NSM3000

2a. Quickly press a key when the following is displayed to interrupt the normal boot:

Press any key to enter the menu

Booting NSMXpress
Booting NSMXpress
Booting NSMXpress
Booting NSMXpress
Booting NSMXpress
    in 4 seconds...

2b. The menu is displayed:

GNU GRUB version 0.95 (616K lower / 3929792K upper memory)

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ NSMXpress
³ Rescue
³ Re-Install
³ Rescue Boot from Secondary Drive
³
³
³
³
³
³
³
³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command-line.

2c. Select NSMXpress and Press Enter. A second countdown similar to the example below is displayed. Quickly press a key to interrupt it.

Press any key to enter the menu

Booting Juniper Management Appliance 5.0 i386 (2.6.9-67.0.20.ELsmp) in 9 second
Booting Juniper Management Appliance 5.0 i386 (2.6.9-67.0.20.ELsmp) in 8 second
Booting Juniper Management Appliance 5.0 i386 (2.6.9-67.0.20.ELsmp) in 7 second

2d. The menu is displayed:

GNU GRUB version 0.95 (616K lower / 3929792K upper memory)

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Juniper Management Appliance 5.0 i386 (2.6.9-67.0.20.ELsmp)
³ Juniper Management Appliance 5.0 i386-up (2.6.9-67.0.20.EL)
³ NSM-JA-Firmware-Update-v4
³
³
³
³
³
³
³
³
³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command-line.

2e. Select: NSM-JA-Firmware-Update and press Enter.


JA1500

When the Grub menu is displayed, quickly select NSM-JA-Firmware-Update and press Enter (before the system boots normally).

GNU GRUB version 0.97 (616K lower / 3929792K upper memory)

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Junos Space (2.6.18-92.el5)
³ NSM-JA-Firmware-Update-v4
³
³
³
³
³
³
³
³
³
³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command-line.


3. At this point, the Updater will run automatically. You will see three different outputs, depending on what is needed.

3a. RAID Controller Update.  (Press Enter to start the process, when prompted, as highlighted below.)

Starting Seagate Drive Firmware utility...

ERROR: Adaptec controller firmware is not updated. Will now attempt
to update Adaptec firmware first before continuing.

=======================================================================

Juniper Networks Adaptec Adapter updater

=======================================================================



Your current RAID 5405 adapter firmware version = (16820).

This flash procedure can take several minutes. Please wait for completion...

**** The system will prompt to reboot after the adapter is updated.
**** DO NOT POWER DOWN SYSTEM DURING THIS UPDATE.


Press Enter to continue or Ctrl-C to abort now.


Starting update now...
Controllers found: 1

Updating controller 1 firmware...Succeeded
A new software image has been applied to controller 1.
You must restart the system for firmware updates to take effect.


Command completed successfully.

RAID Adapter was successfully updated.
Press Enter to reboot.

3b. Drive Firmware Update. (This will vary slightly depending on the drive model.)

Starting Seagate Drive Firmware utility...
==============================================================
Juniper Drive Firmware updater
==============================================================
Searching for Seagate ST31000424SS drives
Number of ST31000424SS DRIVES found: 0
Updating drives with old firmware.


==============================================================
Searching for Seagate ST31000640SS drives
Number of ST31000640SS DRIVES found: 3
Updating drives with old firmware.

Flashing drive (CH ID): 0 0
./arcconf imageupdate 1 device 0 0 16384 ES2-0004.lod 7 noprompt
Controllers found: 1

Updating a hard disk with an invalid image file may render the hard disk unusable. Please make sure you have the correct image file.

You must restart the system for firmware updates to take effect.
Succeeded

Command completed successfully.
Flashing drive (CH ID): 0 1
./arcconf imageupdate 1 device 0 1 16384 ES2-0004.lod 7 noprompt
Controllers found: 1

Updating a hard disk with an invalid image file may render the hard disk unusable. Please make sure you have the correct image file.

You must restart the system for firmware updates to take effect.
Succeeded

Command completed successfully.
Flashing drive (CH ID): 0 2
./arcconf imageupdate 1 device 0 2 16384 ES2-0004.lod 7 noprompt
Controllers found: 1

Updating a hard disk with an invalid image file may render the hard disk unusable. Please make sure you have the correct image file.

You must restart the system for firmware updates to take effect.
Succeeded

Command completed successfully.

==============================================================
Searching for Seagate similarNM0001 drives
Number of ST1000NM0001 DRIVES found: 0
Updating drives with old firmware.


Rescanning drives for updates...
Controllers found: 1

Command completed successfully.
Controllers found: 1

Command completed successfully.

Done with drive firmware update.
------------------------------------------------------------------------
Please review above firmware output for any "Failed" drive updates. If any
drives failed during the flash process, reboot and re-run this update again.

Hit enter now to reboot.


4. Repeat this process until the output indicates that the drives have already been upgraded, similar to the example below. (This should take 2-3 reboots.)

Starting Seagate Drive Firmware utility...
==============================================================
Juniper Drive Firmware updater
==============================================================
Searching for Seagate ST31000424SS drives
Number of ST31000424SS DRIVES found: 0
Updating drives with old firmware.


==============================================================
Searching for Seagate ST31000640SS drives
Number of ST31000640SS DRIVES found: 3
Updating drives with old firmware.

Drive (CH ID) 0 0 firmware appears to be updated to 0004 already.
Skipping...
Drive (CH ID) 0 1 firmware appears to be updated to 0004 already.
Skipping...
Drive (CH ID) 0 2 firmware appears to be updated to 0004 already.
Skipping...

==============================================================
Searching for Seagate recommended1 drives
Number of ST1000NM0001 DRIVES found: 0
Updating drives with old firmware.

Controllers found: 1

Command completed successfully.

Done with drive firmware update.
------------------------------------------------------------------------
Please review above firmware output for any "Failed" drive updates. If any
drives failed during the flash process, reboot and re-run this update again.

Hit enter now to reboot.


5. Follow Section 1 ("Checking Current Firmware Versions") to confirm that updates are applied correctly to Controller and Drives.


VII. Remove Updater (Optional)

It is recommended that you leave the firmware updater on the system and run it any time you replace a hard drive (there is a chance a replacement hard drive you receive may not have the update applied to it already).

1. Log into the Appliance as admin (Console or SSH) and change to root.

NSM3000

Select No when asked about running system setup:

Run NSMXPress system setup? [y/N].

Become Root:

sudo su -

JA1500

Select Option 6 to reach root command line

2. Change directory:

cd /home/admin

3. Change to the extracted directory:

cd nsm-ja-update

4. Run the Update Remover:

sh fw_cleanup.sh

5. If successful, you should see this message:

Done with firmware boot cleanup!


VIII. Best Practices (Optional)

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search