IBM s/390 manual System and Linux installation, Disk planning

Page 17

2

Chapter 2. System and Linux installation

ThinkPad/EFS installation, with Linux, is much simpler than installation of other EFS platforms. There are three primary reasons for this:

￿The appropriate ThinkPad models can be used “out of the box.” We are unaware of any requirements for BIOS upgrades.1 There are no RAID functions to customize.

￿The server operating system (Red Hat Linux 7.1) is installed “out of the box.” We are unaware of any required patches or fixes essential for EFS use.

￿We can use simple Linux files for emulated S/390 disks.

All of these factors are subject to change, of course, and are likely to change with future systems. Nevertheless, we expect ThinkPad/EFS installation to remain simpler than installation of other EFS systems. A background consideration is that, because ThinkPad/EFS is not intended for production use, there is slightly less emphasis on using the latest BIOS fixes, latest Linux fixes, and most optimum disk performance techniques.

We elected to have Linux as the only PC operating system on our ThinkPad. You could create multiple primary partitions, install a boot manager of your choice, and install a Windows system in addition to Linux. This should be transparent to FLEX-ES, assuming you manage to install a functional Linux.

2.1 Disk planning

A little background on FLEX-ES disk techniques may be interesting, especially for those who have used or read about other EFS platforms. FLEX-ES uses raw disks on its other platforms. Using a UnixWare2 base (as used with current Netfinity/EFS systems) for discussion, the following elements are involved:

￿A raw disk is contiguous space on a hard disk. (This statement ignores the effects of RAID striping. The Server operating system sees a raw disk as contiguous space if a hardware RAID adapter is used.)

1This is not to say that you should not install BIOS upgrades. We are unaware of any that are required for using FLEX-ES.

2These comments also apply to Netfinity/EFS with an Open UNIX 8 base. Open UNIX 8 is the replacement release for UnixWare 7.1.1.

© Copyright IBM Corp. 2001

7

Image 17
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 ThinkPad Linux installationPartition Manually Partition Mount Point Device Requested Actual Type Purpose12.17.210 Device Partition Type Default Boot255.255.255.0 12.17.150Gnome Monitor Setup IBM 9513 T55A TFT No clock chip 24 bit Installation notesSelect Start X automatically # df -h# kill -s USR1 pidnumber PID number for xinetd Etc/xinetd.d # vi telnet# ps -ef grep 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 Next steps OS/390 AD systemsAD systems # mkdir /s391Basic CD-ROM formats 2 OS/390 on CD-ROMFLEX-ES formats 3 OS/390 device configurationUnzipping and installing Awsckd CD-ROM files Installation tasksAn unzip program Mount /dev/cdrom /mnt/cdromFile ownership Minor problemsFiles unzip in wrong order Volume in two separate zip filesFLEX-ES Operation Comments FLEX-ES system and resource definitions$ cd /usr/flexes/rundir Building a shell script# resadm -s R10A.rescf $ resadm -r$ sh shos Flexes ipl a80 0a82cs =stor IPL OS/390Terminal Solicitor User terminal connection Operation and use11.42.47 A80,8Iodf requirements Linux TN3270System performance monitors Rmf5 TCP/IP for OS/390 # resadm -T Shutting down# resadm -k # exit36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Server memory Operating Systems Messages consoleSecurity Vmstat command CPU Importance of Linux swapping# cat /proc/partitions Using a second Linux hard diskUltrabay Second disk planning Device Volser Addr Use Disk layout AD systemPartition Mount Size Use Alternative method FLEX-ES FakeTape on OS/390222222 560Multi-system setup $ x3270 -model 3 -keymap pc -port tn3270 localhost X3270 client$ x3270 -model 3 -keymap pc -port tn3270 localhostt91f Function Keys Used# vi # cd /usr/lib/X11/app-defaults # cp X3270 X3270oldRemote resources System B Disk cachesWrites Cache Hits FSI Channel Adapters Tuning cachesizeDisk fragmentation Backup and restore considerationsScsi adapter for the ThinkPad $ 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 560 Home/tape3 Flexes mount A90 S390/WORK01710 Altcons 84 S/390 PID ThinkPad Enabled for S/390 Special notices 86 S/390 PID ThinkPad Enabled for S/390 IBM Redbooks How to get 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 System setup AD CD-ROM use System operation ThinkPad Enabled for S/390