Xsanity Sanity for Apple's Xsan and Final Cut Server.
  
Wednesday, June 19 2013 @ 07:16 PM EDT
Topics
Storage (39)
People (1)
Xsan (105)
How To (26)
User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User
Who's Online
Guest Users: 10
Sponsorship

Xsanity is proudly sponsored by:

Tekserve
The Old Reliable Mac Shop

How will IPFailover of anXSAN client affect mounted volumes?

 
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Networking
View previous topic :: View next topic  
Author Message
Woodgie
partially protected
partially protected


Joined: 10 Jun 2010
Posts: 8

PostPosted: Thu Jun 17, 2010 3:46 pm    Post subject: How will IPFailover of anXSAN client affect mounted volumes? Reply with quote

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
View user's profile Send private message
abstractrude
Xsan Master
Xsan Master


Joined: 13 Mar 2008
Posts: 881

PostPosted: Sat Jun 19, 2010 4:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Woodgie
partially protected
partially protected


Joined: 10 Jun 2010
Posts: 8

PostPosted: Sat Jun 19, 2010 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
abstractrude
Xsan Master
Xsan Master


Joined: 13 Mar 2008
Posts: 881

PostPosted: Sat Jun 19, 2010 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Woodgie
partially protected
partially protected


Joined: 10 Jun 2010
Posts: 8

PostPosted: Sun Jun 20, 2010 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
abstractrude
Xsan Master
Xsan Master


Joined: 13 Mar 2008
Posts: 881

PostPosted: Mon Jun 21, 2010 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
morphenine
Xsan Master
Xsan Master


Joined: 22 Dec 2008
Posts: 126

PostPosted: Wed Jun 23, 2010 6:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Networking All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Best Viewed on a Mac | Suggested Browser: Whatever floats yer boat.