Tags:
create new tag
view all tags

APPX Linux/Unix - APPX 5 Upgrade Instructions

This page provides the information needed to upgrade an existing APPX 4.2.a Linux/Unix installation to APPX 5.


Overview


Warning - These instructions specifically apply to upgrading from APPX 4.2.a to APPX 5. 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.

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

  1. Obtain a new Release 5.0 License from your Reseller or Distributor
  2. Complete the preliminary tasks
  3. Convert Your System Administration Files
  4. Install the APPX Utility upgrade
  5. Install a new APPX 5.0.0 License Key
  6. Configure the new APPX Login Manager
  7. Final Tasks

Preliminary Tasks

  1. Ask all users to log off
  2. Verify the integrity of all files in your system and correct any errrors.
    • System Administration Files
    • Design Files
    • Data Files
  3. Backup your system

Convert Your System Administration Files

The first step of upgrading your APPX 4.2.a installation to APPX 5 is to convert your System Administration files to the new APPX 5 format. The System Administration files for APPX 4.2.a are not compatible with APPX 5 and must be converted to the APPX 5 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 upgrade application (APPX4to5upgrade_linux.sh for Intel based computers running Linux, or Appx4to5upgrade_risc.tar.gz for RISC based computers) 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

If you don't have access to a GUI you can run the this installer in character mode by appending "-c" to the command line. After a few moments, the Appx Setup Wizard should display the Welcome message. Press Enter to continue the installation.

# ./Appx4to5upgrade_linux.sh -c
Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
This will install Appx 4.2 to 5.0 Upgrade Application on your computer.
OK [o, Enter], Cancel [c]


Next, the installation and conversion instructions will be displayed. Press Enter when you are ready to continue.

Installation Instructions

This conversion utility is an Appx application that will read your
existing 4.2 System Administration files and write new 5.0 System
Administration files into a work directory. Once Appx 5.0 is installed
you can copy the System Administration files from this work directory
into place as your live System Administration files.
Here are the steps involved in installing and using this utility


1. Install conversion application into your current appx installation path.
2. Add application 5SA version 00 in System Administration - Applications.
3. Add database 5SA connected to Application 5SA 00 in System Administration - Databases.
4. Process the Data Dictionary for application 5SA 00.
5. Create data files for Database 5SA, application 5SA.
6. Run application 5SA, database 5SA and follow the on screen instructions.


Choose the location for the installation.

Where should Appx 4.2 to 5.0 Upgrade Application be installed?
[/usr/local/appx/]


The files will then be copied to your hard disk. When this is finished, you are ready to continue with 'Configure the Upgrade Application'

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

Create the Design Files for Application 5SA. APPX should report "File Already Exists" for each file. If not, the application was not installed in the correct location. Repeat the installation steps above, specifing the correct location

Screen_shot_2009-11-10_at_2.46.40_PM.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 Upgraded System Administration Files

