Table of ContentsLibraryView in Frames

Upgrading your active/active configuration from an earlier release family nondisruptively

On some configurations you can use the nondisruptive method to upgrade your active/active configuration from the 7.0 and later release families without scheduling downtime for your storage system.

Before You Begin

Before initiating the nondisruptive upgrade procedure, verify that you have prepared for the upgrade by completing any prerequisite procedures. You must also ensure that you have installed Data ONTAP software onto your storage system.

Steps

  1. Choose the following option that describes your configuration.
    If you are upgrading from ... Then ...
    Data ONTAP 7.2.4 or later Go to the next step.
    Any release earlier than Data ONTAP 7.2.4, or your system is not configured to send AutoSupport messages Trigger an AutoSupport notification by entering the following command at the console of each storage system controller: options autosupport.doit starting_NDU

    This AutoSupport notification includes a record of the system status just prior to upgrade. It saves useful troubleshooting information in case there is a problem with the upgrade process. This notification is sent automatically beginning with Data ONTAP 7.2.4.

  2. At the console of each storage system, enter the following command to verify that the active/active configuration is enabled:cf status

    The cf status command output should be similar to the following:

    Cluster enabled, systemA is up.VIA Interconnect is up (link 0 up, link 1 down).

    If the output indicates that the active/active configuration is not enabled, enter the following command to enable it:cf enable

    Then verify that the active/active configuration is reenabled by entering the cf status command.

  3. Choose the following option depending on whether you have already installed new system files.
    If you ... Then ...
    Have already installed system files Go to the next step.
    Are installing and downloading system files in the same operation At the console of each system, enter the following command: software update file_name -r

    Then go to Step 5.

    Attention: You must include the -r option to prevent automatic reboot. If you do not and the system reboots, the upgrade will be disruptive.

    When you use the software update command without the -d option, the download command is executed by default.

  4. At the console of each system, enter the following command to activate the new code on the storage system's boot device:download

    The download command provides an acknowledgment similar to the following:

    Tue Jun 19 10:03:22 GMT [download.request:notice]:Operator requested download initiateddownload: Downloading boot device............download: Downloading disks: opening Data ONTAP 7.2......................donedownload: boot blocks successfully copied to disk(s)

    Then a message similar to the following appears:

    Tues Jun 19 10:11:51 GMT [download.requestDone:notice]:Operator requested download completed

    Note: The storage system console is unavailable until the download procedure is complete.

  5. At the console of each system, enter the following commands to compare the installed version of system firmware with the version on the boot device:sysconfig -aversion -b

    The sysconfig command output contains an entry similar to the following:

    Firmware release: 4.3_i1

    The version command output contains an entry similar to the following:

    1:/x86/firmware/xfiler/firmware.img: Firmware 4.3.1_i2

    If the version of the newly loaded firmware displayed by the version command is ... Then ...
    The same as the installed firmware version displayed by sysconfig Your storage system does not need a system firmware update.
    Later than the installed firmware displayed by sysconfig Your storage system needs a system firmware update.
    Earlier than the installed firmware displayed by sysconfig Do not update system firmware with the update_flash or update-flash command.

  6. Choose the following option that describes your configuration.
    If CIFS ... Then ...
    Is not in use in system A Go to the next step.
    Is in use in system A Enter the following command:cifs terminate -t nn

    where nn is a notification period (in minutes) appropriate for your clients. After that period of time, proceed to to the next step.

  7. At the console of system B, enter the following command:cf takeover

    This command causes system A to shut down gracefully and leaves system B in takeover mode.

    Note: When system A displays the "Waiting for giveback" message, you can also halt and power off system A to perform maintenance procedures.

  8. Choose the following option that describes your configuration.
    If ... Then ...
    You do not need to update system firmware Go to Step 14.
    You need to update system firmware Go to the next step.
  9. To display the boot prompt (CFE, LOADER, or ok, depending on your storage system) at the system A console, complete one of the following procedures:
    • Press Del at the system A console when instructed after the boot sequence starts.
    • When the "Waiting for giveback" message appears at the console of system A, press Ctrl-C at the system A console.

      When the "Continue with boot?" message appears, enter the following command: no

  10. At the boot prompt, enter the following command:bye
  11. During the memory test, press Del to interrupt the boot process.

    Note: If you have a terminal emulation package and it does not support Del, use Ctrl-Bksp instead.

    The console displays the following messages:

    Skipping auto-bootCompleteStartup aborted

    Then the console displays the boot prompt.

  12. Enter one of the following commands depending on your boot environment prompt:
    If your boot environment prompt is … Enter this command
    LOADER or CFE update_flash
    ok update-flash

    The system prompts you to continue.

  13. Enter the following key to continue:y

    The system updates the firmware, displays several status messages, and displays the boot prompt.

    Note: If you installed a system firmware update on a storage system running Open Firmware (OFW), you might have to run the set-defaults command from the firmware boot prompt before rebooting your storage system.

  14. Enter the following command to reboot the system using the new firmware and software:bye
  15. Choose the option that describes your configuration.
    If FCP or iSCSI ... Then when the "Waiting for giveback" message appears on the console of system A ...
    Is not in use in system A Enter the following command at the console of system B:cf giveback
    Is in use in system A Wait for at least eight minutes to allow host multipathing software to stabilize, then enter the following command at the console of system B:cf giveback

    Attention: The cf giveback command can fail because of open client sessions (such as CIFS sessions), long-running operations, or operations that cannot be restarted (such as tape backup or SyncMirror resynchronization). If the cf giveback command fails, terminate any CIFS session or long-running operations gracefully (because the -f option will immediately terminate any CIFS sessions or long-running operations) and then enter the following command (with the -f option):cf giveback -f

    For more information about the behavior of the -f option, see the cf(1) man page.

    The command causes system A to reboot with the new system configuration—a Data ONTAP version and any new system firmware and hardware changes—and resume normal operation as an active/active partner.

    Note: At this point in the upgrade procedure—system A is running the new Data ONTAP version and system B is running an earlier Data ONTAP release family—the systems are in a state of "version mismatch." This means that normal active/active functions such as NVRAM mirroring and automatic takeover are not in effect. You might see error messages indicating version mismatch and mailbox format problems. This is expected behavior; it represents a temporary state in a major nondisruptive upgrade and not harmful.

    You should complete the upgrade procedure as quickly as possible; do not allow the two systems to remain in a state of version mismatch longer than necessary.

  16. Choose the following option that describes your configuration.
    If ... Then ...
    CIFS is not in use in system B Go to the next step.
    CIFS is in use in system B Enter the following command:cifs terminate -t nn

    where nn is a notification period (in minutes) appropriate for your clients. After that period of time, proceed to the next step.

  17. At the console of system A, enter the following command:cf takeover -n

    You see output similar to the following:

    Waiting for partner to be cleanly shutdown using the'halt' commandPress Ctrl-C to abort wait...

    Note: The -n flag of the cf takeover command should only be used for major nondisruptive upgrades. If run during a minor nondisruptive upgrade or a non-upgrade takeover, it will generate an error and quit

  18. At the console of system B, enter the following command:halt

    This command causes system B to shut down cleanly, flushing file-system information in memory to disk.

    Note: When system B displays the "Waiting for giveback" message, you can also power off system B to perform maintenance procedures.

  19. Choose the following option that describes your upgrade scenario.
    If ... Then ...
    You do not need to update system firmware Go to Step 25.
    You need to update system firmware Go to the next step.
  20. To display the boot prompt at the system B console, complete one of the following procedures:
    • Press Del at the system B console when instructed after the boot sequence starts.
    • When the "Waiting for giveback" message appears on the console of system B, press Ctrl-C at the system B console.

      When the "Continue with boot?" message appears, enter the following command: no

  21. At the boot prompt, enter the following command:bye
  22. During the memory test, press Del to interrupt the boot process

    Note: If you have a terminal emulation package and it does not support Del, use Ctrl-Bksp instead.

    The console displays the following messages:

    Skipping auto-bootCompleteStartup aborted

    Then the console displays the boot prompt .

  23. Enter one of the following commands depending on your boot environment prompt:
    If your boot environment prompt is … Enter this command
    LOADER or CFE update_flash
    ok update-flash

    The system prompts you to continue.

  24. Enter the following key to continue:y

    The system updates the firmware, displays several status messages, and displays the boot prompt.

    Note: If you installed a firmware update on a storage system running Open Firmware (OFW), you might have to run the set-defaults command from the firmware ok prompt before rebooting your storage system.

  25. At the console of system B, enter the following command to reboot the system using the new system firmware (if it was installed) and software:bye
  26. Choose the option that describes your configuration.
    If FCP or iSCSI ... Then when the "Waiting for giveback" message appears on the console of system B ...
    Is not in use in system B Enter the following command at the console of system A:cf giveback
    Is in use in system B Wait for at least eight minutes to allow host multipathing software to stabilize, then enter the following command at the console of system A:cf giveback

    Attention: The cf giveback command can fail because of open client sessions (such as CIFS sessions), long-running operations, or operations that cannot be restarted (such as tape backup or SyncMirror resynchronization). If the cf giveback command fails, terminate any CIFS session or long-running operations gracefully (because the -f option will immediately terminate any CIFS sessions or long-running operations) and then enter the following command (with the -f option):cf giveback -f

    For more information about the behavior of the -f option, see the cf(1) man page.

    This command causes system B to reboot with the new system configuration—a Data ONTAP version and any sytem firmware and hardware changes—and resume normal operation as an active/active partner.

    When the reboot completes, the two active/active nodes are running the same Data ONTAP version.

  27. Choose the following option that describes your configuration.
    If ... Then ...
    Your system is configured to send AutoSupport messages Your nondisruptive upgrade is complete.
    You are upgrading from any release earlier than 7.2.4, or your system is not configured to send AutoSupport messages Trigger another AutoSupport notification by entering the following command at the console of each storage system controller: options autosupport.doit finishing_NDU

    This notification includes a record of the system status after upgrading. It saves useful troubleshooting information in case there is a problem with the upgrade process.