[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amd-dev
Subject:    Load balancing/per architecture in one map entry
From:       "James F. Hranicky" <jfh () cise ! ufl ! edu>
Date:       1999-04-19 19:12:49
[Download RAW message or body]


Is is possible to do load balancing between servers per architecture
in one map entry?

Currently, we're doing the following:

c0      type:=linkx;fs:=/export/depot/${key}-${arch}-${os}-${osver} \
        -rfs:=/export/depot/${key}-${arch}-${os}-${osver} \
        rhost:=sol1 \
        rhost:=sol2 \
        rhost:=sol3 \
        rhost:=sol4 \
        rhost:=sol5 \
        rhost:=sol6 \
        rhost:=irix1

( we have 10 times as many solaris machines as irix machines ). 

The above works great for the solaris hosts, however, the irix hosts end
up trying to mount the filesystem from several solaris hosts before getting
to the irix host.

I've tried the following:

c0      type:=linkx;fs:=/export/depot/${key}-${arch}-${os}-${osver} \
        -rfs:=/export/depot/${key}-${arch}-${os}-${osver} \
        os==solaris2;rhost:=sol1 \
        os==solaris2;rhost:=sol2 \
        os==solaris2;rhost:=sol3 \
        os==solaris2;rhost:=sol4 \
        os==solaris2;rhost:=sol5 \
        os==solaris2;rhost:=sol6 \
        os==irix6;rhost:=irix1

and 

c0      type:=linkx;fs:=/export/depot/${key}-${arch}-${os}-${osver} \
        -rfs:=/export/depot/${key}-${arch}-${os}-${osver} \
        os==solaris2;rhost:=sol1;rhost:=sol2;rhost:=sol3;\
	rhost:=sol4;rhost:=sol5;rhost:=sol6 \
        os==irix6;rhost:=irix1

however, the load balancing goes away (one host is picked over and over). 

The entry

c0      \
        type:=linkx;fs:=/export/depot/${key}-${arch}-${os}-${osver} \
        -rfs:=/export/depot/${key}-${arch}-${os}-${osver} \
                os==irix6;rhost:=irix1 \
        ||      os==solaris2;rhost:=sol1 \
                os==solaris2;rhost:=sol2 \
                os==solaris2;rhost:=sol3 \
                os==solaris2;rhost:=sol4 \
                os==solaris2;rhost:=sol5 \
                os==solaris2;rhost:=sol6;delay:=4

gave an error...

Any ideas would be appreciated.

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314E CSE Building                            Phone (352) 392-1499 |
| jfh@cise.ufl.edu                      http://www.cise.ufl.edu/~jfh |
----------------------------------------------------------------------

Assume nearly everything on the 'Net is a HOAX unless proven otherwise.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic