The hdb.hs commands manage host sets.
Table 7–23 Summary of hdb.hs Commands|
Command |
Description |
|---|---|
|
hdb.hs.add |
Adds a new host set. |
|
hdb.hs.del |
Deletes a host set. |
|
hdb.hs.la |
Lists all host sets. |
|
hdb.hs.le |
Lists all the hosts contained in a host set. |
|
hdb.hs.lo |
Retrieves information about a host set. |
|
hdb.hs.mod |
Modifies an existing host set. |
This command adds a new host set to the repository.
Table 7–24 Arguments and Result for the hdb.hs.add Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
name |
[R] |
String |
The host set name |
|
desc |
[O] |
String |
The host set description |
|
hIDs |
[O] |
HostIDSet |
The IDs of the static member hosts |
|
sIDs |
[O] |
HostSetIDSet |
The IDs of the host subsets |
|
rIDs |
[O] |
HostSearchIDSet |
The IDs of the host searches |
|
hide |
[O] |
Boolean |
Whether the host set is hidden, default false |
|
result |
HostSet |
The new host set |
|
This command deletes a host set.
Table 7–25 Arguments and Result for the hdb.hs.del Command|
Argument |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
HostSetID |
The host ID |
This command lists all host sets defined in the Sun N1 Service Provisioning System software.
Table 7–26 Argument and Result for the hdb.hs.la Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
hide |
[O] |
Boolean |
Whether hidden host sets are shown, default false |
|
result |
HostSetArray |
The host sets |
|
This command lists all the hosts contained in the specified host set.
Table 7–27 Arguments and Results for the hdb.hs.le Command|
Argument |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
HostSetID |
The host set ID |
|
hide |
[O] |
Boolean |
Whether hidden host sets are shown, default false |
|
result |
HostArray |
The hosts |
|
This command retrieves the specified host set.
Table 7–28 Argument and Result for the hdb.hs.lo Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
HostSetID |
The host set ID |
|
result |
HostSet |
The host set |
|
This command modifies an existing host set; omitted arguments preserve current values.
Table 7–29 Arguments and Result for the hdb.hs.mod Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
HostSetID |
The host set ID |
|
name |
[O] |
String |
The host set name |
|
desc |
[O] |
String |
The host set description |
|
hIDs |
[O] |
HostIDSet |
The IDs of the static member hosts |
|
sIDs |
[O] |
HostSetIDSet |
The IDs of the host subsets |
|
rIDs |
[O] |
HostSearchIDSet |
The IDs of the host searches |
|
hide |
[O] |
Boolean |
Whether the host set is hidden |
|
result |
HostSet |
The modified host set |
|