Previous Topic: ssh (Component Control)--Access the Shell in a Component's Virtual Machine (over ssh)Next Topic: Interface Control


login (Application Control and Management)--Login to a Component

Login to component's virtual machine

Syntax
component login name [--ssh] [console=text|graphic] [--force] [--abort] [command] 
Parameters
name

Name of component to login to

--ssh

SSH into component (default)

console=text

Access text console

--force

Take control of console (kill existing console)

--abort

Kill existing console (if any)

command

Optional command line to execute. If there is more than one argument, the command must be enclosed in quotes (for example, "ls /tmp"). This argument is only valid if --ssh is specified.

Examples
component login sugarcrm:main.config

SSH into component 'main.config' in application 'sugarcrm'

component login sugarcrm:main.config "ls /tmp"

SSH into component 'main.config' in application 'sugarcrm' and execute ls /tmp

component login sugarcrm:main.config console=text

Access text boot console of appliance instance.

Notes:

Whenever a user logs into an appliance, CA AppLogic for System z® creates an environment variable named _APPLOGIC_USERID which contains the name of the user that logged into the appliance. This is only valid if the appliance uses the DHCP configuration mode (APK).