installation and administration · pdf fileinstallation − unix, aix, ... goanywhere...

38
Installation and Administration Guide Product Version: 4.0.0 Publication date: 11/29/2011 © Copyright 2007-2011, LINOMA SOFTWARE LINOMA SOFTWARE is a division of LINOMA GROUP, Inc.

Upload: dinhduong

Post on 16-Mar-2018

234 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

Installation and Administration Guide

Product Version: 4.0.0 Publication date: 11/29/2011

© Copyright 2007-2011, LINOMA SOFTWARE

LINOMA SOFTWARE is a division of LINOMA GROUP, Inc.

Page 2: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 2

Table of Contents

Introduction ................................................................................................................... 4

GoAnywhere Features ......................................................................................................................... 5

How GoAnywhere Works .............................................................................................. 6

Administration ...................................................................................................................................... 6 Execution ............................................................................................................................................. 7

Installation − Windows.................................................................................................. 8

Requirements ...................................................................................................................................... 8 Installing GoAnywhere on Windows ..................................................................................................... 8

Installation − Linux ........................................................................................................ 9

Requirements ...................................................................................................................................... 9 Installing GoAnywhere on Linux ........................................................................................................... 9

Installation − UNIX, AIX, HP-UX, Solaris .................................................................... 10

Requirements .................................................................................................................................... 10 Installing GoAnywhere ....................................................................................................................... 10

Installation – IBM i (iSeries) ........................................................................................ 12

Requirements .................................................................................................................................... 12 Required licensed programs ........................................................................................................... 12 Required PTFs ............................................................................................................................... 13

IBM i components installed................................................................................................................. 13 Installing GoAnywhere on IBM i .......................................................................................................... 14

Initial Configuration .................................................................................................... 17

Customizing Installation Settings .............................................................................. 20

Changing GoAnywhere Port Numbers ................................................................................................ 20 Changing ports using the browser interface .................................................................................... 20 Changing ports using the CFGGA command on IBM i ..................................................................... 20 Changing ports by manually editing the configuration file ................................................................ 20

Disabling HTTP or HTTPS Connectors ............................................................................................... 21 SSL (HTTPS) Configuration ............................................................................................................... 22

Product Administration .............................................................................................. 23

Starting and Stopping GoAnywhere .................................................................................................... 23 Windows instructions ...................................................................................................................... 23 Linux, UNIX, HP-UX and Solaris instructions................................................................................... 23 IBM i (iSeries) instructions .............................................................................................................. 23

Upgrading GoAnywhere ..................................................................................................................... 24 Configuring HTTP Proxy ................................................................................................................. 24 Windows upgrade instructions ........................................................................................................ 25 Linux, UNIX, HP-UX and Solaris upgrade instructions ..................................................................... 26 IBM i upgrade instructions .............................................................................................................. 27

Page 3: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 3

Backups and Replication ............................................................................................ 28

Backing up GoAnywhere User Data ................................................................................................... 28 Automatically Backing Up the GoAnywhere Database (to Disk) .......................................................... 29 Manually Backing Up the GoAnywhere Database (to Disk) ................................................................. 30 IBM i Backup and Recovery ............................................................................................................... 31 Replicating GoAnywhere User Data (for High Availability) .................................................................. 32

Replication ..................................................................................................................................... 32 Failover .......................................................................................................................................... 32

GoAnywhere IBM i Commands .................................................................................. 34

Command Summary .......................................................................................................................... 34 Accessing Main Menu ........................................................................................................................ 35 SFTP, OpenPGP, ZIP and Email Command Shortcuts ....................................................................... 35

Uninstalling GoAnywhere Product ............................................................................ 36

Windows uninstall instructions ........................................................................................................ 36 Linux, UNIX, HP-UX and Solaris uninstall instructions ..................................................................... 36 IBM i uninstall instructions .............................................................................................................. 36

License agreement and limited warranty .................................................................. 37

Contacting Linoma Software ...................................................................................... 38

Page 4: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 4

Introduction GoAnywhere Director™ is a managed file transfer solution that will automate and secure the exchange of data with your customers, trading partners and enterprise servers. It can connect to almost any system (internal or external) using standard file transfer protocols. GoAnywhere Director provides a single point of control with multi-step workflow abilities, management controls and audit trails.

GoAnywhere Director's intuitive interface and comprehensive features will help you to eliminate the need for custom programs/scripts, single-function tools and manual processes which were traditionally required for moving and translating data. This innovative solution will reduce costs, improve the quality of your data transmissions and help your organization to comply with data security policies and regulations.

Page 5: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 5

GoAnywhere Features Listed below is a summary of the features in GoAnywhere Director: Automates and simplifies FTP (File Transfer Protocol) processes Connects to secure FTP servers (SFTP, FTPS, SCP) for protected communications Guarantees delivery with connection retries and file auto-resume (for interrupted transfers) Exchanges files with web servers using HTTP, HTTPS and Web Services Sends AS2 messages with support for multiple file attachments Monitors folders with options to scan for new, changed or deleted files Accesses files and directories on network shares using SMB/CIFS protocol Encrypts, signs and decrypts files using the Open PGP encryption standard Compresses and decompresses files using the ZIP, GZIP and TAR standards Connects to popular database servers including DB2, DB2/400, SQL Server, Oracle, Informix,

MySQL, PostgreSQL and Sybase Translates data to/from database tables, Excel, XML, Delimited text and Fixed Width file formats Replicates data between database servers Connects to enterprise messaging systems including Websphere MQ, SonicMQ, ActiveMQ and

SwiftMQ Sends and retrieves files via E-mail and secure E-mail Calls customer programs and scripts as part of business process workflows Allows for remote administration and monitoring through an intuitive browser interface Provides an integrated scheduler for running transfers at future dates/times Includes commands and APIs for launching transfers from remote systems and applications Produces detailed audit trails with comprehensive reporting Optionally sends logs to an enterprise SYSLOG server Sends email alerts and text messages for failed and completed transfers Includes integrated Key Management tools for Open PGP keys, SSH keys and SSL/TLS certificates

Please note that GoAnywhere Director will be referred to just as GoAnywhere throughout the remainder of this documentation.

Page 6: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 6

How GoAnywhere Works Administration Authorized users can utilize GoAnywhere’s web-based Administrator to perform configuration and monitoring within the product. The following primary functions are available within the Administrator:

Configure global settings for GoAnywhere Set up and manage users, user groups and their authorities (Roles) within GoAnywhere Set up and maintain the connections to the servers which you want to exchange data with (i.e.

database servers, FTP/SFTP/FTPS servers, HTTP servers, mail servers, etc.) Set up Keys and Certificates for any encryption requirements Define Projects of the work to be performed (i.e. data transfers, data conversions, file encryption,

compression, etc.) Execute Projects Schedule Projects to run at future dates and times Monitor actively running Projects View the logs of completed Projects

Listed below is a screen example of the main GoAnywhere Administrator page (the Dashboard):

Page 7: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 7

Execution The GoAnywhere product can be installed onto Windows, Linux, IBM i (iSeries), IBM System p (AIX), Unix, HP-UX, Mac OS and Solaris operating systems. To serve the enterprise needs, GoAnywhere’s multi-threaded architecture allows it to be scaled to process large volumes of concurrent transfers and other activities. Within GoAnywhere's browser-based Administrator, authorized users can execute business processes and transfers (Projects) immediately with a click of the mouse. Projects can also be scheduled to run at future dates and times using GoAnywhere's built-in Scheduler. Projects can additionally be called from local and remote command lines, scripts, programs and schedulers using the provided RUNPROJECT command and program APIs. The RUNPROJECT command is available for Windows, Linux, IBM i, Unix, AIX, HP-UX and Solaris platforms.

Page 8: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 8

Note: The GoAnywhere server is configured in Windows as an “automatic” startup Service. This means that the GoAnywhere server will automatically start whenever Windows starts.

Installation − Windows GoAnywhere can be installed onto a Windows server for enterprise usage. GoAnywhere can also be installed onto Windows desktops or laptops, which is useful for individual development and testing purposes. A Windows installation wizard is provided for GoAnywhere which installs the product files into the directory of your choice. GoAnywhere will be implemented as a Windows “Service” which will automatically start (by default) when Windows starts. Requirements - Operating Systems supported: Windows Server 2003

Windows Server 2008 R2 Windows XP Windows Vista Windows 7

- Disk Space: 125 MB

- Minimum Memory: 256 MB

Installing GoAnywhere on Windows Perform the following steps to install the GoAnywhere product onto a Windows machine.

1. Login to the target Windows system as an administrator.

2. Download the GoAnywhere Windows installer .EXE file from the URL provided by Linoma Software.

3. Execute the downloaded .EXE file and follow the prompts on the screens.

4. If you did not choose to start the GoAnywhere application server within the installer, then you can manually start this server by following these instructions: a. Go to Control Panel -> Administrative tools -> Services. b. In the Services window, right-click on the GoAnywhere service and select Start. c. Within seconds after starting the GoAnywhere service, its status should be updated to “Started”.

If not, please contact Linoma Software technical support.

5. The installation and startup of GoAnywhere is complete. Now you should proceed to the “Initial Configuration” instructions on page 17.

Page 9: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 9

Tip: You can setup GoAnywhere as a service so it starts automatically when the Linux system is booted. Please refer to your operating system manual for more details on setting up services. You should be able to execute goanywhere.sh from your startup scripts.

Installation − Linux GoAnywhere can be installed onto a Linux server for enterprise usage. GoAnywhere can also be installed onto Linux desktops or laptops, which is useful for individual development and testing purposes. Both 32-bit and 64-bit versions of Linux are supported. A Linux installation wizard is provided for GoAnywhere which installs the product files into the directory of your choice. Requirements - Disk Space: 125 MB

- Minimum Memory: 256 MB

Installing GoAnywhere on Linux Perform the following steps to install the GoAnywhere product onto a Linux system.

1. Login to the target Linux system as root.

2. Download the GoAnywhere Linux installer file from the URL provided by Linoma Software.

3. If you have a graphical desktop for Linux, execute the downloaded installer file and follow the prompts on the screens. Otherwise, execute the downloaded installer file with a –c option (e.g. installer_filename.sh -c) and follow the prompts.

4. Start the GoAnywhere application server by following these instructions:

a. Open a Terminal window.

b. Change the working directory to the directory where GoAnywhere was installed (for example, cd /usr/local/Linoma_Software/GoAnywhere)

c. Start the GoAnywhere application server by executing the following shell script: ./goanywhere.sh start

5. The installation and startup of GoAnywhere is complete. Now you should proceed to the “Initial Configuration” instructions on page 17.

Page 10: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 10

Installation − UNIX, AIX, HP-UX, Solaris GoAnywhere can be installed onto a server for enterprise usage. This page includes installation instructions for UNIX, Solaris (SPARC and Intel), AIX and HP-UX servers. An installation wizard is provided for GoAnywhere which installs the product files into the directory of your choice. Requirements - Disk Space: 125 MB

- Minimum Memory: 256 MB

- JRE (Java Runtime Environment) 1.5.0 or higher. [ Note: 1.6.x is recommended ]

Installing GoAnywhere Perform the following steps to install the GoAnywhere product onto a UNIX, Solaris (SPARC and Intel), AIX or HP-UX server.

1. Login to the server as root.

2. Download the GoAnywhere UNIX installer file from the URL provided by Linoma Software.

3. Open a Terminal window

4. Change the directory to where the installer file was downloaded (e.g. cd /root/Desktop)

5. If needed, set the Executable bit on the file (e.g. chmod 755 ga3_0_0_unix.sh)

6. Run the installer (e.g. ./ga3_0_0_unix.sh)

7. The installer will attempt to find a compatible JRE (Java Runtime Environment) for the installation process. Follow the steps below if the installer cannot find a compatible JRE:

a. Define an environment variable named "INSTALL4J_JAVA_HOME" to point to the home directory of the JRE (e.g. export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre).

b. Clear the Installer cache by removing the file named ".install4j" from your home directory (e.g. rm /root/.install4j).

c. Run the installer again (e.g. ./ga1_5_1_unix.sh).

8. Follow the on-screen instructions to complete the installation.

