Pesquisar

Este conteúdo não está disponível no idioma selecionado.

12.4. Cartridge Management Commands

download PDF
Manage cartridges with the client tools using the rhc cartridge command, with the following syntax:
$ rhc cartridge Action Cart_Type -a App_Name
The following table describes the available cartridge management actions:
Table 12.2. Cartridge Management Actions
Action Details
list List supported cartridges.
add Add a cartridge.
remove Remove a cartridge.
stop Stop a cartridge.
start Start a cartridge.
restart Restart a cartridge.
status Return the current status of a cartridge.
reload Reload the configuration of a cartridge.
show Show information about a cartridge.
storage View and manipulate storage on a cartridge.
scale Set the scaling range of a cartridge.
The following table describes the available options with cartridge management commands:
Table 12.3. Cartridge Management Command Options
Option Description
-n, --namespace [NAME] Name of a domain.
-a, --app [NAME] Name of an application.
-c, --cartridge [CART_TYPE] Name of cartridge.
-l, --rhlogin [LOGIN] OpenShift Enterprise user account.
-p, --password [PASSWORD] OpenShift Enterprise account password.

Example 12.2. Stopping a Cartridge

$ rhc cartridge stop php -a mynewapp
Using php-5.4 (PHP 5.4) for 'php'
Stopping php-5.4 ... done
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.