Installing VsrvTcp 4.9.x

From Vital Soft Wiki
Jump to: navigation, search

Installing Vsrvtcp 4.9.x

Overview

Visimage3 requires installation of Vsrvtcp Version 4.9.x.

This version of Vsrvtcp is not compatible with most versions of Visimage 2.6 and earlier . Sites that wish to run both Visimage3 and Visimage 2.6 in the same environment should install this version of Vsrvtcp on a different port and continue to use the older Vsrvtcp with Visimage 2.6

Once your site is ready to end support of Visimage 2.6, follow the steps in the section titled "Configuring Vsrvtcp 4.9 as the only listener" below .


Download the latest version of Vsrvtcp 4.9 from the website here.

  • Make sure you choose the appropriate version, PA-Risc or Itanium.

Installation

New Vsrvtcp versions are distributed as individual .gz files. Each version has a unique name in the format vsrvtcp_arch_ver.gz, where 'arch' is the supported system (pa32 or it64) and ver is the version number. For example, vsrvtcp_it64_4914.gz.'

1. Transfer the file to UNIX:

  • Transfer the gz file, using a binary transfer, to the /ASKPLUS directory.

2. Unzip and Copy the File:

  • Logon to HPUX as root
cd /ASKPLUS
gunzip vsrvtcp_arch_ver.gz (Your file will have a different name, for example: vsrvtcp_it64_4914.gz)
cp vsrvtcp_arch_ver vsrvtcp49

3. Update Permissions:

  • While still loged in as root
chown root vsrvtcp49
chmod 755 vsrvtcp49
chmod +s vsrvtcp49

4. Check the Version:

  • You can be logged in as any user now
./vsrvtcp49 -v

5. Start Vsrvtcp:

  • If the version number is correct, start Vsrvtcp on a different port:
./vsrvtcp49 -a -t -n30503 > /dev/null
(Where 30503 is any available port number.)

More information on starting and stopping the listener is available here.

Configuring Vsrvtcp 4.9 as the only listener

shutdown both listeners (syntax documented here)
make a backup copy of the old vsrvtcp
mv vsrvtcp vsrvtcp_old
make a copy of vsrvtcp4914 the default version
cp vsrvtcp4914 vsrvtcp
restart vsrvtcp on the port used by the original vsrvtcp. This ensures any AskPlus jobs referencing the port will still work.
Tell all Visimage3 users to update the default port in Edit->Preferences General Tab