Needs an openshift console to control your openshift application, just install rubygem-rhc, i’m using fedora 17, I just installed it with yum. First, do a yum provides to check the version available from repository and then you install it
1. yum provides rubygem-rhc
2. yum install rubygem-rhc-0.91.12-3.fc17.noarch
The openshift console is simply your terminal and some commands to control the application from it.
Now that you have installed, you can take control of your openshift account from your terminal:
Openshift console command
rhc-app (
in your terminal, just run the command rhc-app, you’ll get the syntax of the command including all the command, cartridge-action and arguments,
Now suppose you want to restart your application,
its as simple as
rhc-app restart -a applicationName -l usernameOpenShift
if everything goes fine, it should output a success
RESULT:
Success
There are some links where you can find more information:
1. https://openshift.redhat.com/community/get-started
2. https://openshift.redhat.com/community/kb/kb-e1067-running-rhc-commands-without-re-entering-password