欢迎来到天天文库
浏览记录
ID:34721841
大小:204.18 KB
页数:19页
时间:2019-03-10
《beatuxedo编程简介》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、BEATuxedo编程简介BEATUXEDO编程简介1一、BEATuxedo简介1二、BEATuxedo配置文件UBBCONFIG3三、BEATuxedo常见配置错误6四、BEATuxedo常用命令7五、常用BEATuxedo函数:8六、常见错误分析:18一、BEATuxedo简介关于UBBCONFIG文件的一些设置:ThecostincurredbyincreasingMAXACCESSERSisoneadditionalsemaphorepersiteperclientorserverprocess(accesser—seenotethatfollows).Thereisasmallfix
2、edsemaphoreoverheadforsystemprocessesinadditiontothataddedbytheMAXACCESSERSvalue.ThecostofincreasingMAXSERVERSandMAXSERVICESisasmallamountofsharedmemorythatiskeptforeachserver,service,andcliententry,respectively.Thegeneralideafortheseparametersistoallowforfuturegrowthoftheapplication.Itismoreimporta
3、nttoscrutinizeMAXACCESSERS.Note:Thesystemallocatesonesemaphoreforeachaccessslottothebulletinboard.Asemaphoreisalatchcircuitthatpreventsmorethanoneprocessfromaccessingthesamesharedmemoryinthebulletinboardatthesametime.ForBEATuxedopre-Release7.1(6.5orearlier),boththeMAXACCESSERSandMAXSERVERSparameters
4、foranapplicationplayapartintheuserlicensecheckingscheme.Specifically,amachineisnotallowedtobootifthenumberofMAXACCESSERSforthatmachine+thenumberofMAXACCESSERSforthemachine(ormachines)alreadyrunningintheapplicationisgreaterthanthenumberofMAXSERVERS+userlicensesfortheapplication.Thus,thetotalnumberofM
5、AXACCESSERSforanapplicationmustbelessthanorequaltothenumberofMAXSERVERS+userlicensesfortheapplication.FirstofAll———设置合理的操作系统核心参数!!#用tmunloadcf>generated.ubb可以得出目前配置得UBB文件所有得参数值(没有设置的有缺省值)#用tmloadcf–c或tmboot–c可以计算出当前UBB配置的Tuxedo启动最少要占用的系统IPC资源。Ipcsizing(minimum/Tvaluesonly)...FixedMinimumsPerProcesso
6、rSHMMIN:1SHMALL:1SEMMAP:SEMMNIVariableMinimumsPerProcessorSEMUME,ASHMMAXSEMMNU,**NodeSEMMNSSEMMSLSEMMSLSEMMNIMSGMNIMSGMAPSHMSEG------------------------------------------------KF_FENGM65860A+13774220Kwhere1<=A<=8.SEMMNSMaximumnumberofsemaphoresinthesystem.TheminimumrequirementforSEMMNSisMAXACCESSERS-
7、MAXWSCLIENTS+13SEMMNIMaximumnumberofactivesemaphoresetsSEMMSLMaximumnumberofsemaphorespersemaphoreset.SEMMNIandSEMMSLarecommonlychosensothattheirproductequalsSEMMNS.TheBEATuxedosystemdoesnotperformsem
此文档下载收益归作者所有