Search

Running JBoss ON Command-Line Scripts

download PDF
JBoss Operations Network 3.0.1

using the JBoss ON CLI and remote API

Ella Deon Lackey

December 7, 2011, updated March 18, 2012

Abstract

JBoss Operations Network provides its own command shell that can interact directly with the JBoss ON server. This CLI uses the JBoss ON remote API to perform most of the tasks available in the JBoss ON GUI, as well as additional operations like importing and exporting server configuration and exporting historic metric data. The CLI allows administrators to script and automate their JBoss ON deployment, which makes it easier to manage their infrastructure.
This guide covers the basics of installing and using the JBoss ON CLI and provides examples of scripts for common tasks. It is intended primarily for administrators who will be using the default JBoss ON CLI to manage JBoss ON. This manual has a secondary audience for plug-in writers and developers who intend to write custom applications which leverage the remote API.

1. Document Information

This guide is part of the overall set of guides for users and administrators of JBoss ON. Our goal is clarity, completeness, and ease of use.

1.1. Document History

Revision History
Revision 3.0.1-52013-10-31Rüdiger Landmann
Rebuild with publican 4.0.0
Revision 3.0.1-0March 18, 2012Ella Deon Lackey
Fixing example scripts and rewriting examples for JBoss Operations Network 3.0.1.
Revision 3.0-1January 26, 2012Ella Deon Lackey
Fixing a typo in the echo_args.js example script, per Bugzilla 784887.
Fixing a typo in the CLI login example, per Bugzilla 784703.
Updating API call for createPackageBackedResource method to include timeout parameter, per Bugzilla 770011.
Breaking out separate JBoss AS 4 and JBoss AS 5 examples for scripting an EAR deployment to a JBoss group, per Bugzilla 772366.
Revision 3.0-0December 5, 2011Ella Deon Lackey
Initial release of JBoss ON 3.0.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.