SAND CDBMS Administration Guide
The SAND Enterprise Service Scripting Language

 

Previous Topic:
Octopus Operations
Chapter Index
Next Topic:
Working with Octopus Nodes

 

Working with Octopus Subclasses


Displaying Information About Subclasses

LSSUB

The LSSUB command lists information about a single Octopus Class, or all Subclasses registered with the SAND Enterprise Service. If a Class name is specified and there is more than one Subclass based on that Class, information about all of these Subclasses is displayed.

Syntax:

lssub [-short] [-all] [-noheader] [-cache] [-deltapath] [-engines] [-mdfr] [-mdfs] [-node] [-timeout] [class-name]


Options:

-short Show only the Class name and Node name
-all (default) Show all information (see descriptions below)
-noheader Show information without descriptive headers
-cache Show Cache value for the Subclass
-deltapath Show DeltaPath value for the Subclass
-engines Show NumberOfEngines value for the Subclass
-mdfr Show MaxDeltaFileRatio value for the Subclass
-mdfs Show MaxDeltaFileSize value for the Subclass
-node Show Node on which the Subclass is defined
-timeout Show RescheduleTimeout value for the Subclass
class-name Show information only about the specified Subclass

For complete information about Octopus configuration parameters, consult the Octopus Administrator's Guide.

Creating a Subclass Definition

MKSUB

The MKSUB command creates a Subclass definition for use by an Octopus instance.

Syntax:

mksub [-node node-name] [-deltapath "path"] [-cache cache-value] [-engines NumberOfEngines-value] [-mdfr maximum-delta-file-size] [-mdfs maximum-delta-file-ratio] [-timeout RescheduleTimeout-value] class-name

If the Subclass is defined on the current host it will be called class-name; if it is defined on a remote Node, it will be called node-name class-name.


Defaults:

-cache 128 (MB)
-deltapath . (directory of the database-name.n00 file)
-engines (NumberOfEngines parameter)
1
-mdfr (MaxDeltaFileRatio parameter)
mdfs value is used
-mdfs (MaxDeltaFileSize parameter)
no limit
-node none (local host)
-timeout (RescheduleTimeout parameter)
15


For detailed information about the various Subclass parameters, consult the Octopus Administrator's Guide.


Removing a Subclass Definition

RMSUB

The RMSUB command removes the specified Subclass from the Octopus system configuration. Include the -node node-name specification if the Subclass is not defined on the current host machine. If only class-name is specified, and the Class is used on multiple Nodes, all Subclasses based on that Class will be removed.

Syntax:

rmsub [-force] [-node node-name] class-name


Options:

-force Suppresses prompts

 

Previous Topic:
Octopus Operations
Chapter Index
Next Topic:
Working with Octopus Nodes