cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web Dispatcher

Former Member
0 Kudos

Hi All,

I have configured SAP Web dispatcher, its up and running and I can login with "ICMADM" also but I cant see its actual utility.

How can I chk if its actually load balancing existing servers or not ???

Im using Netweaver 7.0 on zlinux with DB2

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

In the overview "Monitor Server Groups", you see all java instances that belong to your j2ee cluster where the webdispatcher is connecting to. There you see per server how many requests it has processed.

Kind regards,

Mark

Former Member
0 Kudos

Hi Mark,

In Monitor server grp I can see these -

====================================================================================================

Server Group Monitor Reload Web Dispatcher configuration Refresh

Status of Server Group ""

Loadbalancing Information

Number of Servers in this group 0

Last used Server

Preferred next Server

Hosts in Group

Nr. Operational (ABAP) Offers ABAP services Active (ABAP) Reachable (ABAP) Responding (ABAP) Operational (Java) Offers Java services Active (Java) Reachable (Java) Responding (Java) Name Hostname

URL Prefixes for this Logon Group

Nr. URL Virtual Host Stack

=====================================================================================================

Do I need to configure some else.

My scenario is -

webdispatcher is on 192.168.1.1

portal1 on 192.168.1.2

portal1 on 192.168.1.3

Plz suggest !

Former Member
0 Kudos

That's weird.. You should see at least one server in that overview.

Do you see any errors in the dev_webdisp or dev_webdisp_watchdog during the startup?

Kind regards,

Mark

Former Member
0 Kudos

In the dev_webdisp it is showing error -

Thr 2199077271888] *** ERROR => Could not connect to SAP Message Server at <host>. URL=/msgserver/text/logon?version=1.2 [icrxx_mt.c 3289]

[Thr 2199077271888] *** ERROR => rc=-1, HTTP response code: 404 [icrxx_mt.c 3290]

Does it means it is trying to connect on port 3289 or 3290 ???????

Edited by: basis basis on May 20, 2010 2:31 PM

Former Member
0 Kudos

Looks like you are using the wrong value for ms/http_port in your sapwebdisp.pfl

The value should be 81<instance number + 1> (so for instance number 00, it should be 8101). Just change and restart.. Post me your findings.

Kind regards,

Mark

Edited by: M. Dijsselbloem on May 20, 2010 2:41 PM

Former Member
0 Kudos

Mark,

After changing as sugegsted by you I can see as -

!J2EE !J2EES !ALL

Status of Server Group "!J2EE"

Loadbalancing Information

Number of Servers in this group 1

Last used Server

Preferred next Server J2EE617307500

Hosts in Group

Nr. Operational (ABAP) Offers ABAP services Active (ABAP) Reachable (ABAP) Responding (ABAP) Operational (Java) Offers Java services Active (Java) Reachable (Java) Responding (Java) Name Hostname

0 J2EE617307500 <host-ip>

URL Prefixes for this Logon Group

Nr. URL Virtual Host Stack

And under Active,operational,responding its all "GREEN tick mark"

Now my next question is how can I make sure thta web dispatcher running on 192.168.1.1 can load balance portal1(192.168.1.1) and portal2(192.168.1.2)

Former Member
0 Kudos

Ok, that's much better...

Just for my clarification: are you running two separate portals, or a portal with an separate application server?

To activate the load balancing, enter the following parameters:

wdisp/load_balancing_strategy = weighted_round_robin

wdisp/server_0 = NAME=nrwn948_WIC_00, LB=2

wdisp/server_1 = NAME=nrwn150_WIC_10, LB=2

Where you should use your hostname, SID and instance number. The parameter LB is mentioning the number or server processes in your instance.

Kind regards,

Mark

Edited by: M. Dijsselbloem on May 20, 2010 3:25 PM

Former Member
0 Kudos

Scenarioa is as -

databse is on -> 192.168.1.5

portal1 is on -> 192.168.1.1

portal2 is on -> 192.168.1.2

web dispatcher is on -> 192.168.1.3

Any suggestion for the above scenarioa ?????

As i understand parameter will be configured as -

wdisp/server_0 = portal1_prd1_03, LB=2

wdisp/server_1 = portal2_prd2_04, LB=2

along with it do we need to create "logon grp" on java side ???

correct, plz suggest !!!

Many thanx

Edited by: basis basis on May 20, 2010 6:30 PM

Former Member
0 Kudos

Yes, but only change the parameter as follows: wdisp/server_0 = NAME = <hostname>_<SID>_<INST NO>, LB=2

and set the parameter wdisp/load_balancing_strategy = weighted_round_robin

Kind regards,

Mark

Former Member
0 Kudos

As far as I knw apart from above parameter we need to configure

wdisp/J2EE/group_info_location = http://portal1:port

with above parameter webdispatcher will come to knw where java logon-grp is residing.

Well how do we configure URL mapping for "portal1" and "portal2" on webdispatcher so tht just by accessing webdispatcher, user can access both the portal

Former Member
0 Kudos

If you just want to have load balancing between 2 servers, than my proposed configuration is sufficient.. If you want to use logon groups, than you need to perform additional configuration. Check the following link for logon group configuration: https://cw.sdn.sap.com/cw/docs/DOC-104542

Kind regards,

Mark

Answers (0)