Operating System - Tru64 Unix
1827885 Members
1390 Online
109969 Solutions
New Discussion

Tru64 Cluster Alias - selp question.

 
SOLVED
Go to solution
Juan Canjura
Advisor

Tru64 Cluster Alias - selp question.

Hi,

I was reading the cluamgr(8) man pages about the Selection Priority for the cluster alias and found that "The highest selection priority is 100, the lowest is 1." but when I run sysman to set that parameter it says "1 is the highest".

Which one is correct?

Thanks

Juan
6 REPLIES 6
Ivan Ferreira
Honored Contributor

Re: Tru64 Cluster Alias - selp question.

This is the correct:

If an alias has three members, two with selp=10
and one with selp=5, no connection requests or messages are given to the selp=5 member as long as either of the selp=10 members is available.


So, the lower the number, the highest priority.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Juan Canjura
Advisor

Re: Tru64 Cluster Alias - selp question.

Thanks for your reply Ivan but thatâ s where I got confused:

From the man page again

â The highest selection priority is 100, the lowest is 1 â ¦ Connection requests are distributed among those members sharing the highest selection priority valueâ so â The lower the number the highest priorityâ for what? For NOT to accept new client connections?

Thanks again,

Juan.
Al Licause
Trusted Contributor
Solution

Re: Tru64 Cluster Alias - selp question.

Regarding all of the alias parameters, rpri, selp and selw, the higher the number the higher priority or weight it carries.

1 or 0 is the lowest and 100 is the highest.

RE: sysman....don't trust it. It is often wrong or doesn't do everything it should do.

If you want something done, don't rely on sysman to do it for you. Instead set the values either manually or in a caa script or in /etc/cla_alias.config

Ivan Ferreira
Honored Contributor

Re: Tru64 Cluster Alias - selp question.

For example, two servers:

serverA - selp=1
serverB - selp=10

All connections to the cluster alias (clua_services) will always go to serverB.

So, for me 1 is the highest priority for accepting connections, and 100 the lowest priority for accepting connections.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Juan Canjura
Advisor

Re: Tru64 Cluster Alias - selp question.

Thank you both for your replies.

Juan
Al Licause
Trusted Contributor

Re: Tru64 Cluster Alias - selp question.

Ivan,

We're both understand how these parameters work and saying the same things.....just using different terms.

Al