APPX/Linux - APPX 5.0.0 Upgrade Instructions

This page provides the information needed to upgrade an existing APPX/Linux installation to APPX 5.0.0.


Overview

Warning - These instructions specifically apply to upgrading from APPX 4.2.a to APPX 5.0.0. If you are upgrading from an older release of APPX, these instructions may not be applicable. You should consider upgrading to APPX 4.2.a first and then upgrading to APPX 5.0.0.

To upgrade your existing APPX/Linux installation from APPX 4.2.a to APPX 5.0.0, you must complete the following steps:

  1. Preliminary Tasks
  2. Convert Your System Administration Files
  3. Install the APPX Utility upgrade
  4. Install a new APPX 5.0.0 License Key
  5. Configure the new APPX Login Manager
  6. Final Tasks

Preliminary Tasks

  1. Ask all users to log off
  2. Verify the integrity of all files in your system
    • System Administration Files
    • Design Files
    • Data Files
  3. Terminate (kill) the APPX Connection Manager (appxd)
  4. Terminate (kill) any APPX sessions that are still active (there shouldn't be any if everyone has logged off)
  5. Terminate (kill) the APPX License Server session
  6. Backup your system

Convert Your System Administration Files

The first step of upgrading your APPX 4.2.a installation to APPX 5.0.0 is to convert your System Administration files to the new APPX 5.0.0 format. The System Administration files for APPX 4.2.a are not compatible with APPX 5.0.0 and must be converted to the APPX 5.0.0 format.

Install the Upgrade Application

GUI Installation

Log in to your Linux system as the "root" user.

Download the installer for the APPX 4.2.a to APPX 5.0.0 upgrade application (APPX4to5upgrade_linux.sh) from the APPX web site or the APPX ftp server and save it to your Desktop or to any other suitable folder.

Change the permissions on the downloaded installer file (APPX4to5upgrade_linux.sh) to have Execute permissions.


SetExecutePermissions.png

Run the installer file (APPX4to5upgrade_linux.sh). If you are presented with a "Run or Display?" screen similar to the one below, click on the "Run" button.


RunScript.png

After a few moments, the APPX 4.2 to 5.0 Upgrade Application Setup Wizard should display the Welcome screen. Click on the "Next" button to continue.


Welcome.png

Read the Installation Instructions and then click on the "Next" button to continue.


InstallationInstructions.png

Specify the Destination Directory into which the upgrade utility is to be installed. The directory that you specify must be the directory where APPX 4.2.a is installed on your system. As a matter of convention, this directory is usually "/usr/local/appx/".


DestinationDirectory.png

The APPX Upgrade Application (5SA Version 00) will then be installed into the specified destination directory.


InstallingFiles.png

When the installation wizard displays the final screen, click on the Finish button to end the installation wizard.


Finished.png

Character Mode Installation

Configure the Upgrade Application

After installing the Upgrade Application, you must run APPX as an APPX System Administrator and configure the Upgrade Application.

Add the upgrade application (5SA 00) to the Applications file.


Add5SAApplication.png

Add the database (5SA) for the Upgrade Application to the Databases file.


Add5SADatabase.png

Run Database Management for the Upgrade Application and Database.


DatabaseMgt.png

Run Create Files.


RunCreateFiles.png

Run the Upgrade Application

After configuring the Upgrade Application, you must run the Upgrade Utility to convert your System Administration files.

RunDatabase5SA.png

Click on the "Convert" button to run the conversion utility.


ConversionUtility.png

The conversion utility will create a log. Specify the appropriate disposition options to print the conversion log.


ConversionLogDispositionScreen.png

The conversion log will inform you of any problems that may have been encountered while running the conversion utility.


ConversionLog.png

Install the APPX Utility Upgrade

The APPX 5.0.0 installer supports two different methods for upgrading your APPX/Linux system. The installer may be run as GUI installer or as a Console Mode (character mode) installer. The same installer is used for either method. The installer will automatically detect if it is being run as a command or from a GUI Desktop. Regardless of which installation method is used, the result is the same. A typical APPX installation on a system where APPX has been previously installed performs the following steps:

  1. Installs APPX into the destination directory replacing the previously installed APPX release.
  2. Sets the appropriate permissions

Install the Upgraded System Administration Files

Before you install the APPX Utility, you must first replace your old System Administration files with the new System Administration files that were created when you ran the upgrade utility to convert your System Administration files to the new APPX 5.0.0 structure. You can use a "cp" command similar to the example below to replace your old System Administration with the upgraded files. Be sure to edit the copy command to reference the directory where APPX is installed on your system if APPX is not installed in "/usr/local/appx". cp -f /usr/local/appx/data/5SA/5SA/Data/* /usr/local/appx/data/0SA/Data

You should also remove the System Administration structure files. You can use a "rm" command similar to the example below to remove your System Administration structure files. Be sure to edit the rm command to reference the directory where APPX is installed on your system if APPX is not installed in "/usr/local/appx". rm -f /usr/local/appx/data/0SA/Struct

GUI Installation

Log in to your Linux system as the "root" user.

Download the APPX/Linux GUI installer (appxsetup.sh) from the APPX web site or the APPX ftp server and save it to your Desktop or to any other suitable folder.

Change the permissions on the downloaded installer file (appxsetup.sh) to have Execute permissions.


InstallerProperties.png

Run the installer file (appxsetup.sh). If you are presented with a "Run or Display?" screen similar to the one below, click on the "Run" button.


RunOrDisplay.png

After a few moments, the APPX Setup Wizard should display the Welcome screen. Click on the "Next" button to continue.


WelcomeToSetupWizard.png

Read and accept the license agreement.


AcceptLicenseAgreement.png

Specify the Destination Directory into which the APPX Utility is to be installed. The directory that you specify must be the directory where APPX 4.2.a is installed on your system. As a matter of convention, this directory is usually "/usr/local/appx/".


SelectDestinationDirectory.png

You will be warned that the destination directory already exists. Click on the "Yes" button to continue.


DirectoryAlreadyExists.png

APPX will then be installed into the specified destination directory.


InstallingFiles.png

When the installation wizard displays the final screen, click on the Finish button to end the APPX Setup Wizard.


CompletingInstallation.png

Character Mode Installation

Install a new APPX 5.0.0 License Key

Log On to your Linux system as a user who is an APPX System Administrator. Then start a local APPX session by running client-local.sh. You should be presented with the following System Registration screen. Notice that the Effective Date field on this registration is blank. Starting with APPX 5.0.0, all License Keys include an Effective Date. You must install an updated License Key before you will be able to run APPX 5.0.0. If you have an updated License Key for your system, you should install it now.


LicenseKey.png

After installing a new 5.0.0 License Key, your System Registration screen should include an Effective Date.


LicenseKey500.png

Configure the new APPX Login Manager

APPX 5.0.0 includes the new APPX Login Manager service. This service replaces the Connection Manager (appxd) which was included with APPX releases prior to APPX 5.0.0. The old Connection Manager will not work with APPX 5.0.0 and should not be used. You should remove appxd and start-appxd.sh from the tools directory since they are no longer needed. You should also remove any commands that might be run to start appxd during the boot process.

To configure and start the new APPX Login Manager service, log in as the root user and execute a command similar to the following:

 /usr/local/appx/services/appxLoginMgr -install -name=appxLogin8060 -port=8060

 Warning - the engine that you named has the setuid bit enabled,
          you may not want that bit set for the authentication
          method that you have chosen (OS-User)
           To turn off the setuid bit, chmod u-s ../appx
Configuration written to:  appxLogin8060.ini
Environment written to:    appxLogin8060.env
Service script written to: /etc/init.d/appxLogin8060
Configuration complete
Registering service
Starting appxLogin8060:                                    [  OK  ]
Warning - the engine that you named has the setuid bit enabled,
          you may not want that bit set for the authentication
          method that you have chosen (OS-User)
           To turn off the setuid bit, chmod u-s ../appx
up and running (process 31754 servicing port 8060)
Installation Complete_

After executing the above command, users should be able to use the APPX 5.0.0 Desktop Client to successfully login on port 8060. For additional information on managing APPX Login Services, please refer to the complete documentation.

Final Tasks

  1. Upgrade Design Files
    • Remove the Structure files for each application
    • Run Create Files for each application
  2. Upgrade APPX Desktop Client for all users
  3. Configure new features as desired

Comments:

Read what other users have said about this page or add your own comments.



-- SteveFrizzell - 2 Nov 2009

Edit | Attach | Watch | Print version | History: r23 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2009-11-03 - SteveFrizzell
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback