User Tools

Site Tools


aix:hmc_cmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:hmc_cmd [2024/02/09 22:07]
manu [list UAK (update access key) on Power 8 and later]
aix:hmc_cmd [2024/03/29 11:49] (current)
manu
Line 10: Line 10:
 </​cli>​ </​cli>​
  
-===== list UAK (update access key) on Power 8 and later ===== 
- 
-You have a firmware expiration date, it me be renew in case of expired 
-<cli prompt='>'>​ 
-hmc@hscroot > lslic -m 9119-MME*???????​ -F mtms,​update_access_key_exp_date 
-9119-MME*???????,​04/​01/​2019 
-</​cli>​ 
- 
-You can enable an automatic renewal, go to **Service Management** -> **Transmit Service Information** and select **Update Access Key Information** with some interval. 
  
 2. Server type, make and serial number do not update, vterm sessions fail to open. 2. Server type, make and serial number do not update, vterm sessions fail to open.
Line 59: Line 50:
 lssyscfg -r sys -F name,​state,​state_detail lssyscfg -r sys -F name,​state,​state_detail
 </​cli>​ </​cli>​
 +
 +
 +===== list UAK (update access key) on Power 8 and later =====
 +
 +You have a firmware expiration date, it me be renew in case of expired
 +<cli prompt='>'>​
 +hmc@hscroot > lslic -m 9119-MME*???????​ -F mtms,​update_access_key_exp_date
 +9119-MME*???????,​04/​01/​2019
 +</​cli>​
 +
 +You can enable an automatic renewal, go to **Service Management** -> **Transmit Service Information** and select **Update Access Key Information** with some interval.
 +
 ===== Basic command for HMC ===== ===== Basic command for HMC =====
  
Line 872: Line 875:
 hscroot@hmc01:​~>​ chhmc -c kerberos -s add --realm <​kerberos_hostname>​ -a <​kerberos_ip>​ hscroot@hmc01:​~>​ chhmc -c kerberos -s add --realm <​kerberos_hostname>​ -a <​kerberos_ip>​
 </​cli>​ </​cli>​
 +
 +==== Led management ====
 +
 +Turn off / on a LED on a server
 +<cli prompt='>'>​
 +hscroot@hmc01:​~>​ lssyscfg -r sys -F name
 +Power10_01_siteA
 +</​cli>​
 +
 +Check to see if the attention LED is active
 +<cli prompt='>'>​
 +hscroot@hmc01:​~>​ lsled -r sa -t phys -m Power10_01_siteA
 +state=on
 +</​cli>​
 +
 +Use the chled command to turn off the system attention LED
 +<cli prompt='>'>​
 +hscroot@hmc01:​~>​ chled -r sa -t phys -m Power10_01_siteA -o off
 +</​cli>​
 +
 +To check the status of system attention LED you can use the lsled
 +<cli prompt='>'>​
 +hscroot@hmc01:​~>​ lsled -r sa -t phys -m Power10_01_siteA ​
 +state=off
 +</​cli>​
 +
 +On partitions:
 +<cli prompt='>'>​
 +hscroot@hmc01:​~>​ lsled -r sa -t virtuallpar -m Power10_01_siteA ​
 +lpar_id=22,​lpar_name=AIXA001,​state=off
 +lpar_id=17,​lpar_name=AIXA002,​state=off
 +lpar_id=13,​lpar_name=AIXA003,​state=off
 +</​cli>​
 +
aix/hmc_cmd.1707512873.txt.gz · Last modified: 2024/02/09 22:07 by manu