N1 Grid Service Provisioning System 5.0 Command-Line Interface Reference Manual

hdb.ht: Managing Host Types

Overview

The hdb.ht commands manage host types.

Table 7–30 Summary of hdb.ht Commands

Command 

Description 

hdb.ht.add 

Adds a new host type. 

hdb.ht.del 

Deletes a host type. 

hdb.ht.la 

Lists all host types. 

hdb.ht.lo 

Retrieves information about a host type. 

hdb.ht.mod 

Modifies an existing host type. 

hdb.ht.add

This command adds a new host type. It assigns the host type a name and defines the host type's attributes.

Table 7–31 Arguments and Result for the hdb.ht.add Command

Argument/Result 

Syntax 

Description 

name 

[R] 

String  

The host type name  

desc 

[O] 

String  

The host type description  

attr 

[R] 

HostTypeVarList 

The host type attributes  

hide 

[O] 

Boolean 

Whether the host type is hidden, default false 

result 

HostType  

The new host type  

hdb.ht.del

This command deletes a host type.

Table 7–32 Arguments and Result for the hdb.ht.del Command

Argument 

Syntax 

Description 

ID 

[R] 

HostTypeID 

The host type ID 

hdb.ht.la

This commands lists all the host types defined, including the default host type, crhost.

Table 7–33 Argument and Result for the hdb.ht.la Command

Argument/Result 

Syntax 

Description 

sh 

[O] 

Boolean 

Whether hidden host types are shown, default false 

result 

HostTypeArray  

The host types  

hdb.ht.lo

This command retrieves a host type.

Table 7–34 Argument and Result for the hdb.ht.lo Command

Argument/Result 

Syntax 

Description 

ID 

[R] 

HostTypeID  

The host type ID  

result 

HostType  

The host type  

hdb.ht.mod

This command modifies an existing host type. Omitted arguments preserve current values.

Table 7–35 Arguments and Result for the hdb.ht.mod Command

Argument/Result 

Syntax 

Description 

ID 

[R] 

HostTypeID  

The host type ID  

name 

[O] 

String  

The host type name  

desc 

[O] 

String  

The host type description  

attr 

[O] 

HostTypeVarList  

The host type attributes  

hide 

[O] 

Boolean 

Whether the host type is hidden 

result 

HostType  

The modified host type