Basavanagowda Kanur wrote:
I am curious to know how the client decides which of the subvols to use at any given time, and if there is a way to specify a "preferred" subvol. For example, i have two servers AFR'ing each other. I have two clients set up to access the AFR cluster via HA. For reasons of resource distribution, i would like Client01 to prefer to use Server01, and Client02 to prefer to use Server02. currently HA does not provide facility for specifying this option.
How does the HA translator choose a node, exactly ? Does it randomly select one from the list of available subvolumes, or does it pick them in the order they're specified in the config file, or some other way entirely ?
-- Daniel Maher <dma+gluster AT witbe DOT net>