GoAnywhere MFT Upgrade Guide Version 5.5.2 Copyright Terms and Conditions

The content in this document is protected by the Copyright Laws of the United States of America and other countries worldwide. The unauthorized use and/or duplication of this material without express and written permission from HelpSystems is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to HelpSystems with appropriate and specific direction to the original content. HelpSystems and its trademarks are properties of the HelpSystems group of companies. All other marks are property of their respective owners. 201705160331 Table of Contents

Before You Begin 4 5.3.0 Requires Java 7 Minimum 4 Browser Compatibility 4 Upgrade Process 4 Post Upgrade Notes 5 Starting GoAnywhere MFT in Clustered Environments 5 Enable Schedules, Monitors, and Triggers 5 Changes to Resource Passwords 5 System Requirements 6 Windows Requirements 6 / Requirements 6 IBM i (iSeries) Requirements 6 Download the Upgrade File 8 Upgrading the Java Virtual Machine (JRE) 9 Upgrading the External JRE 9 Upgrading the Embedded JRE (Windows) 10 Upgrading the Embedded JRE (Linux) 11 IBMi Java Upgrade Requirements 12 Windows Upgrade Instructions 14 Linux/UNIX Upgrade Instructions 16 IBM i Upgrade Instructions 17 Upgrading a Cluster Environment 19 Downgrading GoAnywhere MFT 20 Restoring the GA MFT Libraries on IBM i 21 About Linoma Software 23 Contacting Linoma Software 23

GoAnywhere MFT User Guide www.goanywhere.com page: 3 Before You Begin This guide outlines the steps required for upgrading GoAnywhere MFT to the latest version.

n Check if there are any updates available for GoAnywhere MFT by logging in to its browser interface as a user with the Product Administrator role. From the main menu bar, point to Help and then click Check for Updates. The system checks for updates and provides you with further upgrade options. The Check for Update process provides guidance to upgrade GoAnywhere MFT to the latest version.

n Since GoAnywhere MFT must be restarted to apply the updates, it is important that you perform the upgrade process when no projects or file transfers are active in GoAnywhere MFT.

n It is recommended that you clean up the temporary workspace by deleting the older files and subfolders from under the folder named [installfolder]/userdata/workspace. 5.3.0 Requires Java 7 Minimum Your Java Virtual Machine must be upgraded to Java 7 or later, and any prior versions of the bundled JRE must be removed before you can upgrade to GoAnywhere MFT 5.3.0. See the Upgrading the JAVA Virtual Machine topic for more information. Browser Compatibility The GoAnywhere MFT Administrator and Web Client interface's require modern internet browsers that support HTML 5. Popular browsers are supported including Internet Explorer*, Chrome, Firefox and Safari. Please note that some HTML 5 advanced features, such as drag and drop, will not work in older versions of browsers. * GoAnywhere MFT supports Microsoft Internet Explorer 9, 10 and 11. Upgrade Process An upgrade script (program) is available which will perform all the necessary steps to upgrade GoAnywhere MFT. Download the latest upgrade script by visiting the GoAnywhere Customer Portal at my.goanywhere.com.

1. Verify you are upgraded to Java 1.7.0 or later. 2. Verify you meet the minimum system requirements. 3. Obtain the correct upgrade file. 4. Follow the steps for the installed platform:

l Windows

l Linux/UNIX

l IBM i

GoAnywhere MFT User Guide www.goanywhere.com page: 4 Before You Begin / Post Upgrade Notes

Post Upgrade Notes

Starting GoAnywhere MFT in Clustered Environments All systems in the cluster must point to the same set of shared folders for storing documents, certificates and other user files. Participants in the cluster will not start if the Coordinator is configured to use relative paths. New shared folder locations were added during the upgrade from GoAnywhere Director or Services to GoAnywhere MFT 5.0.1. These folder locations must be configured to use a shared folder, even if you are not licensed for the feature that accesses these folders. The shared folder locations can be found in the GoAnywhere MFT Install Guide's "Setting up the First System in the Cluster"section.

Enable Schedules, Monitors, and Triggers In GoAnywhere MFT version 5.2.0 and later, Schedules, Monitors, and Trigger engines are now enabled from the Admin Server page in GoAnyhwere. If you disabled the Scheduler, Monitors, or Triggers prior to upgrading from 5.1.x to a later version, you must enable them by navigating to System > Admin Server, and then click the Start button next to each engine.

