Page 1 of 1

Adding a second Genie environment.

Posted: Fri Aug 19, 2011 1:47 pm
by Wayne C.
At the time of our initial installation of Genie last year, only one instance / environment was created. We would now like to add a development environment.

1. Can that be done from the "Profound UI Download" option from Member Resources? If so, which of the Installation Customization options would have to be changed (Port #, Instance Name)? Anything else?

2. How do you copy the customizations in the existing environment to the new development environment? Or, what has to be done so that when the dust settles, we'll have 2 identical environments.

As an afterthought, is this the best way of accomplishing our objective? We do all of our development work on the iseries in a development environment and periodically move our changes / new code to the production environment. Is just creating another skin the way to go?

Re: Adding a second Genie environment.

Posted: Mon Aug 22, 2011 5:15 pm
by David
Yes, you can install a 2nd instance of Genie using the standard PUI download from the website. When you run the installer, click on the "Customize" button and choose alternate values for:

1. HTTP server instance name.

2. HTTP server instance port.

3. Product installation library.

This will install a completely separate environment. To update either environment, just plug in the correct values each time you install.

To copy over Genie customizations to setup a "mirror image" in the new environment:

1. Copy your skin folder and all contents. This is located at /www/INSTANCE_NAME/htdocs/profoundui/userdata/genie skins/YOUR_SKIN

Copy it into the equivalent location for the new HTTP server instance.

2. Copy your global Genie configuration file here:

/www/INSTANCE_NAME/htdocs/profoundui/userdata/genie skins/config.js

Again, copy to the equivalent location for the new http server instance.

That will have everything setup the same in the new environment.

You are correct in thinking that you just need to refresh these items between the dev. and production environment when you want to deploy changes.