Author Topic: How to run 2 versions of arswww.cgi  (Read 4295 times)

ibmarthin

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
How to run 2 versions of arswww.cgi
« on: February 07, 2014, 05:33:17 AM »
Can someone help me on this:
I am upgrading 4 instances from 8.4.0 to 8.5.0 and for a period I need to run the 8.5.0 arswww.cgi instance  parallel with the 8.4.0.

I can't find the place in the manual that points where in http.conf and/or arswww.ini files to point to 2 different arswww.cgi versions.
The httpd.conf file definitions for OnDemand:
Exec       /arswww/arswww.cgi         /cust/http/test/arscgi/arswww.cgi
Exec       /arswww/arswww.cgi/*.tif   /cust/http/test/arscgi/arswww.cgi
Exec       /arswww/arswww.cgi/*.pdf   /cust/http/test/arscgi/arswww.cgi
Exec       /arswww/arswww.cgi/*.jpg   /cust/http/test/arscgi/arswww.cgi
Exec       /arswww/arswww.cgi/*.afp   /cust/http/test/arscgi/arswww.cgi
?Exec       /arswww/*                  /usr/lpp/ars/www/arswww.cgi     
Pass       /arswww/*    /usr/lpp/ars/www/*                             
ServerInit   /usr/lpp/internet/bin/mvsds.so:mvsdsInit /cust/http/mvsds.conf
CacheLocalFile   /ars/tmp/Admin/lgmast.gif                             
CacheLocalFile   /ars/tmp/Admin/lgsplash.gif                           
CacheLocalFile   /ars/tmp/pub/Frntpage.html                           
                                                   

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: How to run 2 versions of arswww.cgi
« Reply #1 on: February 11, 2014, 07:20:43 AM »
Hello Marthin,

Well difficult to say, never done it.

As you know, you cannot have both ODWEK 8.4 and 8.5 at the same time installed in your server... meaning that with a single web server, you won't be able to do what you want to achieve...
With an Application Server (JBoss, WebLogic, WebSphere), you can do something like that with a servlet (java).

But not with the cgi, simply because the cgi is only a shell for the static library.

For me the only way is really to use either ODWEK 8.4 or 8.5... just decide on one.
Personally I would say 8.5... (8.5.0.8).

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

ibmarthin

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: How to run 2 versions of arswww.cgi
« Reply #2 on: February 18, 2014, 06:35:12 AM »
I solved it by running 2 separate HTTP servers for CGI 840 and 850         
                                                                       
3.  The one http server is called PROD WEBSERVER starts on another     
    the SYMLINK for that server which is 8.4.0 points to               
    /cust/http/prod/arscgi/arswww.cgi which points to the 8.4.0:       
    /usr/lpp/ars/www/arswww.cgi                                         
                                                                       
4.  The second http server which is our new 8.5.0 server I altered   
    the SYMLINK /cust/http/test/arscgi/arswww.cgi to point             
    to the 8.5.0 version /usr/lpp/ars/V8R5M0/www/arswww.cgi and it now 
    works   

ibmarthin

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: How to run 2 versions of arswww.cgi
« Reply #3 on: February 18, 2014, 06:39:13 AM »
 :)

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: How to run 2 versions of arswww.cgi
« Reply #4 on: February 24, 2014, 07:19:58 AM »
Thanks for the feedback on how you did it :-)

I've learned something new today!! :-) I can go to sleep :-D

Yours sincerely,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML