|
Unix: Upgrading Vitalware 2.1 to a 2.1 patch release |
|
|
Vitalware 2.1 Install/Upgrade Notes
|
Introduction
Upgrading an installed Vitalware 2.1 to a later patch level is a straight forward procedure. There are four main components that can be upgraded:
- Texpress (the database engine)
- TexAPI (web services)
- Vitalware Server (the application)
- Vitalware Client (the client)
The notes below detail how to upgrade all systems. If you only need to upgrade one system, just skip the notes detailing the other ones. Check the Releases table for Client specific notes. Upgrading comprises the following steps:
In the notes below client refers to the name of the client directory for the current installation. The term ~vw is used to refer to the user vw's home directory. This is normally /home/vw.
Requirements
Stopping Vitalware services
- Log in as vw
- Enter client client
- Enter vwload stop
- Enter exit to close the command shell.
- Log out.
Upgrading Texpress
- Log in as vw
- Enter cd ~vw/texpress
- Enter mkdir -p 8.2.xxx/install where xxx is the version of Texpress being installed.
- Enter cd 8.2.xxx/install
- Obtain the appropriate Texpress version for your Unix machine via the KE Texpress hyperlink above. Save the release in ~vw/texpress/8.2.xxx/install calling it texpress.sh.
- Enter sh texpress.sh. The Texpress release will be extracted.
- Enter . ./.profile
- Enter bin/texinstall ~vw/texpress/8.2.xxx (expand the ~vw).
The Texpress installation script will commence.
- Enter cd ~vw/texpress/8.2.xxx
- Enter . ./.profile
- Enter texbldperms
- Enter bin/texlicinfo. Obtain your Texpress licence code and place it in a file called .licence.
- Enter bin/texlicset < .licence to install the licence.
- Enter \rm -fr install
- Enter cd ~vw/texpress
- Enter \rm -f 8.2
- Enter ln -s 8.2.xxx 8.2
- The previous Texpress version installed should be kept to allow quick rollback if a problem occurs, all older versions should be removed.
- Stayed logged in as vw for the KE TexAPI installation.
Upgrading TexAPI
- Assumes you are logged in as vw.
- Enter cd ~vw/texpress
- Enter mkdir 6.0.xxx where xxx is the version of TexAPI being installed.
- Obtain the appropriate TexAPI version for your Unix machine via the KE TexAPI hyperlink above.
Save the release in ~vw/texpress calling it texapi.sh.
- Enter sh texapi.sh -i ~vw/texpress/6.0.xxx (expand the ~vw).
- Enter \rm -f texapi
- Enter ln -s 6.0.xxx texapi
- Enter \rm -f texapi.sh
- The previous TexAPI version installed should be kept to allow quick rollback if a problem occurs, all older versions should be removed.
- Enter exit to close the command shell.
- Log out.
Upgrading Vitalware Server
- Log in as vw.
- Enter cd ~vw/client
- Enter mkdir install
- Enter cd install
- Obtain the appropriate Vitalware version via the KE Vitalware Server hyperlink above.
Save the release in ~vw/client/install calling it vw.sh.
- Enter sh vw.sh. The Vitalware release will be extracted.
- Enter . ./.profile
- Enter bin/vwinstall -n client>/tmp/install. This runs a fake install and the /tmp/install file now contains a list of all files that will get installed if an actual install is done.
- Enter vi /tmp/install. Check for the files which do not need to be installed and delete them from the file. Save the modified file.
- Enter sh /tmp/install.
- Enter cd ~vw/client
- Enter cp .profile.parent ../.profile
- Enter . ../.profile
- Enter client client
- Enter vwload stop
- Enter vwbldlinks
- Enter \rm -fr install
- Enter exit to close the command shell.
- Log out.
- Please consult version release notes for any specific upgrades required for the new version.
- Ensuring that the databases are functional after the upgrade is important. Check the install file to determine if any new "ins" form has been instaalled as part of the upgrade. If yes, check the CVS log of that insertion form to find if any new fields have been added . If yes, you will need to ensure that either the upgrade script has re-indexed the database or you will need to re-index it manually.(Unless it's a friday night when you can leave the re-indexing to the weekly maintenance!)
Starting Vitalware services
- Log in as vw.
- Enter vwload start
- Enter exit to close the comand shell.
- Log out.
Upgrading Vitalware Client
To upgrade the Vitalware Client follow the Installing Vitalware Client notes.
|
|
Last Updated on Thursday, 29 July 2010 09:36 |