Introduction
The upgrade from EMu Version 3.1 to EMu 3.2.01 involves a number of steps. Please follow the instructions below carefully. You cannot skip any steps under any circumstances. Before proceeding with the update please ensure that a complete backup of the KE EMu server exists and is restorable.
There are four main components that require upgrading:
- Texpress (the database engine)
- TexAPI (web services)
- EMu Server (the application)
- EMu Client (the client)
The notes below detail how to upgrade all systems. Check the Releases table for Client specific notes. Upgrading comprises the following steps:
In the notes below clientname refers to the name of the client directory for the current installation. The term ~emu is used to refer to the user emu's home directory. This is normally /home/emu.
Requirements
If upgrading to EMu 3.2.04 or later the following is also required:
- Perl version 5.8 or greater
Stopping EMu services
- Log in as emu.
- Enter client clientname
- Enter emuweb stop
- Enter emuload stop
Installing Texpress
Installing Texpress 8.1 is only required for the first client upgraded to EMu 3.2. Once Texpress 8.1 has been installed this section may be skipped for subsequent upgrades.
- Enter cd ~emu
- Enter mkdir -p texpress/8.1/install
- Enter cd texpress/8.1/install
- Obtain the appropriate Texpress version for your Unix machine via the KE Texpress hyperlink above. Save the release in ~emu/texpress/8.1/install calling it texpress.sh.
- Enter sh texpress.sh
The Texpress release will be extracted.
- Enter . ./.profile
- Enter bin/texinstall ~emu/texpress/8.1 (expand the ~emu)
The Texpress installation script will commence.
- Enter cd ~emu/texpress/8.1
- Enter . ./.profile
- Enter texbldperms
- Enter bin/texlicinfo. Obtain your KE Texpress licence code and place it in a file called .licence.
- Enter bin/texlicset < .licence to install the licence.
- Enter \rm -fr install
If you are installing on Linux, Solaris or FreeBSD you may need to setup PAM support (you will definitely need to do this if you are installing on Red Hat Linux). For details see Setup PAM.
Upgrading TexAPI
Installing TexAPI is only required for the first client upgraded to EMu 3.2. Once TexAPI has been installed this section may be skipped for subsequent upgrades.
- Enter cd ~emu/texpress
- Obtain the appropriate TexAPI version for your Unix machine via the KE TexAPI hyperlink above.
Save the release in ~emu/texpress calling it texapi.sh.
- Enter sh texapi.sh -i ~emu/texpress/texapi (expand the ~emu).
- Enter rm -f texapi.sh
Upgrading EMu Server
- Enter cd ~emu
- The install bundle must be unarchived into a new temporay directory.
It is recommended to use a new temporary directory named ~emu/clientname/install. Enter mkdir clientname/install
- Enter cd clientname/install
- Obtain the appropriate EMu server version bundle via the KE EMu Server hyperlink above.
Save the release bundle file in the ~emu/clientname/install temporary directory.
- Extract the client release by using the name of the actual release file.
Enter sh emu-clientname-yymmddv.sh The EMu release will be extracted.
- Enter . ./.profile
- Enter bin/emuinstall clientname. The KE EMu installation script will commence.
- Enter cd ~emu/clientname
- Enter cp .profile.parent ../.profile
- Enter . ../.profile
- Enter client clientname
- Enter emuload stop
- Enter emuweb stop
- Enter emubldinstall
- Enter emubldlinks
- Removal of the the temporary directory (and its contents) is recommended:
Enter \rm -fr install
- Enter upgrade-3-2-01. The client will now be upgraded to EMu 3.2. If you are upgrading from a version prior to EMu 3.1.02 you must run the upgrade scripts for all version after the old version before running the EMu 3.2 upgrade. In particular be careful when upgrading to EMu 3.1 to make sure you run the correct upgrade sequence.
Starting EMu services
- Enter emuload start
- Enter emuweb start
- Enter exit to close the command shell.
- Log out.
Upgrading EMu Client
When upgrading to EMu 3.2 the Windows client does not need to be upgraded on each individual machine unless the version of Crystal reports used by the client has changed. To upgrade the EMu Client follow the Installing EMu Client notes.
|