Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Improved Installation procedure.  (Read 9186 times)
Snorri B.
Posts: 103


« on: March 10, 2009, 12:21:36 pm »

Hi.

I would like to make a suggestion of how to improve installation of the Genero products. Basically, I would like to be able to install the same way as I can install Informix Dynamic Server (IDS).
1. Use softlinks to point to current FGLDIR (example) and have your FGLDIR=/opt/Genero/runtime or whatever.
Code
  1. $ ls -l /opt
  2. lrwxrwxrwx 1 root   root     20 2009-03-10 10:53 Genero -> /opt/Genero.2.11.05/
  3. drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.05
  4.  
1. Copy the current FGLDIR to a new directory:
Code
  1. $ cp -r -p /opt/Genero.2.11.05 /opt/Genero.2.11.11
  2. $ ls -l /opt
  3. lrwxrwxrwx 1 root   root     20 2009-03-10 10:53 Genero -> /opt/Genero.2.11.05/
  4. drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.05
  5. drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.11
  6.  

2. Now, while the sytem is running you can install all your new stuff to /opt/Genero.2.11.11/[gas|runtime|development] You should be able to overrwrite all files except as.xcf and the env* scritps, as these are something you might have modified (similiar to onconfig). I think 4js should just supply as.xcf.std and env*.std

3. When you have finished installing everything while the system is running (Dev. + Runtime + gas etc.) and check if everything looks OK you can minimize downtime by shutting everything down (gas etc) and
Code
  1. $ rm /opt/Genero
  2. $ ln -s /opt/Genero.2.11.11 /opt/Genero
  3. $ ls -l /opt
  4. lrwxrwxrwx 1 root   root     19 2009-03-10 11:09 Genero -> /opt/Genero.2.11.11
  5. drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.05
  6. drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.11
  7.  

Then you have FGLDIR pointing to the newest version.
Currently this approach doesn't work because you can not have the installation directory (in this case /opt/Genero.2.11.11/runtime) different from FGLDIR (/opt/Genero/runtime)

Any comments on this?

Best regards,
-Snorri
Snorri B.
Posts: 103


« Reply #1 on: March 10, 2009, 12:24:08 pm »

I'd like to add that if one could use this approach it would be very easy to move back to an earlier version if something goes wrong. You just move the softlink.

-S
Snorri B.
Posts: 103


« Reply #2 on: March 10, 2009, 12:56:29 pm »

On more thing:

It would help a lot if the license manager could be installed separately (independent of FGLDIR). Then one could install a new version, point FGLDIR to it and do all sorts of testing before going live. The license manager would count the sessions regardless of installation dir (FGLDIR)

Regards,
-Snorri
David H.
Posts: 158


« Reply #3 on: March 10, 2009, 01:53:23 pm »

It would help a lot if the license manager could be installed separately (independent of FGLDIR). Then one could install a new version, point FGLDIR to it and do all sorts of testing before going live. The license manager would count the sessions regardless of installation dir (FGLDIR)

Hi Snorri,

You can already do this I think if if you use the License Manager using FLMDIR (https://4js.com/techdocs/genero/flm/devel/DocRoot/User/Installation.html#FLM_Set_Env)

Regards,

David
Snorri B.
Posts: 103


« Reply #4 on: March 11, 2009, 11:42:17 am »

Thanks David for your input.

I'm looking into this license mgr. stuff. Looks like this does the trick.

Best regs,
-Snorri
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines