SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

hardwaremgmtconsolecommands

Hardware Mgmt Console Commands

This is a not complete overview of commands on a HMC to manage an AIX environment.

HMC Specific

Overview Commands

hscroot3@sys03hmc:~> ls /usr/hmcrbin/
asmmenu     chsyscfg       egrep           lpcfgop     lsmediadev    mkdir            rmlparutil     ssh
basename    chsyspwd       expr            lsaccfg     lsomsec       mkhmcusr         rmprofdata     ssh-keygen
bkconsdata  chsysstate     fgrep           lsavailres  lspartition   mksyscfg         rmsyscfg       startdump
bkprofdata  chusrtca       getdump         lscod       lspwrmgmt     mksysconn        rmsysconn      su
chaccfg     chvet          getfile         lscuod      lsrefcode     mksysplan        rmsysplan      sum
chcod       clear          getopt          lsdump      lssacfg       mkvterm          rmsysplanres   tail
chcuod      cp             getriotopology  lsfru       lssvcevents   monhmc           rmvterm        updhmc
chhmc       cpdump         getupgfiles     lshmc       lssyscfg      nmon_x86_sles10  rnvi           updlic
chhmcfs     cpsysplan      grep            lshmcfs     lssysconn     oemhmc           rsMMRioServer  utilcollect
chhmcldap   csmlicutil     head            lshmcldap   lssysplan     osinstall        rsthwres       utilhmcevent
chhmcusr    cut            hmcshutdown     lshmcusr    lssysplanres  OS_install       rstprofdata    utilpurge
chhwres     defsysplanres  hmcwin          lshsc       lsusrtca      pedbg            rstupgdata     utilsnapmoni
chkmedia    deploysysplan  host            lshwinfo    lsvet         pesh             runlpcmd       viosvrcmd
chled       diagrmc        installios      lshwres     man           rm               saveupgdata    vtmenu
chlparutil  diff           ldapsearch      lsled       migrcfg       rmaccfg          scp            which
chomsec     dircolors      less            lslic       migrlpar      rmdir            sed            who
chpwrmgmt   dlslic         locale          lslock      migrremote    rmfile           sendfile       whoami
chsacfg     du             logssh          lslparmigr  mkaccfg       rmhmcusr         setkeyoncec
chsvcevent  dump           lpar_netboot    lslparutil  mkauthkeys    rmlock           setlparcap
hscroot3@sys03hmc:~> ls /hmcrbin/
cat  date  ls  mount  netstat  ping  ping6  sleep  sort  umount  uname

HMC version

hscroot3@sys03hmc:~> lshmc -V
"version= Version: 7
 Release: 3.3.0
 Service Pack: 1
HMC Build level 20080518.1
MH01105: V7R3.3.0 Service Pack (05-18-2008)
","base_version=V7R3.3.0
"

Managed System Information and Operations

State of Managed Systems

hscroot3@sys03hmc:~> lssyscfg -r sys -m sys034 -F name,state --header
name,state
sys034,Operating
hscroot3@sys03hmc:~> lssyscfg -r sys -F name,state --header
name,state
sys034,Operating
sys036,Operating

IP Addresses of Managed Systems

hscroot3@sys03hmc:~> lssyscfg -r sys -F name,ipaddr --header
name,ipaddr
sys034,192.168.255.254
sys036,192.168.254.255

LPAR Information and Operations

Overview Memory in Use By LPARs

hscroot3@sys03hmc:~> lshwres -m sys034 -r mem --level lpar -F lpar_name,curr_mem --header
lpar_name,curr_mem
sys034_partition6,640
sys034_partition2,640
LPAR4,640
LPAR3,640
LPAR5,640

Overview Number of Processors in Use By LPARs

hscroot3@sys03hmc:~> lshwres -m sys034 -r proc --level lpar -F lpar_name,curr_procs --header
lpar_name,curr_procs
sys034_partition6,1
sys034_partition2,1
LPAR4,1
LPAR3,1
LPAR5,1

Start a LPAR

hscroot3@sys03hmc:~> chsysstate -m sys034 -r lpar -o on -f old_default -n LPAR3

Start the lpar LPAR3 with the non-default profile old_default on managed system sys034

Stop a LPAR

hscroot3@sys03hmc:~> chsysstate -m sys034 -r lpar -o osshutdown -n LPAR3

Miscellaneous

  • export TERM=ansi
    • Zet de input zodanig dat bijvoorbeeld een manpage blijft staan zodra je q intikt
You could leave a comment if you were logged in.
hardwaremgmtconsolecommands.txt · Last modified: 2021/09/24 00:24 (external edit)