The emergency console recovery functions and their uses
This function-set should be used only in circumstances where an unexpected console failure has occurred and there are no other workstations available for recovery or debugging. Improper use may result in the inability to use the intended console. Any hardware allocations or configurations will have to be accomplished before using the console service functions (65+21). For example, if you are using a shared IOP in an LPAR environment you can deallocate and allocate the resource from one partition to another, if your hardware supports this method.
The console service functions (65+21) are standard control panel functions. They can be entered at the physical control panel, any of the remote control panel connectivity types providing a graphical user interface in Operations Console or using the LPAR menus on a primary partition. Since the first function is a 65, which is the deactivation of the communications line used by the local console directly attached, you may see the status of a connection using a serial cable go to Connecting console.
The following functions are available using the console service functions (65+21):
You can use the console service functions (65+21) to change the console mode from its current value to another. For example, you ordered your server with Operations Console LAN but you are having trouble getting it to work. Since you should have received the console cable for a direct attached console you would like to change the value from a 3 (LAN) to a 2 (direct).
This option allows you to disassociate the current LAN adapter used for Operations Console. You might use this option to overcome a mistake in the configuration. For example, you didn't see a keying error and you entered in another device's IP address. At connect time the client configured the server's LAN adapter for use by the console but the console fails to connect because the other device is active. This option would clear the server's network data for the console and allow you to delete the client's configuration and start over, allowing BOOTP to work again. See Prepare for your network environment for more information about BOOTP.
Depending on your intent to clear the LAN adapter configuration you might also want to stop and restart the LAN adapter. The example here would benefit from following the clear function with a deactivate and activate (A3) function to save time from having to do an IPL.
This option will allow you to reset the LAN adapter used by Operations Console in the event some network issue caused the server to get into a bad state and the console won't become active. This will force the LAN adapter to deactivate, and then start back up again. This may clear up the problem providing the original problem that caused the connection failure has been corrected.
This option may be used in place of an IPL for some circumstances, such as after a clear of the LAN adapter configuration.
This option will allow you to capture valuable debug information regarding a console connection failure for support personnel. This method is less intrusive than performing a main storage dump which would force an IPL. By using the console service functions (65+21) an attempt is made to gather all the flight recorder logs from the many parts of the code used by Operations Console. A set of vlogs is created for major code 4A00 and minor code 0500. These vlogs can then be sent to your service provider for analysis.
The following is an overview of how this function works:
A function 65 is performed from one of the input methods. You have approximately 45 seconds to enter a function 21 for the system to pair the two functions together. If not, the function 21 is a force of DST to the console. Depending on the state of the current IPL you may or may not see a change at the console, assuming the console is still present after the 65. If the 65 and 21 are entered in less than 45 seconds a System Reference Code (SRC) of A6nn500A should appear on the control panel. The value of nn is dependent upon the console type currently being used, 01 thru 03. Repeating the 65 and 21 puts the system into an edit mode in which you can make a change or cause an action to be performed. After the second 65+21 pair is entered, the control panel will respond with the SRC of A6nn500B to indicate you are in edit mode. Each repeated 65+21 within edit mode will increment nn of the SRC until you reach the value representing what action you intend to perform. At this time you enter just a single 21 which will cause the selected function to be performed. The SRC should then become A6nn500C to indicate the function was successfully submitted. If at any time you exceed 45 seconds between the 65 and 21 or between succeeding 21s, SRC A6nn500D may be presented indicating a timeout condition and the system is no longer in edit mode. If you were intending to make a change you will need to restart the operations. This SRC will be reset in approximately 3 minutes. You can cancel out of edit mode by doing a function 66. The function 66 does not have to complete successfully.
The following codes will allow you to track your progress:
A6nn 500x
Where nn means:
00 = No console defined
01 = Twinax console
02 = Direct attached Operations Console
03 = LAN Operations Console
C3 = Clear LAN configuration
A3 = Deactivate followed by an activate of the LAN Operations Console adapter
DD = Dump all console related flight recorder into a set of vlogs
Where x means:
An example of a console change would be:
65 - 21 = A601 500A You are in display mode and the console mode is 01
65 - 21 = A602 500B You entered edit mode and incremented the counter
65 - 21 = A603 500B You incremented the counter again
21 = A603 500C You invoked the action (set the console mode to 03)
If the LAN adapter already had a valid configuration, for example you previously configured the LAN adapter for use with the service tool server, then you would be ready to create a local console on a network configuration on the client, if one didn't already exist. You could then power off the twinaxial device and connect the Operations Console LAN configuration.