antoine_mpo
Reputable Poster
Hi list,
Because of problem, i'm going deeper and deeper in websphere .. (don't have the choice, websphere 4 is no more supported by IBM)
In order to change our web architecture (change the websphere load balancing), we installed 2 web servers, with 3 clones per server.
At the begining of install, we had chosen some names for "server group" and "application servers". Once it was working, we decided to change them to make them more "understandable". We renamed the server group and all application servers.
Everything was working fine for several days, until we did a "regegen websphere plugin" on the node where is the IIS web server (we were trying to enable saw for cloned environment). After that, we were unable to access to JDE.
After several tries (to undo all the modifications) we were able to access again, but in degraded mode. all the load was sent to the first server, nothing to the other one.
After some reading of IBM Webpshere guides, we understood the role of the "regen plugin" and the essential role of the plug-in configuration file (xml file) for the work between IIS and websphere.
This xml file contains a description of what you see in the administrative console of websphere (server groupes, clones, virtual hosts, ...), and is used as a routing table, to know where to send requests.
What we noticed, looking at the xml file on the first server (where is the IIS) is that it doesn't mention the second server, so that's why there is no connection on the second one.
We then took a look at the old xml file, before the problem, and noticed that the server group name and the application servers name were the old ones (the first names after the install, before the renaming).
Yesterday we tried the following things :
- stop IIS on the first server, regen the websphere plugin of the first server. Then the xml file seemed all right (the good names, the one we see in the websphere console) and the 2 servers with each clone. But after restarting IIS, we were not able to access JDE.
- Then we stopped IIS again, and restored the xml file that was working (so with the old names), restarted IIS. And everything was working well again (connections ok, load balancing between the 2 servers).
So, what we think is that there is somewhere in websphere some references to the old names, and that they are the one active. I took a look in the Oracle tables used by websphere . But it's not really easy to see how it works. I can just notice that in a table, i can find both old and new names of the application servers.
Does anyone knows how websphere (4.0.7) regenerate the plug-in ? Is there any other files impacted except plugin-config.xml ? How are used the database tables of websphere ?
Another question, about enabling the saw :
To do so, you have to add the transport port of each clone in the aliases of the virtual host concerned. Most of the time, you type "*ort", but if you have several clones (on different server) using the same transport port, websphere throw a warning saying it could lead to problem. Do you know if it's better to explicitly type "server_name:transportPort" in aliases, to avoid trouble ?
Thanks for your help.
Because of problem, i'm going deeper and deeper in websphere .. (don't have the choice, websphere 4 is no more supported by IBM)
In order to change our web architecture (change the websphere load balancing), we installed 2 web servers, with 3 clones per server.
At the begining of install, we had chosen some names for "server group" and "application servers". Once it was working, we decided to change them to make them more "understandable". We renamed the server group and all application servers.
Everything was working fine for several days, until we did a "regegen websphere plugin" on the node where is the IIS web server (we were trying to enable saw for cloned environment). After that, we were unable to access to JDE.
After several tries (to undo all the modifications) we were able to access again, but in degraded mode. all the load was sent to the first server, nothing to the other one.
After some reading of IBM Webpshere guides, we understood the role of the "regen plugin" and the essential role of the plug-in configuration file (xml file) for the work between IIS and websphere.
This xml file contains a description of what you see in the administrative console of websphere (server groupes, clones, virtual hosts, ...), and is used as a routing table, to know where to send requests.
What we noticed, looking at the xml file on the first server (where is the IIS) is that it doesn't mention the second server, so that's why there is no connection on the second one.
We then took a look at the old xml file, before the problem, and noticed that the server group name and the application servers name were the old ones (the first names after the install, before the renaming).
Yesterday we tried the following things :
- stop IIS on the first server, regen the websphere plugin of the first server. Then the xml file seemed all right (the good names, the one we see in the websphere console) and the 2 servers with each clone. But after restarting IIS, we were not able to access JDE.
- Then we stopped IIS again, and restored the xml file that was working (so with the old names), restarted IIS. And everything was working well again (connections ok, load balancing between the 2 servers).
So, what we think is that there is somewhere in websphere some references to the old names, and that they are the one active. I took a look in the Oracle tables used by websphere . But it's not really easy to see how it works. I can just notice that in a table, i can find both old and new names of the application servers.
Does anyone knows how websphere (4.0.7) regenerate the plug-in ? Is there any other files impacted except plugin-config.xml ? How are used the database tables of websphere ?
Another question, about enabling the saw :
To do so, you have to add the transport port of each clone in the aliases of the virtual host concerned. Most of the time, you type "*ort", but if you have several clones (on different server) using the same transport port, websphere throw a warning saying it could lead to problem. Do you know if it's better to explicitly type "server_name:transportPort" in aliases, to avoid trouble ?
Thanks for your help.