Open.ControlTier > ModuleForge
 

AtgSolidRdb

Solid database service

Overview

Open in Workbench AtgSolidRdb: Solid database service

Design

Super Type
AtgRdb
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name

Constraints

Allowed Child Dependencies

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

Attributes

Exported Attributes

Name Property
atgrdb_install_root deployment-install-root

Defaults for Imported Attributes

Name Default
atgLocalConfig ${entity.attribute.atg_home}/home/localconfig
atgRdbDriver solid.jdbc.SolidDriver

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Docs-Generate

Generates the Solid database initialization file

Usage
Docs-Generate [-archivedir <${entity.instance.dir}/var>] [-buildstamp <>]

Options

Option Description
archivedir dir to store current output docs
buildstamp build identifer. currently ignored

assertServiceIsDown

Checks that the Solid database server process is stopped

Usage
assertServiceIsDown [-basedir <>]
Execution bash
Arguments if [ ${os.arch} = sparc ]; then PS=/usr/ucb/ps; else PS=ps; fi ; $PS auxww |grep "${opts.basedir}\$" | grep -v grep && exit 1 || exit 0

Options

Option Description
basedir Base directory of the Solid database instance

assertServiceIsUp

Checks that the Solid database server process is running

Usage
assertServiceIsUp [-basedir <>]
Execution bash
Arguments if [ ${os.arch} = sparc ]; then PS=/usr/ucb/ps; else PS=ps; fi ; $PS auxww |grep "${opts.basedir}\$" | grep -v grep && exit 0 || exit 1

Options

Option Description
basedir Base directory of the Solid database instance

startService

Starts the Solid database server process

Usage
startService [-dynamoroot <>]
Execution bash
Arguments ${opts.dynamoroot}/home/bin/startSolid

Options

Option Description
dynamoroot ATG home directory

stopService

Stops the Solid database server process

Usage
stopService [-basedir <>]
Execution bash
Arguments if [ ${os.arch} = sparc ]; then PS=/usr/ucb/ps; else PS=ps; fi ; $PS auxww |grep "${opts.basedir}\$" | grep -v grep |awk '{print $2}' |xargs kill -9

Options

Option Description
basedir Base directory of the Solid database instance