9. JCE policy files must be copied to the JRE’s (Java Runtime Environment) security folder in order to support encryption functions in GoAnywhere: 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 installation folder) to the jre/lib/security folder (located under the JRE's installation directory).

For all other platforms (e.g. Solaris), copy the JCE policy files of US_export_policy.jar and local_policy.jar from the jce_policy_files/sun folder (located under the GoAnywhere installation folder) to the jre/lib/security folder (located under the JRE's installation directory).

(continued on next page)

Page 11: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 11

10. Start the GoAnywhere application server by following these instructions:

a. Open a Terminal window.

b. Change the working directory to the directory where GoAnywhere is installed (for example, cd /usr/local/Linoma_Software/GoAnywhere)

c. Start the GoAnywhere application server by executing the following shell script: ./goanywhere.sh start.

d. If you receive an error indicating that no JRE could be found, set an environment variable named "JAVA_HOME" to point to the JRE’s home directory (e.g. export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre) and try starting GoAnywhere again.

11. The installation and startup of GoAnywhere is complete. Now you should proceed to the “Initial Configuration” instructions on page 17.

Tip: You can setup GoAnywhere as a service so it starts automatically when the system is booted. Please refer to your operating system manual for more details on setting up services. You should be able to execute goanywhere.sh from your startup scripts.

Page 12: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 12

Installation – IBM i (iSeries) GoAnywhere can be installed on IBM i systems which meet the following requirements.

Requirements – Operating System: i5/OS V5R3 or higher – Disk space: 125 MB – Minimum memory: 256 MB Required licensed programs The following IBM i licensed programs are prerequisites to the installation of GoAnywhere, which are dependent on i5/OS release.

i5/OS Release

Licensed Program

Product Option

Description

V5R3 5722JV1 7 Java Developer Kit 5.0 5722AC3 *BASE Crypto Access Provider 5722SS1 30 QShell 5722SS1 33 Portable App Solutions Environment

V5R4 5722JV1 8 J2SE 5.0 32 bit 5722SS1 30 QShell 5722SS1 33 Portable App Solutions Environment

V6R1 5761JV1 8 J2SE 5.0 32 bit 5761SS1 30 QShell 5761SS1 33 Portable App Solutions Environment

V7R1 5761JV1 8 J2SE 5.0 32 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. (continued on next page)

Page 13: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 13

Required PTFs The following IBM i Program Temporary Fixes (PTFs) and Group PTFs are prerequisites to installing GoAnywhere.

V5R3 Individual PTF TL04153 for LICPGM 5722999 Group PTF SF99530 (minimum level of 4153) Individual PTF SI17619 for LICPGM 5722SS1 (If you want to

encrypt or zip 4Gb+ sized files) V5R4 Group PTF SF99291 (minimum level of 17) V6R1 Group PTF SF99562 (minimum level of 5) V7R1 Group PTF None

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. IBM i components installed The following components will be installed onto the IBM i by the GoAnywhere installation process:

A library will be created, which will contain the GoAnywhere commands and program objects. The default library name is GOANYWHERE, which can be changed during installation.

An IFS folder will be created, which will contain the GoAnywhere software components. The default IFS folder name is /linoma/goanywhere, which can be changed during installation.

Optional: The policy files named “US_export_policy.jar” and “local_policy.jar” will be installed into the security directory of the Java Development Kit (JDK). These policy files are used to support encryption functions in GoAnywhere. - For V5R3, this directory is "/QIBM/ProdData/Java400/jdk15/lib/security". - For V5R4 and higher, the directory is "QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit/jre/lib/security" or "QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/security"

Page 14: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 14

Installing GoAnywhere on IBM i Perform the following steps to install the GoAnywhere product onto the IBM i.

1. Sign on to the IBM i with the QSECOFR user profile OR with a profile which has *ALLOBJ authority.

2. Create a temporary Save file on your IBM i by executing the following i5/OS command: CRTSAVF FILE(QGPL/GOANYWHERE)

3. The GoAnywhere software needs to be uploaded to your IBM i using FTP. Before proceeding, make sure the FTP server is running on the IBM i. To start the FTP server on the IBM i, you can issue the i5/OS command of STRTCPSVR SERVER(*FTP)

4. Download the GoAnywhere installer (for IBM i) from the URL provided by Linoma Software.

5. Extract the files from the installer ZIP file into a new temporary folder on your workstation. One of the extracted files will be named GOANYWHERE.SAVF.

6. FTP the extracted GOANYWHERE.SAVF file from your PC to the Save file on the IBM i (that was created in step 2). Listed below are instructions for a Windows user: Open a DOS window. Enter the DOS command FTP <hostname>, where <hostname> is the host name or IP address

of your IBM i. Login with your i5/OS user id and password, then enter the following highlighted FTP commands:

ftp> BINARY (switches the FTP session to binary mode) ftp> LCD \<tempdir> (<tempdir> is the PC directory containing the file

named goanywhere.savf) ftp> CD qgpl (changes the remote directory to the QGPL library) ftp> PUT goanywhere.savf goanywhere

(sends the PC file goanywhere.savf to the IBM i Save file named GOANYWHERE)

ftp> QUIT (ends your FTP session)

7. Restore the installation objects into QTEMP by executing the following i5/OS command: RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QGPL/GOANYWHERE)

8. Delete the temporary Save file by executing the following i5/OS command (optional): DLTF FILE(QGPL/GOANYWHERE)

9. If QTEMP library is not in your library list, then add it by executing the following i5/OS command:

ADDLIBLE LIB(QTEMP) POSITION(*FIRST) 10. Prompt (F4) the command QTEMP/INSTALLGA for installing GoAnywhere. The following screen

appears.

Install GoAnywhere (INSTALLGA) Type choices, press Enter. Install library . . . . . . . . . . GOANYWHERE Name Install IFS directory . . . . . . . '/linoma/goanywhere' Install policy files . . . . . . . *YES *YES, *NO HTTP port . . . . . . . . . . . . . 8000 1-65534 HTTPS port . . . . . . . . . . . . 8001 1-65534 Shutdown port . . . . . . . . . . . 8005 1-65534

Page 15: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 15

Parameter descriptions: Field name Description Install library The library to contain the GoAnywhere product objects. The

specified library name must not already exist. Install IFS directory The directory to contain the GoAnywhere product files. The

specified directory name must not already exist. Install policy files Indicate if policy files should be installed into the security

directory of the Java Development Kit (JDK). These files are used to support the encryption processes in GoAnywhere. It is strongly recommended to use the default setting of *YES.

HTTP port The port number that the GoAnywhere application server listens for administrative requests. Default is 8000. *

HTTPS port The port number that the GoAnywhere application server listens for administrative requests over a SSL protected connection. Default is 8001. *

Shutdown port The port number which the GoAnywhere application server will listen to for a shutdown request. Default is 8005. *

* Note: To check if the port number is already in use, run the i5/OS command of NETSTAT and select option 3. Then press F14 to see the numeric port numbers.

11. After reviewing and/or modifying the parameters on the INSTALLGA command, press enter to start

the installation process. 12. Prompt (F4) the command GOANYWHERE/STRGA for starting the GoAnywhere subsystem. The

following screen will be displayed.

For the “Server User Profile” parameter, keep the default of *CURRENT if you want to run the GoAnywhere application server under your user profile. Otherwise, specify a different user profile to run the GoAnywhere application server under.

13. Press enter on the STRGA command to start the GoAnywhere application server subsystem.

(continued on next page)

Start GoAnywhere (STRGA) Type choices, press Enter. Server user profile . . . . . . . . *CURRENT Name, *CURRENT

Note: The user profile specified on the STRGA command must be enabled on the IBM i. This profile must have *USE authority to the STRSBS command and *RWX authority to the IFS folders where GoAnywhere is installed. For security purposes, you may want to create a new user profile and consistently use that profile on the STRGA command. Then you would only have to grant authority for the GoAnywhere installation IFS folders to that user profile.

Page 16: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 16

Tip: The GoAnywhere application server can automatically start when the IBM i is powered up (IPL). To perform this automatic startup, place GoAnywhere’s STRGA command in the IBM i startup CL program (after the start of TCPIP). CL example: 0001.00 QSYS/STRTCP /* Start TCP */ 0002.00 DLYJOB DLY(120) /* Wait for TCP to fully start */ 0003.00 GOANYWHERE/STRGA /* Start GoAnywhere server */

14. Execute the WRKACTJOB (Work with Active Jobs) command to confirm that the GoAnywhere application server subsystem is running. You should find a subsystem which has the same name as the library name that was specified on the INSTALLGA command in step 10 (named GOANYWHERE by default). This subsystem should contain one job, which is the GoAnywhere application server.

15. The installation and startup of GoAnywhere is complete. Now you should proceed to the “Initial

Configuration” instructions on page 17.

Page 17: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 17

Initial Configuration

Follow the instructions below to request a license key, test the installation and perform initial configuration of GoAnywhere.

1. To access the GoAnywhere Administrator using a standard HTTP connection, open your browser and type the URL of http://[hostname]:[portnumber] where [hostname] is the host name or IP address of the server which GoAnywhere is installed and [portnumber] is the port number of the GoAnywhere Administrator. The default HTTP port for the Administrator is 8000. Example: http://myserver:8000

Otherwise, to access the GoAnywhere Administrator over a secure HTTPS connection, open your browser and type the URL of https://[hostname]:[portnumber]. The default HTTPS port for the Administrator is 8001. Example: https://myserver:8001

2. You should then be presented with a login screen for the GoAnywhere Administrator.

3. Login with a user name and password. The default user name is administrator and the default

password is goanywhere.

4. The GoAnywhere Administrator dashboard should then be displayed.

5. A product license key (either a trial key or permanent key) is required to use GoAnywhere. If you have not received this license key from Linoma Software, then request the key by following the instructions below:

a. Select the “Administration” drop-down menu. b. Select the “License” sub menu. c. Choose the “Request a License” option. d. Follow the instructions on that screen to request a license from Linoma Software.

Page 18: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 18

6. After receiving the product license key, you can install the key by following the instructions below: a. Select the “Administration” drop-down menu. b. Select the “License” sub menu. c. Choose the “Install License” option. d. Click on the “Browse” button and select the license key file on your workstation. e. After choosing the file, click on “Install” button to install the license. f. If successful, the license information should be displayed on the screen.

7. After installing the license key, you can test the GoAnywhere installation and license by following the instructions below:

a. Select the “Work with Projects” drop-down menu. b. Run the project named “Test” by clicking on the button next to it. c. You should see the message text of “Project '/Test' ran successfully.” d. If you do not receive that message within 60 seconds, then contact Linoma Software support.

8. Review and adjust the global settings in GoAnywhere by following the instructions below: a. Select the “Administration” drop-down menu. b. Choose the "Global Settings" options. c. Review the settings on the tabs and make any changes as needed. Read the on-line help text

for each setting to understand its purpose. d. Please note that some changes to certain Global Settings will not take effect until GoAnywhere

is restarted.

9. By default, GoAnywhere will authenticate user passwords against its own internal database. Optionally you can configure GoAnywhere to authenticate user passwords against a Windows Active Directory, a generic LDAP server or an IBM i system within your organization. Follow the steps below if you want to authenticate passwords against one of these servers:

a. Select the “Security” drop-down menu. b. Choose the “Login Configuration” menu option. c. Choose the login method. d. If you choose Windows Active Directory as the login method:

• Specify the URL of the Active Directory to authenticate passwords against. The URL should be in the format ldap://[hostname]:[port]. For example, ldap://mydomainhostname:389 or ldap://192.168.1.10:389. The default port for the Active Directory Server is 389. The default port for an SSL enabled connection is 636.

• Specify the Domain name of the Active Directory. For example, MYDOMAIN. f. If you choose Generic LDAP as the login method:

• Specify the URL of the LDAP server to authenticate passwords against. The URL should be in the format ldap://[hostname]:[port]. For example, ldap://mydomainhostname:389 or ldap://192.168.1.10:389. The default port for a LDAP Server is 389. The default port for an SSL enabled connection is 636.

• Specify the DN Pattern. The variable ${user} must be included in the DN pattern and will be replaced with the username during login. For example, cn=${user},ou=users,dc=example,dc=com.

e. If you choose IBM i as the login method: • Specify the IP address or host name of the IBM i to authenticate passwords against.

g. Click on the “Save” button to save the settings. h. The GoAnywhere server will need to be restarted for the settings to take effect.

Page 19: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 19

10. The passwords for the included administrator and root user ids will always be authenticated against GoAnywhere’s internal database. For security purposes, you should change the passwords for these users by following the instructions below.

a. Select the “Security” drop-down menu. b. Choose the “Users” menu option. c. Click on the reset password button next to the administrator user name. d. Key in the new password on the screen and click on the “Reset” button. e. Click on the reset password button next to the root user name. f. Key in the new password on the screen and click on the “Reset” button.

g. Record the new passwords in a safe place.

11. Be sure to read the backup instructions on page 28 to learn how to backup the GoAnywhere configurations and settings, which should be performed on a regular basis.

On-line help text is available within the GoAnywhere administrator by clicking on the button in any screen. Video tutorials are also available at http://www.GoAnywhereMFT.com/tutorials

Page 20: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 20

Customizing Installation Settings Changing GoAnywhere Port Numbers By default, GoAnywhere’s application server will utilize port numbers 8000, 8001 and 8005 on your system for the following functions:

• 8000 is the default HTTP port which users can connect (from their browsers) for performing administration in GoAnywhere. 8000 is also the default port to listen for Project execution requests from remote systems.

• 8001 serves the same function as port 8000, but uses a HTTPS (SSL-protected) connection.

• 8005 is the default port for requesting a shutdown of GoAnywhere from a remote system.

You can change these port numbers within the GoAnywhere browser-based administrator interface, or by using the CFGGA command for IBM i or by making direct changes to a GoAnywhere configuration file.

Changing ports using the browser interface

1. Open a browser window and log into the GoAnywhere administrator. 2. Select the “Administration” drop-down menu. 3. Select the “Admin Server Configuration” sub menu. 4. Select the “Listener” node in the tree. 5. Specify the new port number and click on the Save button. 6. The GoAnywhere server must be restarted for the changes to take effect.

Changing ports using the CFGGA command on IBM i

1. Log in to the IBM i using a terminal session. 2. End the GoAnywhere subsystem by running the command ENDGA 3. Run the command CFGGA 4. Under the "Port Information" section, edit the port numbers as needed by choosing option 2. 5. You may also want to change the "URL" under the "Run Project Defaults" section to match the port

number to the new "Server Port". 6. Save the settings and restart GoAnywhere by running the command STRGA.

Changing ports by manually editing the configuration file 1. Stop the GoAnywhere server (if it is running). 2. Edit the configuration file [Install_Dir]/tomcat/conf/server.xml, where [Install_Dir] is the

installation directory of GoAnywhere. 3. Change the port number for the HTTP or HTTPS connectors. Example:

<Connector port="8000" /> 4. Change the port number for the shutdown listener. Example:

<Server port="8005" shutdown="SHUTDOWN"> 5. Save the configuration file. 6. Start the GoAnywhere server.

Please note that you cannot change the shutdown port through the browser interface.

Page 21: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 21

Disabling HTTP or HTTPS Connectors GoAnywhere is initially configured to support both HTTP and HTTPS (SSL) connectors for the GoAnywhere web-based Administrator. If you want to disable one of these connectors, then follow the instructions below.

a. Stop the GoAnywhere server (if it is running). b. Open the configuration file [Install_Dir]/tomcat/conf/server.xml, where [Install_Dir] is the

installation directory for GoAnywhere. c. Locate the following XML code:

d. If you do not want to use the HTTP (only use HTTPS) connector, then delete or comment out the line of code illustrated in blue.

e. If you do not want to use the HTTPS (only use HTTP) connector, then delete or comment out the lines of code illustrated in green.

f. If installing to IBM JVM (e.g. IBM i), then set the algorithm=“IbmX509” g. Save the configuration file. h. Start the GoAnywhere server.

<Server port="8005" shutdown="SHUTDOWN"> <Service name="Catalina"> <Connector name=”default” port="8000" /> <Connector name=”secured” port="8001" enableLookups="false" disableUploadTimeout="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" algorithm="SunX509" keystoreFile="[Install_Dir]\userdata\keys\x509\default.jks" keystorePass="goanywhere" keyAlias="goanywhere-https-server" /> . . . </Service> </Server>

Note: To comment out XML code, enclose the code with the following indicators <!-- to begin the comment --> to end the comment

Example: <!-- <Connector port="8000" /> -->

Page 22: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 22

SSL (HTTPS) Configuration A certificate is shipped with GoAnywhere, which is used (by default) when a user connects to the GoAnywhere administrator through their browser over HTTPS. While this default certificate works for establishing a secure channel, users will see warnings about a host name mismatch when they connect. This is because the host name in the shipped certificate will be different than the host name of the machine which you installed GoAnywhere to. To avoid these host mismatch warnings, it is recommended to create your own certificate (for your machine’s host name) and update the GoAnywhere configuration file with the new certificate information.

Follow the instructions below to create a new certificate and update the GoAnywhere configuration file:

1. From within the GoAnywhere browser-based Administrator, create a new certificate in the Default Private Keys Store. Read the section Creating a New SSL Certificate in the on-line help text to learn how to create a certificate. Note that the Common Name in the new certificate must match the domain name, host name, or IP address of the server on which GoAnywhere is installed.

2. Open the configuration file [Install_Dir]/tomcat/conf/server.xml, where [Install_Dir] is the installation directory for GoAnywhere. Then modify the value in the keyAlias attribute to be the alias of the new certificate you created in step 1.

3. For IBM i Only: To allow the RUNPROJECT, CPYPROJECT, and the CPYRES commands to function in a secured connection environment, you must first import the newly created certificate into Digital Certificate Manager (DCM). Before you can use any DCM features, you need to start it on your system. To load the IBM Systems Director Navigator for i5/OS web console, open a web browser and enter http://your_system_name:2001. Follow the instructions below to establish a valid SSL Certificate on the IBM DCM.

a. Create a new Client application in the DCM. For example, LINOMA_GOANYWHERE.

b. Export the new certificate you created in Step 1, to your workstation.

c. Import the exported file from step b. to the DCM.

d. Assign the imported certificate to the SSL Application ID you created in Step a.

e. Run the Configure GoAnywhere (CFGGA) command from the command line to identify in your GoAnywhere client, the SSL Application ID that you entered into the DCM.

Use the Online help available in the DCM for any questions you might have about this process.

Page 23: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 23

Product Administration Starting and Stopping GoAnywhere Windows instructions

Start the GoAnywhere application server by following these instructions:

1. Go to the Windows machine and logon with an administrator account.

2. Go to Control Panel -> Administrative tools -> Services.

3. In the Services window, right-click on the GoAnywhere service and select Start. Within seconds after starting the GoAnywhere service, its status should be updated to “Started”.

Stop the GoAnywhere application server by following these instructions:

1. Go to the Windows machine and logon with an administrator account.

2. Go to Control Panel -> Administrative tools -> Services.

3. In the Services window, right-click on the GoAnywhere service and select Stop. Linux, UNIX, HP-UX and Solaris instructions

Start the GoAnywhere application server by following these instructions:

1. Open a Terminal window.

2. Change the working directory to the directory where GoAnywhere is installed (for example, cd /usr/local/Linoma_Software/GoAnywhere)

3. Start the GoAnywhere application server by executing the following shell script: ./goanywhere.sh start

Stop the GoAnywhere application server by following these instructions:

1. Open a Terminal window.

2. Change the working directory to the directory where GoAnywhere is installed (for example, cd /usr/local/Linoma_Software/GoAnywhere)

3. Stop the GoAnywhere application server by executing the following shell script: ./goanywhere.sh stop

IBM i (iSeries) instructions Start the GoAnywhere application server by executing the i5/OS command of STRGA

Stop the GoAnywhere application server by executing the i5/OS command of ENDGA The STRGA and ENDGA commands are located in the GoAnywhere installation library, which is named GOANYWHERE by default.

Page 24: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 24

Upgrading GoAnywhere Updates (new versions) for GoAnywhere can be downloaded from Linoma Software’s server. Read the instructions below to learn how to configure the Proxy settings (if your organization uses a proxy server) and then read the platform-specific instructions (on the following pages) on how to apply the updates. Configuring HTTP Proxy If your organization uses a Proxy Server, then you need to configure those proxy settings in GoAnywhere before you can retrieve web updates:

1. Click Administration > Global Settings from the main drop-down menu.

2. Click the HTTP Proxy tab near the right end of the tab set.

3. Specify the type of proxy to use. DIRECT, HTTP, or SOCKS. DIRECT represents a direct connection, or the absence of a proxy. HTTP represents proxy for high-level protocols such as HTTP or FTP. SOCK represents a SOCKS (V4 or V5) proxy.

4. Specify the host name of the proxy server.

5. Specify the port number used by the proxy server.

6. Specify the username to use in order to connect to the proxy server. This is only necessary if the proxy server requires authentication.

7. Specify the password to use in order to connect to the proxy server. This is only necessary if the proxy server requires authentication.

8. Click the Save button.

9. Continue with the upgrade instructions on the following pages.

Page 25: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 25

Windows upgrade instructions 1. Login to GoAnywhere’s browser-based Administrator.

2. Select the “Administration” drop-down menu and then choose the “Check for Updates” option. Follow the instructions on that screen to download any updates.

3. After the updates are downloaded, then login to the Windows system as an administrator.

4. Go to Control Panel -> Administrative tools -> Services.

5. In the Services window, right-click on the GoAnywhere service and select Stop. Within seconds after stopping the GoAnywhere service, its status should change to blanks.

6. Open a Command window and change the directory to [Install_Dir]\upgrader, where [Install_Dir] is the directory where GoAnywhere is installed. The default installation directory is C:\Program Files\Linoma Software\GoAnywhere.

7. Run the batch file named upgrade.bat to start the upgrade process. When the upgrade finishes, a message should indicate that the upgrade was successful.

8. Restart the service by right-clicking on the GoAnywhere service and select Start. Its status should be updated to “Started”.

Page 26: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 26

Linux, UNIX, HP-UX and Solaris upgrade instructions 1. Login to GoAnywhere’s browser-based Administrator.

2. Select the “Administration” drop-down menu and then choose the “Check for Updates” option. Follow the instructions on that screen to download any updates.

3. After the updates are downloaded, then login to the system.

4. Open a Terminal window.

5. Change the working directory to the directory where GoAnywhere was installed (for example, cd /usr/local/Linoma_Software/GoAnywhere)

6. Stop the GoAnywhere application server by executing the following shell script: ./goanywhere.sh stop

7. Change the working directory to the GoAnywhere subdirectory of upgrader. (for example, cd upgrader)

8. Upgrade the GoAnywhere product by executing the following shell script: ./upgrade.sh

9. When the upgrade finishes, a message should indicate that the upgrade was successful.

10. Change the working directory back to the GoAnywhere installation directory (for example, cd /usr/local/Linoma_Software/GoAnywhere)

11. Restart the GoAnywhere application server by executing the following shell script: ./goanywhere.sh start

Page 27: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 27

IBM i upgrade instructions 1. Login to GoAnywhere’s browser-based Administrator.

2. Select the “Administration” drop-down menu and then choose the “Check for Updates” option. Follow the instructions on that screen to download any updates.

3. After the updates are downloaded, then login to the IBM i with the QSECOFR user profile OR with a profile which has *ALLOBJ authority.

4. Execute the following i5/OS commands. These commands are located in the GoAnywhere installation library, which is named GOANYWHERE by default. a. End the GoAnywhere server by executing the ENDGA command. b. Wait until the GoAnywhere subsystem is ended. c. Apply the update by executing the UPGRADEGA command. d. Start the GoAnywhere server by executing the STRGA command.

Page 28: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 28

Backups and Replication Backing up GoAnywhere User Data GoAnywhere configuration data and Projects are stored in a folder called userdata, which is located under the GoAnywhere installation directory. The default paths to the userdata folder for each platform are listed below: - IBM i: /linoma/goanywhere/userdata - Windows: C:\Program Files\Linoma Software\GoAnywhere\userdata - Linux and UNIX: /usr/local/Linoma_Software/GoAnywhere/userdata

IMPORTANT: You should backup the GoAnywhere userdata folder (and its contents) in your regular backup processes. It is recommended to backup this userdata folder at least daily. NOTE: If using the embedded Derby database (which is the default) in GoAnywhere: If you plan to perform backups while the GoAnywhere application is running, then you should exclude the subfolder userdata/database/goanywhere from your backup processes since there will be a lock on the files in this subfolder (which is the embedded Derby database). However, this Derby database is saved nightly (by default) to a subfolder named userdata/database/backups, which you should backup.

Page 29: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 29

Automatically Backing Up the GoAnywhere Database (to Disk) These instructions only apply if using the default embedded Derby database in GoAnywhere. By default, GoAnywhere will perform an automatic backup (to disk) of its embedded Derby database every day at midnight. The database backup files are created in the folder of [Install_Dir]/userdata/database/backups, where [Install_Dir] is the installation directory for GoAnywhere. By default, database backup files are retained for the last 7 days. Follow the instructions below to modify the database backup settings:

1. Select the drop-down menu of Administration and then select Database Configuration.

2. Select the Backup tab. The current backup settings will be shown.

• Enable Database Backup – Specify whether or not the GoAnywhere embedded database should be backed up automatically on a scheduled basis. It is highly recommended that the database backup remains enabled in case any data needs to be recovered.

• Backup Directory – Specify the directory to store the database backups, which is relative to the installation directory.

• Keep Backups for – Specify the number of days (1–30) to keep the database backup files. Backup files that are older than the specified number of days will be automatically deleted following each backup process.

• Schedule Type – Specify if the schedule is Hourly or Daily. • Run Every – Specify the frequency that the automatic database backup should run.

3. Make any needed changes and then click on the Save button.

If not using the embedded Derby database in GoAnywhere, you should backup the GoAnywhere tables (in your designated database) using your regular database backup procedures.

Page 30: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 30

Manually Backing Up the GoAnywhere Database (to Disk) These instructions only apply if using the default embedded Derby database in GoAnywhere. To backup the GoAnywhere database manually:

1. Select the drop-down menu of Administration and then select Database Configuration.

2. Click the Backup tab. The current backup settings will be shown.

3. Click the Backup Now button at the bottom of the screen.

4. When the system completes the backup process, a message will be displayed with the location to which the database was backed up.

Page 31: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 31

IBM i Backup and Recovery

IBM i – Saving

Using the supplied i5/OS command named SAVPRD, you can save the GoAnywhere product from the IBM i machine. This will save all GoAnywhere objects and user data (including configurations and Project definitions) into a single IBM i Save file. This will allow you to easily restore GoAnywhere onto another IBM i machine.

Perform the following steps to save the GoAnywhere product using the SAVPRD command:

1. End the GoAnywhere subsystem by executing the command LIBRARY/ENDGA, where “LIBRARY” is the installation library of the GoAnywhere product. The default installation library is “GOANYWHERE”.

2. Perform a WRKACTJOB and verify that the GoAnywhere subsystem is ended.

3. Prompt (F4) the GoAnywhere command named SAVPRD and specify the following values:

• The name of the library containing the GoAnywhere product.

• The name of the library containing the GoAnywhere tables, if using the DB2 database option.

• The name of the Save file to store the GoAnywhere product into. The specified Save file will be automatically created.

Example: GOANYWHERE/SAVPRD LIB(GOANYWHERE) SAVEFILE(QGPL/GOANYWHERE)

4. Press enter to execute the SAVPRD command.

5. After the SAVPRD command executes, you can restart the GoAnywhere subsystem by executing the command LIBRARY/STRGA.

The following steps are performed by the SAVPRD command:

1. The GoAnywhere library is saved into a temporary Save file named QTEMP/SLIBGA.

2. The GoAnywhere IFS folder is saved into a temporary Save file named QTEMP/SIFSGA.

3. Both temporary Save files are saved into the Save file specified on the SAVPRD command.

IBM i – Restoring

Follow these steps to restore the GoAnywhere product from the Save file:

1. If you are using a specific user profile to start GoAnywhere, then you will need to create that user profile on the target system. Using the CRTUSRPRF command, create a user profile with the same name and authorities that were used in the original installation of GoAnywhere. Example: CRTUSRPRF USRPRF(GOANYWHERE)

2. Restore the temporary Save files into the QTEMP library. Example: RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QGPL/GOANYWHERE)

