Book Image

WildFly Configuration, Deployment, and Administration

By : Francesco Marchioni, Christopher Adam M Ritchie
Book Image

WildFly Configuration, Deployment, and Administration

By: Francesco Marchioni, Christopher Adam M Ritchie

Overview of this book

Table of Contents (19 chapters)
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Managing applications in OpenShift


At first, it might appear difficult to manage your application on a remote server. Once you have learned the commands to manage your application, this concern should be greatly reduced.

In order to control your applications, you can use the rhc app command, which takes the action to be performed and the -a command that specifies the application name. For example:

$rhc app restart -a app_name

The following table shows the list of commands available to manage your applications. You can view the list of available options via the command line, using the --help flag:

Option

Description

start

Starts an application

stop

Stops an application that is currently running

force-stop

Kills the application's processes

restart

Restarts an application

reload

Reloads an application

delete

Deletes an application

configure

Configures properties for an application

create

Creates an application

deploy

Deploys an application

scale-up

Scales...