IBM s/390 manual

Page 28

￿You can emulate a S/390 with a number of CPUs. This number cannot exceed the number of PC processors licensed for S/390 emulation. With the ThinkPad/EFS system we are describing, this means that only a single-processor S/390 can be emulated.

￿The emulated S/390 can use LAN adapter(s) on the ThinkPad. OS/390 TCP/IP can run this way. A single ThinkPad LAN adapter can be used both by the OS/390 TCP/IP and by

Linux TCP/IP. This differs from FLEX-ES under UnixWare, where a LAN adapter may not be shared by a S/390 TCP/IP and UnixWare.3

￿The FLEX-ES Terminal Solicitor is a Linux process. It provides a TN3270 server function and listens (by default) on port 24 of Linux’s TCP/IP. An external user can connect a TN3270 client to the Terminal Solicitor. The Terminal Solicitor and the FLEX-ES emulation process will then transform the TN3270 protocol so that it appears to be a local, non-SNA 3270 to the emulated S/390. This is the normal way to connect MVS consoles, TSO

terminals, CICS terminals, and so forth. There is no particular limit to the number of terminals that can be connected this way.4 Each one must have appropriate VTAM definitions for a local 3270, of course.

￿If a LAN adapter is connected to OS/390 TCP/IP, then TSO terminals may connect this way. If OS/390 TCP/IP and UNIX System Services are configured for it, ASCII telnet sessions can also use this connection. The Terminal Solicitor is not involved in these connections. The two LAN interfaces would have separate IP addresses, of course, even though they may share a common LAN adapter.

￿The illustration shows a single emulated S/390. It is possible to emulate several S/390s at the same time.5 The PC processor(s) licensed for S/390 emulation will be dispatched among the several emulated S/390s. Only one Terminal Solicitor would be used; it can be shared by all emulated S/390s. The multiple emulated S/390s are known as multiple instances of FLEX-ES S/390 emulation. Multiple S/390 instances of OS/390 are probably not very practical with a ThinkPad/EFS system, due to limited ThinkPad memory and due to there being a single ThinkPad processor that must be shared among all the S/390 instances plus Linux. However, multiple VSE/ESA or VM/ESA systems might be practical on a ThinkPad/EFS machine.

￿While it is not apparent in the illustration, the amount of real PC memory available is a key performance factor. The performance of an emulated S/390 degrades quickly if Linux performs much paging (especially if the paging is triggered by FLEX-ES processes or if the memory being paged is used by FLEX-ES to emulate S/390 real memory). The recommended paging level for Linux is zero once steady-state S/390 emulation is running, and should seldom rise to more than one page per second. OS/390 paging (in the emulated S/390) might be much higher than this, with no ill effects. Do not confuse Linux paging with OS/390 paging. The amount of real ThinkPad memory available is a key factor in setting the size of the emulated S/390 machine memory and in deciding whether to use multiple S/390 instances.

￿The terminal shown in the figure is usually the ThinkPad display and keyboard. The typical ThinkPad/EFS usage would be through X Windows. In this mode, several windows can be open. Some of these might be x3270 sessions (TN3270 clients) connected to OS/390 through the Terminal Solicitor; one of these sessions might be the MVS master console. Another window might have FLEX-ES command line interface (CLI) prompts used to control FLEX-ES operation. CLI commands are used to IPL a S/390 operating system, for example.

3It also differs from P/390-based machines and the MP3000, none of which permit sharing of LAN adapters by multiple TCP/IP stacks.

4There is an overall FLEX-ES limitation of 2048 emulated devices, but a ThinkPad/EFS system is unlikely to approach this limit.

5A different FLEX-ES license is not required for this. The FLEX-ES license indicates how many Server processors may be used for S/390 operation, but does not limit how many instances of S/390s you can run.

18S/390 PID: ThinkPad Enabled for S/390

Image 28
Contents ThinkPad Enabled for S/390 Bill OgdenPage International Technical Support Organization First Edition October Contents Shutting down Index Vi S/390 PID ThinkPad Enabled for S/390 Special notice AuthorIBM trademarks Comments welcomeIntroduction Purpose of this redbook ThinkPad/EFS systemsFLEX-ES Linux Positioning with other small S/390sThinkPad/EFS hardware used Terminology System and Linux installation Disk planningDifferences Linux installation ThinkPadPartition Manually Partition Mount Point Device Requested Actual Type PurposeDevice Partition Type Default Boot 12.17.210255.255.255.0 12.17.150Gnome Installation notes Monitor Setup IBM 9513 T55A TFT No clock chip 24 bitSelect Start X automatically # df -h# ps -ef grep xinetd Etc/xinetd.d # vi telnet# kill -s USR1 pidnumber PID number for xinetd 14 S/390 PID ThinkPad Enabled for S/390 FLEX-ES and OS/390 installation FLEX-ES Brief introductionPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key OS/390 AD systems Next stepsAD systems # mkdir /s3912 OS/390 on CD-ROM Basic CD-ROM formats3 OS/390 device configuration FLEX-ES formatsInstallation tasks Unzipping and installing Awsckd CD-ROM filesAn unzip program Mount /dev/cdrom /mnt/cdromMinor problems File ownershipVolume in two separate zip files Files unzip in wrong orderFLEX-ES Operation FLEX-ES system and resource definitions CommentsBuilding a shell script $ cd /usr/flexes/rundir# resadm -s R10A.rescf $ resadm -r$ sh shos Flexes ipl a80 0a82cs Terminal Solicitor IPL OS/390=stor Operation and use User terminal connection11.42.47 A80,8Linux TN3270 Iodf requirementsSystem performance monitors Rmf5 TCP/IP for OS/390 Shutting down # resadm -T# resadm -k # exit36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Security Operating Systems Messages consoleServer memory Vmstat command Importance of Linux swapping CPUUltrabay Using a second Linux hard disk# cat /proc/partitions Second disk planning Partition Mount Size Use Disk layout AD systemDevice Volser Addr Use FLEX-ES FakeTape on OS/390 Alternative method560 222222Multi-system setup X3270 client $ x3270 -model 3 -keymap pc -port tn3270 localhost$ x3270 -model 3 -keymap pc -port tn3270 localhostt91f Function Keys UsedRemote resources # cd /usr/lib/X11/app-defaults # cp X3270 X3270old# vi Disk caches System BWrites Cache Hits Tuning cachesize FSI Channel AdaptersScsi adapter for the ThinkPad Backup and restore considerationsDisk fragmentation Using tar to back up S/390 volumes $ tar -cvzf /holding/OS39RA.tarz /s390/OS39RAUsing tar and ftp $ cd /usr/flexes/rundir $ sh buOS39RAc16 S/390 identification CD-RW driveDisplay PSW and registers RAS discussionVerify ckd disk Linux windowsInstalling FLEX-ES upgrades ThinkPad power controlUseful Linux commands Common commandsMultiple consoles, sessions, screens Text editors62 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 64 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 66 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 68 S/390 PID ThinkPad Enabled for S/390 Appendix A. FLEX-ES definition listings Basic definitions for a single HDDShell script for a single HDD Definitions for two HDDs Shell script for two HDDs Appendix B. FLEX-ES parameters System definitionsCpu0 Cpu1 Cpu2 Resource definitions Emulated control unit typesEmulated device types Typical resource definitionsCKD disk resources Terminal resources Tape resources LAN resourcesCloned devices Resadm command Common rulesCLI commands 710 Altcons Flexes mount A90 S390/WORK01560 Home/tape3 84 S/390 PID ThinkPad Enabled for S/390 Special notices 86 S/390 PID ThinkPad Enabled for S/390 How to get IBM Redbooks IBM RedbooksReferenced Web sites Other resourcesIBM Redbooks collections Index Pipe Port Power control Terminal logo Terminal Solicitor 16, 18, 31, 39, 65 92 S/390 PID ThinkPad Enabled for S/390 Partners in Development ThinkPad Enabled for S/390 Page Page ThinkPad Enabled for S/390 System setup AD CD-ROM use System operation