The text of a manual · part 5 of 10
6224 Session Manager Reference Guide: Chapter 3 Software Configuration, pages 36 to 44
Pages 36 to 44 of 78, from 6224 Session Manager Reference Guide
The original document is the PDF (1.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the LXE 6224
Page 36
26
Initial Setup
Exit Change/Edit Procedure Repeatedly press the [Enter] key until the LXE-> shell prompt is once again displayed. The PC display should look similar to the following: ‘.’ = clear field;
‘_’ = go to previous field;
^D = quit boot device : nce processor number : 0 host name : nc file name : flash inet on ethernet (e) : 141.186.50.10 150.22.14.31:0xffffff00 inet on backplane (b) : host inet (h) : gateway inet (g) : user (u) ftp password (pw) (blank = use rsh): lxe302 flags (f) : 0x800 target name (tn) : startup script (s) : other (o) : LXE-> _ The line labeled other might contain additional data. If so, just leave it as is. At this point, with the LXE-> shell prompt displayed enter 'u' (without the quote marks). When the LXE prompt returns, enter 'v' (without the quote marks). When the LXE prompt returns press the [CTRL] and [X] keys simultaneously. The LXE shell closes and the 6224 Session Manager boot process continues, using the values you entered at the prompts. The parameter values are automatically saved to battery backed RAM. As the different boot routines are being run, lines of text appear on the PC display indicating the successful or unsuccessful execution of each. When the boot process is finished, the PC display should contain the following: SessMgr hostModInit ( ): SUCCESSFUL ->_ All other setup procedures are conducted at the 6224 operating system shell prompt -> (see “Commands and Functions”). All of the remaining setup parameters can be configured using either the “local” method or the remote Telnet method.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 37
Initial Setup
27
Local (Dumb Terminal) Configuration Method The “local” configuration method can be used to configure any/all setup parameters for the 6224. This method is conducted using a dumb terminal connected to the “console” connector at the rear panel of the 6224 via a null modem cable (or equivalent). It is the only method that can be used to configure the IP address, subnet mask, gateway (router) address, and flags value for the 6224. All other parameters are set/modified at the operating system prompt (->) using either the local or remote Telnet configuration method. Regardless of the method used, if the operating system prompt is not displayed on the configuration PC the [Enter] key should be pressed. For setup commands, see “Commands and Functions” on following pages.
Remote Telnet Configuration Method See Chapter 4 “Opening a Telnet Session” for Telnet login instruction. Note:
New or initial setup 6224 hardware does not contain a valid IP address. Telnet connection to an LXE 6224 requires a valid IP address. Thus, the initial setup must be performed using the local method (PC connection). Refer to “Initial Setup Procedure” earlier in this guide.
When setup is performed remotely using Telnet, use the Telnet open command to open a session to the IP address of the 6224 Session Manager. When accessing the set-up parameters via Telnet, it is not necessary to specify a port number in the open command since the “well known” port (23, the Telnet “listen” port) is used by default. When a Telnet session is successfully opened the 6224 operating system prompt -> (hyphen greater than) appears on the display of the Telnet computer. The following commands are entered at that prompt. Note:
When you are finished configuring the 6224 via Telnet, make certain that you close (disconnect) the Telnet connection. The connection can be closed by typing the following command at the operating system shell prompt: logout
For setup commands, see “Commands and Functions” on the following pages.
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 38
28
Commands and Functions
Commands and Functions Note:
When working with a 6224 in an ANSI or LDS system, the on-screen text displayed for each terminal's address is "secondary ID". When working with a 6224 in an IBM system, the on-screen text displayed for each terminal's address is "IP address".
Quick List Note:
In the Commands and Functions that follow the word “Terminal”, abbreviated “Term”, is used when referring to the RF Personal Computers (PC's).
A = ANSI I = IBM L = LDS
Command
Process
A/I/L bootParms
Part of the 6224 Operating System command set.
A/I closeAllTerms
Delete all RF PCs from the PC list and close their sessions
A/I closeTerm
Remove a PC from the PC list and close its session
A clrAllAlogin
Clear all auto login scripts for all PCs
A clrAlogin
Clear an auto login script for a PC
A/I clrHostNames
Clear entire host name table
L ldshelp ldshelp displays help list (parameters 5 or 6)
A/I removeAllTerms
Remove all PCs from the list of specific PCs (does not close session)
A/I removeTerm
Remove a PC from the list of specific PCs
A/I/L saveSetup
Save the 6224 setup parameter values
A setAlogin
Setting auto login scripts for RF PCs
A setAutologinTimeout
Set auto login timeout
A/I setDefaultHost
Set the default host IP address and port number
A/I setDefaultSess
Set the default sessions
A/I setDefaultWdog
Turn On/Off watchdog feature
L setHostIP
Host IP address in dot notation inside quotes
L setHostMode
Set host as the server or the client.
A/I setHostName
Set host name (alias) vs. IP address
L setHostPort
Port number for connecting to the LDS host.
L setHostTBR
Time between retries in seconds.
A setMultSess
Allow multiple sessions from the same physical PC
A/I setSessmgrPort
Set the session manager “listen” port number
A/I setTermHost
Set a specific PC - host
L setTermPort
Sets the TCP port number for LDS connection from
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 39
Commands and Functions
A = ANSI I = IBM L = LDS
Command
29
Process computers.
A/I setTermSess
Set a specific PC session management
A/I setTermWdog
Turn On/Off watchdog on individual basis
A/I/L setWdogDelay
Specify initial delay time to first watchdog ping
L setWdogEnable
Set the watchdog on or off.
A/I/L setWdogInterval
Specify the watchdog interval in seconds
A/I/L setWdogRetries
Number of retries to connection before socket close and session termination
A/I showHosts
Display current entries in host table
L showHostSetup
Display current LDS host parameter values
A/I/L showSetup
Display all 6224 setup parameter values
A/I showTerm
Display information about a particular PC
L showTermByIP
Display information about a particular LDS PC
L showTermByTID
Display information about a particular LDS PC
A/I/L showUsers
Display information about all PCs known to the 6224
A/I smHelp
Display a help screen listing all session manager shell commands
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 40
30
Commands and Functions
Commands bootParms 6224 Operating System Command This OS command is described in the on-screen help that is displayed when the command is entered without parameters. This command can be used to remotely administer the 6224 after a Telnet connection to the 6224 has been made. Use this command to cause a reboot of the 6224 when access to the 6224's power switch is unavailable. This command is part of the 6200/6224 remote configuration command set. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for this command is as follows: bootParms 3 (3 causes a reboot without reloading the OS) Note:
This command is usually coupled with the saveSetup command -- which stores parameter changes in non-volatile memory-- and after a reboot or power cycle, the changes are then in effect.
closeAllTerms Both ANSI and IBM This command will delete all RF PCs from the system and send closes to all open sockets. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. There are no spaces in this command. The syntax for this command is as follows (there are no arguments with this command): closeAllTerms IBM Specific In the IBM applications, closeAllTerms causes the connection to the host to be severed. It also causes the PC to shut down its current IBM session. If all terminals are still powered on and not at the DOS prompt, each terminal will reestablish a new connection with the host without operator intervention. If all terminals are powered down or at the DOS prompt, terminal reconnection is not possible without operator intervention.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 41
Commands and Functions
31 closeTerm Both ANSI and IBM This command is similar to closeUser above except that it takes the RF PC IP address as a parameter. The PC's IP address is often more readily known than the RF PC’s tty number (user ID). This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for this command is as follows (note the space following the word Term): ANSI: closeTerm 0xnnnn IBM:
closeTerm "xxx.xxx.xxx.xxx"
Where ANSI : 0xnnn is replaced by the secondary ID in hex notation. IBM : xxx.xxx.xxx.xxx is replaced by the IP address in quotes of the PC you wish to “wipe.” Following is an example which wipes RF PC 141.186.28.84 (or 0009) from the system: ANSI: closeTerm 0x0009 IBM:
closeTerm "141.186.28.84"
IBM Specific In the IBM applications, closeTerm causes the connection to the host to be severed. It also causes the PC to shut down its current IBM session. If the terminal is still powered on and is not at the DOS prompt, it will reestablish a new connection with the host without operator intervention. If the terminal is powered down or at the DOS prompt, reconnection is not possible without operator intervention.
clrAllAlogin ANSI only This function allows the removal of all auto login scripts for all RF PCs. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for this command is as follows (there are no arguments): clrAllAlogin
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 42
32
Commands and Functions clrAlogin ANSI only This function allows the removal of the auto login scripts for a particular RF PC. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for this command is as follows (note the space after the word Alogin): clrAlogin xxxxxx Where xxxxxx is replaced with the secondary ID in hexadecimal notation (i.e., 0x0045) of the desired RF PC.
clrHostNames Both ANSI and IBM Use of this parameter clears (removes) all entries in the host name table. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: clrHostNames There are no arguments for use with this command. There are no spaces in this command.
ldshelp LDS Only (See smHelp for ANSI and IBM help) Typing the following at the shell prompt displays a list of LDS manager shell commands: --> ldshelp press [Enter]
Typing ldshelp 6 (note the space before 6) at the shell prompt displays a list of the LDS manager shell commands and their command parameter help. Typing ldshelp 5 (note the space before 5) at the shell prompt displays a list of the LDS manager shell commands and their descriptions: --> ldshelp 5 press [Enter]
After pressing [Enter] the help information scrolls on the screen display. The help listing can be redirected to a file with a greater than symbol ( > ), for example: --> ldshelp 5 > lds5help.txt press [Enter]
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 43
Commands and Functions
33 removeAllTerms Both ANSI and IBM This function removes all RF PCs from the list of specific PCs. It also removes the host IP addresses that were associated with each of the PCs in the list and the individual session management flags. Any existing sessions are not closed. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows (there are no arguments (parameters) and no spaces): removeAllTerms removeTerm Both ANSI and IBM This function is used to remove a particular RF PC from the list of specific PCs. This action results in that PC reverting to the default host. Any existing sessions are not closed. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows (note the space following the word Term): ANSI: removeTerm 0xnnnn IBM:
removeTerm "xxx.xxx.xxx.xxx"
Where: ANSI : 0xnnnn is replaced with the secondary ID of the specific RF PC in hex notation. IBM : xxx.xxx.xxx.xxx is replaced with the IP address of the specific RF PC in quotes. Following is an example of this command: ANSI: removeTerm 0x0012 IBM:
E-SW-6224RG-F-ARC removeTerm "141.186.24.81"
6224 Session Manager Reference Guide
Page 44
34
Commands and Functions saveSetup IBM, ANSI and LDS Note:
Changes to several parameters can be handled with one call to saveSetup followed by a reboot. The lithium backup battery in the 6224 should be tested periodically and replaced when necessary.
This function saves all setup parameter values to battery backed RAM. This ensures that parameter values are not lost through a power cycle. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. There are no spaces in this command. The syntax for this command is as follows: saveSetup setAlogin ANSI only Each RF PC can have a set of auto login scripts programmed into the 6224. These scripts enable the 6224 to automatically login each PC to their respective host. One process of connecting a PC to a host entails the PC logging into the 6224 and the 6224 logging that PC onto a host. Up to three lines of script can be programmed into the 6224 for each PC. If an auto login script is not programmed into the 6224 for any given PC, the 6224 will pass the host prompts to the RF PC. In that case, the RF PC operator must type and send the required responses back to the host. In the 6224, each line of the login script is composed of a prompt that a host normally sends to a PC and the response that is normally returned by the PC operator to the host. When the login script is programmed in the 6224 Session Manager, it is the 6224 that receives the prompts from the host and returns the pre-programmed responses back to the host on the PC’s behalf. The syntax for each line of login script must contain the secondary ID of the RF PC. Each line of the script (0, 1, or 2) must contain the prompt expected from the host, and the response the 6224 must return in answer to the prompt. These commands must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for the first line of an auto login script is as follows (note the quotation marks and commas also note the space after the word Alogin): setAlogin xxxxxx,0,"yyyyy","zzzzz" Where: The xxxxxx is replaced with the secondary ID of the RF PC in hexadecimal notation (i.e., 0x0045). The 0 (zero) indicates this is the first line of the script The yyyyy is replaced with the first prompt that is expected from the host. The zzzzz is replaced with the response that the 6224 must return to the host in answer to the prompt that was received. The syntax for the second line of an auto login script is as follows (note the quotation marks and commas also note the space after the word Alogin):
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC