Contents

Upgrading to Netscaler Release 10.5

Website Visitors:

You can use the configuration utility to upgrade most older releases to 10.5. For others, you must use the command line interface. You follow the same basic procedure to upgrade either a standalone appliance or each appliance in a high availability pair, although additional considerations apply to upgrading a high availability pair.

This document includes the following information:

Upgrading a Standalone NetScaler

Before upgrading the system software, make sure that you have the required licenses. For more information, see “NetScaler Licensing Overview.” You do not need a new license for the following upgrades:

  • 8.x to 9.x
  • 8.x or 9.x to 10.x
  • 8.x, 9.x, or 10.x to 10.y

Note: When upgrading from release 8.0, 8.1, 9.0, 9.1, 9.2, 9.3, 10, or 10.1, you have the option to use the configuration utility or the command line interface. Citrix recommends to perform the upgrade by using the command line interface. When using the upgrade wizard in the configuration utility to upgrade from release 8.0, do not use the Device option to upload your software.

In the following procedure, and represent the release version you are upgrading to, and represents the build number that you are upgrading to. See the table below for specific values. The procedure includes optional steps to avoid losing any updates that are pushed to the /etc directory during the upgrade.

 

Release Version
10.5 10.5 10.5
10.1 10.1 10.1
10 10 10
9.3 9.3 9.3
9.2 9.2 9.2
9.1 9.1 9.1
9.0 9.0 9.0
8.1 rhodes 8.1
8.0 andes 8.0

To upgrade a standalone NetScaler appliance running release 8.0, 8.1, 9.0, 9.1, 9.2, 9.3, 10, or 10.1 by using the command line interface

  1. Use an SSH client, such as PuTTy, to open an SSH connection to the appliance.

  2. Log on to the appliance by using the administrator credentials. Save the running configuration. At the prompt, type:save config

  3. Create a copy of the ns.conf file. At the shell prompt, type:

    1. cd /nsconfig
    2. cp ns.conf ns.conf.NS

    You should backup the configuration file to another computer.

  4. (Optional) If you have modified some of the following files in the /etc directory, and copied them to /nsconfig to maintain persistency, any updates that are pushed to the /etc directory during the upgrade might be lost:

    • ttys
    • resolv.conf
    • sshd_config
    • host.conf
    • newsyslog.conf
    • host.conf
    • httpd.conf
    • rc.conf
    • syslog.conf
    • crontab
    • monitrc

    To avoid losing these updates, create a /var/nsconfig_backup directory, and move the customized files to this directory. That is, move any files that you modified in /etc directory and copied to /nsconfig by running the following command:

    mv /nsconfig/ /var/nsconfig_backup

    Example:

    mv /nsconfig/syslog.conf /var/nsconfig_backup

  5. Create a location for the installation package. At the shell prompt type

    1. cd/var/nsinstall
    2. mkdir nsinstall
    3. cd nsinstall
    4. mkdir build_
    5. cd build_
  6. Download or copy the installation package (build--_nc.tgz) to the directory that you created for it. To download the installation package from the Citrix Web site, do the following:

    1. Go to MyCitrix.com, log on with your credentials, and click Downloads.
    2. In Select a Product, select NetScaler ADC.
    3. Under Firmware, click the release and build number to download.
    4. Click Get Firmware.

    Note: Documentation is not available as part of the build in NetScaler release 10.1, build 118.7 or later. See Citrix NetScaler for the documentation.

  7. Extract the contents of the installation package. Example:

    tar –xvzf build_10.1-49.3_nc.tgz

  8. Run the installns script to install the new version of the system software. The script updates the /etc directory. Example:

    ./installns

    Note:

    To install a FIPS appliance, run the installns script with the -F option. To automatically clean up the flash, run the installns script with the -c option.

    Warning: When upgrading to the NetScaler nCore build, the installation script prompts you to delete the /var directory if the swap partition is smaller than 32 gigabytes (GB). If this prompt appears, type N, save any important files located in /var to a backup location, and then re-run the installation script.

    If the free space available on the flash drive is insufficient to install the new build, the appliance prompts you to initiate a cleanup of the flash drive. For more information, see “Auto Cleanup“.

  9. When prompted, restart the NetScaler.

  10. (Optional) If you performed step 4, do the following:

    1. Manually compare the files in /var/nsconfig_backup and /etc and make appropriate changes in /etc.
    2. To maintain persistency, move the updated files in /etc to /nsconfig.
    3. Restart the appliance to put the changes into effect.

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
login: nsroot
Password: nsroot
Last login: Mon Apr 19 03:37:27 2014 from 10.102.29.9
Done

save config
shell
Last login: Mon Apr 10 03:51:42 from 10.103.25.64
root@NSnnn# cd /var/nsinstall
root@NSnnn# cd 10_5nsinstall
root@NSnnn# mkdir build_49
root@NSnnn# cd build_49
root@NSnnn# ftp ... get build-10.5-49_nc.tgz
root@NSnnn# tar xzvf build-10.5-49_nc.tgz
root@NSnnn# ./installns
installns version (10.5-49) kernel (ns-10.5-49_nc.gz)
...
...
...
Copying ns-10.5-49_nc.gz to /flash/ns-10.5-49_nc.gz ...
...
Installation has completed.
Reboot NOW? [Y/N] Y

