IBM s/390 manual PC Processor in ThinkPad

Page 27

Emulated S/390

 

 

 

running OS/390

 

other Linux

 

and its normal

 

 

 

processes

 

applications

 

 

 

 

 

 

 

FLEX-ES

 

FLEX-ES processes

 

Terminal Solicitor

 

 

 

 

 

 

 

ThinkPad

 

 

 

display and

 

 

TCP/IP

keyboard

 

 

 

Linux

operating

system

Windows

 

 

 

PC Processor in ThinkPad

 

 

 

Enet Adapt

 

ThinkPad disks

 

 

 

 

 

LAN

 

Figure 3-1 Conceptual view of FLEX-ES system

Key points include:

￿FLEX-ES is a software product.2 All the hardware shown (in Figure 3-1)is standard ThinkPad hardware.

￿The FLEX-ES program, running under Linux on the ThinkPad’s PC processor, emulates a complete S/390 environment.

FLEX-ES obtains sufficient virtual memory to emulate the “real memory” for the defined S/390 machine being emulated. While not detailed in the illustration, FLEX-ES can also emulate expanded memory.

FLEX-ES, as part of emulating a S/390, handles S/390 I/O instructions and emulates the S/390 I/O devices as required. In the illustration, various 3390 volumes (containing OS/390 and so forth) are contained on the ThinkPad disks.

￿The FLEX-ES license specifies how many PC processors may be used (at any one instant) for S/390 emulation. For a ThinkPad/EFS system this will normally be one processor.

￿The owner can elect to dedicate PC processor(s) to FLEX-ES S/390 use. This provides a performance boost. You cannot dedicate all the PC processors to S/390, because other Linux functions need access to a processor. If processors are not dedicated, then the normal Linux dispatching function will dictate which processors are being used by FLEX-ES at any instant. The number will never exceed the number permitted in the FLEX-ES license. A ThinkPad/EFS system has only a single PC processor, and it cannot be dedicated for S/390 emulation.

2The optional S/390 channel adapters available for use with FLEX-ES are ignored in this discussion.

Chapter 3. FLEX-ES and OS/390 installation 17

Image 27
Contents Bill Ogden ThinkPad Enabled for S/390Page International Technical Support Organization First Edition October Contents Shutting down Index Vi S/390 PID ThinkPad Enabled for S/390 Author Special noticeComments welcome IBM trademarksIntroduction ThinkPad/EFS systems Purpose of this redbookFLEX-ES Positioning with other small S/390s LinuxThinkPad/EFS hardware used Terminology Disk planning System and Linux installationDifferences Mount Point Device Requested Actual Type Purpose Linux installationThinkPad Partition Manually Partition12.17.150 Device Partition Type Default Boot12.17.210 255.255.255.0Gnome # df -h Installation notesMonitor Setup IBM 9513 T55A TFT No clock chip 24 bit Select Start X automaticallyEtc/xinetd.d # vi telnet # ps -ef grep xinetd# kill -s USR1 pidnumber PID number for xinetd 14 S/390 PID ThinkPad Enabled for S/390 FLEX-ES and OS/390 installation Brief introduction FLEX-ESPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key # mkdir /s391 OS/390 AD systemsNext steps AD systemsBasic CD-ROM formats 2 OS/390 on CD-ROMFLEX-ES formats 3 OS/390 device configurationMount /dev/cdrom /mnt/cdrom Installation tasksUnzipping and installing Awsckd CD-ROM files An unzip programFile ownership Minor problemsFiles unzip in wrong order Volume in two separate zip filesFLEX-ES Operation Comments FLEX-ES system and resource definitions$ resadm -r Building a shell script$ cd /usr/flexes/rundir # resadm -s R10A.rescf$ sh shos Flexes ipl a80 0a82cs IPL OS/390 Terminal Solicitor=stor A80,8 Operation and useUser terminal connection 11.42.47Rmf Linux TN3270Iodf requirements System performance monitors5 TCP/IP for OS/390 # exit Shutting down# resadm -T # resadm -k36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Operating Systems Messages console SecurityServer memory Vmstat command CPU Importance of Linux swappingUsing a second Linux hard disk Ultrabay# cat /proc/partitions Second disk planning Disk layout AD system Partition Mount Size UseDevice Volser Addr Use Alternative method FLEX-ES FakeTape on OS/390222222 560Multi-system setup Function Keys Used X3270 client$ x3270 -model 3 -keymap pc -port tn3270 localhost $ x3270 -model 3 -keymap pc -port tn3270 localhostt91f# cd /usr/lib/X11/app-defaults # cp X3270 X3270old Remote resources# vi System B Disk cachesWrites Cache Hits FSI Channel Adapters Tuning cachesizeBackup and restore considerations Scsi adapter for the ThinkPadDisk fragmentation $ tar -cvzf /holding/OS39RA.tarz /s390/OS39RA Using tar to back up S/390 volumes$ cd /usr/flexes/rundir $ sh buOS39RAc Using tar and ftpCD-RW drive 16 S/390 identificationRAS discussion Display PSW and registersLinux windows Verify ckd diskThinkPad power control Installing FLEX-ES upgradesCommon commands Useful Linux commandsText editors Multiple consoles, sessions, screens62 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 Basic definitions for a single HDD Appendix A. FLEX-ES definition listingsShell script for a single HDD Definitions for two HDDs Shell script for two HDDs System definitions Appendix B. FLEX-ES parametersCpu0 Cpu1 Cpu2 Emulated control unit types Resource definitionsTypical resource definitions Emulated device typesCKD disk resources Terminal resources LAN resources Tape resourcesCloned devices Common rules Resadm commandCLI commands Flexes mount A90 S390/WORK01 710 Altcons560 Home/tape3 84 S/390 PID ThinkPad Enabled for S/390 Special notices 86 S/390 PID ThinkPad Enabled for S/390 Other resources How to get IBM RedbooksIBM Redbooks Referenced Web sitesIBM 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 System setup AD CD-ROM use System operation ThinkPad Enabled for S/390