Este contenido no está disponible en el idioma seleccionado.
11.9.3. Accessing a Specific Gear
As mentioned earlier, a secure shell environment connection is made to the application's primary gear by default. However, a specific gear can be accessed for debugging gear problems in a scalable application. The following instructions describe how to access a gear with the gear's ID and SSH URL.
Procedure 11.2. To Access a Specific Gear:
- Determine the gear's ID and SSH URL with the following command:
rhc app show App_Name --gears
$ rhc app show App_Name --gearsrhc app show App_Name --gearsrhc app show App_Name --gears
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example 11.11. Viewing Application Gears
Copy to Clipboard Copied! Toggle word wrap Toggle overflow In the example output the ID of the first scaling gear is519b0fd02587c84b860002d8
and its SSH URL is519b0fd02587c84b860002d8@519b0fd02587c84b860002d8-automobile.example.com
. - Open a secure shell environment to the desired gear with the gear's SSH URL:
ssh 519b0fd02587c84b860002d8@519b0fd02587c84b860002d8-automobile.example.com
$ ssh 519b0fd02587c84b860002d8@519b0fd02587c84b860002d8-automobile.example.com
Copy to Clipboard Copied! Toggle word wrap Toggle overflow