9.1 Upgrading on Linux

9.1.1 Upgrading from the Evaluation Version to the Purchased Version

If you have downloaded the evaluation version and want to keep your configuration after purchasing the product, you need to upgrade each of your components with the purchased version. The upgrade to the purchased version automatically changes your installation to a licensed version.

After you have purchased the product, log in to the NetIQ Customer Center and follow the link that allows you to download the product. Then use the following sections for instructions on upgrading the components:

Upgrading the Administration Console

If the Identity Server and SSL VPN are installed on the same machine as the Administration Console, the Identity Server and SSL VPN are automatically upgraded with the Administration Console.

  1. Open a terminal window.

  2. Log in as the root user.

  3. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  4. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./upgrade.sh
    
  5. The system displays the confirmation message along with the list of installed components. For example, if the Administration Console and Identity Server are installed on the same machine, the following message is displayed:

    The following components were installed on this machine 
    
    1. Access Manager Administration Console 
    2. Identity Server 
    Do you want to upgrade the above components (y/n)?
    
  6. Type Y and press Enter.

  7. Enter the Access Manager Administration Console user ID.

  8. Enter the Access Manager Administration Console password.

  9. Re-enter the password for verification.

  10. The system displays the following message when the upgrade is complete:

    Successfully upgraded.
    

    The upgrade logs are located in the /tmp/novell_access_manager/ directory. The logs have time stamping.

If you encounter an error, see Troubleshooting a Linux Administration Console Upgrade in the NetIQ Access Manager 3.2 SP2 Installation Guide.

Upgrading the Identity Server

Use the following procedure to upgrade the stand-alone Identity Server or the Identity Server installed along with the SSL VPN server. If you have installed both the Identity Server and the Administration Console on the same machine, see Upgrading the Administration Console.

  1. Open a terminal window.

  2. Log in as the root user.

  3. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  4. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./upgrade.sh
    
  5. The system displays the following confirmation message:

    The following components were installed on this machine
    
    1. Identity Server
    
    Do you want to upgrade the above components (y/n)? 
    
  6. Type Y and press Enter.

  7. Enter the Access Manager Administration Console user ID.

  8. Enter the Access Manager Administration Console password

  9. Re-enter the password for verification

  10. The system displays the following message when the upgrade is complete:

    Successfully upgraded.
    

    The upgrade logs are located in the /tmp/novell_access_manager/ directory. The logs have time stamping.

Upgrading the Access Gateway Appliance

  1. Open a terminal window.

  2. Log in as the root user.

  3. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  4. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./ma_upgrade.sh
    
  5. Enter the Access Manager Administration Console user ID.

  6. Enter the Access Manager Administration Console password

  7. Re-enter the password for verification

    The upgrade logs are located in the /tmp/novell_access_manager/ directory. The logs have time stamping.

Upgrading the SSL VPN

If you have installed both the SSL VPN and the Administration Console on the same machine, see Upgrading the Administration Console.

  1. Open a terminal window.

  2. Log in as the root user.

  3. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  4. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./upgrade.sh
    
  5. The system displays the following confirmation message:

    Do you want to upgrade the above components (y/n)?
    
  6. Type Y and press Enter.

  7. Enter the Access Manager Administration Console user ID.

  8. Enter the Access Manager Administration Console password

  9. Re-enter the password for verification

  10. The system displays the following message when the upgrade is complete:

    Successfully upgraded.
    

    The upgrade logs are located in the /tmp/novell_access_manager/ directory. The logs have time stamping.

9.1.2 Upgrading from Access Manager 3.2, 3.2 SP1, and 3.2 SP1 IR1a to 3.2 SP2

You must be on Access Manager 3.2 to upgrade to a higher version. For upgrading, you need to upgrade the components in the following order:

IMPORTANT:The J2EE agents upgrade is not supported.

While you are upgrading the components be aware of the following:

  • Ensure that you are on Access Manager 3.2 or a higher version.

  • You must backup the files that you have customized.

Upgrading the Administration Console

If the Identity Server and SSL VPN are installed on the same machine as the Administration Console, the Identity Server and SSL VPN are automatically upgraded with the Administration Console.

If the Identity Server is installed on the same machine as the Administration Console, the Identity Server is automatically upgraded with the Administration Console. If you are upgrading this configuration and you have custom JSP pages, you can either create your own backup of these files or allow the upgrade program to back them up for you.

If you have installed SSL VPN along with the Administration Console, the SSL VPN server must be upgraded along with the Administration Console.

