Page 1 of 1

iSeries Disaster Recovery procedures

Posted: Tue Mar 10, 2009 4:26 pm
by Support_Julie
Saving GoAnywhere Product

iSeries – Saving

Using the supplied iSeries command named SAVPRD, you can save the GoAnywhere product from an iSeries machine. This will save all GoAnywhere objects and user data (including configurations and transfer definitions) into a single iSeries Save file. This will allow you to easily restore GoAnywhere onto another iSeries machine, which is especially useful for disaster recovery purposes.

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

1. First end the GoAnywhere subsystem using the GOANYWHERE/ENDGA command. Then, key in the iSeries command LIBRARY/SAVPRD, where “LIBRARY” is the installation library of the GoAnywhere server engine. The default installation library is “GOANYWHERE”.

2. Press F4 to prompt the command.

3. Specify the name of the library that contains the GoAnywhere product.

4. Specify the name and library of the Save file to store the GoAnywhere product. The specified Save file will be automatically created.

5. Press enter to perform the save operation.

6. Make sure that you save the license file. ( /Linoma/goanywhere/goanywhere.lic ) The license key is unique to each system.



Save GoAnywhere Objects (SAVPRD)

Type choices, press Enter.

Product library . . . . . . . . GOANYWHERE Character value
Save File . . . . . . . . . . . GOANYWHERE Name
Library . . . . . . . . . . . QGPL Name, *LIBL


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.



iSeries – 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 iSeries 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.

Re: iSeries Disaster Recovery procedures

Posted: Thu Jul 03, 2014 4:31 am
by icestehedberg
Hi,

I have restord according to instruktions but get the following error for file transfer:
3/7/14 11:01:26 fm INFO Executing task 'ftp 1.0 (Connect to FTP Server)'
3/7/14 11:01:26 fm INFO Connecting to 'ftp.iceaccess.com' at port '21' as user 'test-admin'
3/7/14 11:01:26 fm DEBUG REPLY: 220 Service ready for new user.
3/7/14 11:01:26 fm DEBUG COMMAND: USER test-admin
3/7/14 11:01:26 fm DEBUG REPLY: 331 User name okay, need password for test-admin.
3/7/14 11:01:26 fm DEBUG COMMAND: PASS **********
3/7/14 11:01:26 fm DEBUG REPLY: 230 User logged in, proceed.
3/7/14 11:01:26 fm DEBUG COMMAND: SYST
3/7/14 11:01:26 fm DEBUG REPLY: 215 UNIX Type: L8
3/7/14 11:01:26 fm INFO Executing sub-task 'put'
3/7/14 11:01:26 fm DEBUG COMMAND: PWD
3/7/14 11:01:26 fm DEBUG REPLY: 257 "/" is current directory.
3/7/14 11:01:26 fm INFO Setting the data type to ASCII
3/7/14 11:01:26 fm DEBUG COMMAND: TYPE A
3/7/14 11:01:26 fm DEBUG REPLY: 200 Command TYPE okay.
3/7/14 11:01:26 fm DEBUG COMMAND: CWD /ICEWatchLists/fromICE/EOS
3/7/14 11:01:26 fm DEBUG REPLY: 250 Directory changed to /ICEWatchLists/fromICE/EOS
3/7/14 11:01:26 fm DEBUG COMMAND: PWD
3/7/14 11:01:26 fm DEBUG REPLY: 257 "/ICEWatchLists/fromICE/EOS" is current directory.
3/7/14 11:01:26 fm DEBUG COMMAND: CWD /
3/7/14 11:01:26 fm DEBUG REPLY: 250 Directory changed to /
3/7/14 11:01:26 fm DEBUG COMMAND: PWD
3/7/14 11:01:26 fm DEBUG REPLY: 257 "/" is current directory.
3/7/14 11:01:26 fm INFO Uploading '/ICE/IACEXCD/IACEAR/A000068930.txt' (277 bytes) to '/ICEWatchLists/fromICE/EOS/052IP120140703110108.CSV'
3/7/14 11:01:26 fm INFO Closed the FTP connection
3/7/14 11:01:26 fm ERROR org/apache/commons/net/ftp/FTPClient.storeFile(Ljava/lang/String;Lcom/linoma/commons/file/LocalFileInterface;)Z
3/7/14 11:01:26 fm INFO Finished project 'EXT_DS0005'
3/7/14 11:01:26 fm ERROR org/apache/commons/net/ftp/FTPClient.storeFile(Ljava/lang/String;Lcom/linoma/commons/file/LocalFileInterface;)Z
com.linoma.dpa.runtime.JobFailedException: org/apache/commons/net/ftp/FTPClient.storeFile(Ljava/lang/String;Lcom/linoma/commons/file/LocalFileInterface;)Z
at com.linoma.dpa.runtime.Job.run(Unknown Source)
at com.linoma.dpa.runtime.Runtime.executeProject(Unknown Source)
at com.linoma.dpa.runtime.Runtime.executeProject(Unknown Source)
at com.linoma.dpa.j2ee.RunProjectCommandServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.linoma.dpa.j2ee.IECompatibilityModeFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.linoma.dpa.security.SecurityFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:761)
Caused by: com.linoma.dpa.ExecutionException: org/apache/commons/net/ftp/FTPClient.storeFile(Ljava/lang/String;Lcom/linoma/commons/file/LocalFileInterface;)Z
at com.linoma.dpa.ErrorHandler.handleOnError(Unknown Source)
at com.linoma.dpa.ModuleV2.execute(Unknown Source)
at com.linoma.dpa.Project.execute(Unknown Source)
at com.linoma.dpa.runtime.Job.executeProject(Unknown Source)
... 24 more
Caused by: java.lang.NoSuchMethodError: org/apache/commons/net/ftp/FTPClient.storeFile(Ljava/lang/String;Lcom/linoma/commons/file/LocalFileInterface;)Z
at com.linoma.dpa.tasks.ftp.FTPImpl.upload(Unknown Source)
at com.linoma.dpa.tasks.ftp.PutAction.processFile(Unknown Source)
at com.linoma.dpa.tasks.ftp.PutAction.uploadFiles(Unknown Source)
at com.linoma.dpa.tasks.ftp.PutAction.execute(Unknown Source)
at com.linoma.dpa.tasks.ftp.AbstractFTPTask.execute(Unknown Source)
... 27 more
3/7/14 11:01:26 fm INFO End Date and Time: 3/7/14 11:01:26 fm

Could you help me with this problem.
Regards,
Stefan Hedberg

Re: iSeries Disaster Recovery procedures

Posted: Thu Jul 03, 2014 11:51 am
by Support_Rick
Stefan,

We will need more information to help you with this. Please send an email to [email protected] addressing this issue with what steps define "restored according to instructions".

What system?
Why did you restore?
What did you restore?
How did you restore?

Send a copy of the Project XML you are running along with the whole Project JobLog (in debug mode) so that we can tell what needs to be done.

Thanks!

Re: iSeries Disaster Recovery procedures

Posted: Mon Nov 30, 2015 2:00 am
by sarwanov
Thanks for sharing such important post.well done bro