Linux upgrades
This topic describes how to upgrade an existing version of Service Virtualization on Linux platforms.
Upgrade RPM installations
To upgrade an RPM installation:
- Stop the Service Virtualization Server and Service Virtualization Manager services.
- Use the Backup and Restore tool to backup the server database.
-
Upgrade the RPM package: Run
yum update sv-server-*.rpm
The upgrade operation preserves all files in the work directory and any files copied to installation, such as SAP libraries. The configuration of the database and LDAP are preserved. However, any changes made to configuration files (such as bin/HP.SV.StandaloneServer.dll.config or bin/SvmRoot/HP.SV.ServiceVirtualizationManager.dll.config) may be cleared by the update. If this occurs, you can retrieve your original file, backed up with a .rpmsave suffix.
- Use the Backup and Restore tool to migrate and restore the database contents.
- Start the services.
Upgrade TAR installations
To upgrade a TAR installation:
- Stop the Service Virtualization Server and Service Virtualization Manager services.
- Use the Backup and Restore tool to backup the server database.
-
Backup the following files and directories from their original installation:
- The entire work directory.
- *.config files from the bin and bin/SvmRoot directories.
- Any files you may have added to the installation, such as SAP libraries in the bin directory.
- Unpack the new installation package as you would for a new installation, but do not run the setup script.
- Copy the old work directory into new installation. You can overwrite the files or delete the work directory in new installation before copying.
-
Modify configuration files in the new installation. Since you backed up the files from the old installation in step 3, it should not be difficult to determine what be changed. The important changes are:
- bin/HP.SV.StandaloneServer.database.config - your database configuration. Use the file from the old installation.
- bin/HP.SV.StandaloneServer.ldap.config - your LDAP configuration. Use the file from the old installation.
- bin/SvmRoot/HP.SV.ServiceVirtualizationManager.ldap.config - your LDAP configuration. Use the file from the old installation.
- bin/HP.SV.StandaloneServer.dll.config - Set the URL of license server and any other relevant parameters.
- Copy any extra files (such as SAP libraries) to the new installation.
- Run the setup script in the new installation. It will update the location of your new installation in the service files.
- Install systemd services as described in Installing Service Virtualization on Linux.
- Use the Backup and Restore tool to migrate and restore the database contents.
- Start the services.