UPDATED: Console access from VIO to LPAR
AnthonyEnglish 270000RKFN Comments (2) Visits (24832)
From the HMC, you can open a terminal session to the console of an LPAR. I reminisced about green screens and different console connections available to AIX in this post. But I didn't take account of one of them: you can create a virtual terminal session from the VIO Server to an LPAR.
When you're logged in as padmin on the VIO Server you can create a terminal session using the mkvt command.
To terminate the session - you'd never guess this - you use the combination of tilde dot. The same string we used to use to terminate the dial up connection on a 9600 baud modem after running cu
Waltzing back to the tilde ~
(Stop looking for it. It's the squiggly character on the top left of a US keyboard - shift back tick. And if you didn't know what the tilde was, you mustn't have known it's a substitute for your $HOME variable.)
cp ~/.profile ~/.profile.save # copy my .profile
~mary/.profile ~john/.profile # Sorry, John. Next time you log in
you're going to lose all your aliases.
Terminal session from VIO server? What's the point?
I thought you'd ask. After all, you've got network access to the LPAR usually, and those times you do need a console, you can use the HMC. Sure, but if for some reason you don't have access to the HMC (and by that, I don't mean physical access - a browser should do), you can still connect to the LPAR from the VIO server.
This is worth thinking about for next time you build an LPAR or need console access.
My test worked on a system which had been IVM managed but is now managed by an HMC. Rob McNelly (of the AIXChange blog) kindly tested this on several HMC-connected systems, and showed it's not as straightforward as it looks. This documentation for the mkvt command says:
tthe link to the documentation for the mkvt command was incorrect. It is now working.