beautypg.com

Segments command, Sql command, Status command – HP NonStop G-Series User Manual

Page 133: Considerations

background image

Nomadic Disk Manager Interface

ServerNet Nomadic Disk (Release 2) User’s Guide 523968-001

7- 13

SEGMENTS Command

SEGMENTS Command

The SEGMENTS command lists all the defined segment names and the segment type
(data) of each segment.

SQL Command

Do not use the SQL command.

STATUS Command

Use the STATUS command to list the current ownership status of a segment or
segments. The status of a segment is an indication of its current ownership, rather
than an indication of the accessibility of its member volumes.

SEGMENT { segname | * }

indicates which segments are affected by the STATUS command. You can specify
the volumes in a specific segment (

segname

) or all volumes in all segments (

*

).

If you do not include the SEGMENT parameter, the volumes in the current
segment are affected. Each segment usually has four paths defined, although
some segments might have only one or two.

Considerations

Each path in a segment definition has a switch card associated with it. Each path also
has a switch setting definition, indicating ownership. The STATUS command
interrogates the current switch setting of each switch card associated with the segment
and reports one of the following results:

OWNED

If all the current switch settings for the segment match the defined ownership
settings, the segment is considered OWNED by this node.

NOT OWNED

If all the current switch settings are opposite of the defined ownership settings, the
segment is considered NOT OWNED by this node.

SEGMENTS

STATUS [ , SEGMENT { segname | * } ]