
Table 6.2 contains a summary of the fields returned by getActivityInfo:
Field Description
pkey
The Activity’s primary key – uniquely identifies this activity within
the Rhino SLEE.
ending
The ending flag will be set if the activity is determined to be in the ending state
(usually if an end event has been submitted)
events-processed
Counts the number of events processed on this activity.
handle
The Activity Handle assigned by the activities Resource
Adaptor, in string form. The exact content is resource adaptor dependent and
may or may not contain useful human readable information
processing-node
The cluster node currently responsible for
processing events on this activity. This value would only ever change for
replicated activities after a node fail-over
queue-size
The number of events currently in the activities queue
including those awaiting processing, and the head event which may be being
processed.
ra-entity
The Resource Adaptor entity that created this activity.
reference-count
the count of references to this activity
within the SLEE. Includes number of references via SBB attachment, Activity
Context Naming bindings, and Timer Facility timers.
replicated
True if the activity is a replicated activity.
sbbs-invoked
The number of SBBs that have been invoked by events submitted
on this activity
submission-time
The time at which the activity was created. Does not change.
submission-node
The cluster node which first submitted the activity. If this value differs from
the processing node, the activity must be a replicated activity and the submitting node
left the cluster at some point, causing the activity to be failed over.
update-time
The time the last event was processed on this
activity. This is useful in some situations for evaluating whether an activity is
still live
attached-sbbs
A list of SBB entities attached to this activity.
Each SBB entity is represented by the service component id, SBB component id,
and a primary key. These 3 fields are required to uniquely identify SBBs
within the SLEE
events
A list of events currently in the activities queue,
including the head event which may be currently being processed.
Table 6.2: Fields returned by
getActivityInfo
6.2.2 Removing Activities
Once the administrator determines that the activity they are examining is stale or in an unwanted state they can use the house-
keeping commands to remove it.
The JAIN SLEE 1.0 specification provides detailed rules concerning how an activity should be ended when it is no longer
required. Even though Rhino SLEE performs the query liveness scan, it is still possible due to failures in the Resource Adaptor
or in an external resource, some state needs to be removed manually. In the case of activities the
removeActivity
command
is provided for this purpose:
[Rhino@localhost (#1)] removeactivity 65.1.2E8BF.0.2EA46
[Rhino@localhost (#1)] findactivities -ra TestRA -node 101 -cb 1H
pkey handle ra-entity replicated submission-time update-time
--------------------- --------------------------- ---------- ----------- ------------------ ------------------
65.2.2E8BF.0.2EA48 SAH[switchID=8756,connectionID=4,address=1] TestRA false 20050418 10:59:53 20050418 11:01:50
Open Cloud Rhino 1.4.3 Administration Manual v1.1 45
Comentarios a estos manuales