You are almost ready to install Release 5 on top of your existing installation. Before actually installing APPX, you should:

  1. Terminate (kill) the APPX Connection Manager (appxd)
  2. Terminate (kill) any APPX sessions that are still active (there shouldn't be any if everyone has logged off)
  3. Terminate (kill) the APPX License Server session
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/*

Install APPX 5.x

Now follow these steps to install APPX 5.x:


Overview

Two different methods are provided to install APPX on Linux/Unix. There is a GUI installer and a Console Mode (character mode) installer. The same installer is used for both methods. The installer will automatically detect if it is being run as a command or from a GUI Desktop, although in some cases you may have to add "-c" to the command line to force the character installer. Regardless of which installation method is used, the result is the same. A typical APPX installation on a system where APPX has not been previously installed performs the following steps:

  1. Creates an O/S user named "appx" and a group named "appxgrp".
  2. Creates the destination directory and installs APPX into it.
  3. Sets the appropriate permissions
  4. Runs APPX to allow you to complete the configuration
    • Add APPX System Administrators to the APPX user file
    • Configure and start the APPX Login Manager service
    • Configure and start the APPX Audit Manager service
    • Install the license key

GUI Installation on Linux/Unix

Log in to your 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. The following instructions will refer to the appxsetup.sh file, which is the name of the Linux installer. The installers for other operating systems have similar names, ie, appxsetup-aix.sh for AIX, appxsetup-sun.sh for Solaris, and so on. if you are downloading directly from the ftp site, make sure you choose the correct installer for your O/S, and substitute your installer's name in the following instructions.

Change the permissions on the downloaded installer file 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 APPX is to be installed. As a matter of convention, APPX is usually installed into /usr/local/appx but may be installed into the directory of your choice.


SelectDestinationDirectory.png

You will be warned if the destination directory already exists. Otherwise, the APPX Setup Wizard will create it.


DirectoryAlreadyExists.png

APPX will then be installed into the specified destination directory.


InstallingFiles.png

When the APPX Setup Wizard displays the final screen, click on the Finish button to end the APPX Setup Wizard and to automatically run APPX to complete the configuration and installation of APPX.


CompletingInstallation.png

When you click on the Finish button, an APPX session will be automatically launched to APPX500NewInstallConfigAPPX of the APPX environment.

Finally, if you intend to log into APPX as user "appx", then you must add a password for the "appx" o/s user that was created by the installer (use the "passwd appx" command).

After completing the above steps, you should be able to login to APPX as user "appx" from a remote desktop using the ADC.

Character Mode Installation

If you don't have access to a GUI, you can run the Appx installer in character mode by appending "-c" to the command line. After a few moments, the Appx Setup Wizard should display the Welcome message. Press Enter to continue the installation.

On some systems the Java based installer may fail to run with a notice as shown below even though you are supplying the -c argument. In this case, make sure you have dejavu-sans-font package installed, and also that you have a non headless version of a JRE available to the installer. You can do that with the following yum command on RHEL8.

yum install dejavu-sans-fonts java-1.8.0-openjdk

Could not display the GUI. This application needs access to an X Server.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
[root@rhel8 Downloads]#

# ./appxsetup.sh -c

Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
This will install Appx on your computer.
OK [o, Enter], Cancel [c]


Next, read and accept the License agreement. Press Enter as each page is displayed.

Please read the following License Agreement. You must accept the terms of this agreement before continuing with the installation.

Software License

APPX Utility - Release 5.0.0

_ Important! _

Please read this carefully before you click on the Accept button.

Definitions:

"Software License Agreement (SLA)" shall mean this Software License document and the associated *License Key document collectively.

[Enter]

After the agreement has been displayed, enter 1 to accept the license agreement, or 2 to cancel the installation.

.
.
.
For inquires regarding this agreement, please contact: APPX Software, Inc., 11363 San Jose Blvd., Suite 301, Jacksonville, Florida 32223, USA

I accept the agreement

Yes [1], No [2]


Choose the directory where APPX should be installed and the other installation options.

Where should Appx be installed?

[/appx50]

Create a desktop icon?

Yes [y, Enter], No [n]

Create a Quick Launch icon?

Yes [y, Enter], No [n]


Install a new APPX 5.x 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 or higher. Note that in Release 5 and higher you can copy your registration to the clipboard, and APPX will detect it when you choose "Typical Import" from the "Import Menu" below.


LicenseKey.png

After installing a new 5.x 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:

 cd /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.x 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. Review your 'appx.env' file. Ensure any settings you still need are there. However, remove any obsolete settings. In particular, do not set APPX_42_EPS, this will cause system wide problems with Page Up/Down.
  2. Create the new System Administration files ("System Administration/File Management/System Admin Files" on pull down menu).
  3. Upgrade Design Files
    • Remove the Structure files for each of your applications. It is not necessary to do this to the applications supplied with Appx (0AD, 0LA, 0DB, 0SA, 1EX, DMO, etc)
    • Run Create Files for each of your applications
    • Run 'Sync Widget Elements' for each of your applications. This is optional, as APPX will force you to do this the first time you go into an application after installing Release 5.0
    • Run 'Load Initial Audit History' for each of your applications. This is optional, as APPX will automatically build the history as you make changes to your application. For example, the first time you go into INPUTs, APPX will see that the audit history is missing and it will create it as it reads the input process records. Regardless of whether you run this, APPX will start keeping a detailed audit history of changes in applications from this point on. However, you should decide now whether to run this step now or not. If audit information already exists in the audit file when you run this step, it will duplicate the data.
    • Run 'Sync Design Elements' for each of your applications.
  4. Install the new APPX Desktop Client for all users
  5. Configure new features as desired

Comments:

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


Did an AIX upgrade, ran into the following: - when using the character installer, the permissions were not set. Had to manually change ownership & set sticky bit. - using 'ssh -X user@host' and then trying to run either client-local or client.sh did not work. The ADC would hang at 'Negotiating GUI something or other' - When trying to create new Sys Admin files, got error about Invalid Prototype Record Length on SYSDFLT. Scratched all Ems/Dbgs for the 0-apps and problem went away.

-- JeanNeron - 2010-01-27

-- SteveFrizzell - 2 Nov 2009

Edit | Attach | Watch | Print version | History: r23 < r22 < r21 < r20 < r19 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r23 - 2021-08-23 - JoeOrtagus
 
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