Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere

 
ramdas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
currently i am having IBM Http Server v1.3.12 and WAS 3.5 installed on M/C "A" and M/C "B".
and now I am trying to configure
1>IBM HTTP Server v1.3.12. on m/c 'A' with (stopping WAS services on M/C "A")
2>IBM Websphere Application Server on m/c 'B'(stopping HTTP server on M/C "B")
can any body plase suggest how to go about it(what changes are needed to configuration file ).so that any request to http server on m/c "A" is directed to the Application server on m/c "B".
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No changes should be necessary. Just take the files from temp directory on machine B (the one with the app server) and move them to machine A (the one with the web server). This procedure is described in the IBM redbook on scaling and clustering in WebSphere 3.5. (Look under http://www.redbooks.ibm.com)
Kyle Brown
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
deneb shah
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my opinion these are the following u would have to do is the plugin configuration
LoadModule ibm_app_server_http_module \\macB\..\WebSphere\AppServer\bin\mod_ibm_app_server_http.dll
WebSpherePluginConfig \\macB\..\WebSphere\AppServer\config\plugin-cfg.xml
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by deneb shah:
in my opinion these are the following u would have to do is the plugin configuration
LoadModule ibm_app_server_http_module \\macB\..\WebSphere\AppServer\bin\mod_ibm_app_server_http.dll
WebSpherePluginConfig \\macB\..\WebSphere\AppServer\config\plugin-cfg.xml

He is using WebSphere 3.5. The files you mention are for WebSphere 4.0. WebSphere 3.5 uses a different set of files for plugin configuration (queues.properties, vhosts.properties and rules.properties).
See here (http://www-4.ibm.com/software/webservers/appserv/doc/v35/ae/infocenter/was/0701030601.html) for detailed instructions on how to set up Remote OSE as asked in Websphere 3.5.
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
[This message has been edited by Kyle Brown (edited October 02, 2001).]
 
deneb shah
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i did try to install just the webserver in one machine and the ibmhttpserver in second machine but i had to map the machine where the websphere was installed.
i dont think it installed even then, since it gave me some errors.
the question i am trying to ask u is that why should one give the directory where the websphere is installed shouldnt we give the URL and port.
wut would be he case for this in case of Unix ???
most of the times i may sound dumbt but all i am trying to do is try to get my concepts clear.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by deneb shah:
hi
i did try to install just the webserver in one machine and the ibmhttpserver in second machine but i had to map the machine where the websphere was installed.
i dont think it installed even then, since it gave me some errors.
the question i am trying to ask u is that why should one give the directory where the websphere is installed shouldnt we give the URL and port.
wut would be he case for this in case of Unix ???
most of the times i may sound dumbt but all i am trying to do is try to get my concepts clear.

I'm sorry, deneb. I'm just having trouble understanding the questions. To make remote OSE work in WebSphere 3.5, or to make remote web serving work in Websphere 4.0 you still MUST install WebSphere's plugin on the machine where the web server resides. This is to make sure that the plugin is correctly installed in the web server. You can't just refer to directories on another machine. The procedure is then to copy the appropriate configuration files from the application server machine (where the files are created) to the web server machine.
Does this help?

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
ramdas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kyle Brown:
No changes should be necessary. Just take the files from temp directory on machine B (the one with the app server) and move them to machine A (the one with the web server). This procedure is described in the IBM redbook on scaling and clustering in WebSphere 3.5. (Look under http://www.redbooks.ibm.com)
Kyle Brown
Hi Kyle
I think i have not explained the case properly.
Let me restate the problem.
1> IBM HTTP Server1.3.12 and WAS 3.5.2 installed on both M/c "A" and m/c "B".
2> The directory structure is as follows
on m/c "A" under
D:\ibm\IBM HTTP Server----------|
D:\ibm\Websphere\appServer(stop)|
|
|
on m/c "B" under|
C:\ibm\IBM HTTP Server(stop)|
C:\ibm\Websphere\appServer------|
3> Next i have stopped WAS on m/c "A" and Httpserver on m/c "B"
4> I have started Httpserver on m/c "A" and WAS on m/c "B"
5> My requirement is any request to httpserver on m/c "A" like http://A//appserver/index.jsp should use application server on m/c "B".
As per your suggetsion copying file from temp directory of WAS of M/C "B" to M/C "A" will be of no
use since WAS on m/c "A" will be in stopped condition.
6>please advise me specifically any changes in the http.conf/admin.conf or in any other place is needed.
waiting for your reply.
Thank you in advance.


 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ramdas:

Ramdas, did you read the URL I gave you: http://www-4.ibm.com/software/webservers/appserv/doc/v35/ae/infocenter/was/0701030601.html ?
This gives (as I said) DETAILED instructions on how to solve your problem. It specfically talks about how to have a web server on one machine communicate with an application server on the other machine. As you see down in the section on "manual configuration" one of your options is to simply copy the three files I've mentioned from the app server machine to the web server machine. It's doesn't matter squat that the app server isn't started on the web server machine -- it doesn't have to be. In fact, it doesn't have the even be INSTALLED -- there is an installation option that only installs the plugin that would also work in your case.
I'm still not understanding why this is so difficult. What part of the instructions did you not understand? Please let me know and I'll try to explain them in greater detail.

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
awkard awkard
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is regarding your question about IBMHttpServer on Machine A and WebSphere on machine B and you are calling application from machine B to WebServer on A.
I did this using WebSphere Application Server 5.0
I never worked with WebSPhere 3.5 or 4.0
but I think it should work.
Go to Machine A.
Over here let's consider Hostname for machine A is machine_Apache
http://machine_Apache
Over here let's consider Hostname for machine B is machine_WAS
http://machine_WAS
go to machine_Apache
Stop the WebSphere Application Server(WAS).
cd /usr/WebSphere/AppServer/config/cells
open Plugin-cfg.xml
find out the cluster section in which you will see the some Hostname entry.
Which is machine_apache or it's IPAddress.
Change it to machine_WAS or IPAddress of machine_WAS.
save the plugin-cfg.xml
now go to cd /usr/IBMHttpServer/bin
restart the apache.
./apachectl stop
./apachectl start
now go to browser and type following.
make sure that WAS is running on machine_WAS host.
Apache is running on machine_Apache.
http://machine_Apache/snoop
if you see the output in the samepage, you will see the machine_WAS/server1 .
It means snoop is running on machine_WAS and webserver machine_Apache is calling it.
THat's it
you are done.
Don't say this is not working because I did this myself and I work on WebSPhere 5.0 in IBM
take care,
awkard
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic