Upgrade
What is it?
The upgrade procedure replaces the XP2 Connector scripts with a newer version while preserving all configuration files. You must back up configuration files before extracting the new distribution to avoid overwriting customized settings.
- Perform this upgrade when a new version of the XP2 Connector distribution is released
- Use this procedure to replace scripts only — configuration files are backed up and restored separately
Upgrade steps
To upgrade the XP2 Connector, complete the following steps:
- FTP the distribution file to
/ops/binin binary. - Log in to the machine as root.
- Change to the
/ops/bindirectory by entering:
cd /ops/bin
- Copy all configuration (INI) files to the
/tmpdirectory. The configuration files consist of:
cp MSGIN.ini /tmp
cp SMAFetchControlNumber.ini /tmp
cp autoreply.ini /tmp
cp run_xp_job.ini /tmp
- Untar the distribution file in the
/ops/bindirectory:
tar -xvf XP2Applications-<version>.tar
- Move the configuration files back into
/ops/binto restore the configuration:
mv /tmp/MSGIN.ini /ops/bin
mv /tmp/SMAFetchControlNumber.ini /ops/bin
mv /tmp/autoreply.ini /ops/bin
mv /tmp/run_xp_job.ini /ops/bin
- Confirm the scripts are in the directory the
SMAXPSetupglobal property points to. If the property is/ops/bin/CreateXPEnvForPerl.ksh, that file must exist at that path after the upgrade.
Check the scripts landed where you expect
If the scripts are not where SMAXPSetup points, OpCon jobs keep running the previous version and the upgrade appears to have succeeded while changing nothing.