fhb-getqueueindexes command

The fhb-getqueueindexes command identifies the Hot Backup queue indexes. If neither the checkprimary or checkprimaryonly parameters are included, only the secondary queue is checked. In cases where an index value cannot be determined (for example, running this command on a system where Hot Backup has not yet been set up), no index will be returned.

Syntax

fhb-getqueueindexes [checkprimary|checkprimaryonly] [runtime] [help]

Parameter(s)

Parameter Description
checkprimary Includes the primary queue when identifying queue indexes.
checkprimaryonly Only checks the primary queue when identifying queue indexes.
runtime Displays the amount of time it took to identify the queue indexes.
help Displays the syntax for this command.

Example(s)

The example below illustrates checking only the secondary queue for indexes and returning the amount of time it took to identify the queue indexes.

fhb-getqueueindexes runtime
lastProcessedId = 682
lastUnprocessedIdHelper1 = 682
lastUnprocessedIdHelper2 = 682
lastUnprocessedIdHelper3 = 682
lastProcessedIdHelper1 = 682
lastProcessedIdHelper2 = 682
lastProcessedIdHelper3 = 682
run time = 0

The example below illustrates checking both the secondary and primary queues for indexes.

fhb-getqueueindexes checkprimary
lastProcessedId = 682
lastUnprocessedIdHelper1 = 682
lastUnprocessedIdHelper2 = 682
lastUnprocessedIdHelper3 = 682
lastProcessedIdHelper1 = 682
lastProcessedIdHelper2 = 682
lastProcessedIdHelper3 = 682

The example below illustrates checking only the primary queue for indexes.

fhb-getqueueindexes checkprimaryonly
lastProcessedId = 943