3. Restore the GoAnywhere library from the Save file named SLIBGA. Example: RSTLIB SAVLIB(GOANYWHERE) DEV(*SAVF) SAVF(QTEMP/SLIBGA)

4. Restore the GoAnywhere IFS folder from the Save file named SIFSGA. Example: RST DEV('/QSYS.LIB/QTEMP.LIB/ SIFSGA.FILE') OBJ(('/linoma/*'))

5. If the IBM i IP address is different than the IP address of the original installation, then you should run the CFGGA command (contained in the GoAnywhere library) and specify the new IP address.

** If you are restoring GoAnywhere to a different serial number, you will need a new license for that system, which you can request from Linoma Software.

Page 32: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 32

Replicating GoAnywhere User Data (for High Availability) GoAnywhere user data can be replicated to another system for high availability and failover purposes. GoAnywhere does not have a “built-in” replication function, so you will need to use a separate tool to replicate the necessary data to the high availability (HA) machine. If using the embedded Derby database in GoAnywhere, please note that it cannot be replicated while it is running (due to locks), so the HA machine can only be sent a backup of the database. The timing of this database backup is controlled under the Administration->Database Configuration menu. Replication Follow the steps below to set up replication:

1. Install GoAnywhere onto the HA machine using one of the regular installation methods (depending on your OS) outlined earlier in this manual.