Changes to Resource Passwords In GoAnywhere MFT version 5.4.0 and later, A new feature in GoAnywhere MFT 5.4.0 improves the ability for Admin Users with the Resource Manager Role to recover Resource passwords. For more information on this enhancement, open the Help within the GoAnywhere application and navigate to Resources > Recover Resource Passwords.

page: 5 www.goanywhere.com GoAnywhere MFT User Guide System Requirements You must meet the minimum system requirements before upgrading GoAnywhere MFT on your server. Windows Requirements

Operating Systems supported Windows Server 2003®

Windows Server 2008 R2®

Windows Server 2012®

Windows Server 2012 R2®

Windows Server 2016®

Windows XP®

Windows Vista®

Windows 7®

Windows 8®

Disk space 300 MB for product (does not include user data) Memory 512 MB minimum

Linux/Unix Requirements

Disk space 300 MB for product (does not include user data) Memory 512 MB minimum

IBM i (iSeries) Requirements Operating System IBM i V7R1 or higher Disk Space 250 MB for product (does not include user data) Memory 512 MB minimum

Required Licensed Programs The following IBM i licensed programs are prerequisites to the installation of GoAnywhere MFT, which are dependent on the IBM i release and your choice if supported Java version.

GoAnywhere MFT User Guide www.goanywhere.com page: 6 System Requirements / IBM i (iSeries) Requirements

IBM i Licensed Program Product Description Release Option V7R1 5761JV1 14 Java SE 7 32 bit (Only one option is 15 Java SE 7 64 bit required) 16 Java SE 8 32 bit 17 Java SE 8 64 bit 5770SS1 30 QShell 5770SS1 33 Portable App Solutions Environment V7R2, V7R3 5770JV1 14 Java SE 7 32 bit (Only one option is 15 Java SE 7 64 bit required) 16 Java SE 8 32 bit 17 Java SE 8 64 bit 5770SS1 30 QShell 5770SS1 33 Portable App Solutions Environment

To check if the licensed programs (listed above) are installed on your IBM i, execute the command GO LICPGM and select option 10 to display the installed licensed programs. Press F11 twice from that screen to display the Product Options. If these licensed programs are not loaded on your IBM i, they may be available on the IBM software CDs that came with your IBM i. Otherwise, you will have to request those licensed programs from IBM, which are normally provided at no charge. Required PTFs The following IBM i Program Temporary Fixes (PTFs) and Group PTFs are prerequisites to installing GoAnywhere MFT.

V7R1 Group PTF SF99572 (minimum level of 23) V7R2 Group PTF SF99716 (minimum level of 8) V7R3 Group PTF SF99725

Use the command DSPPTF to verify that the required individual PTFs are applied. Use the command WRKPTFGRP to verify that the required group PTFs are applied.

page: 7 www.goanywhere.com GoAnywhere MFT User Guide Download the Upgrade File The GoAnywhere Customer Portal is where you can create support requests, check the status of a support case, download software updates and documentation, and manage your GoAnywhere MFT license. You must create an account in order to use the portal. The portal can be accessed by using your internet browser and navigating to my.goanywhere.com

Installed Version Upgrade Version 5.0.0 Upgrade to GoAnywhere MFT 5.0.1 using the ga_upgrade5_0_1.jar that is available on the Customer Portal. 5.0.1-5.5.1 Upgrade to GoAnywhere MFT 5.5.2 using thega_upgrade5_5_2.jar that is available on the Customer Portal.

Depending how old your current GoAnywhere MFT version is, you may need to repeat the upgrade process until you are upgraded to the current version of 5.5.2. The versions must be upgraded in the order listed below to maintain database integrity.

NOTE: Your current installed version can be found by pointing to the Help menu and then clicking About.

GoAnywhere MFT User Guide www.goanywhere.com page: 8 Upgrading the Java Virtual Machine (JRE) GoAnywhere MFT 5.3.0 requires Java 1.7.0 or later. Depending on the operating system, GoAnywhere MFT may use a JRE that is bundled with the application or it may use an existing JRE which is already installed. Follow the steps below to determine which JRE is being used and then take the appropriate upgrade steps.

NOTE: If GoAnywhere MFT is using JRE version 1.8, it must be at least 1.8.0_45.

Determine Java (JRE) version and Location

1. From the menu bar, point to Help, then click About. 2. In the About window, click the System Info tab. 3. On the System Info tab, verify the Java Version and the Java Home values.

