PreviousNext

Listing the DCE Hosts in a Cell

You can determine the number and names of DCE hosts configured in your DCE cell by using the host catalog operation. This operation might be useful for determining whether a specific host has already been configured into your cell. The host does not have to be running for this operation to work because the host catalog operation actually performs a directory list /.:/hosts operation and doesn't interact with the host. This method relies on the convention that hosts register their names in the /.:/hosts directory. If your hosts register in some other directory, you need to modify the host catalog operation in the host task object. You can read more about the purpose and use of CDS directories in the topic entitled Managing CDS Directories.

The host catalog operation resembles the cell show operation except it does not separately list DCE servers. The following example operation lists all DCE hosts that have been configured in the cell:

dcecp> host catalog

/.../my_cell.goodco.com/hosts/bigbox

/.../my_cell.goodco.com/hosts/drifter

/.../my_cell.goodco.com/hosts/duh

/.../my_cell.goodco.com/hosts/heater

/.../my_cell.goodco.com/hosts/pc1

/.../my_cell.goodco.com/hosts/pc2

/.../my_cell.goodco.com/hosts/pc3

/.../my_cell.goodco.com/hosts/peewee

/.../my_cell.goodco.com/hosts/xoltar

/.../my_cell.goodco.com/hosts/xray

/.../my_cell.goodco.com/hosts/zoof

You can omit the cellname by using the -simplename option as in the following example.

dcecp> host catalog -simplename

hosts/bigbox

hosts/drifter

hosts/duh

hosts/heater

hosts/pc1

hosts/pc2

hosts/pc3

hosts/peewee

hosts/xoltar

hosts/xray

hosts/zoof