Open.ControlTier > ModuleForge
 

AtgSite

Controls the ATG Site

Overview

Open in Workbench AtgSite: Controls the ATG Site

Design

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

Constraints

Allowed Child Dependencies

  • AtgApacheServer
  • AtgAppServer
  • AtgAppServerCollection
  • AtgDynamo
  • AtgRdb 1
  • AtgSite
  • AtgSiteSSHUser 1
  • DefaultAllowMultiplePackageMatches1
  • DefaultDeploymentType
  • DefaultFailIfPackageNotReplaced1
  • DefaultPackageName1
  • DefaultPackageType1
  • Deployment
  • DispatchBaseType1
  • DispatchChangeDependencies1
  • DispatchExecutionStrategy1
  • DispatchOptions1
  • DispatchResourceName1
  • DispatchResourceType1
  • DispatchSortOrder1
  • DispatchThreadCount1

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

Allowed Parent Dependencies

Attributes

Defaults for Imported Attributes

Name Default
defaultAllowMultiplePackageMatches false
defaultDeploymentType Deployment
defaultFailIfPackageNotReplaced true
defaultPackageName ^$
defaultPackageType AtgEar
dispatchBaseType (?:deployment|service|mediator)
dispatchChangeDependencies false
dispatchExecutionStrategy nodedispatch
dispatchOptions
dispatchResourceName .*
dispatchResourceType [^\.]*
dispatchSortOrder ascending
threadCount 1

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.

Deploy

Run the service deployment cycle, stopping installing package dependencies, configuring and the starting it.

Usage
Deploy [-buildstamp <>] [-resourcename <.*>] [-resourcetype <[^\.]*>]

Workflow

  1. Stop
  2. Packages-Install
  3. Configure
  4. Start

Options

Option Description
buildstamp Unique build identifier
resourcename resource name pattern
resourcetype resource type name

GetDatasourceName

Calls ATG application servers to lookup the currently configured datasource.

Usage
GetDatasourceName [-command <getDatasourceName>] [-resourcename <.*>] [-resourcetype <AtgDasServer|AtgJBossServer>]

Workflow

  1. dispatchCmd

Options

Option Description
command command to dispatch
resourcename resource name pattern
resourcetype resource type name

Switch-Datasource

Calls ATG application servers to switch to the specified datasource.

Usage
Switch-Datasource [-command <Switch-Datasource>] -datasource <> [-dispatchOptions <datasource>] [-resourcename <.*>] [-resourcetype <AtgDasServer|AtgJBossServer>]

Workflow

  1. dispatchCmd

Options

Option Description
command command to dispatch
datasource Datasource to switch to
dispatchOptions Options to dispatch
resourcename resource name pattern
resourcetype resource type name

Rdbs-SchemasExportDmp

Tells AtgRdb instances to export their schemas

Usage
Rdbs-SchemasExportDmp -buildstamp <> [-command <Schemas-ExportDmp>] [-resourcetype <AtgRdb>] [-threadcount <1>]

Workflow

  1. dispatchCmd

Options

Option Description
buildstamp Unique build identifier
command Command to dispatch
resourcetype Type of resource to dispatch
threadcount Number of concurrent threads to execute

Rdbs-SchemasImportDmp

tells AtgRdb instances to import their schemas

Usage
Rdbs-SchemasImportDmp -buildstamp <> [-rdb <>] -schematype <>

Options

Option Description
buildstamp Unique build and update identifier
rdb the rdb instance
schematype schema type to import

Rdbs-SwitchSchemaBinding

tells AtgRdb instances to switch their schemas

Usage
Rdbs-SwitchSchemaBinding [-fromschema <>] [-rdb <>] -schematype <> -toschema <>

Options

Option Description
fromschema schema to switch from
rdb the rdb instance
schematype schema type to import
toschema schema to switch to

Related Types

The following types are defined for use with AtgSite.

AtgSiteSetting

Overview

Open in Workbench AtgSiteSetting: General AtgSite settings

Design

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

Attributes

AtgSiteSSHUser

Overview

Open in Workbench AtgSiteSSHUser: The Setting which overrides the default ssh user when executing remote commands

Design

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

Attributes

Exported Attributes
Name Property
SSHUser settingValue