2. Get a license key from Linoma Software for the HA machine and install it.

3. Test the GoAnywhere installation on the HA machine by executing some test projects.

4. Shut down the GoAnywhere subsystem/service on the HA machine, since GoAnywhere should not be running on both the production and HA machines at the same time.

5. Set up your HA tool to replicate the folder named userdata, which is located under the GoAnywhere installation directory on the production machine. The userdata folder contains all user data and configurations for GoAnywhere. Make sure to include all the subfolders under the userdata folder, except if you are using the embedded Derby database, DO NOT replicate the subfolder named /userdata/database/goanywhere/ since there will be a lock on that subfolder while GoAnywhere is running. This subfolder contains the embedded database, which is saved nightly (by default) to the subfolder named userdata/database/backups.

6. If not using the embedded Derby database in GoAnywhere, then set up your HA tool to replicate the GoAnywhere tables in your designated database.

NOTE: Other files (such as log files) in the GoAnywhere directory may be in a locked state while Projects are being executed and will potentially not be replicated.

WARNING: If you want to replicate the entire GoAnywhere installation directory, then do not replicate the file named goanywhere.lic since that file contains the GoAnywhere license key that is specific for that particular machine. If the license key is replicated to the HA machine, it will generate a license error in GoAnywhere on the HA machine and will not allow it to execute Projects. Failover The steps needed to run GoAnywhere on the HA machine depends on if your production machine is still up-and-running. If your production machine is down and you want to switch to the HA machine:

1. If using the embedded (Derby) database in GoAnywhere: On the HA machine, unzip the latest backup of the GoAnywhere database (found in subfolder named userdata/database/backups) into the subfolder named /userdata/database/goanywhere. Please note that the database will only be as up-to-date as the last time the database was backed up on the production machine.

2. Start the GoAnywhere subsystem/service on the HA machine.

(continued on next page)

Page 33: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 33

If your production machine is running and you want to switch to the HA machine:

1. If using the embedded Derby database in GoAnywhere: On the production machine, perform a manual backup of the GoAnywhere database by following the instructions on page 30.

2. Shut down the GoAnywhere subsystem/service on the production machine.

3. If using the embedded Derby database in GoAnywhere: a) Copy the manual backup of the database (contained in a ZIP file) from the production

machine to the HA machine. b) Unzip this backup of the database into the /userdata/database/goanywhere folder on the HA

machine.

4. Start the GoAnywhere subsystem/service on the HA machine.

Page 34: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 34

GoAnywhere IBM i Commands For IBM i installations, GoAnywhere includes i5/OS commands for performing various functions in the product. These commands can be entered on the IBM i command line, placed in CL programs and used in job schedulers on the IBM i. Command Summary The GoAnywhere i5/OS commands can be found in the installation library, which is GOANYWHERE by default. Listed below is an alphabetical listing of the commands:

Command Command Description Comments CFGGA Configure GoAnywhere Allows users (with *SECADM authority) to change

certain properties in the GoAnywhere installation, such as the default user, password and URL to use for the RUNPROJECT command.

CPYPROJECT Copy (promote) Project Copies a Project definition from one installation of GoAnywhere to another installation of GoAnywhere.

CPYRES Copy (promote) Resource Copies a Resource definition from one installation of GoAnywhere to another installation of GoAnywhere.

CRTCMDPRJ Create Command Projects Creates the supporting Projects that are used for the SFTPGET, SFTPPUT, PGPENCRYPT, PGPDECRYPT, ZIP, UNZIP and SNDEMLMSG commands. This command should only need to be run once.

DSPPRDINF Product information Displays the current version number of GoAnywhere, the port numbers used and the IBM i serial number and processor group.

ENDGA End GoAnywhere Server Ends the GoAnywhere application server IMPPROJECT Import Project Imports a Project definition XML into GoAnywhere PGPDECRYPT Decrypt file with OpenPGP Provides both decryption and signature verification. PGPENCRYPT Encrypt file with OpenPGP Provides both encryption and signing of files. RUNPROJECT Run Project Runs a GoAnywhere Project SFTPGET Get file over SFTP Retrieves one or more files over a SFTP connection SFTPPUT Put file over SFTP Sends one or more files over a SFTP connection SNDEMLMSG Send Email Message Sends a message to one or more email addresses.

Includes support for file attachments STRGA Start GoAnywhere Server Starts the GoAnywhere application server UPGRADEGA Upgrade GoAnywhere Upgrades the GoAnywhere software UNZIP UnCompress file with ZIP Unzips files that were compressed with ZIP standard ZIP Compress file with ZIP Provides compression and password protection

(continued on next page)

Page 35: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 35

Accessing Main Menu The supplied i5/OS commands are accessible from a main menu in the GoAnywhere library, which can be launched with the command of GO GOANYWHERE/GAMENU (assuming GOANYWHERE is the library that you installed the product to).

The GoAnywhere commands can be found in the various submenus off of the main menu. SFTP, OpenPGP, ZIP and Email Command Shortcuts Native commands are provided for IBM i customers that allow quick access to popular functions in GoAnywhere. This includes commands to get and put files through SFTP, encrypt and decrypt files with OpenPGP, ZIP and UNZIP files, as well as send Emails. These commands can be entered on the IBM i command line, placed in CL programs and used in job schedulers on the IBM i. These native commands can be found in the GoAnywhere menu of GAMENU4 (accessible by running the command of GO GOANYWHERE/GAMENU). Each command can be prompted and has on-line help text that is available through the F1 function key. NOTE: Before the SFTP, OpenPGP, ZIP and Email native commands can be utilized, their underlying Projects (to process these commands) must be first created in GoAnywhere. To perform this initial Project creation, select option 1 from GAMENU4 (which will execute the command CRTCMDPRJ). The Projects will be created in the GoAnywhere folder of \CommandLineProjects.

GAMENU Main Menu GoAnywhere by Linoma Software

Select one of the following: 1. Administration (GO GAMENU1) 2. Projects (GO GAMENU2) 3. Source examples (GO GAMENU3) 4. SFTP, OpenPGP and ZIP commands (GO GAMENU4) 10. Product information (DSPPRDINF) Selection or command ===>_______________________________________________________________________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 main menu

Page 36: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 36

Uninstalling GoAnywhere Product This section describes how to uninstall the GoAnywhere product. CAUTION: All GoAnywhere configurations, resources and project definitions will be deleted during the uninstall process. Windows uninstall instructions Perform the following steps to uninstall the GoAnywhere product from Windows:

Step Description 1 Verify that no jobs are currently running in the GoAnywhere Administrator 2 End the GoAnywhere service on the Windows system. 3 Browse to the installation directory of GoAnywhere. The default install directory is

C:\Program Files\Linoma Software\GoAnywhere 4 Run the file named uninstall.exe to uninstall the product.

Linux, UNIX, HP-UX and Solaris uninstall instructions Perform the following steps to uninstall the GoAnywhere product from Linux:

Step Description 1 Verify that no jobs are currently running in the GoAnywhere Administrator 2 Login to the Linux system and open a Terminal window. 3 Change the working directory to the directory where GoAnywhere was installed

(for example, cd /usr/local/Linoma_Software/GoAnywhere) 4 Stop the GoAnywhere application server by executing the following shell script:

./goanywhere.sh stop 5 Uninstall the GoAnywhere product by executing the following shell script:

./uninstall.sh IBM i uninstall instructions Perform the following steps to uninstall the GoAnywhere product from the IBM i:

Step Description Example Commands 1 Verify that no jobs are currently

running in the GoAnywhere Administrator.

2 End the GoAnywhere server. GOANYWHERE/ENDGA

3 Verify that there are no locks on the GoAnywhere library. The default library is GOANYWHERE.

WRKOBJLCK OBJ(GOANYWHERE) OBJTYPE(*LIB)

4 Delete the GoAnywhere library. The default library is GOANYWHERE.

DLTLIB LIB(GOANYWHERE)

5 Delete the GoAnywhere folder from the IFS. The default main folder name is \linoma\goanywhere.

QSH cd /linoma rm –r goanywhere

Page 37: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 37

License agreement and limited warranty

READ CAREFULLY BEFORE USING The GoAnywhere Director software ('GOANYWHERE') is a proprietary product of Linoma Software ('LINOMA SOFTWARE') and is protected by this Agreement, copyright laws and international treaties. This is a legal agreement (the 'Agreement') between you, the user, and LINOMA SOFTWARE. Clicking on the license agreement acceptance button (if you are downloading GOANYWHERE), opening the package (if you have acquired a copy of GOANYWHERE on physical media) or loading or using GOANYWHERE on your system indicates your acceptance of the terms of this Agreement. If you do not wish to agree to the terms of this Agreement, you should promptly notify LINOMA SOFTWARE and immediately remove GOANYWHERE from your system and cease use of GOANYWHERE. A. LINOMA SOFTWARE grants you the right to use GOANYWHERE on your computer system. If you have a trial version of

GOANYWHERE, your license is limited to use only during the trial period and only for evaluation purposes. B. You may not alter, modify, decompile, disassemble or reverse engineer GOANYWHERE, or otherwise attempt to reproduce

the source code thereof. C. You acknowledge that GOANYWHERE is provided pursuant to a license and all title and ownership to GOANYWHERE shall

remain with LINOMA SOFTWARE or its licensors. D. You may use GOANYWHERE only for your own internal business purposes and may not use GOANYWHERE in a service

bureau (or similar) environment unless your customers have also purchased a license to GOANYWHERE or a special licensing arrangement has been arranged with LINOMA SOFTWARE.

TERM This license is effective until terminated. You may terminate it at any time by destroying GOANYWHERE together with all copies and merged portions in any form. It will also terminate upon conditions set forth elsewhere in this Agreement, or if you fail to comply with any term or condition of this Agreement. LIMITED WARRANTY YOU HEREBY ACKNOWLEDGE AND AGREE THAT GOANYWHERE IS PROVIDED BY LINOMA SOFTWARE ON AN "AS IS" BASIS, AND YOUR ACCESS TO AND/OR USE OF GOANYWHERE IS AT YOUR SOLE RISK. LINOMA SOFTWARE EXPRESSLY DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THOSE OF MERCHANTABILITY, SATISFACTORY QUALITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. LINOMA SOFTWARE MAKES NO WARRANTY THAT GOANYWHERE WILL MEET YOUR REQUIREMENTS OR THAT YOUR USE OF GOANYWHERE WILL BE UNINTERRUPTED, TIMELY OR ERROR-FREE, NOR DOES LINOMA SOFTWARE MAKE ANY WARRANTY AS TO THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF GOANYWHERE OR THAT ANY DEFECTS WILL BE CORRECTED. YOU UNDERSTAND AND AGREE THAT THE USE OF GOANYWHERE IS DONE AT YOUR SOLE RISK AND THAT YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR SYSTEM OR LOSS OF DATA. NO INFORMATION OR ADVICE, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM LINOMA SOFTWARE OR THROUGH GOANYWHERE SHALL CREATE ANY WARRANTY NOT EXPRESSLY MADE HEREIN. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES, SO SOME OF THE ABOVE EXCLUSIONS MAY NOT APPLY TO YOU. IN NO EVENT WILL LINOMA SOFTWARE BE LIABLE TO YOU FOR ANY SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING BUT NOT LIMITED TO ANY LOST PROFITS, LOST SAVINGS, LOST DATA OR LOST BUSINESS OPPORTUNITIES ARISING OUT OF THE USE OR INABILITY TO USE GOANYWHERE EVEN IF LINOMA SOFTWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Circumstances may arise where, because of a default on LINOMA SOFTWARE's part or other liability, you are entitled to recover damages from LINOMA SOFTWARE. In each such instance, regardless of the basis on which you may be entitled to claim damages from LINOMA SOFTWARE, (including fundamental breach, negligence, misrepresentation, or other contract or tort claim), LINOMA SOFTWARE is liable for no more than the amount you paid for GOANYWHERE. This limited warranty gives you specific legal rights. Some states provide other rights, and some states do not allow excluding or limiting implied warranties or limiting liability for incidental or consequential damages. As a result, the above limitations and or exclusions may not apply to you. Furthermore, some jurisdictions have statutory consumer product provisions which may supersede these provisions of the Agreement. GENERAL If any provision of this Agreement shall be unlawful, void or for any reason unenforceable, then that provision shall be deemed severable from this Agreement and shall not affect the validity and enforceability of the remaining provisions of this Agreement. This Agreement will be governed by the laws of the State of Nebraska including the applicable provisions of the Uniform Electronic Transactions Act, as adopted in the State of Nebraska.

Page 38: Installation and Administration · PDF fileInstallation − UNIX, AIX, ... GoAnywhere Director - Installation and Administration Guide Version 4.0.0 Linoma Software Page 3 Backups

GoAnywhere Director - Installation and Administration Guide

Version 4.0.0 Linoma Software Page 38

Contacting Linoma Software The Company Founded in 1994, 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’s success has been built on being very responsive to our customer’s requirements. So if you have suggestions on how we can improve our products to better serve your organization, please let us know. How to Contact Linoma Software Electronic Sales [email protected] Support [email protected] Website www.GoAnywhereMFT.com Phone Numbers Toll-free: 1-800-949-4696 Outside USA: (402) 944-4242 Fax: (402) 944-4243 Address Linoma Software 1409 Silver Street Ashland, NE 68003 USA