cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP load balancing using message server

Former Member
0 Kudos

Hi All,

Currently im a situation where loading balancing is not happing as expected.

the scenario is i have a central instance and a dialog instance. i created a logon group in SMLG and assign only dialog instance to this logon group.

but when i access the below link it also forward my request to Cental instance.

http://FQDN:8101/sap/bc/nwbc

Please advice how should i restrict the logon only to dialog instance using logon group.

Regards

Shanthosh

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Dear All,

I am stuck with logon load balancing functionality. I want to logon load balance HTTP requests using Message server.

Parameter

ms/server_port_0 = PROT=HTTP,PORT=81$$ is set and

The ICF Services sap/public/icf_info/logon_groups and sap/public/icf_info/urlprefix must be activated (transaction SICF),

are already activated.

When I give "Logon group" in SICF services and test logon load blanacing its giving below URL.

http://<message server host>:<ms http port>/<service path>/<service name>

it should give

http://<message server host>.<domain>:<ms http port>/<service path>/<service name>

and with

http://<message server host>.<domain>:<ms http port>/<service path>/<service name> link logon load balancing works.

Does anyone have any idea which parameter <domain> is picking and how its working.

Regards,

Bond

former_member45419
Active Contributor
Former Member
0 Kudos

Hi Rishi / Rb,

Thank you so much for your prompt reply.

Im trying to configure HTTP logon load balancing using message server. unfortunately it is not working as expected.

i have two instance, one central instance and one dialog instance. when i try to access nwbc through url it always routes to both the server. i have done the below settings

logon group 'dialog1' has been created and i have assigned only the dialog instance to this logon group.

ms/http_port is set

Below service are activated

sap/public/icf_info

/sap/public/icf_info/icr_groups

/sap/public/icf_info/icr_urlprefix

But still the nwbc access routes to both the server.

Please advice me if i need to do any addition steps to restrict the logon only to dialog instance.

Regards

Shanthosh

0 Kudos

Hi Shanthosh,

Did you assign the logon group to the service /sap/bc/nwbc as described here?

Assigning Logon Groups - SAP Web Dispatcher - SAP Library

Regards,

Tobias

Reagan
Advisor
Advisor
0 Kudos
Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Rishi,

The point here is the load balancing is not only concerned to NWBC but to all of the incoming url.

It is getting balanced in 50-50 ratio between CI and DI. How can i restrict the incoming URL to only DI.

Please help.

Regards

Shanthosh

Former Member
0 Kudos

The answer was already given. You can specify the used logon group for any ICF service. If you want to specify the used logon group for all ICF services you can define it on the top level (default_host or any virtual host you may have), the setting is inherited by nodes beneath.

Former Member
0 Kudos

Hi,

Please check my last port that you need to check the SICF service.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi Rishi,

I checked all the services and everything is fine.

Just wanted to understand what will be the behavior of message server for the incoming http request if I change parameter ms/server_port_0 from PORT=81$$ to exactly instance number like PORT=8101.

Will there be any side effects?

Regards

Shanthosh

Former Member
0 Kudos

Hi,

I don't think it will make any difference as the system is calculation this port only and you can double check in smms ----> goto ---> parameter.

and you will se it is using 8101.

So you will see that the parameter is getting the correct value if you set as 81$$.

Thanks

Rishi Abrol

Former Member
0 Kudos

$$ is a variable and represent to your system number.

Former Member
0 Kudos

Hi,

Just want to add set the parameter as .

ms/server_port_0 = PROT=HTTP,PORT=81$$

Thanks

Rishi Abrol

Reagan
Advisor
Advisor
0 Kudos
Former Member
0 Kudos

Hi,

I think that you need to read the below note.

1040325 - HTTP load balancing: Message Server or Web Dispatcher?

Thanks

Rishi Abrol