If you select not to upgrade the SSL VPN server with the Administration Console, the upgrade stops.

  1. Back up any customized JSP pages and related files.

    Even though the upgrade program backs up the JSP directory and its related files in the /root/nambkup folder, it is a good practice to backup these files.

    /var/opt/novell/tomcat7/webapps/nidp/jsp

  2. Open a terminal window.

  3. Log in as the root user.

  4. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  5. (Conditional) If you have installed the SSL VPN server with the Administration Console and you have customized the SSL VPN user interface, back up the customized sslvpnclient.jsp file, then save it as /var/opt/novell/tomcat7/webapps/sslvpnsslvpnclient.jsp.rpmsave file.

    If a file with that name already exists, then either delete the existing file or move it to another location before saving the current .jsp file.

  6. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./upgrade.sh
    
  7. The system displays the confirmation message along with the list of installed components. For example, if the Administration Console and Identity Server are installed on the same machine, the following message is displayed:

    The following components were installed on this machine 
    
    1. Access Manager Administration Console 
    2. Identity Server 
    Do you want to upgrade the above components (y/n)?
    
  8. Type Y to upgrade. A Warning message regarding backup and restore of JSP files is displayed.

  9. Type Y to continue with the upgrade, then press Enter.

  10. Type Y to restore the custom login pages.

  11. Enter the Access Manager Administration Console user ID.

  12. Enter the Access Manager Administration Console password.

  13. Re-enter the password for verification.

  14. The system displays the following message when the upgrade is complete:

    Upgrade completed successfully. 
    
  15. (Optional) To view the upgrade files:

    • To view the upgrade log files, see the files in the /tmp/novell_access_manager directory.

    • If you selected to back up your configuration and used the default directory, see the zip file in the /root/nambkup directory. The log file for this backup is located in the /var/log directory.

    • If the Identity Server is installed on the same machine, the JSP directory was backed up to the /root/nambkup directory. The file is prefixed with nidp_jps and contains the date and time of the backup.

If you encounter an error, see Troubleshooting a Linux Administration Console Upgrade in the NetIQ Access Manager 3.2 SP2 Installation Guide.

Upgrading the Identity Server

Use the following procedure to upgrade the stand-alone Identity Server or the Identity Server installed along with the SSL VPN server. If you have installed both the Identity Server and the Administration Console on the same machine, see Upgrading the Administration Console.

IMPORTANT:Make sure to complete the following before you begin:

  • If you are upgrading the Access Manager components on multiple machines, ensure that the time and date are synchronized on all machines.

  • Make sure that the Access Manager Administration Console is running. However, you must not perform any configuration tasks in the Administration Console during an Identity Server upgrade.

  1. Back up any customized JSP pages and related files.

    Even though the upgrade program backs up the JSP directory and its related files in the /root/nambkup folder, it is a good practice to backup these files.

  2. Open a terminal window.

  3. Log in as the root user.

  4. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  5. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./upgrade.sh
    
  6. The system displays the following confirmation message:

    The following components were installed on this machine
    
    1. Identity Server
    
    Do you want to upgrade the above components (y/n)? 
    
  7. Type Y and press Enter. A Warning message regarding backup and restore is displayed.

  8. Would you like to continue this upgrade? Type Y to upgrade.

  9. The system displays the following message:

    If old jsp pages need to be restored, ensure that you sanitize them to prevent possible Cross-site Scripting attacks. You can sanitize jsp pages after restoring them. Do you want to restore custom login pages? (y/n): 
    

    Type Y to restore.

  10. Enter the Access Manager Administration Console user ID.

  11. Enter the Access Manager Administration Console password

  12. Re-enter the password for verification

  13. The system displays the following message when the upgrade is complete:

    Upgrade completed successfully.
    
  14. Restore any customized files from the backup taken earlier. To restore files, copy files to the respective locations:

    • /opt/novell/nam/idp/webapps/nidp/jsp

    • /opt/novell/nam/idp/webapps/nidp/html

    • /opt/novell/nam/idp/webapps/nidp/images

    • /opt/novell/nam/idp/webapps/nidp/config

    • /opt/novell/nam/idp/webapps/nidp/WEBINF/lib

    • /opt/novell/nam/idp/webapps/nidp/WEBINF/web.xml

    • /opt/novell/nam/idp/webapps/nidp/WEBINF/classes

    • /opt/novell/nam/idp/webapps/nidp/WEBINF/conf

    • /opt/novell/java/jre/lib/security/bcslogin.conf

    • /opt/novell/java/jre/lib/security/nidpkey.keytab

    • /opt/novell/nam/idp/webapps/nidp/classUtils

    • /opt/novell/nam/idp/conf/server.xml

    • /opt/novell/nam/idp/conf/tomcat7.conf

Upgrading the Access Gateway Appliance

Before you proceed to upgrade the Access Gateway Appliance, make sure you do the following:

If you have installed the SSL VPN server with the Access Gateway Appliance and you have customized the SSL VPN user interface, make a backup of the customized sslvpnclient.jsp file, then save it as /var/opt/novell/tomcat7/webapps/sslvpnsslvpnclient.jsp.rpmsave file.

If a file with that name already exists, then either delete or move the existing file to another location before saving the current .jsp file.

