Changing the console by using the HMC with the logical partition powered on

After making all of the necessary hardware changes, use this information to change the console with the logical partition powered on. This procedure does not require an initial program load (IPL).

The following procedure contains examples within the steps to help you change a console. In these examples, the system named sysname with logical partition identification number 1 is changing from the HMC to Operations Console (LAN) using an embedded Ethernet port. These are variables for your actual system name and logical partition ID number. In the following instructions, replace sysname with your system name and replace 1 with your logical partition identification number.

To change a console without powering off the logical partition, complete the following steps:

  1. Select one of the following navigation options depending on the interface type of the HMC :
    • If you are using an HMC Classic or HMC Enhanced interface, complete the following steps:
      1. In the navigation area, click Systems Management > Servers.
      2. Select the managed system.
      3. In the contents area, select the logical partition for which you want to change the console and click Manage in the tasks pane. The Manage window for the partition opens.
    • If you are using an HMC Enhanced + Tech Preview (Pre-GA) or HMC Enhanced+ interface, complete the following steps:
      1. In the navigation area, click the Resources icon Resources icon, and then click All Servers.
      2. Select the managed system.
      3. Select the logical partition for which you want to change the console.
      4. Click Actions > View Partition Properties.
  2. In the Properties pane, click Advanced.
  3. Click Tagged I/O Settings. The Tagged I/O Device Details window opens.
  4. From the Consoles list, select the console that you want to change to.
  5. Search for the console device by doing the following sequence of console service functions against the logical partition: 65+21+21. Do this sequence of three console service functions within 45 seconds for each function to start a new search for the console device.
    1. To perform function 65 (remote DST off), type the following:
      chsysstate -m sysname -r lpar --id 1 -o remotedstoff
    2. To perform function 21 (force DST), type the following:
      chsysstate -m sysname -r lpar --id 1 -o dston
    3. Complete step 5.b again.
  6. Try to connect with the newly selected console device, and monitor the system reference codes (SRCs) for the logical partition. It can take up to 3 minutes for the console adapter change to be completed.
    Note: To monitor the SRCs for the logical partition, type the following to list the last 10 SRCs:
    lsrefcode -m sysname -r lpar -n 10 --filter "lpar_ids=1" 
    SRCs are listed in order from newest to oldest. To list a different number, replace 10 in the command with the number of SRCs that you want returned.
  7. Update the logical partition profile on the HMC to match the dynamic console change:
    1. In the navigation area, click Systems Management > Servers.
    2. In the navigation area, select the managed system.
    3. In the contents area, select the logical partition that you want to change.
    4. Use one of the following navigation options depending on the version of HMC:
      • If you are using an HMC Classic or HMC Enhanced interface, click Tasks > Configuration > Manage Profiles.
      • If you are using an HMC Enhanced + Tech Preview (Pre-GA) or HMC Enhanced+ interface, click Actions > Profiles > Manage Profiles.
    5. Select the logical partition profile that you want to change.
    6. Click Actions > Edit.
    7. Click Tagged I/O, and then click Select in the Console area.
    8. Select the resource if it is an IOA, or switch from I/O device to Logical Port to use a host Ethernet adapter logical port.
    9. Click OK.
    10. Click OK > Close.



Last updated: Tue, February 17, 2015