AIX: How to take console of LPAR from HMC ?
In this article, we will look how to take console of a server from HMC ?
Lets understand the process step by step.
1. First do ssh from your specific user on HMC IP Address.
# ssh midroot@HMC_IP
2. Now run vtmenu to see all the frames available on HMC.
# vtmenu
3. Select Frame from the list of vtmenu command.
---------------------------------------------------------- Managed Systems: ---------------------------------------------------------- 1) NGEAIX0_9080-MHE-NGEAIXAN8FC357 2) NGEAIX1_9080-MHE-NGEAIXAN8FC3B7 3) NGEAIX2_9080-MHE-NGEAIXAN8FC3A7 Enter Number of Managed System. (q to quit): 3
4. Now select LPAR number from the list.
---------------------------------------------------------- Partitions On Managed System: NGEAIX2_9080-MHE-NGEAIXAN8FC3A7 OS/400 Partitions not listed ---------------------------------------------------------- 1) ngeaix00ua242_Test Not Activated 2) ngeaix00ud009_STP_IND_DB_JONdev7 Running 3) ngeaix00ud054_SMA_ORA_JON_SOFTA1_IND_AP Running 4) ngeaix00ud055_SMA_ORA_JON_SOFTA1_IND_DB Running 5) ngeaix00ud056_SMA_ORA_JON_SOFTA1_IND_AP Running 6) ngeaix00ud057_SMA_ORA_JON_SOFTA1_IND_DB Running 7) ngeaix00ud085_JON_UAT_2_IND_Application Running 8) ngeaix00ud086_JON_UAT_2_IND_Database Running 9) ngeaix00ud090_JON_UAT_2_OBIEE_Applicati Running 10) ngeaix00ud091_JON_UAT_2_OBIEE_Database Running 11) ngeaix00ud104_MON_Fusion_App_MONsit1 Running 12) ngeaix00ud107_MON_Fusion_App_MONsit1 Running 13) ngeaix00ud514_NGELEXL1_DEV_App Running 14) ngeaix00ud515_NGELEXL1_DEV_App Running 15) ngeaix00ud516_NGELEXL1_DEV_App Running 16) ngeaix00ud517_NGELEXL1_DEV_App Running 17) ngeaix00ud623_NGELEXL1_DEV_DB Running 18) ngeaix00ud624_NGELEXL1_DEV_DB Running 19) ngeaix00ud625_NGELEXL1_NFS Running 20) ngeaix00ud746_IND_App_JONtst6_PAYG Running 21) ngeaix00ud747_IND_DB_JONtst6_PAYG Running 22) ngeaix00ud774_NGELDEV1_DEV_App Running 23) ngeaix00ud775_NGELDEV1_DEV_App Running 24) ngeaix00ud776_NGELDEV1_DEV_DB Running 25) ngeaix00ud777_NGELDEV1_DEV_App Running 26) ngeaix00ud778_NGELDEV1_DEV_DB Running 27) ngeaix00ud891_STP_OBIEE_App_JONuat1 Running 28) ngeaix00ud892_STP_OBIEE_DB_JONuat1 Running 29) ngeaix00ud935_NGELEXL3_DEV_App Running 30) ngeaix00ud938_NGELEXL3_DEV_DB Running 31) ngeaix00ud969_STP_IND_App_JONtst2 Running 32) ngeaix00ud970_STP_IND_DB_JONtst2 Running 33) ngeaix00ud972_STP_Fusion_DB_JONtst2 Running 34) ngeaix00ud973_STP_OBIEE_App_JONtst2 Running 35) ngeaix00ud974_STP_OBIEE_DB_JONtst2 Running 36) ngeaix00ud978_NGELEXL3_DEV_App Running 37) ngeaix00ud990_NGELEXL3_DEV_DB Running 38) ngeaix00ui208_VIO_Prod_1 Running 39) ngeaix00ui209_VIO_Prod_2 Running 40) ngeaix00ui210_VIO_Nonprod_1 Running 41) ngeaix00ui211_VIO_Nonprod_2 Running 42) ngeaix00ui922_NIM Running 43) ngeaix00ut003_JON_DEV_App_JONTST7 Running 44) ngeaix00ut004_JON_DEV_DB_JONTST7 Running 45) ngeaix00ut018_NGELEXL3_DEV_App Running 46) ngeaix00ut019_NGELEXL3_DEV_DB Running 47) ngeaix00ut022_NGELEXL3_DEV_App Running 48) ngeaix00ut023_NGELEXL3_DEV_DB Running 49) ngeaix00ut080_NGELEXL6_SGG_Fusion_App Running 50) ngeaix00ut081_NGELEXL6_INT_Fusion_App Running 51) ngeaix00ut082_NGELEXL6_MDM_App Running 52) ngeaix00ut083_NGELEXL6_MDMINT_DB Running 53) ngeaix00ut084_NGELEXL6_SGG_DB Running 54) ngeaix00ut085_NGELEXL6_JON_App Running ............. 147) ngeaix00ut517_SMART_ORA_SOFPT3_OUBI_App Running 148) ngeaix00ut518_SMART_ORA_SOFPT3_OUBI_DB Running 149) ngeaix00ut519_NGEL_JONTST6_OUBI_OUBI_APP Running 150) ngeaix00ut520_NGEL_JONTST6_OUBI_OUBI_DB Running 151) ngeaix00ut521_SMART_ORA_SOFTA1_OUBI_APP Running 152) ngeaix00ut522_SMART_ORA_SOFTA1_OUBI_APP Running 153) ngeaix00ut523_SMART_ORA_SOFTA1_OUBI_DB Running 154) ngeaix00ut524_SMART_ORA_SOFTA1_OUBI_DB Running 155) ngeaix00ut525_NGEL_MIP_Fusion_Upgrade_De Running 156) ngeaix00ut526_Test Not Activated 157) ngeaix00ut532_NGEL_Fusion_Upgrade_Dev_Ap Running 158) ngeaix00ut552_NGEL_RETIAL_HARMONY_LMSNON Running 159) ngeaix00ut553_F03SITB_Fusion_Upgrade_FU Running Enter Number of Running Partition (q to quit): 44 44 Opening Virtual Terminal On Partition ngeaix00ut004_JON_DEV_DB_JONTST7 . . . Open in progress Open Completed. IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 1 = SMS Menu 5 = Default Boot List 8 = Open Firmware Prompt 6 = Stored Boot List Memory Keyboard Network Speaker IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM STARTING SOFTWARE IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM PLEASE WAIT... IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM \ Elapsed time since release of system processors: 1421048 mins 12 secs ------------------------------------------------------------------------------- Welcome to AIX. boot image timestamp: 10:19:04 02/23/2021 The current time and date: 12:41:28 03/02/2021 processor count: 2; memory size: 16384MB; kernel size: 36869036 boot device: /vdevice/vfc-client@30000014/disk@21210002ac00c71a:2 ------------------------------------------------------------------------------- Saving Base Customize Data to boot disk Starting the sync daemon Starting the error daemon System initialization completed. TE=OFF CHKEXEC=OFF CHKSHLIB=OFF CHKSCRIPT=OFF CHKKERNEXT=OFF STOP_UNTRUSTD=OFF STOP_ON_CHKFAIL=OFF LOCK_KERN_POLICIES=OFF TSD_FILES_LOCK=OFF TSD_LOCK=OFF TEP=OFF TLP=OFF Successfully updated the Kernel Authorization Table. Successfully updated the Kernel Role Table. Successfully updated the Kernel Command Table. Successfully updated the Kernel Device Table. Successfully updated the Kernel Object Domain Table. Successfully updated the Kernel Domains Table. Successfully updated the Kernel RBAC log level. Successfully updated the Kernel RBAC log level. OPERATIONAL MODE Security Flags ROOT : ENABLED TRACEAUTH : DISABLED System runtime mode is now OPERATIONAL MODE. Setting tunable parameters...complete Starting Multi-user Initialization Performing auto-varyon of Volume Groups Activating all paging spaces swapon: Paging device /dev/hd6 is already active. : /proc is not a known file system The current volume is: /dev/hd4 File system is currently mounted. Primary superblock is valid. fsck: Performing read-only processing does not produce dependable results. *** Phase 1 - Initial inode scan *** Phase 2 - Process remaining directories *** Phase 3 - Process remaining files *** Phase 4 - Check inode allocation map *** Phase 5 - Check block allocation map File system is currently mounted. fsck: Performing read-only processing does not produce dependable results. The current volume is: /dev/hd1 Primary superblock is valid. The current volume is: /dev/hd2 File system is currently mounted. Primary superblock is valid. fsck: Performing read-only processing does not produce dependable results. *** Phase 1 - Initial inode scan *** Phase 2 - Process remaining directories *** Phase 3 - Process remaining files *** Phase 4 - Check inode allocation map *** Phase 5 - Check block allocation map File system is currently mounted. fsck: Performing read-only processing does not produce dependable results. The current volume is: /dev/hd9var File system is currently mounted. Primary superblock is valid. fsck: Performing read-only processing does not produce dependable results. *** Phase 1 - Initial inode scan *** Phase 2 - Process remaining directories *** Phase 3 - Process remaining files *** Phase 4 - Check inode allocation map *** Phase 5 - Check block allocation map File system is currently mounted. fsck: Performing read-only processing does not produce dependable results. The current volume is: /dev/hd3 File system is currently mounted. Primary superblock is valid. fsck: Performing read-only processing does not produce dependable results. *** Phase 1 - Initial inode scan *** Phase 2 - Process remaining directories *** Phase 3 - Process remaining files *** Phase 4 - Check inode allocation map *** Phase 5 - Check block allocation map File system is currently mounted. fsck: Performing read-only processing does not produce dependable results. The current volume is: /dev/hd11admin Primary superblock is valid. The current volume is: /dev/hd10opt Primary superblock is valid. The current volume is: /dev/livedump Primary superblock is valid. The current volume is: /dev/SElv Primary superblock is valid. The current volume is: /dev/twslv Primary superblock is valid. The current volume is: /dev/twsstdlv Primary superblock is valid. The current volume is: /dev/metlv Primary superblock is valid. Performing all automatic mounts Replaying log for /dev/homelv. Replaying log for /dev/datalv. Replaying log for /dev/redoalv. Replaying log for /dev/backlv. Multi-user initialization completed Checking for srcmstr active...complete Starting tcpip daemons: 0513-059 The portmap Subsystem has been started. Subsystem PID is 2097380. 0513-059 The syslogd Subsystem has been started. Subsystem PID is 3080330. 0513-059 The xntpd Subsystem has been started. Subsystem PID is 3211456. Finished starting tcpip daemons. 0513-059 The netcd Subsystem has been started. Subsystem PID is 4456630. rc.filepath Filepath - start loading client driver... Kernel extension /opt/filepath/filepath was succesfully loaded, kmid=a0b2f000 major no:35 devno:0x230000 kmid = -1598885888 (0xa0b2f000) successfully added device 0x230000 (35,0) success loaded mid[a0b2f000] devno[2293760] mknod succeeded for /dev/filepath 0513-059 The hrd Subsystem has been started. Subsystem PID is 2949248. 0513-059 The nimsh Subsystem has been started. Subsystem PID is 2687176. Starting iSCSI target mode service...OK Starting NFS services: Completed NFS services. 0042-008 NIMstate: Request denied - Method_req NGEL Authorised Access Only! Login:0513-059 The ctrmc Subsystem has been started. Subsystem PID is 5111964. Starting ESM... /etc/ssh/sshd_config line 184: Deprecated option UsePrivilegeSeparation Starting ESM network server: [ OK ] NGEL Authorised Access Only! Login: NGEL Authorised Access Only! Login: