Forum Discussion

AnnuB's avatar
AnnuB
Level 2
12 years ago

What's the difference between a proxy resource and using dependencies

What's the difference between a proxy resource and using dependencies? As an example, if I want 2 applications to share the same Virtual-IP, which option is better :- 1)put the Virtual-Ip in its ow...
  • mikebounds's avatar
    12 years ago

    Generally for OnOff resources you use dependencies and for resources with "None" operations you use Proxy - let me explain further.

    An IP has "OnOff" operations - you online it and offline it and a NIC has "None" operations - you don't online or offline it, but it it required to be there for your application to work, so VCS just monitors it.  A proxy just copies state of resource it is proxying - it does NOT offline or online the resource it is proxing so it is suitable  for NIC, but not IP.

    Also if 2 applications share the same IP, then it is better to put the resources all into one service group and use resource dependencies to make both applications depend on the IP as both applications will move as one unit from one server to another as they cannot co-exist on different servers if there share the same IP.

    Mike