Comandos basicos a serem utilizados na HMC para abertura de console Unix (Linux ou AIX) via SSH.
Comandos vtmenu e o rmvterm
Exemplos
Abrir Remote Console
Comando: vtmenu
# vtmenu Retrieving name of managed system(s) . . .
Server-TYPE-MODEL-SERIALNUMBER 2-Server-TYPE-MODEL-SERIALNUMBER
---------------------------------------------------------- Managed
Systems: ---------------------------------------------------------- 1)
Server-TYPE-MODEL-SERIALNUMBER 2) 2-Server-TYPE-MODEL-SERIALNUMBER Enter
Number of Managed System. (q to quit): 2
---------------------------------------------------------- Partitions On
Managed System: 2-Server-TYPE-MODEL-SERIALNUMBER OS/400 Partitions not
listed ---------------------------------------------------------- 1)
server01 Running 2) server02 Running 3) server03 Running 4) server04
Running 5) server05 Running Enter Number of Running Partition (q to
quit): 4 Opening Virtual Terminal On Partition server04 . . . Open in
progress.. Open in progress Open Completed. AIX Version 5 (C) Copyrights
by IBM and by others 1982, 2006. Console login:
Caso a console esteja ocupada é possível matar
Exemplo:
Enter Number of Running Partition (q to quit): 4 Opening Virtual
Terminal On Partition server04 . . .Open in progress..A terminal session
is already open for this partition. Only one open session is allowed for
a partition. Exiting.... Received end of file, Exiting.
Hit To Continue, q to quit: q
Bye.
Comando: rmvterm
rmvterm -m 2-Server-TYPE-MODEL-SERIALNUMBER -p server04 Sending Force
close..
Sair da console
Digite "~" e em seguido "."
AIX Version 5 (C) Copyrights by IBM and by others 1982, 2006. Console
login:Terminate session? [y/n] ~Hit To Continue, q to quit: q Bye.
Mais: http://www-941.ibm.com/collaboration/wiki/display/LinuxP/HMC+command+line
Comments !