| View previous topic :: View next topic |
| Author |
Message |
Woodgie partially protected

Joined: 10 Jun 2010 Posts: 8
|
Posted: Thu Jun 17, 2010 3:46 pm Post subject: How will IPFailover of anXSAN client affect mounted volumes? |
|
|
I just had a thought.
If I have XSAN in a 4 server setup - PrimaryMDC, SecondaryMDC and 2 APF servers set with IP Failover so if the primary AFP server goes pop the secondary AFP server can take over - how does XSAN deal with one of its clients (the secondary AFP server) suddenly having an IP personality change?
I'm envisaging the set up where the secondary AFP server is sitting there with the XSAN volume mounted and the sharepoints set up as per the primary but with AFP turned off. When the primary goes pop the secondary inherits its IP address and a script kicks AFP into play and the clients should notice minimal disruption (a couple of minutes at the most).
Should I set the XSAN volume mounting as a script too? I'm just sure that the PMDC will throw its toys out of the pram if a client's IP address changes when a volume is mounted.
Thanks,
William |
|
| Back to top |
|
 |
abstractrude Xsan Master

Joined: 13 Mar 2008 Posts: 864
|
Posted: Sat Jun 19, 2010 4:22 pm Post subject: |
|
|
| i had a situation where someone wanted to do this, instead I load balanced with round robin. so afp was good to go. |
|
| Back to top |
|
 |
Woodgie partially protected

Joined: 10 Jun 2010 Posts: 8
|
Posted: Sat Jun 19, 2010 6:29 pm Post subject: |
|
|
| abstractrude wrote: | | i had a situation where someone wanted to do this, instead I load balanced with round robin. so afp was good to go. |
AFP RR? How? Hardware? Software?
I'll work it out in 10 seconds, I'm sure. Maybe not though. It is 00:30...
Thanks for your input though. |
|
| Back to top |
|
 |
abstractrude Xsan Master

Joined: 13 Mar 2008 Posts: 864
|
Posted: Sat Jun 19, 2010 7:14 pm Post subject: |
|
|
| you just round robin the connections. I think i used ultra monkey. so when a connection comes into the load balancer it forwards to 1 of 3 afp servers, if one of those afp servers goes down the load balancer stops forwarding. its literally been 5 years since i did it but it can work. |
|
| Back to top |
|
 |
Woodgie partially protected

Joined: 10 Jun 2010 Posts: 8
|
Posted: Sun Jun 20, 2010 6:06 am Post subject: |
|
|
| abstractrude wrote: | | you just round robin the connections. I think i used ultra monkey. so when a connection comes into the load balancer it forwards to 1 of 3 afp servers, if one of those afp servers goes down the load balancer stops forwarding. its literally been 5 years since i did it but it can work. |
Interesting, the reason I didn't go with load balancing is the fact AFP has no inter-server file locking mechanism. Therefore if servers a, b and c are sharing the same folder on the san and user 1 connects the load balancer might forward his request to server b. When user 2 connects he might be passed to server c. Server c has no way to know which files are open via AFP by user 1 on server b, thereby causing... 'interesting problems'.
Or am I missing something?
I'd still need multiple load balancers using IP failover or somesuch to prevent that part from becoming a single point of failure.
Damn, this is becoming complexer and complexer! |
|
| Back to top |
|
 |
abstractrude Xsan Master

Joined: 13 Mar 2008 Posts: 864
|
Posted: Mon Jun 21, 2010 4:21 pm Post subject: |
|
|
| xsan has file locking, which was the backend. but it was for home directories so i was fortunate to not have to worry about that due to the nature of the service. i really think this ipfailover thing can work. as long as you dont do it on the controllers. ipfailover will take the service stuff i believe, haven't touched it in years. |
|
| Back to top |
|
 |
morphenine Xsan Master

Joined: 22 Dec 2008 Posts: 126
|
Posted: Wed Jun 23, 2010 6:32 pm Post subject: |
|
|
Interesting, I hadn't thought of this. Its sorta like the AFP version of Cisco's HSRP. I like it!
Maybe try installing another Ethernet card into the server. Then you can have the primary IP (for management and OD and other Xsan-ish stuff), the Metadata, and the "floating" interface that users point at.
We've done several servers with 3+ IP addresses and it works fine sharing out AFP. This way, Xsan isn't using the IP address that gets re-assigned and it stays happy when theres a sudden change.
I suppose you could also use intelligent routing and create a Virtual IP that routes to the other if one is no longer available. Either way seems viable. |
|
| Back to top |
|
 |
|