Questo contenuto non è disponibile nella lingua selezionata.
Chapter 2. Installing the JBoss ON CLI
There are two default available ways to run a JBoss ON server script:
- In response to an alert
- Through the CLI utility
Running a script as part of an alert is configured with the alert definition and does not require any other user intervention.
Running a script manually requires that the CLI utility be installed.
2.1. Installing the CLI Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
The CLI utility can be installed on any system, not just a system with a JBoss ON server or agent installed. That CLI utility package is simply unzipped in the desired location.
NOTE
The Java 6 JDK must be installed on the system.
IMPORTANT
The remote API cannot be run from a client inside an application server. For example, the remote API cannot be run from a client inside an EAP instance; it fails with errors like the following:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
- Open the JBoss ON GUI.
http://server.example.com:7080
http://server.example.com:7080
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Click the Administration tab in the top menu.
- Select the Downloads menu item.
- Scroll to the Command Line Client Download section, and click Download CLI 4.9.JON.3.3.
- Save the
.zip
file into the directory where the CLI should be installed. - Unzip the packages. For example:
unzip rhq-remoting-cli-4.9.JON.3.3.zip
[jsmith@server opt]$ unzip rhq-remoting-cli-4.9.JON.3.3.zip
Copy to Clipboard Copied! Toggle word wrap Toggle overflow