
6.2.3 Inspecting SBBs
Administrators may also search for and query for information about SBB entities. The SBB inspection commands work in the
same way as the activity inspection commands with one main difference: when searching for SBBs, there is no SLEE-wide
command that will find all SBBs. Instead, searches must be performed within a service by specifying the service’s component
ID, or within an SBB component type within a service by specifying both the service’s component ID and the SBB’s component
ID.
For example, to find all SBBs belonging to a service called “HA Ping Service” which is currently deployed.
[Rhino@localhost (#1)] findsbbs -node 101 -service HA\ PingService\ 1.0,\ Open\ Cloud
pkey creation-time parent-pkey replicated sbb-component-id service-component-id
--------------- ------------------ ------ --------- ---------------------- ------------------------------
101:8372512:25 20050418 12:30:51 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:14 20050418 12:30:29 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:27 20050418 12:30:55 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:28 20050418 12:30:57 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:24 20050418 12:30:49 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:26 20050418 12:30:53 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:29 20050418 12:30:59 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:23 20050418 12:30:47 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:16 20050418 12:30:33 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:22 20050418 12:30:45 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372508:1 20050418 10:59:53 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:15 20050418 12:30:31 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:17 20050418 12:30:35 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:20 20050418 12:30:41 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:21 20050418 12:30:43 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:19 20050418 12:30:39 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372512:18 20050418 12:30:37 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
....
100 rows.
The number of rows returned is the maximum soft limit, which indicates that the search results should be narrowed using
additional parameters to find SBBs of interest. Once again the administrator is concerned with SBB entities greater than 1 hour
old and belonging to any cluster node.
[Rhino@localhost (#1)] findsbbs -service HA\ PingService\ 1.0,\ Open\ Cloud -created-before 1H
pkey creation-time parent-pkey replicated sbb-component-id service-component-id
-------------- ----------------- ----- ----------- -------------------------- ------------------------------
102:8578700:2 20050418 10:59:55 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
102:8578700:0 20050418 10:59:47 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
101:8372508:1 20050418 10:59:53 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
102:8578700:1 20050418 10:59:51 false HA PingSbb^Open Cloud1.0 HA PingService^Open Cloud1.0
4 rows
The administrator may use the
getSBBInfo
command to retrieve additional information about a particular SBB entity. In this
case, the administrator would like additional information about the third SBB in the result set. The
getSBBInfo
command
requires 3 parameters – the service component id, and SBB component ID and the SBB’s primary key. All 3 are included in the
findSBBs
command result set. Without all 3 parameters the SBB cannot be uniquely identified within the SLEE.
[Rhino@localhost (#1)] getsbbinfo HA\ PingService\ 1.0,\ Open\ Cloud HA\ PingSbb\ 1.0,\ Open\ Cloud 101:8372508:1
parent-pkey :
pkey : 101:8372508:1
convergence-name : nodeID=101,seq=2,vmStart=8367:::::-1
creating-node-id : 101
creation-time : 20050418 10:59:53
priority : 10
replicated : false
sbb-component-id : HA PingSbb^Open Cloud1.0
service-component-id : HA PingService^Open Cloud1.0
attached-activities :
> pkey handle ra-entity replicated
> ---------------- -------------------------------------------------- ---------- -----------
> 65.2.2E8BF.0.2EA48 SAH[switchID=8756,connectionID=4,address=1] TestRA false
> 1 rows
Explanation of the fields returned by
getSBBInfo
:
Open Cloud Rhino 1.4.3 Administration Manual v1.1 46
Comentarios a estos manuales