r34 - 17 Dec 2009 - 15:25:04 - BeckyHYou are here: Wiki >  AppLogic24 Web > RefShell
ALERT! AppLogic 2.4 Documentation The latest production release is AppLogic 2.8.9

Command Line Shell Reference

Overview

The AppLogic command-line shell gives you control of all aspects of an AppLogic grid. The shell is located in the AppLogic controller and can be accessed over SSH using any suitable SSH client package. The shell commands are designed in order to 1). make the shell easy to use by humans, 2) provide simple means for scripting automation, and 3) support advanced web interfaces and datacenter management systems.

This section specifies the command line usage of the AppLogic Shell. Each shell command is executed using one of the following three command line forms:

command [ args ]*

object command [ args ]*

command object [ args ]*

Where

  • object - specifies the type of object and may be: grid, server, application, component, interface, volume, catalog, class, appclass, user, or log.
  • command - specifies the command that is to be executed
  • args - specifies additional command-specific arguments.

The "object command" and "command object" forms are interchangeable, e.g. app start and start app are both valid and will produce the same result. This is done to avoid religious wars over which comes first and promote your freedom of choice.

Quick Reference

Object Commands
none help, ca, clear, ls, exit
grid info, reboot, shutdown
server list, info, reboot, shutdown, enable, disable
application list, info, create, destroy, rename, copy, config, start, stop, continue, restart, build, clean, export, import, migrate, provision, get_desc, put_desc, lock, unlock, login
component list, info, start, stop, continue, restart, ssh, login
interface list, info, enable, disable, reset
volume list, info, set, create, destroy, rename, resize, copy, move, manage, fscheck, fsrepair, check, repair, migrate, clean, export, import
catalog list, info, create, destroy, import, export, rename, get_desc, put_desc, migrate
class list, move, copy, destroy, import, export, get_desc, put_desc, lock, unlock, migrate
user list, info, create, destroy, set, unlock
log list, reset, mark
message list, create, destroy, get, set
ha info, check
util iso2class, hvm2pv, wincfg, appstore

AppLogic Shell Commands

The AppLogic shell commands are sub-divided into the following major groups:

Advanced Usage

NEW for those who use GNU bash: Client-side Macros - an alternative way to access the AppLogic shell commands directly from your local command prompt.

-- BeckyH - 23 May 2006

 
Copyright © 2005-2010 3tera, Inc. All Rights Reserved.
%