TEA Shell Commands
This topic lists all TEA shell commands and provides examples.
General Commands
Command
|
Description
|
Example
|
cd
|
Changes context to entity.
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/appnodes/AppNode01
|
ls
|
Lists the name of each instance in the specified entity.
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/appnodes
ls
|
Domain Commands
Dommand
|
Example
|
Create domain
|
cd /BusinessWorks/domains
create -domain Domain1 -descr "Sanity Test Domain"
|
Delete domain
|
cd /BusinessWorks/domains
delete -domain Domain1
|
AppSpace Commands
Command
|
Example
|
Create an AppSpace; the
-minNodes parameter is optional; defaults to 1
|
cd
/BusinessWorks/domains/Domain1/appspaces
create -appspace AppSpace01 -descr"AppSpace 01"-minNodes"2"
|
Delete an AppSpace
|
cd
/BusinessWorks/domains/Domain1/appspaces
delete -appspace AppSpace01
|
Start an AppSpace
|
cd
/BusinessWorks/domains/Domain1/appspaces
start -appspace AppSpace01
|
Stop an AppSpace
|
cd /BusinessWorks/domains/Domain1/appspaces
stop -appspace AppSpace01
|
AppNode Commands
Description
|
Example
|
Create an AppNode;
-osgiPort parameter is optional.
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/appnodes
create -appnode Sanity-AppNode01 -httpPort 7011 -agent localhost -osgiPort 8011
|
Delete an AppNode
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/appnodes
delete -appnode Sanity-AppNode01
|
Start an AppNode
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/appnodes
start -appnode Sanity-AppNode01
|
Stop an AppNode
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/appnodes
stop -appnode Sanity-AppNode01
|
Application Commands
Description
|
Example
|
Start an application
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/applications
start -app acme.acct.ap.application -version 1.0
|
Start an application instance on the AppNode
|
cd
/BusinessWorks/domains/Domain1/appspaces/AppSpace01/applications
startinst -app acme.acct.ap.application -version1.0-appnode Sanity-AppNode01
|
Stop an application
|
cd /BusinessWorks/domains/Domain1/appspaces/AppSpace01/applications
stop -app acme.acct.ap.application -version 1.0
|
Stop an application instance on an AppNode
|
d /BusinessWorks/domains/Domain1/appspaces/AppSpace01/applications
stopinst -app acme.acct.ap.application -version 1.0 -appnode Sanity-AppNode01
|
Copyright © Cloud Software Group, Inc. All rights reserved.