Partition Management

3.5 Entering Partition Commands

3.5 Entering Partition Commands

Partitions can be managed by issuing partition commands directed at the required partition after they are created. Partition commands can be entered in one of two ways:

A command line processed by the RTR command line interface, for example

RTR> SET PARTITION

Programmed using rtr_set_info( )

Enter partition commands on the backend where the partition is located. Note that commands that affect a partition state only take effect once the first server joins a partition. Errors encountered at that time will appear as log file entries. Using partition commands to change the state of the system causes a log file entry.

3.5.1 Command Line Usage

Partition management in the RTR command language is implemented with the following command set:

RTR> CREATE PARTITION

RTR> SET PARTITION

RTR> DELETE PARTITION

The name of the facility in which the partition resides may be specified with the /FACILITY command line qualifier, or as a colon-separated prefix to the partition name (for example Facility1:Partition1). Detailed descriptions of the command syntax are given in the Command Line Reference section of this manual, and are summarized in the discussions below. Examples in the following sections use a partition name of Partition1 in the facility name of Facility1.

3.5.2 Programmed Partition Management

Partition commands are programmed using rtr_set_info( ). Usage of the arguments are as follows:

pchannel - Supplies the address of a rtr_channel_t to receive the channel opened in the event of a successful call.

Flags must be RTR_NO_FLAGS

Verb must be the value verb_set (from the enumeration rtr_verb_t)

Object must be rtr_partition_object

select_qualifiers should identify the facility and partition, by name, for example:

rtr_qualifier_value_t select_qualifiers[ 3 ];

select_qualifiers[ 0 ].qv_qualifier = rtr_facility_name; select_qualifiers[ 0 ].qv_value = "your_facility_name_here"; select_qualifiers[ 1 ].qv_qualifier = rtr_partition_name; select_qualifiers[ 1 ].qv_value = "your_partition_name_here"; select_qualifiers[ 2 ].qv_qualifier = rtr_qualifiers_end; select_qualifiers[ 2 ].qv_value = NULL;

The set_qualifier list expresses the required change in partition behaviour or characteristic.

3–4Partition Management

Page 44
Image 44
Compaq AA-Q88CE-TE manual Partition Management Entering Partition Commands, Command Line Usage