Open.ControlTier > ModuleForge
 

AtgDasServer

ATG Dynamo application server

Overview

Open in Workbench AtgDasServer: ATG Dynamo application server

Design

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

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
dynamoHome deployment-basedir
dynamoRoot deployment-install-root

Defaults for Imported Attributes

Name Default
atgDasArguments
atgDasJavaHome /usr/java
atgDasPassword admin
atgDasPath /bin:/usr/bin:/usr/local/bin
atgDasStartTimeout 600
atgDasStopTimeout 60
atgDasUser admin
atgRmiHost localhost
atgRmiPath /controltier/ext/atg/rmi/RmiComponentDispatcher
defaultAllowMultiplePackageMatches false
defaultFailIfPackageNotReplaced true
defaultPackageName ^$
defaultPackageType AtgConfigJar

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.

assertServiceIsDown

Checks if the Dynamo server is down

Usage
assertServiceIsDown [-dynamohome <>] [-servername <>]

Options

Option Description
dynamohome Value of DYNAMO_HOME
servername Dynamo server name

assertServiceIsUp

Checks if Dynamo server is running

Usage
assertServiceIsUp [-dynamohome <>] [-servername <>]

Options

Option Description
dynamohome Value of DYNAMO_HOME
servername Dynamo server name

startService

Starts the Dynamo server

Usage
startService [-arguments <>] [-dynamohome <>] [-javahome <>] [-path <>] [-servername <>] [-spawn <true>] [-timeout <>]

Options

Option Description
arguments Arguments passed to startDynamo
dynamohome Value of DYNAMO_HOME
javahome Value of JAVA_HOME
path Basic value of the PATH variable
servername Dynamo server name
spawn Whether or not to spawn the startDynamo script
timeout Startup timeout value in seconds

stopService

Stops the Dynamo server cleanly or killing as necessary

Usage
stopService

Workflow

  1. stopAcceptingNewSessions
  2. runStopDynamo
  3. maybeKillService

runStopDynamo

Stops the Dynamo server

Usage
runStopDynamo [-dynamohome <>] [-javahome <>] [-password <>] [-path <>] [-servername <>] [-timeout <>] [-user <>]

Options

Option Description
dynamohome Value of DYNAMO_HOME
javahome Value of JAVA_HOME
password Password passed to stopDynamo
path Basic value of the PATH variable
servername Dynamo server name
timeout Shutdown timeout value in seconds
user Username passed to stopDynamo

maybeKillService

Calls retryIsDownService and if that fails calls killService

Usage
maybeKillService

Workflow

  1. retryIsDownService

Error Handler

Command

killService

retryIsDownService

Test repeatedly whether the Dynamo server has stopped

Usage
retryIsDownService [-dynamohome <>] [-servername <>] [-timeout <>]

Options

Option Description
dynamohome Value of DYNAMO_HOME
servername Dynamo server name
timeout Timeout value in seconds

killService

Kills the Dynamo server

Usage
killService [-dynamohome <>] [-javahome <>] [-password <>] [-path <>] [-servername <>] [-timeout <>] [-user <>]

Options

Option Description
dynamohome Value of DYNAMO_HOME
javahome Value of JAVA_HOME
password Password passed to stopDynamo
path Basic value of the PATH variable
servername Dynamo server name
timeout Shutdown timeout value in seconds
user Username passed to stopDynamo

Related Types

The following types are defined for use with AtgDasServer.

AtgDasSetting

Overview

Open in Workbench AtgDasSetting: A DAS Setting

Design

Super Type
AtgAppServerSetting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

AtgDasArguments

Overview

Open in Workbench AtgDasArguments: The set of command line arguments to pass to dynamoStart for a given server

Design

Super Type
AtgDasSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasArguments settingValue

AtgDasUser

Overview

Open in Workbench AtgDasUser: User account to use for Dynamo server aadmindministration

Design

Super Type
Setting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasUser settingValue

AtgDasPassword

Overview

Open in Workbench AtgDasPassword: Password to use for Dynamo server administration

Design

Super Type
AtgDasSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasPassword settingValue

AtgDasStartTimeout

Overview

Open in Workbench AtgDasStartTimeout: Timeout period (in seconds) to wait for Dynamo startup to succeed

Design

Super Type
AtgDasSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasStartTimeout settingValue

AtgDasStopTimeout

Overview

Open in Workbench AtgDasStopTimeout: Timeout period (in seconds) to wait for Dynamo shutdown to succeed

Design

Super Type
AtgDasSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasStopTimeout settingValue

AtgDasPath

Overview

Open in Workbench AtgDasPath: The PATH to set for Dynamo server administration

Design

Super Type
AtgDasSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasPath settingValue

AtgDasJavaHome

Overview

Open in Workbench AtgDasJavaHome: The JAVA_HOME to set for Dynamo server administration

Design

Super Type
AtgDasSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
atgDasJavaHome settingValue