Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Visual diagrams are here.

MBean Scopes

  • Local: every "managed" (and "managing") GemFire member hosts MBeans of this scope for itself
  • Proxy: every "managing" GemFire member hosts proxies pointing to remote Local MBeans of every remote "managed" member
  • Aggregate: every "managing" GemFire member hosts MBeans of this scope
  • Filters: ManagementMBean defines filters which allow control over which MBeans are registered

ManagementMBean

Represents the GemFire Management layer for the hosting member. Controls scope of management. Presence of this MBean means that this member is manageable. Changing the configuration of this MBean at runtime should be supported. We may also need to provide a way to configure this from gemfire.properties as well.

...

  • Operation: status() - this replaces how we currently implement "cacheserver status" ?
  • Operation: stop() - this replaces how we currently implement "cacheserver stop" ?

MemberMBean

Member's local view of its connection and cache.

...

  • MemberId (Host, Ports are embedded)
  • Member gemfire properties
  • Member cache attrs
  • Member cache stats
  • Member region count
  • Member cache size
  • Rebalance operation

RegionMBean

Member's local view of region. Member may have 0..n of these.

...

  • Name
  • MemberId
  • Member region attrs
  • Member region stats
  • Member region entry count
  • Member region size - object sizer (Dan added new work here)
  • Partition info

TransactionManagerMBean

Member may have 0..1 of these. This could be collapsed onto MemberMBean to help minimize number of MBeans.

...

  • Transactions - count of transactions; maybe ids of threads?
  • JTA TransactionTimeout?

QueryServiceMBean

Member may have 0..1 of these. This could be collapsed onto MemberMBean to help minimize number of MBeans.

...

  • Indexes - count or collection of indexes
  • CQs - count or collection of CQs
  • Operations to get/remove an index
  • Operations to get/execute/stop/close CQs

FunctionServiceMBean

Member may have 0..1 of these. This could be collapsed onto MemberMBean to help minimize number of MBeans. (System-wide aggregrate might be useful for when functions are executed across multiple members)

...

  • Function count
  • FunctionIds
  • View running Functions
  • Operation: kill running Function?

CacheServerMBean

Member may have 0..n of these.

...

  • ClientCount
  • ConnectionCount
  • Cache clients - list of CacheClient Ids
  • SubscriptionConnectionCount
  • Subscription stats
  • MaxConnections
  • DurableQueues and Sizes
  • Operation: remove DurableQueue that's building too large

LockServiceMBean

Member may have 0..n of these (Global Region will have 1 of these). A system-wide aggregrate might show grantor info and number of locks.

...

  • Name - name of the lock service
  • Member count
  • MemberIds - list of MemberIds
  • GrantorMemberId

DiskStoreMBean

Member may have 0..n (each DiskStore may provide for 1..n Regions). Or maybe this should only be a system-wide aggregate.

...

  • Name - the name of the DiskStore
  • BackupAllMembers - system-wide aggregate operation
  • compact-all-disk-stores
  • shut-down-all
  • list-missing-disk-stores
  • revoke-missing-disk-stores

GatewayReceiverMBean

Member may have 0..n of these. Does a system-wide aggregate make sense?

...

  • GatewayHub - the gateway hub id

GatewaySenderMBean

Member may have 0..n of these. Does a system-wide aggregate make sense?

...

  • GatewayHub - the gateway hub id
  • Gatway - the gateway id

DistributedSystemMBean

System-wide aggregate providing high-level view of all members and their Caches.

...

  • Member count
  • MemberIds - list of DistributedMemberIds
  • Gemfire distribution properties
  • LocatorIds - list of locators (host:port)
  • System cache attrs
  • System cache stats - aggregate rollups
  • System cache entry count - aggregate across entire system
  • System cache size - aggregate across entire system
  • System region count - aggregate across entire system

DistributedRegionMBean

System-wide aggregate of a named Region. Provides high-level view of a Region for all members hosting and/or using it.

...

  • Name - fully qualified name
  • Region attrs
  • Member count - number of members hosting/using this Region
  • MemberIds - list of MemberIds
  • Redundancy - zero or more... replicated will have redundancy equal to member cont
  • System region entry count
  • System region size
  • System region stats - rollups
  • Partitions

ServerGroupMBean

System-wide aggregate of a named server group. Provides high-level view of a server group for all members hosting and/or using it.

...