l If the Java Home is configured to [INSTALL_DIR]/jre or [INSTALL_DIR]/jre6, you are using the embedded JRE. Use the Upgrade instructions below to upgrade your embedded JRE.

l If the Java Home is configured to any other directory, you are using an external JRE. Upgrade your external JRE to Java 1.7.0 or later.

Cleaning Up Existing Embedded JRE Folders Even if GoAnywhere MFT is using an external JRE, it is possible than an embedded JRE still exists within the application. If so, the upgrader may attempt to use the embedded JRE rather than the one used to start GoAnywhere. In order to prevent the upgrader from using the old embedded JRE, you must remove the [INSTALL_DIR]/jre folder, or rename the [INSTALL_DIR]/jre to something like [INSTALL_DIR]/jre.old. Upgrading the External JRE Follow your Java vendor's instructions to upgrade your External JRE. Once the JRE is upgraded to 1.7.0 or later, ensure the unlimited strength JCE policy files are installed and the Java execution environment is correct: JCE Policy Files Before GoAnywhere MFT can be started or upgraded using the new JRE, it requires installation of the unlimited strength JCE policy files. To use the unlimited strength policy files, copy the US_export_ policy.jar file and the local_policy.jar file from the jce_policy_files/oracle/1_7 folder (located in the GoAnywhere MFT installation folder) to the jre/lib/security folder (located in the JRE's installation directory). For IBM platforms (e.g. AIX), copy the JCE policy files of US_export_policy.jar and local_policy.jar from the jce_policy_files/ibm folder (located under the GoAnywhere MFT installation folder) to the jre/lib/security folder (located under the JRE's installation directory).

GoAnywhere MFT User Guide www.goanywhere.com page: 9 Upgrading the Java Virtual Machine (JRE) / Upgrading the Embedded JRE (Windows)

Changing JAVA_HOME For Linux The JAVA_HOME environment variable needs to be set to the appropriate location for Java 1.7 (or later). To set the Java version used to run GoAnywhere MFT on Linux, run the following command before executing the GoAnywhere MFT upgrade script. export JAVA_HOME='/path/to/jre'

'/path/to/jre' is the absolute path to the JRE, for example: '/usr/lib/jvm/jdk7/jre' Changing JAVA_Home For Windows The JAVA_HOME environment variable needs to be set to the appropriate location for Java 1.7 (or later). To set the Java version used to run GoAnywhere MFT on Windows, run the following command before executing the GoAnywhere MFT upgrade script.

1. Open the Control Panel and navigate to System And Security > System. 2. Click the Advanced system settings link. 3. On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1.7.0_02. Upgrading the Embedded JRE (Windows) Use the following instructions to upgrade the embeded Java version to 1.7 on Windows installations:

1. Determine the architecture of your GoAnywhere install. Log in to GoAnywhere and navigate to the Help > About page. Click on the System Properties tab and search for the property 'os.arch'. a. amd64 indicates 64 bit architecture b. i386 indicates 32 bit architecture 2. Download the appropriate JRE bundle. a. http://www.linomafiles.com/releases/goanywhere/jrebundles/windows-x86-1.7.0_79.zip b. http://www.linomafiles.com/releases/goanywhere/jrebundles/windows-x64-1.7.0_79.zip 3. Shut down GoAnywhere. 4. Navigate to the installation directory. By default, this is C:\Program Files\Linoma Software\GoAnywhere 5. Rename the old 'jre' folder to 'jre.old' 6. In some cases, this folder might be called 'jre6'. If so, rename this file to 'jre6.old'. If both 'jre' and 'jre6' folders exist, rename both folders. 7. Create a new 'jre' folder in the installation directory and copy the downloaded JRE bundle into that directory 8. Extract the contents of the JRE bundle into the current directory.

page: 10 www.goanywhere.com GoAnywhere MFT User Guide Upgrading the Java Virtual Machine (JRE) / Upgrading the Embedded JRE (Linux)

The result should look like this:

9. Start GoAnywhere. 10. Navigate to the Help > About page and verify Java has been upgrade to Java 1.7.0 or later. 11. You can now upgrade GoAnywhere to MFT 5.3.0. Upgrading the Embedded JRE (Linux) Use the following instructions to upgrade the embedded Java version to 1.7 on Linux installations:

1. Determine the architecture of your GoAnywhere install. Log in to GoAnywhere and navigate to the Help> About page. Click on the System Properties tab and search for the property 'os.arch'. a. amd64 indicates 64 bit architecture b. i386 indicates 32 bit architecture 2. Download the appropriate JRE bundle. a. http://www.linomafiles.com/releases/goanywhere/jrebundles/linux-x86-1.7.0_79.tar.gz b. http://www.linomafiles.com/releases/goanywhere/jrebundles/linux-x64-1.7.0_79.tar.gz 3. Log in as the user account that owns the GoAnywhere installation directory and its contents. This is typically the same user account used to start and stop GoAnywhere.

GoAnywhere MFT User Guide www.goanywhere.com page: 11 Upgrading the Java Virtual Machine (JRE) / IBMi Java Upgrade Requirements

4. Shut down GoAnywhere. 5. Navigate to the installation directory. For example, /usr/local/Linoma_Software/GoAnywhere. 6. Rename the old 'jre' folder to 'jre.old' 7. In some cases, this folder might be called 'jre6'. If so, rename this file to 'jre6.old'. If both 'jre' and 'jre6' folders exist, rename both folders. 8. Create a new 'jre' folder in the installation directory and copy the downloaded JRE bundle into that directory. 9. Extract the contents of the JRE bundle into the current directory.

l $ gunzip linux-x86-1.7.0_79.tar.gz

l $ tar -xvf linux-x86-1.7.0_79.tar

The result should look like this:

10. Start GoAnywhere. 11. Navigate to the Help > About page and verify Java has been upgrade to Java 1.7.0 or later. 12. You can now upgrade to GoAnywhere MFT 5.3.0 IBMi Java Upgrade Requirements Required PTFs The following Group PTFs are prerequisites to run GoAnywhere MFT 5.3.0 on Java 1.7. Use the command WRKPTFGRP to verify that the required group PTFs are applied.

page: 12 www.goanywhere.com GoAnywhere MFT User Guide Upgrading the Java Virtual Machine (JRE) / IBMi Java Upgrade Requirements

IBM i Licensed Program Product Description Release Option V7R1 5761JV1 14 Java SE 7 32 bit (Only one option is 15 Java SE 7 64 bit required) 16 Java SE 8 32 bit 17 Java SE 8 64 bit 5770SS1 30 QShell 5770SS1 33 Portable App Solutions Environment V7R2, V7R3 5770JV1 14 Java SE 7 32 bit (Only one option is 15 Java SE 7 64 bit required) 16 Java SE 8 32 bit 17 Java SE 8 64 bit 5770SS1 30 QShell 5770SS1 33 Portable App Solutions Environment

Changing Java Home

1. Stop the GoAnywhere MFT subsystem by executing the IBM i command of ENDGA. The ENDGA command is located in the installation library, which is named GOANYWHERE by default. Wait until the GoAnywhere MFT subsystem is completely shutdown before proceeding. 2. Run GOANYWHERE/CFGGA and select option 2 on Java Home and Java Version. 3. Change the Java Home value from /QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit to /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit and then press ENTER to save. 4. Change the Java Version value from 1.6 to 1.7 and then press ENTER to save. 5. Run GOANYWHERE/CPYPOLICY to copy the JCE unlimited strength policy files into the JVM used by GoAnywhere MFT. 6. Start the GoAnywhere MFT subsystem by executing the IBM i command of STRGA. The STRGA command is located in the installation library, which is named GOANYWHERE by default. 7. Navigate to the Help > About page and verify Java has been upgrade to Java 1.7.0 or later. 8. You can now upgrade to GoAnywhere MFT 5.3.0

GoAnywhere MFT User Guide www.goanywhere.com page: 13 Windows Upgrade Instructions

NOTE: Prior to beginning the upgrade, Linoma Software suggests that you move any previous backup folders(e.g. /backup, /backup 2, /backup 3, etc.) out of the [installfolder] folder (where [installfolder] is the location where GoAnywhere MFT is installed).

1. Rename the downloaded upgrade file to ga_upgrade.jar 2. Copy the downloaded upgrade file to [installfolder]\upgrader, where C:\Program Files\Linoma Software\GoAnywhere is the default installation directory of GoAnywhere MFT. 3. Sign into the GoAnywhere MFT browser-based Administrator and verify there are no active jobs or transfers before proceeding. 4. Login to the Windows system as an administrator. a. If the GoAnywhere MFT database is configured to run on Microsoft SQL Server with integrated security, you must login as the same user that runs the GoAnywhere Windows Service. The user can be identified by right-clicking on the GoAnywhere MFT service, select Properties, and then click the Log On tab. 5. Stop the GoAnywhere MFT service. a. From the Control Panel, open Administrative Tools and then click Services. b. In the Services window, right-click the GoAnywhere service and select Stop. 6. Check the [installfolder]/tomcat/logs folder for stdout_[date].log and stderr_[date].log files. Remove all but the most recent files based on the date appended to each log file. 7. If the GoAnywhere MFT database is configured to run on a database other than the embedded Derby database, make a backup of that external database before continuing. 8. Open a Command Prompt window and change the directory to [installfolder]\upgrader.

NOTE: You must run the Command Prompt window as administrator to run the Upgrade.bat file.

9. Run the upgrade.bat file to start the upgrade process. When complete, a message indicates the upgrade was successful.

GoAnywhere MFT User Guide www.goanywhere.com page: 14 Windows Upgrade Instructions /

10. Start the GoAnywhere MFT service. a. From the Control Panel, open Administrative Tools and then click Services. b. In the Services window, right-click the GoAnywhere service and select Start. Within seconds after starting the GoAnywhere MFT service, its status should be updated to “Started”. 11. Before logging into the upgraded version of GoAnywhere MFT, each user should press CTRL + F5 from their browser to clear the cache.

page: 15 www.goanywhere.com GoAnywhere MFT User Guide Linux/UNIX Upgrade Instructions

NOTE: Prior to beginning the upgrade, Linoma Software suggests that you move any previous backup files (e.g. backup 2, backup 3, etc.) out of the [installfolder/backup] folder (where [installfolder] is the location where GoAnywhere MFT is installed).

1. Rename the downloaded upgrade file to ga_upgrade.jar 2. Copy the downloaded upgrade file to [installfolder]/upgrader, where /usr/local/Linoma_ Software/GoAnywhere is the default installation directory of GoAnywhere MFT. 3. Sign into the GoAnywhere MFT browser-based Administrator and verify there are no active jobs or transfers before proceeding. 4. Login to the system as a root user and open a terminal window. 5. Stop the GoAnywhere MFT service: a. Change the working directory to the directory where GoAnywhere MFT is installed. For example: cd /usr/local/Linoma_Software/GoAnywhere b. Stop the GoAnywhere MFT application server by executing the following bash shell script: ./goanywhere.sh stop 6. Check the size on the [installfolder]/tomcat/logs/catalina.out file. If it is larger than 5 megabytes, rename the file and move it to a different folder outside the [installfolder] location. 7. If the GoAnywhere MFT database is configured to run on a database other than the embedded Derby database, make a backup of that external database before continuing. 8. Change the directory to [installfolder]/upgrader. 9. Run the upgrade.sh file to start the upgrade process. a. Change the directory to [installfolder]/upgrader. b. Start the upgrade by executing the following bash shell script: sudo ./upgrade.sh When complete, a message indicates the upgrade was successful. 10. Start the GoAnywhere MFT service: a. Change the working directory to the directory where GoAnywhere MFT is installed. For example: cd /usr/local/Linoma_Software/GoAnywhere b. Start the GoAnywhere MFT application server by executing the following bash shell script: ./goanywhere.sh start 11. Before logging into the upgraded version of GoAnywhere MFT, each user should press CTRL + F5 from their browser to clear the cache.

GoAnywhere MFT User Guide www.goanywhere.com page: 16 IBM i Upgrade Instructions

1. Rename the downloaded upgrade file to ga_upgrade.jar. 2. Copy the downloaded upgrade file to [installfolder]/upgrader on the IFS, where /linoma/goanywhere/ is the default installation directory of GoAnywhere MFT. If GoAnywhere MFT is installed in a different directory, substitute with that directory. 3. Sign into the GoAnywhere MFT browser-based Administrator and verify there are no active jobs or transfers before proceeding. 4. Sign on to an IBM i session with the QSECOFR user profile or with a profile that has *ALLOBJ authority.

NOTE: If using an external database (DB2), the database user profile must have the *ALLOBJ authority to make changes to the database during the upgrade.

5. Stop the GoAnywhere MFT subsystem by executing the IBM i command of ENDGA. The ENDGA command is located in the installation library, which is named GOANYWHERE by default. Wait until the GoAnywhere MFT subsystem is completely shutdown before proceeding. 6. Verify there are no locks on the GoAnywhere MFT installation library or objects. Do not proceed with the upgrade until all locks are released. Run the following command to check for locks (assuming GOANYWHERE is the install library): WRKOBJLCK OBJ(GOANYWHERE) OBJTYPE(*LIB) 7. Check the size on the [installfolder]/tomcat/logs/catalina.out file. If it is larger than 5 megabytes, rename the file and move it to a different folder outside the [installfolder] location. 8. Run the SAVPRD command in the installation library. This saves the installation library to a save file, saves the matching folder to a save file, then saves both of those to a third save file, the name and location of which will be requested when you prompt the SAVPRD command. Specify a location to save the file in a library outside the installation library. 9. If the GoAnywhere MFT database is configured to run on a database other than the embedded Derby database, make a backup of that external database before continuing. The SAVPRD can be used to backup the external database library when running on DB2/400. Other database types require a manual backup. 10. Apply the upgrade by executing the UPGRADEGA command. The UPGRADEGA command is located in the installation library, which is named GOANYWHERE by default. 11. The user profile starting the subsystem must have *RWX permission to the GoAnywhere MFT installation folder and the entire directory tree. On V7R1 and later, a command is provided to change the authority on an entire directory tree. In this example '/linoma/goanywhere' is the installation directory and PGUSER will be the user profile that will be starting the subsystem. CHGAUT OBJ('/linoma/goanywhere') USER(PGUSER) DTAAUT(*RWX) OBJAUT (*ALL) SUBTREE(*ALL) 12. Start the GoAnywhere MFT subsystem by executing the IBM i command of STRGA. The STRGA command is located in the installation library, which is named GOANYWHERE by default.

GoAnywhere MFT User Guide www.goanywhere.com page: 17 IBM i Upgrade Instructions /

13. Before logging into the upgraded version of GoAnywhere MFT, each user should press CTRL + F5 from their browser to clear the cache.

page: 18 www.goanywhere.com GoAnywhere MFT User Guide Upgrading a Cluster Environment The following steps will ensure a successful upgrade when upgrading GoAnywhere MFT in a cluster environment. The whole cluster must be brought down during the upgrade as the first system upgraded will make core changes to the external shared database. Each server in the cluster will need a new license when upgrading to GoAnywhere MFT. When planning for downtime during the upgrade, you will only be down for the time it takes to upgrade the coordinator (first system).

1. Bring down all GoAnywhere MFT instances in the cluster. 2. Run the upgrade process for your specific operating system on a server in the cluster. During this upgrade, all required changes are made to the shared database.

l Windows Upgrade Instructions

l Linux/Unix Upgrade Instructions

l IBM i Upgrade Instructions

NOTE: After the first upgraded server has made the required changes to the shared database, each additional server will detect the updated database and only update its file system with the necessary changes.

3. Start the GoAnywhere MFT subsystem or service on the server after it is upgraded.

l If this is the first server to be upgraded, it will assume the coordinator role.

l If this is not the first server to be upgraded, verify the server has joined the cluster. 4. Repeat steps 2 and 3 for each additional server in the cluster.

GoAnywhere MFT User Guide www.goanywhere.com page: 19 Downgrading GoAnywhere MFT When an upgrade is performed, the upgrade process makes a backup of folders and files that could be changed during upgrade. These files are placed in [installfolder]/backup (where [installfolder] is the location where GoAnywhere MFT is installed). If the backup folder already exists when an upgrade starts, the existing backup directory will be renamed to backup 2, backup 3, etc. The most recent backup will always be in the base ‘backup’ directory.

NOTE: If the upgrade fails before the backup directory is successfully created, then no changes will be made and you can restart GoAnywhere MFT.

The upgrade creates an upgrade log, which displays the location of the backup folder. Example of the upgrade log:

Installed Version: 5.0.0 Upgrading to: 5.0.1 Checking the server status... GoAnywhere Server appears to be down. Okay to upgrade. Backing up currently installed files Created the backup directory: /linoma/goanywhere/backup Backup was created in: /linoma/goanywhere/backup

If you choose to downgrade GoAnywhere MFT, any changes to projects, resources, or any other GoAnywhere MFT configuration settings made after the upgrade will be lost when the rollback is performed. The rollback returns GoAnywhere MFT to the state it was just before the upgrade was performed. If the new version of GoAnywhere MFT is deemed unfit, a rollback can be performed using the following steps:

1. Stop the GoAnywhere subsystem or service. 2. Make a copy of the [installfolder] for archive purposes. 3. Delete the following folders in the [Installdirectory] (a copy of these folders should exist in the /backup directory):

l adminroot

l as2root

l config

l dbscripts

l ghttpsroot

l lib

l messages

GoAnywhere MFT User Guide www.goanywhere.com page: 20 Downgrading GoAnywhere MFT / Restoring the GA MFT Libraries on IBM i

l proddata

l tomcat 4. If running on the embedded Derby database, the [InstallDirectory]/backup folder will contain a 'userdata' folder. DO NOT remove the corresponding 'userdata' folder from the install directory. To Rollback the derby database, navigate to [InstallDirectory]/userdata/database/goanywhere and remove all files and folders. Copy the backup of the Derby datbase from [InstallDirectory]/backup/userdata/database/goanywhere/* to the now empty [InstallDirectory]/userdata/database/goanywhere.

NOTE: If GoAnywhere MFT was upgraded from GoAnywhere Services, the database folder may be 'gaservices' instead of 'goanywhere'.

If using an external database, restore that database to the backup made just prior to upgrading GoAnywhere MFT. 5. Copy the contents of the [installfolder]/backup folder to the [installfolder]. On IBM i, you must also restore the save files created by the SAVPRD command that was used to install or upgrade GoAnywhere. The first file is named GOANYWHERE, the second file to restore is required if GoAnywhere is using the external DB2 database. The second file is typically named GADDATA. Further instructions for IBMi are provided below. 6. Ensure the user profile used to start GoAnywhere has ownership authority to the restored files. On IBM i and Unix/Linux systems, ensure the user profile used to start GoAnywhere has execute permission to all shell scripts (*.sh). 7. Navigate to the [installfolder]/tomcat/work folder and delete all files present in that folder. 8. Start the GoAnywhere MFT subsystem or service. Restoring the GA MFT Libraries on IBM i

When upgrading GoAnywhere on an IBM i, you were instructed to run the SAVPRD command which saves the installation library. The library specified in the SAVPRD step is where the save file (*SAVF) is located. This save file contains 2-3 save files, containing the GoAnywhere library, The GoAnywhere IFS folder, and (if it exists) the GADDATA library.

page: 21 www.goanywhere.com GoAnywhere MFT User Guide Downgrading GoAnywhere MFT / Restoring the GA MFT Libraries on IBM i

Example of the SAVPRD screen, prior to the upgrade:

1. Rename the existing GOANYWHERE and GADDATA libraries. This will preserve the libraries and check for necessary authority. Ensure these libraries are renamed before moving to the next step. 2. To confirm the names of the primary save files, use the command DSPSAVF mylibrary/gamftsavf (use the actual library and file name specified when the SAVPRD command was run). The following image illustrates the results of the command:

NOTE: To restore the SIFSGA (GoAnywhere IFS Folders), follow the instructions in step 5 above.

3. Restore the temporary save files using the following command:

RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF([mylibrary]/[gamftsavf]). You should see the message “3 Objects Restored…”

4. If using the DB2 Database Library, use this command. Note: If downgrading GA Services, the SAVLIB would be GASDATA. RSTOBJ OBJ(*ALL) SAVLIB(GADDATA) DEV(*SAVF) SAVF(QTEMP/SDATAGA)

5. Finally, restore the GoAnywhere program library. Note: If downgrading GA Services, the SAVLIB would be GASERVICES. RSTOBJ OBJ(*ALL) SAVLIB(GOANYWHERE) DEV(*SAVF) SAVF(QTEMP/SLIBGA)

GoAnywhere MFT User Guide www.goanywhere.com page: 22 About Linoma Software Linoma Software provides innovative technologies for protecting sensitive data and automating data movement. Linoma Software has a diverse install base of over 3,000 customers around the world including Fortune 500 companies, non-profit organizations and government entities. Linoma Software’s success has been built on being very responsive to our customer’s requirements. If you have suggestions on how we can improve our products to better serve your organization, please let us know.

Contacting Linoma Software

Online Sales [email protected] Support [email protected] Web Site www.GoAnywhere.com

Phone Toll-free (800) 949-4696 Outside USA (402) 944-4242 Fax (402) 944-4243

Mail Linoma Software 103 South 14th Street Ashland, NE 68003 United States

GoAnywhere MFT User Guide www.goanywhere.com page: 23