To upgrade a standalone NetScaler running release 8.0, 8.1, 9.0, 9.1, 9.2, 9.3, 10, or 10.1 by using the configuration utility

  1. In a Web browser, type the IP address of the NetScaler, such as http://10.102.29.50.

  2. In User Name and Password, type the administrator credentials and then click Login, as shown in the following figure.

    https://www.mediafire.com/convkey/ec08/q2n3zb89vyrr33p7g.jpg
    NS_Login
  3. In the configuration utility, in the navigation pane, click System.

  4. In the System Overview page, click System Upgrade.

  5. Follow the instructions to upgrade the software.

  6. When prompted, select Reboot.

    Note: After the upgrade, close all browser instances and clear your computer’s cache before accessing the appliance.

Upgrading a High Availability Pair

To upgrade the system software on NetScaler units in a high availability (HA) pair, first upgrade the secondary node, and then the primary node.

Note: If the two nodes in an HA configuration are running different NetScaler software releases, the following information does not get synchronized on the primary and secondary nodes:

  • States of the services
  • Connection failover sessions
  • Persistence sessions
https://www.mediafire.com/convkey/dfe6/q6y2qyw3egq7lsv7g.jpg
Upgrade HA pair

In the following procedure, machine A is the primary node and machine B is the secondary node before the upgrade.

To upgrade NetScaler units in a high availability pair running release 8.0, 8.1, 9.0, 9.1, 9.2, 9.3,10, or 10.1 by using the command line interface

On machine B (original secondary node)

  1. Follow the procedure for upgrading a standalone node as described in “Upgrading a Standalone NetScaler Appliance“. The procedure includes optional steps to avoid losing any updates that are pushed to the /etc directory during the upgrade.

  2. After the appliance restarts, log on with the administrator credentials and enter the show ha node command to verify that the appliance is a secondary node.

  3. Test the new build by entering the force failover command on the secondary node (machine B). At the command prompt type force failover.

    When you do so, machine B becomes the primary node. If machine B does not function as expected, enter the force failover command on the new primary node (machine B) forcing it to again become the secondary node, and contact Citrix Customer Service before proceeding.

  4. Enter the show ha node command to verify that machine B is the new primary node.

    Example

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    
    login: nsroot
    Password: nsroot
    Last login: Mon Mar  26 08:37:26 2008 from 10.102.29.9
    Done
    show ha node
            2 nodes:
    1)      Node ID:      0
            IP:        10.0.4.2
            Node State: UP
            Master State: Primary
            ...
            Sync State: AUTO DISABLED
            Propagation: AUTO DISABLED
            ...
    Done
    

    Note: After machine B is upgraded successfully, both synchronization and propagation are automatically disabled until you upgrade machine A.

    On machine A (original primary node)

  5. Follow the procedure for upgrading a standalone node as described in “Upgrading a Standalone NetScaler Appliance.” The procedure includes optional steps to avoid losing any updates that are pushed to the /etc directory during the upgrade.

  6. After the appliance restarts, log on by using the administrator credentials, and enter the show ha node command to verify that the appliance is a secondary node and that synchronization is disabled.

    Note: After both nodes are upgraded successfully, synchronization and propagation are automatically enabled.

    On machine A and machine B

  7. After successfully upgrading both the nodes, run the show ha node command to verify that synchronization and propagation are enabled on the primary node and synchronization is successful and propagation is enabled on the secondary node.

    Example

    On Primary node (Machine B)

    show ha node

        Node ID:      0
        IP:   10.0.4.2
        Node State: UP
        Master State: Primary
        INC State: DISABLED
        Sync State: ENABLED
        Propagation: ENABLED
        Enabled Interfaces : 1/1
        Disabled Interfaces : None
        HA MON ON Interfaces : 1/1
        Local node information
        Critical Interfaces: 1/1
    

    On Secondary node (Machine A)

    Show ha node

        Node ID:      0
        IP:   10.0.4.11
        Node State: UP
        Master State: Secondary
        INC State: DISABLED
        Sync State: SUCCESS
        Propagation: ENABLED
        Enabled Interfaces : 1/1
        Disabled Interfaces : None
        HA MON ON Interfaces : 1/1
        Local node information:
        Critical Interfaces: 1/1
    

    On machine B (new primary node)

  8. Enter the save ns config command to save the configuration.

Machine B (original secondary node) is now the primary node and machine A (original primary node) is now the secondary node.

Note: You can enter the force failover command again to make machine A (original primary node) as the primary node and machine B (original secondary node) as the secondary node.

To upgrade NetScaler units in a high availability pair running release 8.0, 8.1, 9.0, 9.1, 9.2, 9.3, or 10 by using the configuration utility

  1. Log on to the secondary node and perform the upgrade as described in “To upgrade a standalone NetScaler running release 8.0, 8.1, 9.0, 9.1, 9.2, or 9.3 by using the configuration utility.

    Note: Before upgrading the primary node (machine A), you have the option to test the new release by entering the force failover command at the command line interface on the secondary node (machine B). When you do so, machine B becomes the primary node. If machine B does not function as expected, enter the force failover command at the command line interface on the new primary node (machine B) forcing it to again become the secondary node, and contact Citrix Customer Service before proceeding. If machine B properly assumes the role of primary node, proceed with upgrading the former primary node (machine A).

  2. Log on to the primary node and perform the upgrade as described in “To upgrade a standalone NetScaler running release 8.0, 8.1, 9.0, 9.1, 9.2, or 9.3 by using the configuration utility“.

Posted in Citrix Edocs

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: