Focal Point
[SOLVED] Copying Change Management Packages Between Environments

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7957060886

October 19, 2017, 09:33 AM
JazBar
[SOLVED] Copying Change Management Packages Between Environments
Hello all,

We're working with WebFOCUS 8.1.05 and, at present, our Change Management process involves quite a lot of manual copying of Change Management Scenarios between our DEV, UAT and PRD environments.

I've been trawling the documentation for best practices and examples of where the process has been automated, i.e. removal of the manual export, copy, & import parts of the process, but haven't found anything that helps as yet.

What I did see in the documentation was "Another option is to write batch scripts to export, copy, and then import between environments. This preserves the integrity of the packages and the batch scripts can also be coded to integrate with other change control systems."

Has anybody managed to implement such a strategy, and do you have any examples of batch files that you would be willing to share?

Thank you in anticipation of your help.

This message has been edited. Last edited by: FP Mod Chuck,
October 19, 2017, 03:33 PM
Waz
We have done this, but done it with WebFOCUS HTML pages, fexes, etc and shared the cm directories of each environment.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

October 25, 2017, 10:39 AM
Frans
Hi JazBar,

Yes this is pretty easy to setup. With CM you define a package, then you need some kind of tool to execute the CM package, (compress and) transport it and execute CM import on the target environment. A tool like Ansible can do this processing, ideally you'll you SVN or GIT to hold your package.

Questions you need to ask yourself:
Do you have any tools available (Ansible, Jenkins, Bamboo, etc)?
Do you have source control?
How far do you want to automate it, one click deployments or semi automated with some kind of UI?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
August 06, 2020, 04:26 PM
vaayu
Hello Frans,
I landed here searching "Jenkins". This is exactly what we are trying to accomplish, automated deployments by users where they can promote their content between environments. We have restful but I don't know where to start on automation. It seems like Jenkins is a tool we need but, we don't have any source control at the moment. Please share your thoughts.
Thanks in advance!!


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
September 09, 2020, 09:59 AM
Frans
Hi,

Basically you need to setup a Export scenario. Then you can use a WebFOCUS restservice to start the export. A package will be written into a directory. Then you can use any automation tool to copy the packge to another server and upload it to sourcecontrol. Then you call the rest api on the destination server to import the package and then you're done.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.