GoAnywhere MFT Upgrade Guide Version: 5.0.4 Publication Date: 08/12/2015
Copyright 2015 Linoma Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is furnished under a license agreement and may be used only in accordance with the terms of that agreement. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or any means electronic or mechanical, including photocopying and recording for any purpose other than the purchaser's personal use without the written permission of Linoma Software. GoAnywhere and the GoAnywhere logo are trademarks of Linoma Software, Inc. Other trademarks shown are the property of their respective owners. Linoma Software 103 South 14th Street Ashland, NE 68003 United States This document was published on 8/12/2015. GoAnywhere MFT Upgrade Guide www.goanywhere.com 2
Contents Welcome 4 Before You Begin 4 Upgrade Process 4 System Requirements 5 Windows Requirements 5 Linux/Unix Requirements 5 IBM i (iseries) Requirements 5 Download the Upgrade File 7 Windows Upgrade Instructions 8 Linux/UNIX Upgrade Instructions 9 IBM i Upgrade Instructions 10 Upgrading a Cluster Environment 11 Downgrading GoAnywhere MFT 12 About Linoma Software 14 Contacting Linoma Software 14 GoAnywhere MFT Upgrade Guide www.goanywhere.com 3
Welcome Welcome This guide outlines the steps required for upgrading GoAnywhere MFT to the latest version. Before You Begin 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 Administration 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. 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. 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. 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 meet the minimum system requirements. 2. Obtain the correct upgrade file. 3. Follow the steps for the installed platform: Windows Linux/UNIX IBM i GoAnywhere MFT Upgrade Guide www.goanywhere.com 4
System Requirements 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 XP Windows Vista Windows 7 Windows 8 Disk space Memory 300 MB for product (does not include user data) 512 MB minimum Linux/Unix Requirements Disk space Memory 300 MB for product (does not include user data) 512 MB minimum IBM i (iseries) Requirements Operating System Disk Space Memory IBM i V6R1 or higher 250 MB for product (does not include user data) 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. IBM i Release Licensed Program Product Option Description V6R1 5761JV1 11 Java SE 6 32 bit 5761SS1 30 QShell 5761SS1 33 Portable App Solutions Environment GoAnywhere MFT Upgrade Guide www.goanywhere.com 5
IBM i (iseries) Requirements V7R1 5761JV1 11 Java SE 6 32 bit 5770SS1 30 QShell 5770SS1 33 Portable App Solutions Environment V7R2 5770JV1 11 Java SE 6 32 bit 5770SS1 30 QShell 5770SS1 33 Portable App Solutions Environment GoAnywhere MFT Upgrade Guide www.goanywhere.com 6
Download the Upgrade File 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 5.0.1-5.0.3 Upgrade to GoAnywhere MFT 5.0.4 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.0.4. The versions must be upgraded in the order listed below to maintain database integrity. Your current installed version can be found by pointing to the Help menu and then clicking About. GoAnywhere MFT Upgrade Guide www.goanywhere.com 7
Windows Upgrade Instructions Windows Upgrade Instructions 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 rightclicking 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. Rename and move the most recent logs to a 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. Open a Command Prompt window and change the directory to [installfolder]\upgrader. 9. Run the upgrade.bat file to start the upgrade process. When complete, a message indicates the upgrade was successful. 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. GoAnywhere MFT Upgrade Guide www.goanywhere.com 8
Linux/UNIX Upgrade Instructions Linux/UNIX Upgrade Instructions 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 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. 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 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 Upgrade Guide www.goanywhere.com 9
IBM i Upgrade Instructions 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. 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 V6R1 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. 13. Before logging into the upgraded version of GoAnywhere MFT, each user should press CTRL + F5 from their browser to clear the cache. GoAnywhere MFT Upgrade Guide www.goanywhere.com 10
Upgrading a Cluster Environment 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. Windows Upgrade Instructions Linux/Unix Upgrade Instructions IBM i Upgrade Instructions 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. If this is the first server to be upgraded, it will assume the coordinator role. 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 Upgrade Guide www.goanywhere.com 11
Downgrading GoAnywhere MFT 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. 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): adminroot as2root config dbscripts ghttpsroot lib messages proddata tomcat GoAnywhere MFT Upgrade Guide www.goanywhere.com 12
Downgrading GoAnywhere MFT 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. 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]. 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. GoAnywhere MFT Upgrade Guide www.goanywhere.com 13
About Linoma Software 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 Support Web Site Sales@GoAnywhere.com Support@GoAnywhere.com 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 Upgrade Guide www.goanywhere.com 14