One of the questions that we encounter often is what are the packages associated with a RT (Resource Type) or agent.  Well it is very simple.  If the RT is registered, you can use the clrt command to know them.

For example, let us assume that I wish to know the packages associated with the SC telemetry RT:

 bash-3.00# clrt show sctelemetry

=== Registered Resource Types ===

Resource Type:                                  SUNW.sctelemetry
  RT_description:                                  sctelemetry service for Sun Cluster
  RT_version:                                      1
  API_version:                                     7
  RT_basedir:                                      /usr/cluster/lib/rgm/rt/sctelemetry
  Single_instance:                                 True
  Proxy:                                           False
  Init_nodes:                                      All potential masters
  Installed_nodes:                                 <All>
  Failover:                                        False
  Pkglist:                                         SUNWsctelemetry
  RT_system:                                       False
  Global_zone:                                     False

However, remember that there is a chance that some Agents have more than one RT and hence they may have multiple packages associated with them.



Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by maddy