Cisco Cisco Application Extension Platform for SRE
Cisco Application eXtension Platform 1.1 Developer Guide
Debugging Tools
108
Debugging Tools
•
limit cpu utilization nnnn : sets the CPU utilization to index value nnnn.
For further information on configuring resource limits, see the Cisco AXP User Guide.
Debugging Tools
Debugging is described in the following sections.
•
•
•
Note
To return to the Table of Contents, click
SSH Tunneling
In a debugging/development environment, Cisco AXP provides access to the SSH server with full shell
access. A user can login to a virtual instance as root.
access. A user can login to a virtual instance as root.
For SSH tunneling, the following Cisco add-on packages are used for debugging:
•
axp-ssh-4.6p1-k9.<platform>.<version>.pkg
•
axp-app-dev.<platform>.<version>.pkg
Production Environment
In the production environment, for a tunnel_user SSH user, use the package
axp-ssh-4.6p1-k9.<platform>.<version>.pkg.
axp-ssh-4.6p1-k9.<platform>.<version>.pkg.
The package does not have shell access on SSH login. Write a startup script that is executed after SSH
login, to control the tunnel_user.
login, to control the tunnel_user.
Development Environment
In the development environment, for a tunnel_root SSH user, use the package
axp-app-dev.<platform>.<version>.pkg.
axp-app-dev.<platform>.<version>.pkg.
The package provides shell access to the virtual instance upon SSH login. See the
Forwarding Examples
There are two SSH tunneling options for the virtual instance:
•
Port Forwarding “ssh -L”
•
X11 Forwarding “ssh -X”
The following manual pages for SSH describes these options in more detail:
Port Forwarding: Example
workstation-shell# ssh -L <local port>:<host>:<host port> <user>@<host> -p <port>
workstation-shell# ssh -L 7777:localhost:8888 tunnel_root@myblade -p 2022