Professional Web Applications Themes

webservice failover - ASP.NET Web Services

I have a web service (WS-A) running on multiple machines on a web farm and each of WS-A is calling another web service (WS-B) where its path is defined in the web.config file of WS-A. How can I implement failover for WS-B? i.e. if WS-B fails on one machine how can I tell WS-A on ALL machines to switch to use WS-B on another machine, assuming I have WS-B installed on multiple machines. That mean I have to change the path of WS-B in all web.config file of WS-A during runtime. How can I do it easily and efficiently? thanks. ...

  1. #1

    Default webservice failover

    I have a web service (WS-A) running on multiple machines on a web farm and
    each of WS-A is calling another web service (WS-B) where its path is defined
    in the web.config file of WS-A. How can I implement failover for WS-B? i.e.
    if WS-B fails on one machine how can I tell WS-A on ALL machines to switch
    to use WS-B on another machine, assuming I have WS-B installed on multiple
    machines. That mean I have to change the path of WS-B in all web.config
    file of WS-A during runtime. How can I do it easily and efficiently?

    thanks.
    Joseph


    Joseph Guest

  2. #2

    Default Re: webservice failover

    That's a though one! :-)

    Out of the box there is no such mechanism implemented. Although in a web
    application (I suppose a web service too), the web.config file get's
    reloaded automatically.

    If you're looking for a more advanced solution, you can look at the new WS-E
    Addressing standard:
    [url]http://msdn.microsoft.com/webservices/building/wse/default.aspx?pull=/library/en-us/dnwebsrv/html/wsroutetowsadd.asp[/url]

    --
    Greetz
    Jan
    ________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "Joseph" <josephbluefield.com.hk> schreef in bericht
    news:OaGTkDsUEHA.760TK2MSFTNGP12.phx.gbl...
    > I have a web service (WS-A) running on multiple machines on a web farm and
    > each of WS-A is calling another web service (WS-B) where its path is
    defined
    > in the web.config file of WS-A. How can I implement failover for WS-B?
    i.e.
    > if WS-B fails on one machine how can I tell WS-A on ALL machines to switch
    > to use WS-B on another machine, assuming I have WS-B installed on multiple
    > machines. That mean I have to change the path of WS-B in all web.config
    > file of WS-A during runtime. How can I do it easily and efficiently?
    >
    > thanks.
    > Joseph
    >
    >

    Jan Tielens Guest

  3. #3

    Default Re: webservice failover

    Maybe i am thinking just to "simple" but why wouldn`t you just use a
    Loadbalanced failover cluster ( easy to acomplish with ms aplication
    center 2000 )

    i.o. w.
    1 ip adress with multiple machines if one of the servers is down or to busy
    another machine handles its load

    i implemented this in our companny for our webservices and it works flawless
    2 dual xeon machines with windows 2003 webserver edition and aplication
    center 2000

    in the future this could be scaled out to as much machines as you want ,
    these machine scan even in different physical locations ( synced through the
    internet )
    etc etc etc






    "Joseph" <josephbluefield.com.hk> wrote in message
    news:OaGTkDsUEHA.760TK2MSFTNGP12.phx.gbl...
    > I have a web service (WS-A) running on multiple machines on a web farm and
    > each of WS-A is calling another web service (WS-B) where its path is
    defined
    > in the web.config file of WS-A. How can I implement failover for WS-B?
    i.e.
    > if WS-B fails on one machine how can I tell WS-A on ALL machines to switch
    > to use WS-B on another machine, assuming I have WS-B installed on multiple
    > machines. That mean I have to change the path of WS-B in all web.config
    > file of WS-A during runtime. How can I do it easily and efficiently?
    >
    > thanks.
    > Joseph
    >
    >

    M. Posseth Guest

Similar Threads

  1. LB and Failover
    By lorblond06 in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: December 8th, 02:16 AM
  2. ORIGIN Servers: Multiple, or Failover?
    By J-Chicago in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: May 3rd, 07:32 PM
  3. MX7 Session tion for failover
    By bfrank4709 in forum Coldfusion Server Administration
    Replies: 0
    Last Post: November 21st, 05:37 PM
  4. Thoughts on failover
    By speedy d in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: June 25th, 07:43 PM
  5. Q: Xserve IP failover and file services?
    By jp in forum Mac Applications & Software
    Replies: 3
    Last Post: July 12th, 06:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139