See Customizing SSL VPN User Interface in the NetIQ Access Manager 3.2 SP2 SSL VPN Server Guide.

  1. Back up any customized JSP pages and related files.

    Even though the upgrade program backs up the JSP directory and its related files in the /root/nambkup folder, it is a good practice to backup these files.

  2. Open a terminal window.

  3. Log in as the root user.

  4. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  5. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./ma_upgrade.sh
    
  6. A Warning message regarding backup and restore is displayed. If you have customized any files, take a backup and restore them after installation.

  7. Would you like to continue this upgrade? Type Y to continue.

  8. Do you want to restore custom login pages? Type Y to confirm.

  9. Enter the Access Manager Administration Console user ID.

  10. Enter the Access Manager Administration Console password

  11. Re-enter the password for verification

  12. The system displays the following message when the upgrade is complete:

    Upgrade completed successfully.
    
  13. Restore any customized files from the backup taken earlier. To restore the files, copy the files to the respective locations below:

    • /opt/novell/nam/mag/tomcat7/conf/web.xml

    • /opt/novell/nam/mag/tomcat7/webapps/nesp/WEB-INF/web.xml

    • /opt/novell/nam/mag/tomcat7/webapps/nesp/jsp

    • /opt/novell/nam/mag/tomcat7/webapps/nesp/html

    • /opt/novell/nam/mag/tomcat7/webapps/nesp/images

    • /opt/novell/nam/mag/webapps/agm/WEB-INF/config/current

    • /opt/novell/nam/mag/tomcat7/webapps/nesp/config

    • /opt/novell/devman/jcc/scripts/presysconfig.sh

    • /opt/novell/devman/jcc/scripts/postsysconfig.sh

Upgrading the SSL VPN

If you have installed both the SSL VPN and the Administration Console on the same machine, see Upgrading the Administration Console.

Make sure that you have done the following before you proceed with the upgrade:

  • Upgrade the Administration Console, Identity Server, and Access Gateway Appliance before upgrading SSL VPN servers that are installed on separate machines.

    If the SSL VPN server was installed with the other Access Manager components, the SSL VPN server is automatically upgraded along with the other components.

  • If you have installed high bandwidth SSL VPN, make sure you download and install the high bandwidth SSL VPN RPM. SSL VPN has a high bandwidth RPM that needs to be installed once to get its capabilities. This RPM should be installed before upgrading the SSL VPN server. For information on how to install the high bandwidth SSL VPN RPM, see Section 7.3, Installing the Key for the High-Bandwidth SSL VPN.

  • The Access Manager Administration Console must be up and running before you begin upgrading SSL VPN servers. Do not perform any configuration tasks in the Administration Console during an SSL VPN Server upgrade

  • If you have customized the SSL VPN user interface, make a backup of the customized sslvpnclient.jsp file, then save it as /var/opt/novell/tomcat7/webapps/sslvpnsslvpnclient.jsp.rpmsave file. If a file with that name already exists, then either delete or move the existing file to another location before saving the current .jsp file.

    See Customizing SSL VPN User Interface in the NetIQ Access Manager 3.2 SP2 SSL VPN Server Guide.

  1. Open a terminal window.

  2. Log in as the root user.

  3. Download the upgrade file from Patches and Security and extract the tar.gz file using the following command: tar -xzvf <filename>.

  4. Change to the directory where you unpacked the file, then enter the following command in a terminal window:

    ./upgrade.sh
    
  5. The system displays the following confirmation message:

    Do you want to upgrade the above components (y/n)?
    
  6. A Warning message regarding backup and restore is displayed. If you have customized any files, take a backup and restore them after installation. For more information, see

  7. Would you like to continue this upgrade? Type Y to continue.

  8. Enter the Access Manager Administration Console user ID.

  9. Enter the Access Manager Administration Console password

  10. Re-enter the password for verification

  11. The system displays the following message when the upgrade is complete:

    Upgrade completed successfully.
    
  12. Restore any customized files from the backup taken earlier. To restore the files, copy the files to the respective locations below:

    • /var/opt/novell/tomcat7/conf/server.xml

    • /var/opt/novell/tomcat7/conf/tomcat7.conf

    • /var/opt/novell/tomcat7/webapps/sslvpn/WEB-INF/web.xml

    • /var/opt/novell/tomcat7/webapps/sslvpn/WEB-INF/conf

    • /var/opt/novell/tomcat7/webapps/sslvpn/*.jsp

    • /var/opt/novell/tomcat7/webapps/sslvpn/pages*

    • /var/opt/novell/tomcat7/webapps/sslvpn/jsp

    • /var/opt/novell/tomcat7/webapps/sslvpn/html

    • /var/opt/novell/tomcat7/webapps/sslvpn/images

    • /var/opt/novell/tomcat7/webapps/sslvpn/common

    • /var/opt/novell/tomcat7/webapps/sslvpn/SSLVPNClientHelp