Quick reference guide to 3tctl(executed from ctl VM only) usage(USE WITH ABSOLUTE CAUTION):
Note: not ALL of these switches are implemented, I would advise which ones are not, but I would prefer you test them on our lab grid(s) first so you have hands-on experience if not already.
start - start AppLogic
stop - stop AppLogic
reboot - reboot the cluster
info - get AppLogic information
exec - execute external utility
list - list servers
info - retrieve server information
reboot - reboot server
shutdown - shutdown server
power_on - power on a server
power_off - power off a server
enable - enable server for scheduling
disable - disable server for scheduling
refresh - refresh server set
list - list virtual volumes
info - retrieve virtual volume information
create - create virtual volume
destroy - destroy virtual volume
copy - copy virtual volume
rename - rename virtual volume
mount - mount virtual volume
unmount - unmount virtual volume
migrate - migrate volume
repair - repair volume mirrors
list - list applications
info - retrieve application information
create - create application
destroy - destroy application
alloc - allocate application resources
free - free application resources
start - start application
stop - stop application
continue - continue application start
build - build application
check - check application
list - list components
info - retrieve component information
start - start component
stop - stop component
continue - continue component start
check - check component
ssh - ssh into component's virtual machine
list - list interfaces
info - retrieve interface information
enable - enable interface
disable - disable interface
reset - reset interface
description: Start AppLogic
description: Stop AppLogic
description: Reboot the applogic cluster
description: Retrieve AppLogic information
--batch : Display output in UDL format
description: Execute 3rd party utility named <utility> and pass all specified arguments (<args>) on its command line.
description: List servers
--batch : Display output in UDL format
--map : Include list of components running on each server
description: Retrieve server information
<name> : Name of server for which to retrieve information for
--batch : Display output in UDL format
--map : Include list of components running on the server
description: Reboot server
<name> : Name of server to reboot or * to reboot all servers
description: Shutdown server
<name> : Name of server to shutdown or * to shutdown all servers
description: Power-on server
<name> : Name of server to power-on or * to power-on all servers
description: Power-off server
<name> : Name of server to power-off or * to power-off all servers
description: Enable server for scheduling
<name> : Name of server to enable or * to enable all servers
description: Disable server for scheduling
<name> : Name of server to disable or * to disable all servers
description: Refresh the set of available servers from cluster descriptor
description: List system volumes
--batch : Display output in UDL format
description: Retrieve volume information
<name> : Name of volume for which to retrieve information
--batch : Display output in UDL format
description : Create new volume
<name> : Name of volume to create. If running in cluster configuration,name must have the following format: <srv name>.<volume name>.
<prop>=<val>: Volume creation parameters:
size=<val> - Size of volume to create in MB.
mirrored=<val>- Set to 1 for mirrored volume
The default is: 1 for multi-server configuration comment=<val> - (optional) Volume comment
description: Destroy volume
<name> : Name of volume to destroy
description: Rename volume
<name> : Name of existing volume
<new name> : New name for volume
description : Copy volume
<name> : Name of volume to copy
<new name> : Name of copied volume. If running in cluster configuration, <new name> must have the following format: <srv name>.<volume name>.
<prop>=<val> : Volume copy parameters
message=<val> - Message to display when reporting progress. The message should contain all text with the exception of the percent completion.
mirrored=<val> Set to 1 for mirrored volume.
comment=<val> - Comment to be set on the new volume --keepcomment: If specified, propagate the comment from the source volume to the new volume.
If neither --keepcomment or comment=<val> are specified, the comment for the new volume is set to empty.
description : Mount volume as a block device
<name> : Name of volume to mount
<prop>=<val>: Volume mount parameters
ro=<val> - Set to 1 for read-only access
rw=<val> - Set to 1 for read-write access
excl=<val> - Set to 1 for exclusive access
description: Unmount volume
<name> : Name of volume to unmount
description: Migrate volume
<name> : Name of volume to migrate
--batch : Return immediately and don't wait for operation to complete.
--stop : Stop migration of volume
description: Repair volume
<name> : Name of volume to repair
--move : Allow mirrors to be moved during repair
--batch : Return immediately and don't wait for operation to complete.
--stop : Stop repair of volume
description: List applications
--batch : Display output in UDL format
description: Retrieve application information
<name> : Name of application for which to retrieve information
--batch : Display output in UDL format
--verbose : Display list of components for the application
description : Create application
<name> : Name of the application
description : Destroy application
<name> : Name of the application to destroy
description : Allocate application resources
<name> : Name of the application
<prop>=<val>: Application scheduling parameters
sched=<val> - String specifying scheduling parameters.
cpu=<val> - Cpu allocation
mem=<val> - Memory allocation (in MB)
bw=<val> - Bandwidth allocation (in Mbps)
servers=<val>- Number of servers on which application is to run
sandbox=<val>- set to 1 to allow scheduling of components with less than minimum resources
description : Free application resources
<name> : Name of the application
description : Continue application start
<name> : Name of the application
description : Start application
<name> : Name of the application to start
--no-volprep: Skip volume preparation
<prop>=<val>: Application scheduling parameters
sched=<val> - String specifying scheduling parameters.
cpu=<val> - Cpu allocation
mem=<val> - Memory allocation (in MB)
bw=<val> - Bandwidth allocation (in Mbps)
--batch : Return immediatly and don't wait for operation to complete
description : Stop application
<name> : Name of the application to stop
--batch : Return immediatly and don't wait for operation to complete
description : Build application
<name> : Name of the application to build
<args> : Build arguments:
--no-volprep - skip volume preparation for all volumes
-clean [-volclean] - clean application - remove all temporary
and optionally remove volumes
--compile - compile application w/o preparing volumes
description : Perform syntax check over application
<name> : Name of application to check
description : Rebalance application
<name> : Name of the application to rebalance
<prp>=<val> : Rebalance parameters
sched=<val> - String specifying scheduling parameters.
cpu=<val> - Cpu allocation
mem=<val> - Memory allocation (in MB)
bw=<val> - Bandwidth allocation (in Mbps)
The "rebalance" command is currently not supported.
description : Reduce the allowed resource allocation for application to the minimum allowed
<name> : Name of the application to crunch
The "crunch" command is currently not supported.
description : Increase the allowed resource allocation for application to the maximum allowed
<name> : Name of the application to expand
The "expand" command is currently not supported.
description : List components for an application
<name> : Name of application for which to list components
--batch : Display output in UDL format
description : Display component information
<name> : Name of component: <app name>.<comp name>
--batch : Display output in UDL format
--verbose : Display list of interfaces for the component
description : Start component
<name> : Name of component: <app name>:<comp name>
<prop>=<val>: Component resource parameters
cpu=<val> - Cpu allocation
mem=<val> - Memory allocation (in MB)
bw=<val> - Bandwidth allocation (in Mbps)
description : Stop component
<name> : Name of component: <app name>:<comp name>
description : Continue component start
<name> : Name of the component
description : Compile component descriptor
<name> : Name of component: <app name>:<comp name>
description : Rebalance component
<name> : Name of component: <app name>:<comp name>
<prop>=<val>: Component resource parameters
cpu=<val> - Cpu allocation
mem=<val> - Memory allocation (in MB)
bw=<val> - Bandwidth allocation (in Mbps)
The "rebalance comp" command is currently not supported.
description : move component
<name> : Name of component: <app name>:<comp name>
<prop>=<val>: Component target and resource parameters
server=<val>- Name of server where component is to be moved
cpu=<val> - CPU allocation
mem=<val> - Memory allocation (in MB)
bw=<val> - Bandwidth allocation (in Mbps)
This command is currently not supported.
description : ssh into component's virtual machine
<name> : Name of component: <app name>:<comp name>
<args> : Arguments to be passed to ssh.
*The arguments are not interpreted and are passed as is.
description : List component interfaces
<name> : Name of component: <app name>:<comp name>
--batch : Display output in UDL format
--verbose : Display additional interface information
description : Display interface information
<name> : Interface name: <app name>:<comp name>.<ifc name>
--batch : Display output in UDL format
--verbose : Display additional interface information
description : Enable interface
<name> : Interface name: <app name>:<comp name>.<ifc name>
description : Disable interface
<name> : Interface name: <app name>:<comp name>.<ifc name>
description : Reset interface state
<name> : Interface name: <app name>:<comp name>.<ifc name>
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|