AIX HMC TipSheet
AIX HMC TipSheet
AIX HMC TipSheet
HMC Commands
lshmc n lssyscfg r sys F name,ipaddr lssysconn r sys lssysconn r all rmsysconn o remove ip <ipaddr from lssysconn list> mkvterm m {msys} p {lpar} rmvterm m {msys} p {lpar} (lists dynamic IP addresses served by HMC) (lists managed system attributes) (lists attributes of managed systems) (lists all known managed systems with attributes) (removes a managed system from the HMC) (opens a command line vterm from an ssh session) (closes an open vterm for a partition)
Activate a partition chsysstate m managedsysname r lpar o on n partitionname f profilename b normal chsysstate m managedsysname r lpar o on n partitionname f profilename b sms Shutdown a partition chsysstate m managedsysname r lpar o {shutdown/ossshutdown} n partitionname [-immed][-restart]
Create Shared Ethernet Adapter (SEA) on VIO Server mkvdev sea{physical adapt} vadapter {virtual eth adapt} default {dflt virtual adapt} defaultid {dflt vlan ID} SEA Failover ent0 GigE adapter ent1 Virt Eth VLAN1 (Defined with a priority in the partition profile) ent2 Virt Eth VLAN 99 (Control) mkvdev sea ent0 vadapter ent1 default ent1 defaultid 1 attr ha_mode=auto ctl_chan=ent2 (Creates ent3 as the Shared Ethernet Adapter) Create Virtual Storage Device Mapping mkvdev vdev {LV or hdisk} vadapter {vhost adapt} dev {virt dev name} Sharing a Single SAN LUN from Two VIO Servers to a Single VIO Client LPAR hdisk = SAN LUN (on vioa server) hdisk4 = SAN LUN (on viob, same LUN as vioa) chdev dev hdisk3 attr reserve_policy=no_reserve (from vioa to prevent a reserve on the disk) chdev dev hdisk4 attr reserve_policy=no_reserve (from viob to prevent a reserve on the disk) mkvdev vdev hdisk3 vadapter vhost0 dev hdisk3_v (from vioa) mkvdev vdev hdisk4 vadapter vhost0 dev hdisk4_v (from viob) VIO Client would see a single LUN with two paths. spath l hdiskx (where hdiskx is the newly discovered disk) This will show two paths, one down vscsi0 and the other down vscsi1.
Useful Links 1. Lparmon www.alphaworks.ibm.com/tech/lparmon 2. Nmon www.ibm.com/collaboration/wiki/display/WikiPtype/nmon 3. Nmon Analyser www-941.ibm.com/collaboration/wiki/display/WikiPtype/nmonanalyser 4. vmo, ioo, vmstat, lvmo and other AIX commands http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.doc/doc/base/commandsreference.htm