Under Construction

hmc mksysconn

The command “hmc mksysconn” can be used to set up a connection to a managed system, or alternatively to delete the list of IP addresses that are not automatically detected.

For managed systems with a statically configured IP address, the command “hmc mksysconn” can be used to establish a connection between the HMC and the managed system. To do this, the static IP address must be specified in addition to the HMC:

$ hmc mksysconn hmc03 10.0.128.2
Enter the management console access password for the system: XXXXXXXX
Shared connection to hmc03 closed.
state is 'No Connection' waiting for connection (17 trials remaining)
state is 'No Connection' waiting for connection (16 trials remaining)
state is 'No Connection' waiting for connection (15 trials remaining)
   ms01(07G6G7R) - 'Operating'
    > ms01-vio2
    > ms01-vio1
$

The password required for authentication can be entered interactively (preferred) or specified using the “-p” option:

$ hmc mksysconn -p XXXXXXXX hmc03 10.0.128.2
Shared connection to hmc03 closed.
state is 'No Connection' waiting for connection (17 trials remaining)
state is 'No Connection' waiting for connection (16 trials remaining)
state is 'No Connection' waiting for connection (15 trials remaining)
   ms01(07G6G7R) - 'Operating'
    > ms01-vio2
    > ms01-vio1
$

After a short time, the managed system with the specified IP address should be in the “Connected” state. This can be checked with the command “hmc lssysconn”:

$ hmc lssysconn hmc03
                             RESOURCE                                 
MTMS              STATE      TYPE      IPADDR      ALT_IPADDR   SP       SP_TYPE  SP_PHYS_LOC

9009-22A*8927C71  Connected  sys       10.0.128.2  unavailable  primary  -        U78AA.001.WZS13LD-P1

$

For managed systems that are DHCP clients of the HMC, the keyword “auto” must be used instead of an IP address:

$ hmc mksysconn hmc03 auto$

All IP addresses are then removed from the list of IP addresses that are not automatically recognized (similar to “hmc rediscoversysconn“, which only removes one IP address). Managed systems with a DHCP IP address from this list are then automatically recognized again and should be displayed via “hmc lssysconn” a short time later. Typically, these are then in the “Failed Authentication” state.