IBM s/390 manual Disk layout AD system, Partition Mount Size Use, Device Volser Addr Use

Page 54

The difficulty is that, if a file on the second hard disk (such as an emulated S/390 volume) is specified in a FLEX-ES resources definition, then that file must be available before resadm can be started. Linux mounting (through /etc/fstab) forgives missing file systems, but resadm does not. We handled the situation this way:

￿We defined a complete IPLable system on the primary hard disk drive. (For the OS/390 R10 AD system, this required four 3390-3 drives.)

￿We defined a FLEX-ES system and resource definition that referenced only these drives. These are the definitions (S10A and R10A) that we have described earlier. If only one hard disk drive is installed, we can start FLEX-ES using these definitions.

￿We placed optional OS/390 volumes (DLIBs, work volumes, and so forth) on the second hard disk drive.

￿We created another set of FLEX-ES definitions (S10B and R10B) that specified the additional S/390 volumes on the second hard disk drive. We created a second shell script (shosb) that uses this system name. If both hard disks are installed, we start FLEX-ES with these definitions.

There is a slight inconvenience in this method. We need to keep the common parts of both definitions synchronized, and this sometimes means double editing is required when changes are made. Both sets of definitions and the associated shell scripts are listed in Appendix A, “FLEX-ES definition listings” on page 69.

The remaining general discussion in this section assumes that both disk drives are mounted.

5.5.3 Disk layout (AD system)

Since we had two hard disks for our ThinkPad/EFS system, we decided to split the S/390 volumes between them. This might produce a small benefit in overlapped disk operation. We decided to place an IPLable system on the primary drive and optional volumes on the second drive. There was no special reason for this plan, but it seemed reasonable. We had ample space and could install many more 3390 volumes, if needed. We could have, for example, installed two AD releases as well as several user volumes.

We used the following layout for our OS/390 AD R10 system:

hda

Primary hard disk drive

 

 

 

partition

mount

size

Use

 

 

hda1

/boot

36

MB

Linux boot partition

 

 

hda5

/

3 GB

Linux root, containing all of

Linux, FLEX-ES

 

hda6

swap

150 MB

Linux swap

 

 

hda7

/s390

26

GB

File system for S/390 volumes

 

hdc

Second hard disk drive

 

 

 

 

hdc1

/holding

2 GB

Target area for tar/compress,

and other uses

 

hdc2

/s391

27

GB

File system for S/390 volumes

 

We placed our S/390 volumes (for the OS/390 AD R10 system) as follows:

/S390 (on Primary hard disk)

Device

Volser

Addr

Use

3390-3

OS39RA

A80

IPL volume

3390-3

OS3RAA

A81

More OS/390 libraries

3390-3

OS39M1

A82

Parmlibs, spool, paging, VSAM, etc

3390-3

OS39HA

A87

HFS data sets

(14 GB still available)

/S391 (on Second hard disk) 3390-3 OS39DA A85 DLIBs 3390-3 OS3DAA A86 DLIBs 3390-2 OS3DAB A88 DLIBs

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

Image 54
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 Partition Manually Partition Linux installationThinkPad Mount Point Device Requested Actual Type Purpose255.255.255.0 Device Partition Type Default Boot12.17.210 12.17.150Gnome Select Start X automatically Installation notesMonitor Setup IBM 9513 T55A TFT No clock chip 24 bit # df -hEtc/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 FLEX-ES Brief introductionPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key AD systems OS/390 AD systemsNext steps # mkdir /s3912 OS/390 on CD-ROM Basic CD-ROM formats3 OS/390 device configuration FLEX-ES formatsAn unzip program Installation tasksUnzipping and installing Awsckd CD-ROM files 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 Comments# resadm -s R10A.rescf Building a shell script$ cd /usr/flexes/rundir $ resadm -r$ sh shos Flexes ipl a80 0a82cs IPL OS/390 Terminal Solicitor=stor 11.42.47 Operation and useUser terminal connection A80,8System performance monitors Linux TN3270Iodf requirements Rmf5 TCP/IP for OS/390 # resadm -k Shutting down# resadm -T # exit36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Operating Systems Messages console SecurityServer memory Vmstat command Importance of Linux swapping CPUUsing a second Linux hard disk Ultrabay# cat /proc/partitions Second disk planning Disk layout AD system Partition Mount Size UseDevice Volser Addr Use FLEX-ES FakeTape on OS/390 Alternative method560 222222Multi-system setup $ x3270 -model 3 -keymap pc -port tn3270 localhostt91f X3270 client$ x3270 -model 3 -keymap pc -port tn3270 localhost Function Keys Used# cd /usr/lib/X11/app-defaults # cp X3270 X3270old Remote resources# vi Disk caches System BWrites Cache Hits Tuning cachesize FSI Channel AdaptersBackup and restore considerations Scsi adapter for the ThinkPadDisk 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 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 Referenced Web sites How to get IBM RedbooksIBM Redbooks 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