Re: Architecture advice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Maher wrote:
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 ?

Not sure what the default is, but you can specify a preferred read server (writes have to go to all servers regardless) with
"option read-subvolume" in the volume spec.

Gordan




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux