使用Workload Scheduler 9.x
进行镜像的调整建议有哪些答案 0 :(得分:0)
免责声明 - 这是一种可能的解决方案,但每个客户环境都不同,可能需要额外调整。建议联系Workload Scheduler支持团队讨论任何配置更改。
<强> TUNING 强>
使用Oracle jdbc type 4作为WebSphere中的数据源对象类型。 据我所知,这已经完成了。
在文件resources-pme.xml中将maxThreads从10更改为50。添加
cacheSize参数到TWSConfig.properties文件
调整minConnections和
的数据源连接池设置
resources.xml中的maxConnections
在文件resources-pme.xml中将maxThreads从10更改为50.
位置: TWA_HOME / WAS / TWSProfile / config / cells // nodes / DefaultNode / servers // resources-pme.xml
创建resources-pme.xml的备份副本,然后更改行:
自:
工厂xmi:type =“workmanager:WorkManagerInfo”xmi:id =“WorkManagerInfo_Default”name =“DefaultWorkManager”jndiName =“wm / default”description =“WebSphere Default WorkManager”category =“Default”minThreads =“1”maxThreads =“10”threadPriority =“5”numAlarmThreads =“5”isGrowable =“false”workReqQFullAction =“0”
要:
工厂xmi:type =“workmanager:WorkManagerInfo”xmi:id =“WorkManagerInfo_Default”name =“DefaultWorkManager”jndiName =“wm / default”description =“WebSphere Default WorkManager”category =“Default”minThreads =“1”maxThreads =“50”threadPriority =“5”numAlarmThreads =“5”isGrowable =“false”workReqQFullAction =“0”
调整resources.xml中minConnections和maxConnections的数据源连接池设置。
位置:
TWA_HOME / WAS / TWSProfile /配置/细胞//节点/ DefaultNode的/服务器// resources.xml中
创建resources.xml的备份副本,然后更改行:
的ConnectionPool XMI:ID = “ConnectionPool_1493330406573” connectionTimeout = “180” MAXCONNECTIONS = “30” minConnections = “1” reapTime = “180” unusedTimeout = “1800” agedTimeout = “0” purgePolicy = “EntirePool” numberOfSharedPoolPartitions =“0 “numberOfUnsharedPoolPartitions =” 0" numberOfFreePoolPartitions = “0” freePoolDistributionTableSize = “0” surgeThreshold = “ - 1” surgeCreationInterval = “0” testConnection = “真” testConnectionInterval = “15” stuckTimerTime = “0” stuckTime = “0” stuckThreshold =” 0" /
要:
的ConnectionPool XMI:ID = “ConnectionPool_1493330406573” connectionTimeout = “180” MAXCONNECTIONS = “50” minConnections = “0” reapTime = “180” unusedTimeout = “1800” agedTimeout = “0” purgePolicy = “EntirePool” numberOfSharedPoolPartitions =“0 “numberOfUnsharedPoolPartitions =” 0" numberOfFreePoolPartitions = “0” freePoolDistributionTableSize = “0” surgeThreshold = “ - 1” surgeCreationInterval = “0” testConnection = “真” testConnectionInterval = “15” stuckTimerTime = “0” stuckTime = “0” stuckThreshold =” 0" /
将cacheSize参数添加到TWSConfig.properties文件中。
打开文件TWSConfig.properties:
com.ibm.tws.planner.monitor.cachesize = 20000
所有这些设置在重新启动TWS WebSphere服务器实例后生效。