运行 java weblogic.Admin -url t3://localhost:11001 -username system -password weblogic GET -type ClusterRuntime -pretty
该脚本可以打印出该Server的集群配置。输出如下:
AliveServerCount: 2
CachingDisabled: true
ForeignFragmentsDroppedCount: 0
FragmentsReceivedCount: 239
FragmentsSentCount: 120
MulticastMessagesLostCount: 0
Name: MyCluster
ObjectName: MyCluster
Parent: ServerA
PrimaryCount: 1
Registered: false
ResendRequestsCount: 0
SecondaryDistributionNames:
ServerNames: ServerB,ServerA
Type: ClusterRuntime
运行 java weblogic.Admin -url t3://localhost:7001 -username system -password weblogic SET -type ServerDebug -property DebugCluster true
该脚本可以帮助你设置一些Debug开关,除了可以设置DebugCluster之外,还可以设置:DebugClusterAnnouncements,DebugFailOver,DebugReplication,DebugReplicationDetails。
没有评论:
发表评论