New Posts New Posts RSS Feed: Load Balancing BOS
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Load Balancing BOS

 Post Reply Post Reply
Author
hijaggu View Drop Down
Newbie
Newbie
Avatar

Joined: 26-Sep-2010
Posts: 21
Post Options Post Options   Quote hijaggu Quote  Post ReplyReply Direct Link To This Post Topic: Load Balancing BOS
    Posted: 14-Mar-2011 at 11:36am
How do I load balance Business Object Server ?  

Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 14-Mar-2011 at 12:33pm
Hi hijaggu;

Load balancing is actually a broad topic and can be achieved in several ways. See if this link can help you get started.

Back to Top
hijaggu View Drop Down
Newbie
Newbie
Avatar

Joined: 26-Sep-2010
Posts: 21
Post Options Post Options   Quote hijaggu Quote  Post ReplyReply Direct Link To This Post Posted: 14-Mar-2011 at 3:48pm
 
 Thanks for your prompt reply Denis. Let me explain my requirement in detail. Currently we are configuring objectServer details in client side config file and Ideablade reads it from there to connect to BOS.

    Instead of that I want client app to call custom implemented WCF service which can return objectServer details based on certain parameters supplied by client app in order to connect to specific BOS.

          This can be useful to route the clients to different servers based on say their geographical location. We don’t want to hard code objectServer details in client app config file.

Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 15-Mar-2011 at 5:30pm
It sounds like you want to programatically change the objectServer element inside the app.config. This can be achieved by using the IdeaBladeConfig.Instance. You can look at the API for more info, but here's a small snippet showing how it works.

      var ideaBladeConfig = IdeaBladeConfig.Instance;
      var objectServer = ideaBladeConfig.ObjectServer;
      ideaBladeConfig.ObjectServer.ClientSettings.IsDistributed = true;
      if (ideaBladeConfig.ObjectServer.ServerPort != 9009) {
        ideaBladeConfig.ObjectServer.ServerPort = 9009;
      }
      if (ideaBladeConfig.ObjectServer.RemoteBaseUrl != "http://localhost") {
        ideaBladeConfig.ObjectServer.RemoteBaseUrl = "http://localhost";
      }
      if (ideaBladeConfig.ObjectServer.ServiceName != "EntityService.svc") {
        ideaBladeConfig.ObjectServer.ServiceName = "EntityService.svc";
      }
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down