Panel | |
---|---|
|
For the UDMG Web Transfer Client, please refer to UDMG Web Transfer Client for Linux Installation.
Upgrading Universal Data Mover Gateway
Upgrading UDMG refers to the increase of a currently installed pre-2.0.x Version, Release, or Modification level of UDMG (1.5.x, 1.4.x, 1.3.x, 1.2.x) to UDMG 2.0.x.
Warning |
---|
As a precautionary measure, it is highly recommended that you back up the UDMG database prior to upgrading. |
Upgrading from a pre-2.0 UDMG release
If you are upgrading an installation of UDMG from any release before 2.0.0.0, the following changes must be reviewed carefully.
Note | ||
---|---|---|
| ||
Starting with UDMG version 2.0, a license key must be provided to enable file transfers. Contact your Stonebranch representative or Customer Support to receive the license key before upgrading to version 2.0 or later. |
...
Note | ||
---|---|---|
| ||
The start parameters for several services have changed. Please review the start scripts, especially for manual installation or if the Systemd service files have been edited. The following modules now require a 'start' command in server mode.
Without it, they will only display the command line usage information. In addition, a 'test' command allows the syntax of the configuration file to be verified without starting the server. |
New configuration parameter with UDMG 2.0.0.0
Note | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
UDMG Server
|
Upgrading from a pre-1.3 UDMG release
Note | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
If you are upgrading an installation of UDMG from any release before 1.3.0.0, you must uninstall the older version before installing the new version. Migration from releases before 1.2.1.1 (0.7.1-sb.3) is not supported anymore.
It may be required to modify the work and data directories ownership or access rights and to update UDMG Server transfer rules to use paths that are accessible by the 'udmg' user. The configuration files must be reviewed and compared between the old and new locations. Special attention is required for the AESpassphrase parameter for UDMG Server. It must be the path for the file that was used by the previous release and must be accessible by the new service user. It is recommended to set an absolute path in the configuration file. |
...
Pre-Installation / Upgrade Backups
The installation process overwrites the current files (exception: the configuration files are kept), this may affect your modifications.
Backing up the configuration files optimizes the time it takes you to get up and running after installing or upgrading.
/opt/udmg/etc/udmg/nginx/udmg.conf
/opt/udmg/etc/udmg/agent/client.toml
/opt/udmg/etc/udmg/agent/server.toml
/opt/udmg/etc/udmg/auth-proxy/config.toml
/opt/udmg/etc/udmg/web-transfer/config.toml
/opt/udmg/etc/udmg-server/server.ini
After upgrading RPM or DEB packages, review the new configuration file templates (with the extension .rpmnew or .dpk-new) and edit the current configuration files to add new parameters or remove deprecated parameters.
Anchor db_migration db_migration
Release Migration
The UDMG release version is stored in the database to ensure the data structure is compatible with the version of the UDMG components.
...
Upgrading with Linux Software Packages
Step 1 | Contact your Stonebranch representative or Customer Support to receive the software package for the intended operating system. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Step 2 | Perform the recommended backup of configuration files. | ||||||||||
Step 3 | Stop the components services. The exact steps depend on the system architecture and the deployed components, for example:
| ||||||||||
Step 4 | Upgrade the UDMG packages (RPM or DEB). For RPM based Linux:
For Debian based Linux:
| ||||||||||
Step 5 | Review the component configuration files. Note that new configuration file templates (with the extension .rpmnew or .dpk-new) that contain all the allowed parameters are added during the software package upgrade.
| ||||||||||
Step 6 | Perform the release migration. | ||||||||||
Step 7 | Review the component service configuration files. For instance, the UDMG Authentication Proxy service file (
Note the addition of the
The same applies for the other components:
| ||||||||||
Step 8 | Start the components services. The exact steps depend on the system architecture and the deployed components, for example:
| ||||||||||
Step 9 | Verify or apply the license; see UDMG Licensing. |
...
Step 1 | Contact your Stonebranch representative or Customer Support to receive the software package for the intended operating system. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Step 2 | Perform the recommended backup of configuration files. | ||||||||||
Step 3 | Stop the components services. The exact steps depend on the system architecture and the deployed components, for example:
| ||||||||||
Step 4 | Replace the component binaries:
Change ownership/permissions on new files:
Upgrade the Admin UI:
| ||||||||||
Step 5 | Review the component configuration files. Refer to each component installation section below for the list of parameters. | ||||||||||
Step 6 | Perform the release migration. | ||||||||||
Step 7 | Review the component service configuration files. For instance, the UDMG Authentication Proxy service file (
Note the addition of the
The same applies for the other components:
| ||||||||||
Step 8 | Start the components services. The exact steps depend on the system architecture and the deployed components, for example:
| ||||||||||
Step 9 | Verify or apply the license; see UDMG Licensing. |
...
Note | ||
---|---|---|
| ||
Starting with UDMG version 2.0, a license key must be provided to enable file transfers. Contact your Stonebranch representative or Customer Support to receive the license key before installing version 2.0 or later. |
UDMG
...
Note |
---|
The following steps require root privilege, so make sure that you have the correct access before continuing. |
...
User Setup
Create a dedicated user for running the UDMG modules and to be the owner of the files that are transferred by UDMG.
Panel |
---|
|
UDMG Server
Create the configuration file /opt/udmg/varetc/wwwudmg-server/udmgserver.ini with the following parameters:
Panel |
---|
Panel |
|
- The zip file can now be deleted.
- If SELinux is enabled on the host, proceed with the steps in the section below: Using UDMG with SELinux
- Validate that the service is working properly, for example with the 'curl' command:
Panel |
---|
|
or with the browser:
UDMG User Setup
Create a dedicated user for running the UDMG modules and to be the owner of the files that are transferred by UDMG.
Panel |
---|
|
UDMG Server
Create the configuration file /opt/udmg/etc/udmg-server/server.ini with the following parameters:
Panel |
---|
|
Note | ||
---|---|---|
| ||
The lines starting with a semicolon ';' or a hash '#' are comments, either describing the option or showing the default value. The parameters must be adapted to your environment, in particular:
|
Note | ||
---|---|---|
| ||
About the log section:
|
Note | ||
---|---|---|
| ||
About the global section: the requested OS file and directory creation permissions are applied after the |
|
Note | ||
---|---|---|
| ||
The lines starting with a semicolon ';' or a hash '#' are comments, either describing the option or showing the default value. The parameters must be adapted to your environment, in particular:
|
Note | ||
---|---|---|
| ||
About the log section:
|
Note | ||
---|---|---|
| ||
About the global section: the requested OS file and directory creation permissions are applied after the |
Panel |
---|
; Threshold before warning for long-running queries, the default is 10 seconds WarningTimeout=10s
|
...
Please refer to Authentication Methods for the LDAP and SSO authentication options.
...
Methods for the LDAP and SSO authentication options.
- Verify the configuration file with the 'test' command:
Panel |
---|
|
In case of syntax error, a verbose message will indicate the line and the issue:
Panel |
---|
|
- Install the binary under
/opt/udmg/
...
In case of syntax error, a verbose message will indicate the line and the issue:
Panel |
---|
|
- Install the binary under
/opt/udmg/bin:
Panel |
---|
|
...
bin:
Panel |
---|
|
UDMG Admin UI
Note |
---|
The following steps require root privilege, so make sure that you have the correct access before continuing. |
Extract the distribution files for UDMG Admin UI, under the directory that was configured as the web server root directory during the NGINX Server configuration, The standard value is
/opt/udmg/var/www/udmg
.
Panel |
---|
|
- The zip file can now be deleted.
- If SELinux is enabled on the host, proceed with the steps in the section below: Using UDMG with SELinux
- Validate that the service is working properly, for example with the 'curl' command:
Panel |
---|
|
or with the browser:
UDMG Agent Proxy
The UDMG Agent Proxy client is installed inside the LAN, typically on the same host as UDMG Server.
The UDMG Agent Proxy Server is installed on the Proxy host, typically in the DMZ.
Agent Proxy Server Configuration
...
Setup the Systemd Services
Note | ||
---|---|---|
| ||
If you are upgrading an installation of UDMG from any release before 2.0.0.0, the start parameters for several services have changed. Please review them carefully, especially for manual installation or if the Systemd service files have been edited. The following modules now require a 'start' command in server mode.
Without it, they will only display the command line usage information. In addition, a 'test' command allows the syntax of the configuration file to be verified without starting the server. |
UDMG Server
Create a new service definition:
...
Anchor | ||||
---|---|---|---|---|
|
Security-Enhanced Linux (SELinux) is enabled by default on modern RHEL and CentOS servers. Each operating system object (process, file descriptor, file, etc.) is labeled with an SELinux context that defines the permissions and operations the object can perform. In RHEL 6.6/CentOS 6.6 and later, NGINX is labeled with the httpd_t
context.
When SELinux is enabled, the UDMG Admin UI shows "403 access denied" and "404 page not found" errors on the landing page, and permission errors are reported in the NGINX log files:
Panel |
---|
|
...