If you are unable to create a new account, please email support@bspsoftware.com

 

IIS not working right on gateway machine with 2nd instance of Cognos on Linux

Started by Suraj, 23 Apr 2014 05:06:06 PM

Previous topic - Next topic

Suraj

Okay, my head is hurting now.
I installed new instance of Cognos 10.2 (app and cm) on Linux machine using default port numbers as the existing instance uses other ports and it's up and running.
Alias is cognosdev --> http://servername.domain:80/cognosdev/cgi-bin/cognosisapi.dll

Then I installed gateway on a windows machine and configured it to point to the gateway of new instance on the linux machine.
I can browse the dispatcher from windows IE. http://tstcog01.domain.com:9300/p2pd/servlet/dispatch/ext
So far so good.

Now the issue.
IIS has existing instance under a site that has C:\inetpub\wwwroot as physical path.
Underneath, there is existing instance's webcontent and cgi-bin app.

I can't add new instance under that existing site as it takes the physical path of the existing install instead of new.
I created a new site using different port (instead of default 80 as that's already used) and used the same C:\inetpub\wwwroot as path and added virtual directory and cgi-bin under it using it's own new application pool.
Added the new location's isapi handler/mapping, allowed execute, modified index/default/web.config etc... to use isapi but it doesn't work at all.

http://localhost:8080/cognosdev
Page cannot be displayed.

If  I create a new site and directly point it to webcontent and add cgi-bin, I can browse cgi-bin without alias (server.domain:port/cgi-bin/cognosisapi.dll) but it brings up existing Cognos instance even though I point that site to new installation directory.

When I setup multiple instance before in previous companies, I was able to add multiple instances under the same default directory (The difference being they were all complete install on the same machine instead of distributed.) but if I do that here, it thinks the new instance is under old alias.

For example: Old is localhost/cognos and it'll use new alias as localhost/cognos/cognosdev that it can't find so have to use a new site with different port.

What am I missing here?  >:(

sdf

I haven't tried using IIS as web server for a Cognos instance in linux.

This is just a wild guess..
you might want to check your gateway URI settings.



Grim

Sounds like your IIS is messed up. have you tried bouncing the w3 service?
Other test/path...
Delete both instances and start with a fresh config in IIS. Make sure they are pointing to different webcontent folders and also make sure your Cognos config for each install is pointed to the correct dispatcher.



Side note: If your testing Linux you may was well install and configure apache with the gateway too. Keep everything really separate. ;o)
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

Suraj

Quote from: Grim on 24 Apr 2014 08:07:51 AM
Sounds like your IIS is messed up. have you tried bouncing the w3 service?
Other test/path...
Delete both instances and start with a fresh config in IIS. Make sure they are pointing to different webcontent folders and also make sure your Cognos config for each install is pointed to the correct dispatcher.
It could be. I'll install gateway in a different windows machine first.
I have to work in the weekend to redo everything as the other instance is being used heavily.

Suraj

I'm on to something.
Looks like whoever setup IIS here, put a re-direct on the IIS default so no other virtual directory works.
I've it working with a different site and different port number.

I'd like to have all instances under one site with different aliases.
Will update.