Upgrade a Citrix ADC standalone appliance 编辑

Before upgrading the system software, make sure that you read the Before you begin section and complete the prerequisites such as backing up the necessary files and downloading the Citrix ADC firmware.

Upgrade a Citrix ADC standalone appliance by using the GUI

Follow these steps to upgrade a standalone Citrix ADC to release 13.0 by using the GUI.

  1. In a web browser, type the IP address of the Citrix ADC, for example http://10.102.29.50.
  2. In User Name and Password, type the administrator credentials (nsroot/nsroot) and then click Log On.
  3. From the GUI, click System Upgrade.

    localized image

  4. From the Choose File menu choose the appropriate option: Local or Appliance. If you want to use the Appliance option, the firmware needs to be uploaded to the Citrix ADC first. You can use any file transfer method such as WinSCP to upload the Citrix ADC firmware to the appliance.

  5. Select the correct file and click Upgrade.

  6. Follow the instructions to upgrade the software.

  7. When prompted, select Reboot.

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

Upgrade a Citrix ADC standalone appliance by using the CLI

Follow these steps to upgrade a standalone Citrix ADC to release 13.0 by using the CLI:

In the following procedure, <release> and <releasenumber> represent the release version you are upgrading to, and <targetbuildnumber> represents the build number that you are upgrading to. The procedure includes optional steps to avoid losing any updates that are pushed to the /etc directory during the upgrade.

  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. Switch to the shell prompt by running the following command:

    shell

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

    • cd /nsconfig
    • cp ns.conf ns.conf.NS<currentreleasenumber><currentbuildnumber>

    You should backup the configuration file to another computer.

  5. (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:

    cp /nsconfig/<filename> /var/nsconfig_backup

    Example:

    cp /nsconfig/syslog.conf /var/nsconfig_backup

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

    • cd /var/nsinstall
    • cd <releasenumber>

      Note:

      If the desired release number directory is not present, create one using the following command:

      mkdir <releasenumber>

      Example:

      mkdir 13.0

    • mkdir build_<targetbuildnumber>
    • cd build_<targetbuildnumber>
  7. Copy the already downloaded Citrix ADC firmware to the build directory that you have created in the above step, by using any file transferring method such as WinSCP. See the Before You Begin section for more information about downloading the Citrix ADC firmware.

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

    tar –xvzf build-13.0-37.2_nc_64.tgz

  9. Run the installns script to install the new version of the system software.

    ./installns

  10. When prompted, restart the Citrix ADC.

  11. (Optionally) If you’ve created a copy of the ns.conf file in the Before You Begin section, 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.

Below is an example of Citrix ADC firmware upgrade.

login: nsroot

Password: nsroot

Last login: Mon Apr 17 15:05:05 2018 from 10.252.243.134

Done

> save config

> shell

Last login: Mon Apr 17 15:05:05 2018 from 10.252.243.134

root@NSnnn# cd /var/nsinstall

root@NSnnn# cd 13.0

root@NSnnn# mkdir build_43.1

root@NSnnn# cd build_43.1

root@NSnnn# ftp <FTP server IP address>

ftp> mget build-13.0-41.1_nc.tgz

ftp> bye

root@NSnnn# tar xzvf build-13.0-41.1_nc.tgz

root@NSnnn# ./installns

installns version (13.0-41.1) kernel (ns-13.0-41.1_nc.gz)

...

Copying ns-13.0-41.1_nc.gz to /flash/ns-13.0-41.1_nc.gz ...

...

Installation has completed.

Reboot NOW? [Y/N] Y

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:44 次

字数:8049

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文