Using SSH Connector and Expect-Lite Scripts to connect to an IBM HMC
From TDiWiki
There are several steps to this process:
- Determine the names of all the managed systems for which a console is to be defined
- Create one or more user accounts on the HMC which will be used exclusively for connections to LPAR consoles through the HMC
- If PKI authentication is to be used, create appropriate SSH keys and load them into ConsoleWorks and onto the HMC
- Create one Expect-Lite Script for each console to be defined
- Create the ConsoleWorks consoles for the managed systems
TDI recommends a console connection for each (D)LPAR and one additional connection to communicate with the HMC command line. The following commands are useful in determining the names of the managed systems on an HMC:
- Utilize the ‘lssyscfg –r sys --all’ from the HMC command prompt to list all managed systems known to the HMC.
- Utilize the ‘lssyscfg –r lpar –m <specific_system_name> --all’ command from the HMC command prompt to list all partitions associated with a specific managed system.
