We help IT Professionals succeed at work.

Copy Webservice configuration

Medium Priority
44 Views
Last Modified: 2020-01-20
Hi Experts,

After configuring several webservice on the iSeries (AS/400) Apache-server (using the wizzard),
I like to transfer the configuration of them to an other machine.

Is it possible to copy and paste or backup and restore this configuration info?
Comment
Watch Question

David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Likely yes, if AS400s use standard Apache config files, as files are just text files + can be copied between machines by whatever mechanism you currently use for file copy operations.
Gary PattersonVP Technology / Senior Consultant
CERTIFIED EXPERT

Commented:
Here is a good article that includes an explanation of how to leverage some IBM-supplied IWS scripts to handle the deployment process, plus an excellent utility including downloadable source code for automating the migration/promotion process.  This could be adapted to allow moving changes between development, test, and production instances - or to deliver changes to multiple production instances.

https://www.itjungle.com/2018/02/19/guru-moving-web-service-another-web-server/

It is, or course, possible to do all of this manually, by moving files around, but scripting deployment reduces the possibility of error, and also allows you to integrate IWS deployments through your existing IBM i change management tools.

- Gary
Theo KouwenhovenApplication Consultant
CERTIFIED EXPERT

Author

Commented:
Hi Gary, David,

It took a little time, but I don't think I'm going to copy the configuration, and start executing from a DB table.
But now I encounter the following error

IWS00103E - Parameter value not valid. A parameter usage of inputoutput is not allowed. (null:Request)

after many hours of juggling with various parameter combinations, I found that it is not the parameters that are wrong, but the length of the QSH command seems to be over the maximum length.

I need more parameters (so more length) than QSH or installWebService.sh allow.
How do I solve this?
Gary PattersonVP Technology / Senior Consultant
CERTIFIED EXPERT

Commented:
How many parameters, and what is the total length?
Theo KouwenhovenApplication Consultant
CERTIFIED EXPERT

Author

Commented:
I don't get this error anymore, could be a ptf-issue.
as long as it works, i don't look further for the cause.

Thanks
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Sounds like you have Apache running now, so close out this question + open another question relating to IWS00103E which is an IBM-centric error message (non-Apache).

Explore More ContentExplore courses, solutions, and other research materials related to this topic.