Openshift - Examine an application for its gears
One way to obtain gear ids is using the web console.
Choose the application, and check the URL. The url would contain the head gear ID.
Click on the link in the right of 'Web load balancer'. The screen would show additional gear IDs.
Another way to obtain gear ids is using command line.
C:\Users\yudhi>rhc --verbose app show -a appname -n domainname
DL is deprecated, please use Fiddle
appname @ http://appname-domainname.cloud.xxxxxx.co.id/ (uuid: 542e715098988b7c23000009)
-------------------------------------------------------------------------
Domain: esshr
Created: Oct 03 4:50 PM
Gears: 2 (defaults to small)
Git URL: ssh://xxxxxxx7c23000009@appname-domainname.cloud.xxxxxx.co.id/~/git/dj
m.git/
SSH: xxxxxxx7c23000009@appname-domainname.cloud.xxxxxx.co.id
Deployment: auto (on git push)
Aliases: djm-esshr-ha.aon.telkom.co.id
haproxy-1.4 (Web Load Balancer)
-------------------------------
Gears: Located with php-5.3
php-5.3 (PHP 5.3)
-----------------
Scaling: x2 (minimum: 2, maximum: available) on small gears
C:\Users\yudhi>rhc app show --gear -a djm -n esshr
DL is deprecated, please use Fiddle
ID State Cartridges Size SSH URL
------------------------ ------- ------------------- ----- ---------------------
---------------------------------------------------
xxxxxxxx7c23000009 started php-5.3 haproxy-1.4 small xxxxxxxx7c23000
009@djm-esshr.aon.telkom.co.id
xxxxxxxx8ba5a8000044 started php-5.3 haproxy-1.4 small xxxxxxxba5a8000
044@xxxxxxxxxba5a8000044-esshr.aon.telkom.co.id
Choose the application, and check the URL. The url would contain the head gear ID.
Click on the link in the right of 'Web load balancer'. The screen would show additional gear IDs.
Another way to obtain gear ids is using command line.
C:\Users\yudhi>rhc --verbose app show -a appname -n domainname
DL is deprecated, please use Fiddle
appname @ http://appname-domainname.cloud.xxxxxx.co.id/ (uuid: 542e715098988b7c23000009)
-------------------------------------------------------------------------
Domain: esshr
Created: Oct 03 4:50 PM
Gears: 2 (defaults to small)
Git URL: ssh://xxxxxxx7c23000009@appname-domainname.cloud.xxxxxx.co.id/~/git/dj
m.git/
SSH: xxxxxxx7c23000009@appname-domainname.cloud.xxxxxx.co.id
Deployment: auto (on git push)
Aliases: djm-esshr-ha.aon.telkom.co.id
haproxy-1.4 (Web Load Balancer)
-------------------------------
Gears: Located with php-5.3
php-5.3 (PHP 5.3)
-----------------
Scaling: x2 (minimum: 2, maximum: available) on small gears
C:\Users\yudhi>rhc app show --gear -a djm -n esshr
DL is deprecated, please use Fiddle
ID State Cartridges Size SSH URL
------------------------ ------- ------------------- ----- ---------------------
---------------------------------------------------
xxxxxxxx7c23000009 started php-5.3 haproxy-1.4 small xxxxxxxx7c23000
009@djm-esshr.aon.telkom.co.id
xxxxxxxx8ba5a8000044 started php-5.3 haproxy-1.4 small xxxxxxxba5a8000
044@xxxxxxxxxba5a8000044-esshr.aon.telkom.co.id
Comments