Starting and Setting Up RTR

2.6 Router Load Balancing

Use /balance on frontend nodes only. Use of /balance on routers is supported only to enable RTR Version 2 balancing. Use this qualifier only when you are connecting frontend nodes running RTR Version 2. See CREATE FACILITY and SET FACILITY for more information on /balance.

Commands to set/show load balancing are:

create facility /balance

Enables load balancing attribute on the executor node

Significant only on router and frontend nodes

Disabled, by default

set facility /[no]balance

Toggles the attribute setting on the executor node

show facility /configuration

Shows the current setting of the load balance attribute

show facility /link

On a frontend, shows the current router node

On a router, shows the frontends connected, and the current load coordinating backend node

show facility /balance

On a router node, shows the current number of frontends connected, and the current credit

On the coordinating backend node, shows the total number of routers, frontends and credit given out

Useful for troubleshooting frontend connection problems

2.7 RTR Privileges

RTR supports two levels of rights or privileges, rtroper and rtrinfo (on UNIX® platforms), RTR$OPERATOR and RTR$INFO (on OpenVMS) and RtrOperator and RtrInfo on Windows NT. In general, rtroper or RTR$OPERATOR is required to issue any command that affect the running of the system, and rtrinfo or RTR$INFO is required for using monitor and display commands.

Setting RTR Privileges on UNIX Systems

On UNIX machines RTR privileges are determined by the user id and group membership. For RTR users and operators, create the group rtroper and add RTR operators and users as appropriate.

The root user has all privileges need to run RTR. Users in the group rtroper also have all privileges with respect to RTR, but may not have sufficient privilege to access resources used by RTR, such as shared memory or access to RTR files.

The rtrinfo group is currently only used to allow applications to call rtr_request_info( ).

Depending on your UNIX system, see the addgroup, groupadd or mkgroup commands or the System Administration documentation for details on how to add new groups to your system.

Starting and Setting Up RTR 2–9

Page 27
Image 27
Compaq AA-Q88CE-TE manual RTR Privileges, Starting and Setting Up RTR Router Load Balancing