Cloud CM-IPMP Guía para resolver problemas Pagina 36

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 201
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 35
5.1.2 Command Console Interface
The Command Console is a command line shell which supports both interactive and batch file commands to manage and
configure the Rhino SLEE.
Usage:
rhino-console <options> <command> <parameters>
Valid options:
-? or --help - Display this message
-h <host> - Rhino host
-p <port> - Rhino port
-u <username> - Username
-w <password> - Password, or "-" to prompt
If no command is specified, client will start in interactive mode.
The help command can be run without connecting to Rhino.
The Command Console can also be run in a non-interactive mode by giving the script a command argument. For example,
./rhino-console install
<filename> is the equivalent of entering
install
<filename> in the interactive com-
mand shell.
The Command Console features command-line completion. The
tab
key is used to activate this feature. Pressing the tab key
will cause the Command Console to attempt to complete the current command or command argument based on the command
line already input.
The Command Console also records the history of the commands that have been entered during interactive mode sessions. The
up and down arrow keys will cycle through the history, and the history command will print a list of the recent commands.
5.1.3 Ant Tasks
Ant is a build system for Java. Rhino SLEE provides several Ant tasks which provide a subset of the management commands
using the JMX interfaces.
For more information regarding Rhino SLEE Ant tasks please refer to Chapters 22 and 23.
5.1.4 Client API
The Client API is a Java API which exposes SLEE management functions programmatically.
This API can be used by developers to access the SLEE management functions from an external application. For example, a
J2EE application could use this API to create profiles in the SLEE, or to analyse usage information from an SBB. The Command
Console provided with the Rhino SLEE is implemented using this API.
The Client API is described in detail in the Rhino SLEE Programmer’s Reference and the Client API Javadoc, available from
Open Cloud on request.
5.2 Management Tutorials
The Rhino SLEE can be managed either by using the Web Console or the Command Console.
The following sections provide a number of tutorials that illustrates various management scenarios. For each scenario, the steps
that need to be taken to achieve the desired goal of that scenario are described using both the Web Console and the Command
Console. The tutorials included in this section describe:
1. Installing a Resource Adaptor.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 27
Vista de pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 200 201

Comentarios a estos manuales

Sin comentarios