140 likes | 255 Vues
This guide addresses issues related to the MaxRcb settings in Unicenter NSM release 3.1, specifically when connecting to SQL CORe via WorldView Tunneling (WVDBT). Users may encounter "Repository Context" errors due to limitations on RCB connections. It explains how to increase the MaxRcb value in the registry to support more remote DSM connections, detailing the steps to modify settings and avoid running out of context. Important considerations include the default 64 RCB limitation and how many RCBs each connection utilizes.
E N D
Understanding wvdbt RCBs Unicenter NSM Release 3.1 Latest Revision - September 10, 2006
Disclaimer • The topics in this presentation apply to Unicenter NSM release 3.1. • For information regarding MaxRCB in Unicenter NSM r11.1 review “WorldView Tunneling (WVDBT) Insights for Unicenter NSM r11.1”
Challenge • While connecting to SQL CORe via wvdbt (either from Unix platform or another Windows server) we are intermittently running out of Repository Context with WorldView return code 27. • Why?
MaxRcb • The default WorldView setting is limited to 64 RCB per machine. • If you have several remote DSMs connecting via wvdbt, then this value should be changed • Update / Add registry entry to increase maxRCB value • Maximum value that can be set 1024 (Unicenter NSM)
MaxRcb • Each remote DSM, aws_wvgate and wvplugin uses approximately 8 RCB connections. • 1024 / 8 = maximum 128 remote connections • Don’t forget that other applications, such as 2dmap, will also require RCBs (i.e., don’t limit yourself to 128)
MaxRcb • Add MaxRcb entry to following registry hive
MaxRcb Type must be REG_DWORD and value should not exceed 1024 (Unicenter NSM). Prior releases may require additional maintenance to use maximum settings of 1024
wvRcbTest Tool to test WV RCB limits
Connecting to Local Core Ran out of Repository Context, confirming limit of 64
Connecting to Local Core 57 RCBs used by the test program
wvdbt 8 RCB with each wvdbt connection. In this case, there are 2 wvdbt connections from remote DSM
Checking WVAPI Connections • Use master • Select * from sysprocesses a • Where a.dbid in (select b.dbid from sysdatabases b where name = ‘TNGDB’)
Summary • MaxRcb limits may become an issue if several wvdbt connections are made to a single CORe. This is due to DSM (wvplugin) making multiple connections to CORe • Each wvdbt connection takes about 8 Kernal Contexts per remote DSM • MaxRcb settings can be changed by in the registry settings • This limits the number of remote DSMs connecting via wvdbt to about 120
Questions and Answers Any questions?