This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
aix:hmc_cmd [2023/11/22 13:53] manu [Add/remove an adapter on LPAR/VIOS] |
aix:hmc_cmd [2024/03/29 11:49] (current) manu |
||
---|---|---|---|
Line 9: | Line 9: | ||
hmc@hscroot > mksysconn -o auto | hmc@hscroot > mksysconn -o auto | ||
</cli> | </cli> | ||
+ | |||
+ | |||
+ | 2. Server type, make and serial number do not update, vterm sessions fail to open. | ||
+ | Ensure you know the BMC admin password (Login to ASM). | ||
+ | Remove the connection: | ||
+ | <cli prompt='#'> | ||
+ | # rmsysconn -m <server name as shown in lssysconn -r all> -o r | ||
+ | </cli> | ||
+ | Add the connection back. | ||
+ | If the connection is DHCP private network: | ||
+ | <cli prompt='#'> | ||
+ | # mksysconn -o auto | ||
+ | </cli> | ||
+ | Wait a few minutes, re-enter the password when prompted. | ||
+ | If the connection is static: | ||
+ | <cli prompt='#'> | ||
+ | # mksysconn --ip <bmc ip> -u admin --passwd <admin password> | ||
+ | </cli> | ||
+ | Wait several minutes for the VMI IP address to be discovered. | ||
+ | |||
+ | 3. System toggles from “Pending Authentication” to “No connection” and showing Password expired 0806-0000-00000000. This is because the default user ID is admin and the default password is admin (the password is set to expired). | ||
+ | Set the ID and password that your HMC will use to authenticate and manage the system. This is the same ID and password that you will use to access the ASMI. To set the system password, select the BMC, then select Actions > Update System Password. | ||
+ | Helpful commands | ||
+ | |||
+ | The lssysconn command will list both the eBMC and VMI IP addresses and connection states. Each server must have a valid IP address for both. The VMI address must show connected when the server is standby or operating. | ||
+ | <cli prompt='#'> | ||
+ | # lssysconn -r all | ||
+ | resource_type=sys,type_model_serial_num=9105-42A*13BEA00,sp_type=ebmc,ipaddr=192.168.128.215,user_name=admin,alt_ipaddr=unavailable,state=Connected,vmi_ipaddr=192.168.128.216,vmi_state=Connected | ||
+ | </cli> | ||
+ | |||
+ | To check the vmi configuration: | ||
+ | <cli prompt='#'> | ||
+ | # lssysconn -r vmi -m <server name> | ||
+ | resource_type=vmi,type_model_serial_num=9105-42A*13BEA00,interface=eth1,ipv4addr=10.254.0.33,gateway=0.0.0.0,net_mask=255.255.255.0,ipv4addr_orig=dhcp | ||
+ | resource_type=vmi,type_model_serial_num=9105-42A*13BEA00,interface=eth0,ipv4addr=9.1.1.9,gateway=9.1.1.1,net_mask=255.255.255.0,ipv4addr_orig=dhcp | ||
+ | </cli> | ||
+ | |||
+ | To check for configuration errors: | ||
+ | <cli prompt='#'> | ||
+ | lssyscfg -r sys -F name,state,state_detail | ||
+ | </cli> | ||
+ | |||
===== list UAK (update access key) on Power 8 and later ===== | ===== list UAK (update access key) on Power 8 and later ===== | ||
Line 833: | 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> | ||
+ |